diff --git a/.env.example b/.env.example index d0107ef7..1d6d9f09 100644 --- a/.env.example +++ b/.env.example @@ -151,3 +151,21 @@ NEXT_PUBLIC_SELECTED_VRM_PATH="" # Whether to include timestamp in user message (true or false) NEXT_PUBLIC_INCLUDE_TIMESTAMP_IN_USER_MESSAGE="" + +# Model Type (vrm or live2d) +NEXT_PUBLIC_MODEL_TYPE="" + +# Live2D settings +# Emotions (comma separated) +NEXT_PUBLIC_NEUTRAL_EMOTIONS="" +NEXT_PUBLIC_HAPPY_EMOTIONS="" +NEXT_PUBLIC_SAD_EMOTIONS="" +NEXT_PUBLIC_ANGRY_EMOTIONS="" +NEXT_PUBLIC_RELAXED_EMOTIONS="" +# Motion Group +NEXT_PUBLIC_IDLE_MOTION_GROUP="" +NEXT_PUBLIC_NEUTRAL_MOTION_GROUP="" +NEXT_PUBLIC_HAPPY_MOTION_GROUP="" +NEXT_PUBLIC_SAD_MOTION_GROUP="" +NEXT_PUBLIC_ANGRY_MOTION_GROUP="" +NEXT_PUBLIC_RELAXED_MOTION_GROUP="" diff --git a/.eslintrc.json b/.eslintrc.json index f8a16dac..c627c87d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,5 +3,6 @@ "plugins": ["prettier"], "rules": { "prettier/prettier": "error" - } + }, + "ignorePatterns": ["public/scripts/*"] } diff --git a/.gitignore b/.gitignore index b91c1a8e..74c0ce4a 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,6 @@ certificates !/public/slides/demo/ /logs/* + +public/live2d/* +!public/live2d/nike01 diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..c4a9d563 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + }, + "editor.defaultFormatter": "esbenp.prettier-vscode" +} diff --git a/locales/en/translation.json b/locales/en/translation.json index 0daaf076..8e47c404 100644 --- a/locales/en/translation.json +++ b/locales/en/translation.json @@ -47,6 +47,7 @@ "BackgroundImage": "Background Image", "ChangeBackgroundImage": "Change Background Image", "CharacterSettingsPrompt": "Character Settings (System Prompt)", + "CharacterSettingsInfo": "Character settings are set in the system prompt. By specifying emotion tags, you can control the character's expression and motion. Example: [neutral]Good morning![happy]Good luck today!", "CharacterSettingsReset": "Reset Character Settings", "SyntheticVoiceEngineChoice": "Choose Synthetic Voice Engine", "VoiceAdjustment": "Voice Adjustment", @@ -202,5 +203,24 @@ "userInputTitle": "Send user input", "userInputDescription": "The message sent is processed the same as when input from the AITuberKit input form. If multiple messages are sent, they are processed in order. The AI model and voice model are the ones selected in the AITuberKit settings. The system prompt and conversation history are the values set in AITuberKit." }, - "CannotUseVoice": "Realtime API mode or Audio mode is enabled, so voice settings are not required." + "CannotUseVoice": "Realtime API mode or Audio mode is enabled, so voice settings are not required.", + "Live2D": { + "FileInfo": "Place the Live2D model you want to use in the public/live2d folder. The model3.json file must exist in the root of this folder.\nIf it is not displayed in the selection, please reload the screen or check if the folder path is correct.", + "Info": "You can specify emotions and motions.\nEach emotion is controlled by the prompt. For more details, please refer to \"AI Settings => Character Settings\".", + "Emotions": "Emotion Settings", + "EmotionInfo": "Emotions can be specified in comma-separated format. If multiple emotions are specified, they are randomly selected.\nThe initial value is for the model provided by AITuberKit. If you are using an original model, please enter the value according to your model.\nAfter conversation completion, the \"Neutral\" emotion is displayed.", + "neutralEmotions": "Neutral", + "happyEmotions": "Happy", + "sadEmotions": "Sad", + "angryEmotions": "Angry", + "relaxedEmotions": "Relaxed", + "MotionGroups": "Motion Group Settings", + "MotionGroupsInfo": "Motion groups are randomly selected from the selected group.\nSame as emotion settings, please set it according to your model.\n\"Idle\" is the motion displayed after conversation completion.", + "idleMotionGroup": "Idle", + "neutralMotionGroup": "Neutral", + "happyMotionGroup": "Happy", + "sadMotionGroup": "Sad", + "angryMotionGroup": "Angry", + "relaxedMotionGroup": "Relaxed" + } } diff --git a/locales/ja/translation.json b/locales/ja/translation.json index 5f448b27..8a089745 100644 --- a/locales/ja/translation.json +++ b/locales/ja/translation.json @@ -47,6 +47,7 @@ "BackgroundImage": "背景画像", "ChangeBackgroundImage": "背景画像を変える", "CharacterSettingsPrompt": "キャラクター設定(システムプロンプト)", + "CharacterSettingsInfo": "キャラクター設定はシステムプロンプトに設定されます。\n初期プロンプトを参考に、感情タグを指定することでキャラクターの表情やモーションを制御できます。例: [neutral]おはようございます![happy]今日もお疲れ様です!", "CharacterSettingsReset": "キャラクター設定リセット", "SyntheticVoiceEngineChoice": "合成音声エンジンの選択", "VoiceAdjustment": "声の調整", @@ -203,5 +204,24 @@ "userInputTitle": "ユーザー入力を送信する", "userInputDescription": "送信したメッセージはAITuberKitの入力フォームから入力された場合と同じ処理がされます。複数送信した場合は順番に処理されます。\nAIモデルおよび音声モデルはAITuberKitの設定で選択したものが使用されます。\nシステムプロンプトや会話履歴はAITuberKitの値が使用されます。" }, - "CannotUseVoice": "リアルタイムAPIモード または オーディオモードが有効の場合、\n音声設定は不要です。" + "CannotUseVoice": "リアルタイムAPIモード または オーディオモードが有効の場合、\n音声設定は不要です。", + "Live2D": { + "FileInfo": "使用したいLive2Dモデルのフォルダを、public/live2d に配置してください。このフォルダの直下にmodel3.jsonファイルが存在する必要があります。\n選択肢に表示されない場合は、画面を再読込するかフォルダのパスが正しいか確認してください。", + "Info": "感情とモーションを指定できます。\n各感情はプロンプトで制御しています。詳しくは「AI設定 => キャラクター設定」をご覧ください。", + "Emotions": "表情設定", + "EmotionInfo": "感情はカンマ区切りで複数指定できます。複数指定した場合はランダムに選択されます。\n初期値はAITuberKitで用意しているモデルに対応したものです。オリジナルのモデルを使用する場合はご自身のモデルに合わせた値を入力してください。\n会話完了後は「通常」の表情が表示されます。", + "neutralEmotions": "通常", + "happyEmotions": "嬉しい", + "sadEmotions": "悲しい", + "angryEmotions": "怒り", + "relaxedEmotions": "リラックス", + "MotionGroups": "モーショングループ設定", + "MotionGroupsInfo": "モーショングループは選択したグループからランダムに選択されます。\n表情設定と同じく、ご自身のモデルに合わせて設定してください。\n「アイドル時」は会話完了後に表示されるモーションです。", + "idleMotionGroup": "アイドル時", + "neutralMotionGroup": "通常", + "happyMotionGroup": "嬉しい", + "sadMotionGroup": "悲しい", + "angryMotionGroup": "怒り", + "relaxedMotionGroup": "リラックス" + } } diff --git a/locales/ko/translation.json b/locales/ko/translation.json index b141c476..2c5207d9 100644 --- a/locales/ko/translation.json +++ b/locales/ko/translation.json @@ -47,6 +47,7 @@ "BackgroundImage": "배경 이미지", "ChangeBackgroundImage": "배경 이미지 변경", "CharacterSettingsPrompt": "캐릭터 설정 (시스템 프롬프트)", + "CharacterSettingsInfo": "캐릭터 설정은 시스템 프롬프트에 설정됩니다. 초기 프롬프트를 참고하여 감정 태그를 지정하여 캐릭터의 표정과 모션을 제어할 수 있습니다. 예: [neutral]안녕하세요![happy]오늘도 힘내세요!", "CharacterSettingsReset": "캐릭터 설정 재설정", "SyntheticVoiceEngineChoice": "합성 음성 엔진 선택", "VoiceAdjustment": "목소리 조정", @@ -202,5 +203,24 @@ "userInputTitle": "사용자 입력 보내기", "userInputDescription": "보낸 메시지는 AITuberKit의 입력 폼에서 입력한 경우와 동일한 처리가 됩니다. 여러 메시지를 보낸 경우 순서대로 처리됩니다.\nAI 모델과 음성 모델은 AITuberKit의 설정에서 선택한 것이 사용됩니다.\n시스템 프롬프트와 대화 기록은 AITuberKit의 값이 사용됩니다." }, - "CannotUseVoice": "리얼타임 API 모드 또는 오디오 모드가 활성화된 경우, 음성 설정은 필요하지 않습니다." + "CannotUseVoice": "리얼타임 API 모드 또는 오디오 모드가 활성화된 경우, 음성 설정은 필요하지 않습니다.", + "Live2D": { + "FileInfo": "사용하고 싶은 Live2D 모델을 public/live2d 폴더에 배치해 주세요. 이 폴더의 루트에 model3.json 파일이 존재해야 합니다.\n선택 목록에 표시되지 않는 경우 화면을 다시 로드하거나 폴더 경로가 올바른지 확인해 주세요.", + "Info": "감정과 모션을 지정할 수 있습니다.\n각 감정은 프롬프트로 제어됩니다. 자세한 내용은 \"AI 설정 => 캐릭터 설정\"을 참조하세요.", + "Emotions": "감정 설정", + "EmotionInfo": "감정은 쉼표로 구분하여 여러 개 지정할 수 있습니다. 여러 감정을 지정한 경우 랜덤으로 선택됩니다.\n초기값은 AITuberKit에서 제공하는 모델에 맞춰 설정되어 있습니다. 원본 모델을 사용하는 경우 자신의 모델에 맞춰 값을 입력해 주세요.\n대화가 완료된 후에는 \"기본\" 감정이 표시됩니다.", + "neutralEmotions": "기본", + "happyEmotions": "기쁨", + "sadEmotions": "슬픔", + "angryEmotions": "분노", + "relaxedEmotions": "느긋", + "MotionGroups": "모션 그룹 설정", + "MotionGroupsInfo": "모션 그룹은 선택한 그룹에서 랜덤으로 선택됩니다.\n감정 설정과 마찬가지로 자신의 모델에 맞춰 설정해 주세요.\n\"아이돌 시\"는 대화가 완료된 후에 표시되는 모션입니다.", + "idleMotionGroup": "아이돌 시", + "neutralMotionGroup": "기본", + "happyMotionGroup": "기쁨", + "sadMotionGroup": "슬픔", + "angryMotionGroup": "분노", + "relaxedMotionGroup": "느긋" + } } diff --git a/locales/zh/translation.json b/locales/zh/translation.json index 7e16bcfd..388a8554 100644 --- a/locales/zh/translation.json +++ b/locales/zh/translation.json @@ -47,6 +47,7 @@ "BackgroundImage": "背景圖片", "ChangeBackgroundImage": "更改背景圖片", "CharacterSettingsPrompt": "角色設定 (系統提示)", + "CharacterSettingsInfo": "角色設定是設定在系統提示中。\n請參考初始提示,並指定感情標籤,以控制角色的表情和動作。\n例: [neutral]早上好![happy]今天也要加油喔!", "CharacterSettingsReset": "重設角色設定", "SyntheticVoiceEngineChoice": "選擇合成語音引擎", "VoiceAdjustment": "語音調整", @@ -202,5 +203,24 @@ "userInputTitle": "用戶輸入發送", "userInputDescription": "發送的訊息將與AITuberKit的輸入框中輸入的訊息相同。如果發送多個訊息,將按順序處理。\nAI模型和語音模型將使用AITuberKit的設定中選擇的模型。\n系統提示和會話記錄將使用AITuberKit的值。" }, - "CannotUseVoice": "實時API模式或音訊模式已啟用,因此不需要音設定。" + "CannotUseVoice": "實時API模式或音訊模式已啟用,因此不需要音設定。", + "Live2D": { + "FileInfo": "請將要使用的Live2D模型放在 public/live2d 資料夾中。此資料夾下必須存在model3.json檔案。\n如果選項中未顯示,請重新載入頁面或檢查資料夾路徑是否正確。", + "Info": "可以指定表情和动作。\n每个表情都由提示控制。详情请参阅“AI设置 => 角色设置”。", + "Emotions": "表情设置", + "EmotionInfo": "感情可以以逗号分隔的方式指定。如果指定多个表情,将随机选择。\n初始值是AITuberKit中提供的模型。如果使用原始模型,请根据您自己的模型输入值。\n会话完成后,将显示“通常”的表情。", + "neutralEmotions": "通常", + "happyEmotions": "高兴", + "sadEmotions": "悲伤", + "angryEmotions": "愤怒", + "relaxedEmotions": "放松", + "MotionGroups": "动作组设置", + "MotionGroupsInfo": "动作组从选定的组中随机选择。\n与表情设置相同,请根据您自己的模型设置。\n“アイドル時”是会话完成后显示的动作。", + "idleMotionGroup": "空闲", + "neutralMotionGroup": "通常", + "happyMotionGroup": "高兴", + "sadMotionGroup": "悲伤", + "angryMotionGroup": "愤怒", + "relaxedMotionGroup": "放松" + } } diff --git a/package-lock.json b/package-lock.json index bd0fd12e..bc3fc77b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,10 +34,13 @@ "formidable": "^3.5.1", "groq-sdk": "^0.3.3", "i18next": "^23.6.0", + "lodash": "^4.17.21", "next": "^14.2.5", "ollama-ai-provider": "^0.13.0", "openai": "^4.68.4", "pdfjs-dist": "^4.5.136", + "pixi-live2d-display-lipsyncpatch": "^0.5.0-ls-7", + "pixi.js": "^7.4.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-i18next": "^13.3.1", @@ -51,6 +54,7 @@ "@gltf-transform/core": "^2.4.6", "@types/dom-speech-recognition": "^0.0.1", "@types/formidable": "^3.4.5", + "@types/lodash": "^4.17.13", "@types/node": "^22.1.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", @@ -1247,9 +1251,7 @@ "version": "0.3.6", "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", - "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" @@ -1452,9 +1454,10 @@ } }, "node_modules/@next/env": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.5.tgz", - "integrity": "sha512-/zZGkrTOsraVfYjGP8uM0p6r0BDT6xWpkjdVbcz66PJVSpwXX3yNiRycxAuDfBKGWBrZBXRuK/YVlkNgxHGwmA==" + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.22.tgz", + "integrity": "sha512-EQ6y1QeNQglNmNIXvwP/Bb+lf7n9WtgcWvtoFsHquVLCJUuxRs+6SfZ5EK0/EqkkLex4RrDySvKgKNN7PXip7Q==", + "license": "MIT" }, "node_modules/@next/eslint-plugin-next": { "version": "14.2.5", @@ -1466,12 +1469,13 @@ } }, "node_modules/@next/swc-darwin-arm64": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.5.tgz", - "integrity": "sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.22.tgz", + "integrity": "sha512-HUaLiehovgnqY4TMBZJ3pDaOsTE1spIXeR10pWgdQVPYqDGQmHJBj3h3V6yC0uuo/RoY2GC0YBFRkOX3dI9WVQ==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -1481,12 +1485,13 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.5.tgz", - "integrity": "sha512-vXHOPCwfDe9qLDuq7U1OYM2wUY+KQ4Ex6ozwsKxp26BlJ6XXbHleOUldenM67JRyBfVjv371oneEvYd3H2gNSA==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.22.tgz", + "integrity": "sha512-ApVDANousaAGrosWvxoGdLT0uvLBUC+srqOcpXuyfglA40cP2LBFaGmBjhgpxYk5z4xmunzqQvcIgXawTzo2uQ==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -1496,12 +1501,13 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.5.tgz", - "integrity": "sha512-vlhB8wI+lj8q1ExFW8lbWutA4M2ZazQNvMWuEDqZcuJJc78iUnLdPPunBPX8rC4IgT6lIx/adB+Cwrl99MzNaA==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.22.tgz", + "integrity": "sha512-3O2J99Bk9aM+d4CGn9eEayJXHuH9QLx0BctvWyuUGtJ3/mH6lkfAPRI4FidmHMBQBB4UcvLMfNf8vF0NZT7iKw==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1511,12 +1517,13 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.5.tgz", - "integrity": "sha512-NpDB9NUR2t0hXzJJwQSGu1IAOYybsfeB+LxpGsXrRIb7QOrYmidJz3shzY8cM6+rO4Aojuef0N/PEaX18pi9OA==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.22.tgz", + "integrity": "sha512-H/hqfRz75yy60y5Eg7DxYfbmHMjv60Dsa6IWHzpJSz4MRkZNy5eDnEW9wyts9bkxwbOVZNPHeb3NkqanP+nGPg==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1526,12 +1533,13 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.5.tgz", - "integrity": "sha512-8XFikMSxWleYNryWIjiCX+gU201YS+erTUidKdyOVYi5qUQo/gRxv/3N1oZFCgqpesN6FPeqGM72Zve+nReVXQ==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.22.tgz", + "integrity": "sha512-LckLwlCLcGR1hlI5eiJymR8zSHPsuruuwaZ3H2uudr25+Dpzo6cRFjp/3OR5UYJt8LSwlXv9mmY4oI2QynwpqQ==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1541,12 +1549,13 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.5.tgz", - "integrity": "sha512-6QLwi7RaYiQDcRDSU/os40r5o06b5ue7Jsk5JgdRBGGp8l37RZEh9JsLSM8QF0YDsgcosSeHjglgqi25+m04IQ==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.22.tgz", + "integrity": "sha512-qGUutzmh0PoFU0fCSu0XYpOfT7ydBZgDfcETIeft46abPqP+dmePhwRGLhFKwZWxNWQCPprH26TjaTxM0Nv8mw==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1556,12 +1565,13 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.5.tgz", - "integrity": "sha512-1GpG2VhbspO+aYoMOQPQiqc/tG3LzmsdBH0LhnDS3JrtDx2QmzXe0B6mSZZiN3Bq7IOMXxv1nlsjzoS1+9mzZw==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.22.tgz", + "integrity": "sha512-K6MwucMWmIvMb9GlvT0haYsfIPxfQD8yXqxwFy4uLFMeXIb2TcVYQimxkaFZv86I7sn1NOZnpOaVk5eaxThGIw==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -1571,12 +1581,13 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.5.tgz", - "integrity": "sha512-Igh9ZlxwvCDsu6438FXlQTHlRno4gFpJzqPjSIBZooD22tKeI4fE/YMRoHVJHmrQ2P5YL1DoZ0qaOKkbeFWeMg==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.22.tgz", + "integrity": "sha512-5IhDDTPEbzPR31ZzqHe90LnNe7BlJUZvC4sA1thPJV6oN5WmtWjZ0bOYfNsyZx00FJt7gggNs6SrsX0UEIcIpA==", "cpu": [ "ia32" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -1586,12 +1597,13 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.5.tgz", - "integrity": "sha512-tEQ7oinq1/CjSG9uSTerca3v4AZ+dFa+4Yu6ihaG8Ud8ddqLQgFGcnwYls13H5X5CPDPZJdYxyeMui6muOLd4g==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.22.tgz", + "integrity": "sha512-nvRaB1PyG4scn9/qNzlkwEwLzuoPH3Gjp7Q/pLuwUgOTt1oPMlnCI3A3rgkt+eZnU71emOiEv/mR201HoURPGg==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -1641,6 +1653,387 @@ "node": ">=8.0.0" } }, + "node_modules/@pixi/accessibility": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/accessibility/-/accessibility-7.4.2.tgz", + "integrity": "sha512-R6VEolm8uyy1FB1F2qaLKxVbzXAFTZCF2ka8fl9lsz7We6ZfO4QpXv9ur7DvzratjCQUQVCKo0/V7xL5q1EV/g==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/events": "7.4.2" + } + }, + "node_modules/@pixi/app": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/app/-/app-7.4.2.tgz", + "integrity": "sha512-ugkH3kOgjT8P1mTMY29yCOgEh+KuVMAn8uBxeY0aMqaUgIMysfpnFv+Aepp2CtvI9ygr22NC+OiKl+u+eEaQHw==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2" + } + }, + "node_modules/@pixi/assets": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/assets/-/assets-7.4.2.tgz", + "integrity": "sha512-anxho59H9egZwoaEdM5aLvYyxoz6NCy3CaQIvNHD1bbGg8L16Ih0e26QSBR5fu53jl8OjT6M7s+p6n7uu4+fGA==", + "license": "MIT", + "dependencies": { + "@types/css-font-loading-module": "^0.0.12" + }, + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/color": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/color/-/color-7.4.2.tgz", + "integrity": "sha512-av1LOvhHsiaW8+T4n/FgnOKHby55/w7VcA1HzPIHRBtEcsmxvSCDanT1HU2LslNhrxLPzyVx18nlmalOyt5OBg==", + "license": "MIT", + "dependencies": { + "@pixi/colord": "^2.9.6" + } + }, + "node_modules/@pixi/colord": { + "version": "2.9.6", + "resolved": "https://registry.npmjs.org/@pixi/colord/-/colord-2.9.6.tgz", + "integrity": "sha512-nezytU2pw587fQstUu1AsJZDVEynjskwOL+kibwcdxsMBFqPsFFNA7xl0ii/gXuDi6M0xj3mfRJj8pBSc2jCfA==", + "license": "MIT" + }, + "node_modules/@pixi/compressed-textures": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/compressed-textures/-/compressed-textures-7.4.2.tgz", + "integrity": "sha512-VJrt7el6O4ZJSWkeOGXwrhJaiLg1UBhHB3fj42VR4YloYkAxpfd9K6s6IcbcVz7n9L48APKBMgHyaB2pX2Ck/A==", + "license": "MIT", + "peerDependencies": { + "@pixi/assets": "7.4.2", + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/constants": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/constants/-/constants-7.4.2.tgz", + "integrity": "sha512-N9vn6Wpz5WIQg7ugUg2+SdqD2u2+NM0QthE8YzLJ4tLH2Iz+/TrnPKUJzeyIqbg3sxJG5ZpGGPiacqIBpy1KyA==", + "license": "MIT" + }, + "node_modules/@pixi/core": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/core/-/core-7.4.2.tgz", + "integrity": "sha512-UbMtgSEnyCOFPzbE6ThB9qopXxbZ5GCof2ArB4FXOC5Xi/83MOIIYg5kf5M8689C5HJMhg2SrJu3xLKppF+CMg==", + "license": "MIT", + "dependencies": { + "@pixi/color": "7.4.2", + "@pixi/constants": "7.4.2", + "@pixi/extensions": "7.4.2", + "@pixi/math": "7.4.2", + "@pixi/runner": "7.4.2", + "@pixi/settings": "7.4.2", + "@pixi/ticker": "7.4.2", + "@pixi/utils": "7.4.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/pixijs" + } + }, + "node_modules/@pixi/display": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/display/-/display-7.4.2.tgz", + "integrity": "sha512-DaD0J7gIlNlzO0Fdlby/0OH+tB5LtCY6rgFeCBKVDnzmn8wKW3zYZRenWBSFJ0Psx6vLqXYkSIM/rcokaKviIw==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/events": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/events/-/events-7.4.2.tgz", + "integrity": "sha512-Jw/w57heZjzZShIXL0bxOvKB+XgGIevyezhGtfF2ZSzQoSBWo+Fj1uE0QwKd0RIaXegZw/DhSmiMJSbNmcjifA==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2" + } + }, + "node_modules/@pixi/extensions": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/extensions/-/extensions-7.4.2.tgz", + "integrity": "sha512-Hmx2+O0yZ8XIvgomHM9GZEGcy9S9Dd8flmtOK5Aa3fXs/8v7xD08+ANQpN9ZqWU2Xs+C6UBlpqlt2BWALvKKKA==", + "license": "MIT" + }, + "node_modules/@pixi/extract": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/extract/-/extract-7.4.2.tgz", + "integrity": "sha512-JOX27TRWjVEjauGBbF8PU7/g6LYXnivehdgqS5QlVDv1CNHTOrz/j3MdKcVWOhyZPbH5c9sh7lxyRxvd9AIuTQ==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/filter-alpha": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-alpha/-/filter-alpha-7.4.2.tgz", + "integrity": "sha512-9OsKJ+yvY2wIcQXwswj5HQBiwNGymwmqdxfp7mo+nZSBoDmxUqvMZzE9UNJ3eUlswuNvNRO8zNOsQvwdz7WFww==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/filter-blur": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-blur/-/filter-blur-7.4.2.tgz", + "integrity": "sha512-gOXBbIUx6CRZP1fmsis2wLzzSsofrqmIHhbf1gIkZMIQaLsc9T7brj+PaLTTiOiyJgnvGN5j20RZnkERWWKV0Q==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/filter-color-matrix": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-color-matrix/-/filter-color-matrix-7.4.2.tgz", + "integrity": "sha512-ykZiR59Gvj80UKs9qm7jeUTKvn+wWk6HBVJOmJbK9jFK5juakDWp7BbH26U78Q61EWj97kI1FdfcbMkuQ7rqkA==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/filter-displacement": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-displacement/-/filter-displacement-7.4.2.tgz", + "integrity": "sha512-QS/eWp/ivsxef3xapNeGwpPX7vrqQQeo99Fux4k5zsvplnNEsf91t6QYJLG776AbZEu/qh8VYRBA5raIVY/REw==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/filter-fxaa": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-fxaa/-/filter-fxaa-7.4.2.tgz", + "integrity": "sha512-U/ptJgDsfs/r8y2a6gCaiPfDu2IFAxpQ4wtfmBpz6vRhqeE4kI8yNIUx5dZbui57zlsJaW0BNacOQxHU0vLkyQ==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/filter-noise": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-noise/-/filter-noise-7.4.2.tgz", + "integrity": "sha512-Vy9ViBFhZEGh6xKkd3kFWErolZTwv1Y5Qb1bV7qPIYbvBECYsqzlR4uCrrjBV6KKm0PufpG/+NKC5vICZaqKzg==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/graphics": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/graphics/-/graphics-7.4.2.tgz", + "integrity": "sha512-jH4/Tum2RqWzHGzvlwEr7HIVduoLO57Ze705N2zQPkUD57TInn5911aGUeoua7f/wK8cTLGzgB9BzSo2kTdcHw==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/sprite": "7.4.2" + } + }, + "node_modules/@pixi/math": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/math/-/math-7.4.2.tgz", + "integrity": "sha512-7jHmCQoYk6e0rfSKjdNFOPl0wCcdgoraxgteXJTTHv3r0bMNx2pHD9FJ0VvocEUG7XHfj55O3+u7yItOAx0JaQ==", + "license": "MIT" + }, + "node_modules/@pixi/mesh": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mesh/-/mesh-7.4.2.tgz", + "integrity": "sha512-mEkKyQvvMrYXC3pahvH5WBIKtrtB63WixRr91ANFI7zXD+ESG6Ap6XtxMCJmXDQPwBDNk7SWVMiCflYuchG7kA==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2" + } + }, + "node_modules/@pixi/mesh-extras": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mesh-extras/-/mesh-extras-7.4.2.tgz", + "integrity": "sha512-vNR/7wjxjs7sv9fGoKkHyU91ZAD+7EnMHBS5F3CVISlOIFxLi96NNZCB81oUIdky/90pHw40johd/4izR5zTyw==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/mesh": "7.4.2" + } + }, + "node_modules/@pixi/mixin-cache-as-bitmap": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mixin-cache-as-bitmap/-/mixin-cache-as-bitmap-7.4.2.tgz", + "integrity": "sha512-6dgthi2ruUT/lervSrFDQ7vXkEsHo6CxdgV7W/wNdW1dqgQlKfDvO6FhjXzyIMRLSooUf5FoeluVtfsjkUIYrw==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/sprite": "7.4.2" + } + }, + "node_modules/@pixi/mixin-get-child-by-name": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mixin-get-child-by-name/-/mixin-get-child-by-name-7.4.2.tgz", + "integrity": "sha512-0Cfw8JpQhsixprxiYph4Lj+B5n83Kk4ftNMXgM5xtZz+tVLz5s91qR0MqcdzwTGTJ7utVygiGmS4/3EfR/duRQ==", + "license": "MIT", + "peerDependencies": { + "@pixi/display": "7.4.2" + } + }, + "node_modules/@pixi/mixin-get-global-position": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mixin-get-global-position/-/mixin-get-global-position-7.4.2.tgz", + "integrity": "sha512-LcsahbVdX4DFS2IcGfNp4KaXuu7SjAwUp/flZSGIfstyKOKb5FWFgihtqcc9ZT4coyri3gs2JbILZub/zPZj1w==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2" + } + }, + "node_modules/@pixi/particle-container": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/particle-container/-/particle-container-7.4.2.tgz", + "integrity": "sha512-B78Qq86kt0lEa5WtB2YFIm3+PjhKfw9La9R++GBSgABl+g13s2UaZ6BIPxvY3JxWMdxPm4iPrQPFX1QWRN68mw==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/sprite": "7.4.2" + } + }, + "node_modules/@pixi/prepare": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/prepare/-/prepare-7.4.2.tgz", + "integrity": "sha512-PugyMzReCHXUzc3so9PPJj2OdHwibpUNWyqG4mWY2UUkb6c8NAGK1AnAPiscOvLilJcv/XQSFoNhX+N1jrvJEg==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/graphics": "7.4.2", + "@pixi/text": "7.4.2" + } + }, + "node_modules/@pixi/runner": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/runner/-/runner-7.4.2.tgz", + "integrity": "sha512-LPBpwym4vdyyDY5ucF4INQccaGyxztERyLTY1YN6aqJyyMmnc7iqXlIKt+a0euMBtNoLoxy6MWMvIuZj0JfFPA==", + "license": "MIT" + }, + "node_modules/@pixi/settings": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/settings/-/settings-7.4.2.tgz", + "integrity": "sha512-pMN+L6aWgvUbwhFIL/BTHKe2ShYGPZ8h9wlVBnFHMtUcJcFLMF1B3lzuvCayZRepOphs6RY0TqvnDvVb585JhQ==", + "license": "MIT", + "dependencies": { + "@pixi/constants": "7.4.2", + "@types/css-font-loading-module": "^0.0.12", + "ismobilejs": "^1.1.0" + } + }, + "node_modules/@pixi/sprite": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/sprite/-/sprite-7.4.2.tgz", + "integrity": "sha512-Ccf/OVQsB+HQV0Fyf5lwD+jk1jeU7uSIqEjbxenNNssmEdB7S5qlkTBV2EJTHT83+T6Z9OMOHsreJZerydpjeg==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2" + } + }, + "node_modules/@pixi/sprite-animated": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/sprite-animated/-/sprite-animated-7.4.2.tgz", + "integrity": "sha512-QPT6yxCUGOBN+98H3pyIZ1ZO6Y7BN1o0Q2IMZEsD1rNfZJrTYS3Q8VlCG5t2YlFlcB8j5iBo24bZb6FUxLOmsQ==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/sprite": "7.4.2" + } + }, + "node_modules/@pixi/sprite-tiling": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/sprite-tiling/-/sprite-tiling-7.4.2.tgz", + "integrity": "sha512-Z8PP6ewy3nuDYL+NeEdltHAhuucVgia33uzAitvH3OqqRSx6a6YRBFbNLUM9Sx+fBO2Lk3PpV1g6QZX+NE5LOg==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/sprite": "7.4.2" + } + }, + "node_modules/@pixi/spritesheet": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/spritesheet/-/spritesheet-7.4.2.tgz", + "integrity": "sha512-YIvHdpXW+AYp8vD0NkjJmrdnVHTZKidCnx6k8ATSuuvCT6O5Tuh2N/Ul2oDj4/QaePy0lVhyhAbZpJW00Jr7mQ==", + "license": "MIT", + "peerDependencies": { + "@pixi/assets": "7.4.2", + "@pixi/core": "7.4.2" + } + }, + "node_modules/@pixi/text": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/text/-/text-7.4.2.tgz", + "integrity": "sha512-rZZWpJNsIQ8WoCWrcVg8Gi6L/PDakB941clo6dO3XjoII2ucoOUcnpe5HIkudxi2xPvS/8Bfq990gFEx50TP5A==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/sprite": "7.4.2" + } + }, + "node_modules/@pixi/text-bitmap": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/text-bitmap/-/text-bitmap-7.4.2.tgz", + "integrity": "sha512-lPBMJ83JnpFVL+6ckQ8KO8QmwdPm0z9Zs/M0NgFKH2F+BcjelRNnk80NI3O0qBDYSEDQIE+cFbKoZ213kf7zwA==", + "license": "MIT", + "peerDependencies": { + "@pixi/assets": "7.4.2", + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/mesh": "7.4.2", + "@pixi/text": "7.4.2" + } + }, + "node_modules/@pixi/text-html": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/text-html/-/text-html-7.4.2.tgz", + "integrity": "sha512-duOu8oDYeDNuyPozj2DAsQ5VZBbRiwIXy78Gn7H2pCiEAefw/Uv5jJYwdgneKME0e1tOxz1eOUGKPcI6IJnZjw==", + "license": "MIT", + "peerDependencies": { + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/sprite": "7.4.2", + "@pixi/text": "7.4.2" + } + }, + "node_modules/@pixi/ticker": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/ticker/-/ticker-7.4.2.tgz", + "integrity": "sha512-cAvxCh/KI6IW4m3tp2b+GQIf+DoSj9NNmPJmsOeEJ7LzvruG8Ps7SKI6CdjQob5WbceL1apBTDbqZ/f77hFDiQ==", + "license": "MIT", + "dependencies": { + "@pixi/extensions": "7.4.2", + "@pixi/settings": "7.4.2", + "@pixi/utils": "7.4.2" + } + }, + "node_modules/@pixi/utils": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/utils/-/utils-7.4.2.tgz", + "integrity": "sha512-aU/itcyMC4TxFbmdngmak6ey4kC5c16Y5ntIYob9QnjNAfD/7GTsYIBnP6FqEAyO1eq0MjkAALxdONuay1BG3g==", + "license": "MIT", + "dependencies": { + "@pixi/color": "7.4.2", + "@pixi/constants": "7.4.2", + "@pixi/settings": "7.4.2", + "@types/earcut": "^2.1.0", + "earcut": "^2.2.4", + "eventemitter3": "^4.0.0", + "url": "^0.11.0" + } + }, "node_modules/@pixiv/three-vrm": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/@pixiv/three-vrm/-/three-vrm-3.2.0.tgz", @@ -2131,6 +2524,12 @@ "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" }, + "node_modules/@types/css-font-loading-module": { + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/@types/css-font-loading-module/-/css-font-loading-module-0.0.12.tgz", + "integrity": "sha512-x2tZZYkSxXqWvTDgveSynfjq/T2HyiZHXb00j/+gy19yp70PHCizM48XFdjBCWH7eHBD0R5i/pw9yMBP/BH5uA==", + "license": "MIT" + }, "node_modules/@types/diff-match-patch": { "version": "1.0.36", "resolved": "https://registry.npmjs.org/@types/diff-match-patch/-/diff-match-patch-1.0.36.tgz", @@ -2143,6 +2542,12 @@ "integrity": "sha512-udCxb8DvjcDKfk1WTBzDsxFbLgYxmQGKrE/ricoMqHRNjSlSUCcamVTA5lIQqzY10mY5qCY0QDwBfFEwhfoDPw==", "dev": true }, + "node_modules/@types/earcut": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@types/earcut/-/earcut-2.1.4.tgz", + "integrity": "sha512-qp3m9PPz4gULB9MhjGID7wpo3gJ4bTGXm7ltNDsmOvsPduTeHp8wSW9YckBj3mljeOh4F0m2z/0JKAALRKbmLQ==", + "license": "MIT" + }, "node_modules/@types/estree": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", @@ -2188,6 +2593,13 @@ "@types/node": "*" } }, + "node_modules/@types/lodash": { + "version": "4.17.13", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.13.tgz", + "integrity": "sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/long": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", @@ -3299,9 +3711,10 @@ } }, "node_modules/axios": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.3.tgz", - "integrity": "sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", + "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -3442,9 +3855,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/busboy": { "version": "1.6.0", @@ -3488,7 +3899,6 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "dev": true, "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -3766,9 +4176,10 @@ "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -3959,7 +4370,6 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -4100,6 +4510,12 @@ "stream-shift": "^1.0.2" } }, + "node_modules/earcut": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.4.tgz", + "integrity": "sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==", + "license": "ISC" + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -4284,7 +4700,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dev": true, "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -4296,7 +4711,6 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true, "engines": { "node": ">= 0.4" } @@ -4911,6 +5325,12 @@ "node": ">=6" } }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "license": "MIT" + }, "node_modules/events": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", @@ -5364,7 +5784,6 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "dev": true, "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -5628,7 +6047,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -5735,7 +6153,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, "dependencies": { "es-define-property": "^1.0.0" }, @@ -5747,7 +6164,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -5759,7 +6175,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -6433,6 +6848,12 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, + "node_modules/ismobilejs": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ismobilejs/-/ismobilejs-1.1.1.tgz", + "integrity": "sha512-VaFW53yt8QO61k2WJui0dHf4SlL8lxBofUuUmwBo0ljPk0Drz2TiuDW4jo3wDcv41qy/SxrJ+VAzJ/qYqsmzRw==", + "license": "MIT" + }, "node_modules/iterator.prototype": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", @@ -6864,7 +7285,7 @@ "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "license": "MIT" }, "node_modules/lodash.camelcase": { "version": "4.3.0", @@ -7081,9 +7502,10 @@ "license": "Apache-2.0" }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -7209,15 +7631,16 @@ "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==" }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "funding": [ { "type": "github", "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -7240,11 +7663,12 @@ "peer": true }, "node_modules/next": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/next/-/next-14.2.5.tgz", - "integrity": "sha512-0f8aRfBVL+mpzfBjYfQuLWh2WyAwtJXCRfkPF4UJ5qd2YwrHczsrSzXU4tRMV0OAxR8ZJZWPFn6uhSC56UTsLA==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/next/-/next-14.2.22.tgz", + "integrity": "sha512-Ps2caobQ9hlEhscLPiPm3J3SYhfwfpMqzsoCMZGWxt9jBRK9hoBZj2A37i8joKhsyth2EuVKDVJCTF5/H4iEDw==", + "license": "MIT", "dependencies": { - "@next/env": "14.2.5", + "@next/env": "14.2.22", "@swc/helpers": "0.5.5", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", @@ -7259,15 +7683,15 @@ "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "14.2.5", - "@next/swc-darwin-x64": "14.2.5", - "@next/swc-linux-arm64-gnu": "14.2.5", - "@next/swc-linux-arm64-musl": "14.2.5", - "@next/swc-linux-x64-gnu": "14.2.5", - "@next/swc-linux-x64-musl": "14.2.5", - "@next/swc-win32-arm64-msvc": "14.2.5", - "@next/swc-win32-ia32-msvc": "14.2.5", - "@next/swc-win32-x64-msvc": "14.2.5" + "@next/swc-darwin-arm64": "14.2.22", + "@next/swc-darwin-x64": "14.2.22", + "@next/swc-linux-arm64-gnu": "14.2.22", + "@next/swc-linux-arm64-musl": "14.2.22", + "@next/swc-linux-x64-gnu": "14.2.22", + "@next/swc-linux-x64-musl": "14.2.22", + "@next/swc-win32-arm64-msvc": "14.2.22", + "@next/swc-win32-ia32-msvc": "14.2.22", + "@next/swc-win32-x64-msvc": "14.2.22" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", @@ -7504,10 +7928,11 @@ "dev": true }, "node_modules/npm-run-all/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, + "license": "MIT", "dependencies": { "nice-try": "^1.0.4", "path-key": "^2.0.1", @@ -7632,7 +8057,6 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -8046,6 +8470,61 @@ "node": ">= 6" } }, + "node_modules/pixi-live2d-display-lipsyncpatch": { + "version": "0.5.0-ls-7", + "resolved": "https://registry.npmjs.org/pixi-live2d-display-lipsyncpatch/-/pixi-live2d-display-lipsyncpatch-0.5.0-ls-7.tgz", + "integrity": "sha512-nTaTtQ039obDDp4w5nMjvDxGRmAMY2mjsiMN/AFuLrqCk6jHVNNOtJm4tz5VLkp+1ETf2G+6rvdKZ6f8XCR4wg==", + "license": "MIT", + "dependencies": { + "pixi-live2d-display-lipsyncpatch": "^0.5.0-ls-4", + "terser": "^5.30.3" + }, + "peerDependencies": { + "pixi.js": "^7.0.0" + } + }, + "node_modules/pixi.js": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/pixi.js/-/pixi.js-7.4.2.tgz", + "integrity": "sha512-TifqgHGNofO7UCEbdZJOpUu7dUnpu4YZ0o76kfCqxDa4RS8ITc9zjECCbtalmuNXkVhSEZmBKQvE7qhHMqw/xg==", + "license": "MIT", + "dependencies": { + "@pixi/accessibility": "7.4.2", + "@pixi/app": "7.4.2", + "@pixi/assets": "7.4.2", + "@pixi/compressed-textures": "7.4.2", + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/events": "7.4.2", + "@pixi/extensions": "7.4.2", + "@pixi/extract": "7.4.2", + "@pixi/filter-alpha": "7.4.2", + "@pixi/filter-blur": "7.4.2", + "@pixi/filter-color-matrix": "7.4.2", + "@pixi/filter-displacement": "7.4.2", + "@pixi/filter-fxaa": "7.4.2", + "@pixi/filter-noise": "7.4.2", + "@pixi/graphics": "7.4.2", + "@pixi/mesh": "7.4.2", + "@pixi/mesh-extras": "7.4.2", + "@pixi/mixin-cache-as-bitmap": "7.4.2", + "@pixi/mixin-get-child-by-name": "7.4.2", + "@pixi/mixin-get-global-position": "7.4.2", + "@pixi/particle-container": "7.4.2", + "@pixi/prepare": "7.4.2", + "@pixi/sprite": "7.4.2", + "@pixi/sprite-animated": "7.4.2", + "@pixi/sprite-tiling": "7.4.2", + "@pixi/spritesheet": "7.4.2", + "@pixi/text": "7.4.2", + "@pixi/text-bitmap": "7.4.2", + "@pixi/text-html": "7.4.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/pixijs" + } + }, "node_modules/polished": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/polished/-/polished-4.3.1.tgz", @@ -8344,6 +8823,21 @@ "node": ">=6" } }, + "node_modules/qs": { + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.1.tgz", + "integrity": "sha512-EJPeIn0CYrGu+hli1xilKAPXODtJ12T0sP63Ijx2/khC2JtuaN3JyNIpvmnkmaEtha9ocbG4A4cMcr+TvqvwQg==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.6" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -8887,7 +9381,6 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -8947,7 +9440,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", - "dev": true, "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -9051,9 +9543,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, "license": "BSD-3-Clause", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -9071,9 +9561,7 @@ "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, "license": "MIT", - "peer": true, "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -9740,9 +10228,7 @@ "version": "5.36.0", "resolved": "https://registry.npmjs.org/terser/-/terser-5.36.0.tgz", "integrity": "sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==", - "dev": true, "license": "BSD-2-Clause", - "peer": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -9796,9 +10282,7 @@ "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/text-table": { "version": "0.2.0", @@ -10076,6 +10560,25 @@ "punycode": "^2.1.0" } }, + "node_modules/url": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.4.tgz", + "integrity": "sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==", + "license": "MIT", + "dependencies": { + "punycode": "^1.4.1", + "qs": "^6.12.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/url/node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==", + "license": "MIT" + }, "node_modules/use-sync-external-store": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", @@ -11491,8 +11994,6 @@ "version": "0.3.6", "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.6.tgz", "integrity": "sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==", - "dev": true, - "peer": true, "requires": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25" @@ -11643,9 +12144,9 @@ "requires": {} }, "@next/env": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.5.tgz", - "integrity": "sha512-/zZGkrTOsraVfYjGP8uM0p6r0BDT6xWpkjdVbcz66PJVSpwXX3yNiRycxAuDfBKGWBrZBXRuK/YVlkNgxHGwmA==" + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.22.tgz", + "integrity": "sha512-EQ6y1QeNQglNmNIXvwP/Bb+lf7n9WtgcWvtoFsHquVLCJUuxRs+6SfZ5EK0/EqkkLex4RrDySvKgKNN7PXip7Q==" }, "@next/eslint-plugin-next": { "version": "14.2.5", @@ -11657,57 +12158,57 @@ } }, "@next/swc-darwin-arm64": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.5.tgz", - "integrity": "sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.22.tgz", + "integrity": "sha512-HUaLiehovgnqY4TMBZJ3pDaOsTE1spIXeR10pWgdQVPYqDGQmHJBj3h3V6yC0uuo/RoY2GC0YBFRkOX3dI9WVQ==", "optional": true }, "@next/swc-darwin-x64": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.5.tgz", - "integrity": "sha512-vXHOPCwfDe9qLDuq7U1OYM2wUY+KQ4Ex6ozwsKxp26BlJ6XXbHleOUldenM67JRyBfVjv371oneEvYd3H2gNSA==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.22.tgz", + "integrity": "sha512-ApVDANousaAGrosWvxoGdLT0uvLBUC+srqOcpXuyfglA40cP2LBFaGmBjhgpxYk5z4xmunzqQvcIgXawTzo2uQ==", "optional": true }, "@next/swc-linux-arm64-gnu": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.5.tgz", - "integrity": "sha512-vlhB8wI+lj8q1ExFW8lbWutA4M2ZazQNvMWuEDqZcuJJc78iUnLdPPunBPX8rC4IgT6lIx/adB+Cwrl99MzNaA==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.22.tgz", + "integrity": "sha512-3O2J99Bk9aM+d4CGn9eEayJXHuH9QLx0BctvWyuUGtJ3/mH6lkfAPRI4FidmHMBQBB4UcvLMfNf8vF0NZT7iKw==", "optional": true }, "@next/swc-linux-arm64-musl": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.5.tgz", - "integrity": "sha512-NpDB9NUR2t0hXzJJwQSGu1IAOYybsfeB+LxpGsXrRIb7QOrYmidJz3shzY8cM6+rO4Aojuef0N/PEaX18pi9OA==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.22.tgz", + "integrity": "sha512-H/hqfRz75yy60y5Eg7DxYfbmHMjv60Dsa6IWHzpJSz4MRkZNy5eDnEW9wyts9bkxwbOVZNPHeb3NkqanP+nGPg==", "optional": true }, "@next/swc-linux-x64-gnu": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.5.tgz", - "integrity": "sha512-8XFikMSxWleYNryWIjiCX+gU201YS+erTUidKdyOVYi5qUQo/gRxv/3N1oZFCgqpesN6FPeqGM72Zve+nReVXQ==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.22.tgz", + "integrity": "sha512-LckLwlCLcGR1hlI5eiJymR8zSHPsuruuwaZ3H2uudr25+Dpzo6cRFjp/3OR5UYJt8LSwlXv9mmY4oI2QynwpqQ==", "optional": true }, "@next/swc-linux-x64-musl": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.5.tgz", - "integrity": "sha512-6QLwi7RaYiQDcRDSU/os40r5o06b5ue7Jsk5JgdRBGGp8l37RZEh9JsLSM8QF0YDsgcosSeHjglgqi25+m04IQ==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.22.tgz", + "integrity": "sha512-qGUutzmh0PoFU0fCSu0XYpOfT7ydBZgDfcETIeft46abPqP+dmePhwRGLhFKwZWxNWQCPprH26TjaTxM0Nv8mw==", "optional": true }, "@next/swc-win32-arm64-msvc": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.5.tgz", - "integrity": "sha512-1GpG2VhbspO+aYoMOQPQiqc/tG3LzmsdBH0LhnDS3JrtDx2QmzXe0B6mSZZiN3Bq7IOMXxv1nlsjzoS1+9mzZw==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.22.tgz", + "integrity": "sha512-K6MwucMWmIvMb9GlvT0haYsfIPxfQD8yXqxwFy4uLFMeXIb2TcVYQimxkaFZv86I7sn1NOZnpOaVk5eaxThGIw==", "optional": true }, "@next/swc-win32-ia32-msvc": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.5.tgz", - "integrity": "sha512-Igh9ZlxwvCDsu6438FXlQTHlRno4gFpJzqPjSIBZooD22tKeI4fE/YMRoHVJHmrQ2P5YL1DoZ0qaOKkbeFWeMg==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.22.tgz", + "integrity": "sha512-5IhDDTPEbzPR31ZzqHe90LnNe7BlJUZvC4sA1thPJV6oN5WmtWjZ0bOYfNsyZx00FJt7gggNs6SrsX0UEIcIpA==", "optional": true }, "@next/swc-win32-x64-msvc": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.5.tgz", - "integrity": "sha512-tEQ7oinq1/CjSG9uSTerca3v4AZ+dFa+4Yu6ihaG8Ud8ddqLQgFGcnwYls13H5X5CPDPZJdYxyeMui6muOLd4g==", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.22.tgz", + "integrity": "sha512-nvRaB1PyG4scn9/qNzlkwEwLzuoPH3Gjp7Q/pLuwUgOTt1oPMlnCI3A3rgkt+eZnU71emOiEv/mR201HoURPGg==", "optional": true }, "@nodelib/fs.scandir": { @@ -11738,6 +12239,258 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==" }, + "@pixi/accessibility": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/accessibility/-/accessibility-7.4.2.tgz", + "integrity": "sha512-R6VEolm8uyy1FB1F2qaLKxVbzXAFTZCF2ka8fl9lsz7We6ZfO4QpXv9ur7DvzratjCQUQVCKo0/V7xL5q1EV/g==", + "requires": {} + }, + "@pixi/app": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/app/-/app-7.4.2.tgz", + "integrity": "sha512-ugkH3kOgjT8P1mTMY29yCOgEh+KuVMAn8uBxeY0aMqaUgIMysfpnFv+Aepp2CtvI9ygr22NC+OiKl+u+eEaQHw==", + "requires": {} + }, + "@pixi/assets": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/assets/-/assets-7.4.2.tgz", + "integrity": "sha512-anxho59H9egZwoaEdM5aLvYyxoz6NCy3CaQIvNHD1bbGg8L16Ih0e26QSBR5fu53jl8OjT6M7s+p6n7uu4+fGA==", + "requires": { + "@types/css-font-loading-module": "^0.0.12" + } + }, + "@pixi/color": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/color/-/color-7.4.2.tgz", + "integrity": "sha512-av1LOvhHsiaW8+T4n/FgnOKHby55/w7VcA1HzPIHRBtEcsmxvSCDanT1HU2LslNhrxLPzyVx18nlmalOyt5OBg==", + "requires": { + "@pixi/colord": "^2.9.6" + } + }, + "@pixi/colord": { + "version": "2.9.6", + "resolved": "https://registry.npmjs.org/@pixi/colord/-/colord-2.9.6.tgz", + "integrity": "sha512-nezytU2pw587fQstUu1AsJZDVEynjskwOL+kibwcdxsMBFqPsFFNA7xl0ii/gXuDi6M0xj3mfRJj8pBSc2jCfA==" + }, + "@pixi/compressed-textures": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/compressed-textures/-/compressed-textures-7.4.2.tgz", + "integrity": "sha512-VJrt7el6O4ZJSWkeOGXwrhJaiLg1UBhHB3fj42VR4YloYkAxpfd9K6s6IcbcVz7n9L48APKBMgHyaB2pX2Ck/A==", + "requires": {} + }, + "@pixi/constants": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/constants/-/constants-7.4.2.tgz", + "integrity": "sha512-N9vn6Wpz5WIQg7ugUg2+SdqD2u2+NM0QthE8YzLJ4tLH2Iz+/TrnPKUJzeyIqbg3sxJG5ZpGGPiacqIBpy1KyA==" + }, + "@pixi/core": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/core/-/core-7.4.2.tgz", + "integrity": "sha512-UbMtgSEnyCOFPzbE6ThB9qopXxbZ5GCof2ArB4FXOC5Xi/83MOIIYg5kf5M8689C5HJMhg2SrJu3xLKppF+CMg==", + "requires": { + "@pixi/color": "7.4.2", + "@pixi/constants": "7.4.2", + "@pixi/extensions": "7.4.2", + "@pixi/math": "7.4.2", + "@pixi/runner": "7.4.2", + "@pixi/settings": "7.4.2", + "@pixi/ticker": "7.4.2", + "@pixi/utils": "7.4.2" + } + }, + "@pixi/display": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/display/-/display-7.4.2.tgz", + "integrity": "sha512-DaD0J7gIlNlzO0Fdlby/0OH+tB5LtCY6rgFeCBKVDnzmn8wKW3zYZRenWBSFJ0Psx6vLqXYkSIM/rcokaKviIw==", + "requires": {} + }, + "@pixi/events": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/events/-/events-7.4.2.tgz", + "integrity": "sha512-Jw/w57heZjzZShIXL0bxOvKB+XgGIevyezhGtfF2ZSzQoSBWo+Fj1uE0QwKd0RIaXegZw/DhSmiMJSbNmcjifA==", + "requires": {} + }, + "@pixi/extensions": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/extensions/-/extensions-7.4.2.tgz", + "integrity": "sha512-Hmx2+O0yZ8XIvgomHM9GZEGcy9S9Dd8flmtOK5Aa3fXs/8v7xD08+ANQpN9ZqWU2Xs+C6UBlpqlt2BWALvKKKA==" + }, + "@pixi/extract": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/extract/-/extract-7.4.2.tgz", + "integrity": "sha512-JOX27TRWjVEjauGBbF8PU7/g6LYXnivehdgqS5QlVDv1CNHTOrz/j3MdKcVWOhyZPbH5c9sh7lxyRxvd9AIuTQ==", + "requires": {} + }, + "@pixi/filter-alpha": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-alpha/-/filter-alpha-7.4.2.tgz", + "integrity": "sha512-9OsKJ+yvY2wIcQXwswj5HQBiwNGymwmqdxfp7mo+nZSBoDmxUqvMZzE9UNJ3eUlswuNvNRO8zNOsQvwdz7WFww==", + "requires": {} + }, + "@pixi/filter-blur": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-blur/-/filter-blur-7.4.2.tgz", + "integrity": "sha512-gOXBbIUx6CRZP1fmsis2wLzzSsofrqmIHhbf1gIkZMIQaLsc9T7brj+PaLTTiOiyJgnvGN5j20RZnkERWWKV0Q==", + "requires": {} + }, + "@pixi/filter-color-matrix": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-color-matrix/-/filter-color-matrix-7.4.2.tgz", + "integrity": "sha512-ykZiR59Gvj80UKs9qm7jeUTKvn+wWk6HBVJOmJbK9jFK5juakDWp7BbH26U78Q61EWj97kI1FdfcbMkuQ7rqkA==", + "requires": {} + }, + "@pixi/filter-displacement": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-displacement/-/filter-displacement-7.4.2.tgz", + "integrity": "sha512-QS/eWp/ivsxef3xapNeGwpPX7vrqQQeo99Fux4k5zsvplnNEsf91t6QYJLG776AbZEu/qh8VYRBA5raIVY/REw==", + "requires": {} + }, + "@pixi/filter-fxaa": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-fxaa/-/filter-fxaa-7.4.2.tgz", + "integrity": "sha512-U/ptJgDsfs/r8y2a6gCaiPfDu2IFAxpQ4wtfmBpz6vRhqeE4kI8yNIUx5dZbui57zlsJaW0BNacOQxHU0vLkyQ==", + "requires": {} + }, + "@pixi/filter-noise": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/filter-noise/-/filter-noise-7.4.2.tgz", + "integrity": "sha512-Vy9ViBFhZEGh6xKkd3kFWErolZTwv1Y5Qb1bV7qPIYbvBECYsqzlR4uCrrjBV6KKm0PufpG/+NKC5vICZaqKzg==", + "requires": {} + }, + "@pixi/graphics": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/graphics/-/graphics-7.4.2.tgz", + "integrity": "sha512-jH4/Tum2RqWzHGzvlwEr7HIVduoLO57Ze705N2zQPkUD57TInn5911aGUeoua7f/wK8cTLGzgB9BzSo2kTdcHw==", + "requires": {} + }, + "@pixi/math": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/math/-/math-7.4.2.tgz", + "integrity": "sha512-7jHmCQoYk6e0rfSKjdNFOPl0wCcdgoraxgteXJTTHv3r0bMNx2pHD9FJ0VvocEUG7XHfj55O3+u7yItOAx0JaQ==" + }, + "@pixi/mesh": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mesh/-/mesh-7.4.2.tgz", + "integrity": "sha512-mEkKyQvvMrYXC3pahvH5WBIKtrtB63WixRr91ANFI7zXD+ESG6Ap6XtxMCJmXDQPwBDNk7SWVMiCflYuchG7kA==", + "requires": {} + }, + "@pixi/mesh-extras": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mesh-extras/-/mesh-extras-7.4.2.tgz", + "integrity": "sha512-vNR/7wjxjs7sv9fGoKkHyU91ZAD+7EnMHBS5F3CVISlOIFxLi96NNZCB81oUIdky/90pHw40johd/4izR5zTyw==", + "requires": {} + }, + "@pixi/mixin-cache-as-bitmap": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mixin-cache-as-bitmap/-/mixin-cache-as-bitmap-7.4.2.tgz", + "integrity": "sha512-6dgthi2ruUT/lervSrFDQ7vXkEsHo6CxdgV7W/wNdW1dqgQlKfDvO6FhjXzyIMRLSooUf5FoeluVtfsjkUIYrw==", + "requires": {} + }, + "@pixi/mixin-get-child-by-name": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mixin-get-child-by-name/-/mixin-get-child-by-name-7.4.2.tgz", + "integrity": "sha512-0Cfw8JpQhsixprxiYph4Lj+B5n83Kk4ftNMXgM5xtZz+tVLz5s91qR0MqcdzwTGTJ7utVygiGmS4/3EfR/duRQ==", + "requires": {} + }, + "@pixi/mixin-get-global-position": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/mixin-get-global-position/-/mixin-get-global-position-7.4.2.tgz", + "integrity": "sha512-LcsahbVdX4DFS2IcGfNp4KaXuu7SjAwUp/flZSGIfstyKOKb5FWFgihtqcc9ZT4coyri3gs2JbILZub/zPZj1w==", + "requires": {} + }, + "@pixi/particle-container": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/particle-container/-/particle-container-7.4.2.tgz", + "integrity": "sha512-B78Qq86kt0lEa5WtB2YFIm3+PjhKfw9La9R++GBSgABl+g13s2UaZ6BIPxvY3JxWMdxPm4iPrQPFX1QWRN68mw==", + "requires": {} + }, + "@pixi/prepare": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/prepare/-/prepare-7.4.2.tgz", + "integrity": "sha512-PugyMzReCHXUzc3so9PPJj2OdHwibpUNWyqG4mWY2UUkb6c8NAGK1AnAPiscOvLilJcv/XQSFoNhX+N1jrvJEg==", + "requires": {} + }, + "@pixi/runner": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/runner/-/runner-7.4.2.tgz", + "integrity": "sha512-LPBpwym4vdyyDY5ucF4INQccaGyxztERyLTY1YN6aqJyyMmnc7iqXlIKt+a0euMBtNoLoxy6MWMvIuZj0JfFPA==" + }, + "@pixi/settings": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/settings/-/settings-7.4.2.tgz", + "integrity": "sha512-pMN+L6aWgvUbwhFIL/BTHKe2ShYGPZ8h9wlVBnFHMtUcJcFLMF1B3lzuvCayZRepOphs6RY0TqvnDvVb585JhQ==", + "requires": { + "@pixi/constants": "7.4.2", + "@types/css-font-loading-module": "^0.0.12", + "ismobilejs": "^1.1.0" + } + }, + "@pixi/sprite": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/sprite/-/sprite-7.4.2.tgz", + "integrity": "sha512-Ccf/OVQsB+HQV0Fyf5lwD+jk1jeU7uSIqEjbxenNNssmEdB7S5qlkTBV2EJTHT83+T6Z9OMOHsreJZerydpjeg==", + "requires": {} + }, + "@pixi/sprite-animated": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/sprite-animated/-/sprite-animated-7.4.2.tgz", + "integrity": "sha512-QPT6yxCUGOBN+98H3pyIZ1ZO6Y7BN1o0Q2IMZEsD1rNfZJrTYS3Q8VlCG5t2YlFlcB8j5iBo24bZb6FUxLOmsQ==", + "requires": {} + }, + "@pixi/sprite-tiling": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/sprite-tiling/-/sprite-tiling-7.4.2.tgz", + "integrity": "sha512-Z8PP6ewy3nuDYL+NeEdltHAhuucVgia33uzAitvH3OqqRSx6a6YRBFbNLUM9Sx+fBO2Lk3PpV1g6QZX+NE5LOg==", + "requires": {} + }, + "@pixi/spritesheet": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/spritesheet/-/spritesheet-7.4.2.tgz", + "integrity": "sha512-YIvHdpXW+AYp8vD0NkjJmrdnVHTZKidCnx6k8ATSuuvCT6O5Tuh2N/Ul2oDj4/QaePy0lVhyhAbZpJW00Jr7mQ==", + "requires": {} + }, + "@pixi/text": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/text/-/text-7.4.2.tgz", + "integrity": "sha512-rZZWpJNsIQ8WoCWrcVg8Gi6L/PDakB941clo6dO3XjoII2ucoOUcnpe5HIkudxi2xPvS/8Bfq990gFEx50TP5A==", + "requires": {} + }, + "@pixi/text-bitmap": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/text-bitmap/-/text-bitmap-7.4.2.tgz", + "integrity": "sha512-lPBMJ83JnpFVL+6ckQ8KO8QmwdPm0z9Zs/M0NgFKH2F+BcjelRNnk80NI3O0qBDYSEDQIE+cFbKoZ213kf7zwA==", + "requires": {} + }, + "@pixi/text-html": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/text-html/-/text-html-7.4.2.tgz", + "integrity": "sha512-duOu8oDYeDNuyPozj2DAsQ5VZBbRiwIXy78Gn7H2pCiEAefw/Uv5jJYwdgneKME0e1tOxz1eOUGKPcI6IJnZjw==", + "requires": {} + }, + "@pixi/ticker": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/ticker/-/ticker-7.4.2.tgz", + "integrity": "sha512-cAvxCh/KI6IW4m3tp2b+GQIf+DoSj9NNmPJmsOeEJ7LzvruG8Ps7SKI6CdjQob5WbceL1apBTDbqZ/f77hFDiQ==", + "requires": { + "@pixi/extensions": "7.4.2", + "@pixi/settings": "7.4.2", + "@pixi/utils": "7.4.2" + } + }, + "@pixi/utils": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@pixi/utils/-/utils-7.4.2.tgz", + "integrity": "sha512-aU/itcyMC4TxFbmdngmak6ey4kC5c16Y5ntIYob9QnjNAfD/7GTsYIBnP6FqEAyO1eq0MjkAALxdONuay1BG3g==", + "requires": { + "@pixi/color": "7.4.2", + "@pixi/constants": "7.4.2", + "@pixi/settings": "7.4.2", + "@types/earcut": "^2.1.0", + "earcut": "^2.2.4", + "eventemitter3": "^4.0.0", + "url": "^0.11.0" + } + }, "@pixiv/three-vrm": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/@pixiv/three-vrm/-/three-vrm-3.2.0.tgz", @@ -12128,6 +12881,11 @@ "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" }, + "@types/css-font-loading-module": { + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/@types/css-font-loading-module/-/css-font-loading-module-0.0.12.tgz", + "integrity": "sha512-x2tZZYkSxXqWvTDgveSynfjq/T2HyiZHXb00j/+gy19yp70PHCizM48XFdjBCWH7eHBD0R5i/pw9yMBP/BH5uA==" + }, "@types/diff-match-patch": { "version": "1.0.36", "resolved": "https://registry.npmjs.org/@types/diff-match-patch/-/diff-match-patch-1.0.36.tgz", @@ -12139,6 +12897,11 @@ "integrity": "sha512-udCxb8DvjcDKfk1WTBzDsxFbLgYxmQGKrE/ricoMqHRNjSlSUCcamVTA5lIQqzY10mY5qCY0QDwBfFEwhfoDPw==", "dev": true }, + "@types/earcut": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@types/earcut/-/earcut-2.1.4.tgz", + "integrity": "sha512-qp3m9PPz4gULB9MhjGID7wpo3gJ4bTGXm7ltNDsmOvsPduTeHp8wSW9YckBj3mljeOh4F0m2z/0JKAALRKbmLQ==" + }, "@types/estree": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", @@ -12182,6 +12945,12 @@ "@types/node": "*" } }, + "@types/lodash": { + "version": "4.17.13", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.13.tgz", + "integrity": "sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==", + "dev": true + }, "@types/long": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.2.tgz", @@ -13020,9 +13789,9 @@ "dev": true }, "axios": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.3.tgz", - "integrity": "sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", "requires": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", @@ -13113,9 +13882,7 @@ "buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true, - "peer": true + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" }, "busboy": { "version": "1.6.0", @@ -13150,7 +13917,6 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "dev": true, "requires": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -13344,9 +14110,9 @@ "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" }, "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "requires": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -13479,7 +14245,6 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, "requires": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -13591,6 +14356,11 @@ "stream-shift": "^1.0.2" } }, + "earcut": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.4.tgz", + "integrity": "sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==" + }, "eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -13745,7 +14515,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "dev": true, "requires": { "get-intrinsic": "^1.2.4" } @@ -13753,8 +14522,7 @@ "es-errors": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "dev": true + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==" }, "es-get-iterator": { "version": "1.1.3", @@ -14210,6 +14978,11 @@ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + }, "events": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", @@ -14551,7 +15324,6 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "dev": true, "requires": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -14740,7 +15512,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, "requires": { "get-intrinsic": "^1.1.3" } @@ -14831,7 +15602,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, "requires": { "es-define-property": "^1.0.0" } @@ -14839,14 +15609,12 @@ "has-proto": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==" }, "has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" }, "has-tostringtag": { "version": "1.0.2", @@ -15290,6 +16058,11 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, + "ismobilejs": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ismobilejs/-/ismobilejs-1.1.1.tgz", + "integrity": "sha512-VaFW53yt8QO61k2WJui0dHf4SlL8lxBofUuUmwBo0ljPk0Drz2TiuDW4jo3wDcv41qy/SxrJ+VAzJ/qYqsmzRw==" + }, "iterator.prototype": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", @@ -15631,8 +16404,7 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.camelcase": { "version": "4.3.0", @@ -15810,9 +16582,9 @@ "integrity": "sha512-kYmyrCirqJf3zZ9t/0wGgRZ4/ZJw//VwaRVGA75C4nhE60vtnIzhl9J9ndkX/h6hxSN7pjg/cE0VxbnNM+bnDQ==" }, "micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "requires": { "braces": "^3.0.3", "picomatch": "^2.3.1" @@ -15906,9 +16678,9 @@ "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==" }, "nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==" + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==" }, "natural-compare": { "version": "1.4.0", @@ -15924,20 +16696,20 @@ "peer": true }, "next": { - "version": "14.2.5", - "resolved": "https://registry.npmjs.org/next/-/next-14.2.5.tgz", - "integrity": "sha512-0f8aRfBVL+mpzfBjYfQuLWh2WyAwtJXCRfkPF4UJ5qd2YwrHczsrSzXU4tRMV0OAxR8ZJZWPFn6uhSC56UTsLA==", - "requires": { - "@next/env": "14.2.5", - "@next/swc-darwin-arm64": "14.2.5", - "@next/swc-darwin-x64": "14.2.5", - "@next/swc-linux-arm64-gnu": "14.2.5", - "@next/swc-linux-arm64-musl": "14.2.5", - "@next/swc-linux-x64-gnu": "14.2.5", - "@next/swc-linux-x64-musl": "14.2.5", - "@next/swc-win32-arm64-msvc": "14.2.5", - "@next/swc-win32-ia32-msvc": "14.2.5", - "@next/swc-win32-x64-msvc": "14.2.5", + "version": "14.2.22", + "resolved": "https://registry.npmjs.org/next/-/next-14.2.22.tgz", + "integrity": "sha512-Ps2caobQ9hlEhscLPiPm3J3SYhfwfpMqzsoCMZGWxt9jBRK9hoBZj2A37i8joKhsyth2EuVKDVJCTF5/H4iEDw==", + "requires": { + "@next/env": "14.2.22", + "@next/swc-darwin-arm64": "14.2.22", + "@next/swc-darwin-x64": "14.2.22", + "@next/swc-linux-arm64-gnu": "14.2.22", + "@next/swc-linux-arm64-musl": "14.2.22", + "@next/swc-linux-x64-gnu": "14.2.22", + "@next/swc-linux-x64-musl": "14.2.22", + "@next/swc-win32-arm64-msvc": "14.2.22", + "@next/swc-win32-ia32-msvc": "14.2.22", + "@next/swc-win32-x64-msvc": "14.2.22", "@swc/helpers": "0.5.5", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", @@ -16090,9 +16862,9 @@ "dev": true }, "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, "requires": { "nice-try": "^1.0.4", @@ -16185,8 +16957,7 @@ "object-inspect": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", - "dev": true + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==" }, "object-is": { "version": "1.1.6", @@ -16464,6 +17235,52 @@ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==" }, + "pixi-live2d-display-lipsyncpatch": { + "version": "0.5.0-ls-7", + "resolved": "https://registry.npmjs.org/pixi-live2d-display-lipsyncpatch/-/pixi-live2d-display-lipsyncpatch-0.5.0-ls-7.tgz", + "integrity": "sha512-nTaTtQ039obDDp4w5nMjvDxGRmAMY2mjsiMN/AFuLrqCk6jHVNNOtJm4tz5VLkp+1ETf2G+6rvdKZ6f8XCR4wg==", + "requires": { + "pixi-live2d-display-lipsyncpatch": "^0.5.0-ls-4", + "terser": "^5.30.3" + } + }, + "pixi.js": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/pixi.js/-/pixi.js-7.4.2.tgz", + "integrity": "sha512-TifqgHGNofO7UCEbdZJOpUu7dUnpu4YZ0o76kfCqxDa4RS8ITc9zjECCbtalmuNXkVhSEZmBKQvE7qhHMqw/xg==", + "requires": { + "@pixi/accessibility": "7.4.2", + "@pixi/app": "7.4.2", + "@pixi/assets": "7.4.2", + "@pixi/compressed-textures": "7.4.2", + "@pixi/core": "7.4.2", + "@pixi/display": "7.4.2", + "@pixi/events": "7.4.2", + "@pixi/extensions": "7.4.2", + "@pixi/extract": "7.4.2", + "@pixi/filter-alpha": "7.4.2", + "@pixi/filter-blur": "7.4.2", + "@pixi/filter-color-matrix": "7.4.2", + "@pixi/filter-displacement": "7.4.2", + "@pixi/filter-fxaa": "7.4.2", + "@pixi/filter-noise": "7.4.2", + "@pixi/graphics": "7.4.2", + "@pixi/mesh": "7.4.2", + "@pixi/mesh-extras": "7.4.2", + "@pixi/mixin-cache-as-bitmap": "7.4.2", + "@pixi/mixin-get-child-by-name": "7.4.2", + "@pixi/mixin-get-global-position": "7.4.2", + "@pixi/particle-container": "7.4.2", + "@pixi/prepare": "7.4.2", + "@pixi/sprite": "7.4.2", + "@pixi/sprite-animated": "7.4.2", + "@pixi/sprite-tiling": "7.4.2", + "@pixi/spritesheet": "7.4.2", + "@pixi/text": "7.4.2", + "@pixi/text-bitmap": "7.4.2", + "@pixi/text-html": "7.4.2" + } + }, "polished": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/polished/-/polished-4.3.1.tgz", @@ -16642,6 +17459,14 @@ "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==" }, + "qs": { + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.1.tgz", + "integrity": "sha512-EJPeIn0CYrGu+hli1xilKAPXODtJ12T0sP63Ijx2/khC2JtuaN3JyNIpvmnkmaEtha9ocbG4A4cMcr+TvqvwQg==", + "requires": { + "side-channel": "^1.0.6" + } + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -17013,7 +17838,6 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, "requires": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -17058,7 +17882,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", - "dev": true, "requires": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -17125,9 +17948,7 @@ "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "peer": true + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, "source-map-js": { "version": "1.2.1", @@ -17138,8 +17959,6 @@ "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "peer": true, "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -17627,8 +18446,6 @@ "version": "5.36.0", "resolved": "https://registry.npmjs.org/terser/-/terser-5.36.0.tgz", "integrity": "sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w==", - "dev": true, - "peer": true, "requires": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -17639,9 +18456,7 @@ "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true, - "peer": true + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" } } }, @@ -17853,6 +18668,22 @@ "punycode": "^2.1.0" } }, + "url": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.4.tgz", + "integrity": "sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==", + "requires": { + "punycode": "^1.4.1", + "qs": "^6.12.3" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" + } + } + }, "use-sync-external-store": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", diff --git a/package.json b/package.json index 5bdb043f..1faab505 100644 --- a/package.json +++ b/package.json @@ -41,10 +41,13 @@ "formidable": "^3.5.1", "groq-sdk": "^0.3.3", "i18next": "^23.6.0", + "lodash": "^4.17.21", "next": "^14.2.5", "ollama-ai-provider": "^0.13.0", "openai": "^4.68.4", "pdfjs-dist": "^4.5.136", + "pixi-live2d-display-lipsyncpatch": "^0.5.0-ls-7", + "pixi.js": "^7.4.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-i18next": "^13.3.1", @@ -58,6 +61,7 @@ "@gltf-transform/core": "^2.4.6", "@types/dom-speech-recognition": "^0.0.1", "@types/formidable": "^3.4.5", + "@types/lodash": "^4.17.13", "@types/node": "^22.1.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", diff --git a/public/live2d/nike01/expressions/Angry.exp3.json b/public/live2d/nike01/expressions/Angry.exp3.json new file mode 100644 index 00000000..e9595319 --- /dev/null +++ b/public/live2d/nike01/expressions/Angry.exp3.json @@ -0,0 +1,26 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamAngerBrows", + "Value": 0.5, + "Blend": "Add" + }, + { + "Id": "ParamMouthOpenY", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamHeMouth", + "Value": 1, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Focus.exp3.json b/public/live2d/nike01/expressions/Focus.exp3.json new file mode 100644 index 00000000..c820f971 --- /dev/null +++ b/public/live2d/nike01/expressions/Focus.exp3.json @@ -0,0 +1,51 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamEyeLOpen", + "Value": -0.377, + "Blend": "Add" + }, + { + "Id": "ParamEyeROpen", + "Value": -0.377, + "Blend": "Add" + }, + { + "Id": "ParamMouthOpenY", + "Value": 0.308, + "Blend": "Add" + }, + { + "Id": "ParamAngerBrows", + "Value": 0.663, + "Blend": "Add" + }, + { + "Id": "ParamTroubleBrows", + "Value": 0.288, + "Blend": "Add" + }, + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamEyeBallY", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamMouthForm", + "Value": -0.308, + "Blend": "Add" + }, + { + "Id": "ParamBodyAngleY", + "Value": -3.077, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/HairpinChange.exp3.json b/public/live2d/nike01/expressions/HairpinChange.exp3.json new file mode 100644 index 00000000..c896f4b1 --- /dev/null +++ b/public/live2d/nike01/expressions/HairpinChange.exp3.json @@ -0,0 +1,10 @@ +{ + "Type": "Live2D Expression", + "Parameters": [ + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Happy.exp3.json b/public/live2d/nike01/expressions/Happy.exp3.json new file mode 100644 index 00000000..2f80aa7e --- /dev/null +++ b/public/live2d/nike01/expressions/Happy.exp3.json @@ -0,0 +1,26 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamMouthForm", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamEyeRSmile", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamEyeLSmile", + "Value": 1, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Happy2.exp3.json b/public/live2d/nike01/expressions/Happy2.exp3.json new file mode 100644 index 00000000..c3b93670 --- /dev/null +++ b/public/live2d/nike01/expressions/Happy2.exp3.json @@ -0,0 +1,36 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamEyeLSmile", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamEyeLOpen", + "Value": -1, + "Blend": "Add" + }, + { + "Id": "ParamEyeROpen", + "Value": -1, + "Blend": "Add" + }, + { + "Id": "ParamEyeRSmile", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamMouthForm", + "Value": 0.6, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Neutral.exp3.json b/public/live2d/nike01/expressions/Neutral.exp3.json new file mode 100644 index 00000000..0e95ce86 --- /dev/null +++ b/public/live2d/nike01/expressions/Neutral.exp3.json @@ -0,0 +1,26 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamAngerBrows", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamTroubleBrows", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamHeMouth", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/NoSmile.exp3.json b/public/live2d/nike01/expressions/NoSmile.exp3.json new file mode 100644 index 00000000..0f9be63d --- /dev/null +++ b/public/live2d/nike01/expressions/NoSmile.exp3.json @@ -0,0 +1,16 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamMouthForm", + "Value": -1, + "Blend": "Add" + }, + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Sad.exp3.json b/public/live2d/nike01/expressions/Sad.exp3.json new file mode 100644 index 00000000..dfeaa54e --- /dev/null +++ b/public/live2d/nike01/expressions/Sad.exp3.json @@ -0,0 +1,26 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamTroubleBrows", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamHeMouth", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamMouthOpenY", + "Value": 0.224, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Sad2.exp3.json b/public/live2d/nike01/expressions/Sad2.exp3.json new file mode 100644 index 00000000..6c86fe24 --- /dev/null +++ b/public/live2d/nike01/expressions/Sad2.exp3.json @@ -0,0 +1,31 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamAngleZ", + "Value": 14.471, + "Blend": "Add" + }, + { + "Id": "ParamTroubleBrows", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamHeMouth", + "Value": 0.929, + "Blend": "Add" + }, + { + "Id": "ParamMouthOpenY", + "Value": 0.259, + "Blend": "Add" + }, + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Sleep.exp3.json b/public/live2d/nike01/expressions/Sleep.exp3.json new file mode 100644 index 00000000..56b76f9e --- /dev/null +++ b/public/live2d/nike01/expressions/Sleep.exp3.json @@ -0,0 +1,35 @@ +{ + "Type": "Live2D Expression", + "Parameters": [ + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamEyeLOpen", + "Value": -1, + "Blend": "Add" + }, + { + "Id": "ParamEyeROpen", + "Value": -1, + "Blend": "Add" + }, + { + "Id": "ParamEyeLSmile", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamMouthOpenY", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamMouthForm", + "Value": -1, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Think.exp3.json b/public/live2d/nike01/expressions/Think.exp3.json new file mode 100644 index 00000000..14295b47 --- /dev/null +++ b/public/live2d/nike01/expressions/Think.exp3.json @@ -0,0 +1,61 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamAngleZ", + "Value": 20.192, + "Blend": "Add" + }, + { + "Id": "ParamEyeLOpen", + "Value": -0.158, + "Blend": "Add" + }, + { + "Id": "ParamEyeLSmile", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamEyeROpen", + "Value": -0.031, + "Blend": "Add" + }, + { + "Id": "ParamEyeRSmile", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamEyeBallX", + "Value": -0.788, + "Blend": "Add" + }, + { + "Id": "ParamEyeBallY", + "Value": 0.558, + "Blend": "Add" + }, + { + "Id": "ParamMouthForm", + "Value": -0.654, + "Blend": "Add" + }, + { + "Id": "ParamTroubleBrows", + "Value": 0, + "Blend": "Add" + }, + { + "Id": "ParamHeMouth", + "Value": 0.5, + "Blend": "Add" + }, + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Think2.exp3.json b/public/live2d/nike01/expressions/Think2.exp3.json new file mode 100644 index 00000000..91308361 --- /dev/null +++ b/public/live2d/nike01/expressions/Think2.exp3.json @@ -0,0 +1,31 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamEyeBallY", + "Value": 0.288, + "Blend": "Add" + }, + { + "Id": "ParamEyeBallX", + "Value": -0.712, + "Blend": "Add" + }, + { + "Id": "ParamHeMouth", + "Value": 0.49, + "Blend": "Add" + }, + { + "Id": "ParamMouthForm", + "Value": -0.635, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Troubled.exp3.json b/public/live2d/nike01/expressions/Troubled.exp3.json new file mode 100644 index 00000000..09b50593 --- /dev/null +++ b/public/live2d/nike01/expressions/Troubled.exp3.json @@ -0,0 +1,26 @@ +{ + "Type": "Live2D Expression", + "FadeInTime": 0.75, + "Parameters": [ + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamHeMouth", + "Value": 0.471, + "Blend": "Add" + }, + { + "Id": "ParamTroubleBrows", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamAngerBrows", + "Value": 0.346, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/expressions/Zitome.exp3.json b/public/live2d/nike01/expressions/Zitome.exp3.json new file mode 100644 index 00000000..a66eeb31 --- /dev/null +++ b/public/live2d/nike01/expressions/Zitome.exp3.json @@ -0,0 +1,30 @@ +{ + "Type": "Live2D Expression", + "Parameters": [ + { + "Id": "ParamHairpinChange", + "Value": 1, + "Blend": "Add" + }, + { + "Id": "ParamEyeLOpen", + "Value": -0.4, + "Blend": "Add" + }, + { + "Id": "ParamEyeROpen", + "Value": -0.4, + "Blend": "Add" + }, + { + "Id": "ParamMouthForm", + "Value": -1, + "Blend": "Add" + }, + { + "Id": "ParamMouthOpenY", + "Value": 0.317, + "Blend": "Add" + } + ] +} diff --git a/public/live2d/nike01/items_pinned_to_model.json b/public/live2d/nike01/items_pinned_to_model.json new file mode 100755 index 00000000..7d45320c --- /dev/null +++ b/public/live2d/nike01/items_pinned_to_model.json @@ -0,0 +1,14 @@ +{ + "FileMetadata": { + "LastSavedVTubeStudioVersion": "1.26.11", + "LastSavedPlatform": "Steam", + "LastSavedDateUTC": "Thursday, 07 September 2023, 03:03:14", + "LastSavedDateLocalTime": "Thursday, 07 September 2023, 12:03:14", + "LastSavedDateUnixMillisecondTimestamp": "1694055794809" + }, + "SceneName": "", + "SceneGroupName": "", + "SceneModel": "", + "SceneID": "", + "Items": [] +} diff --git a/public/live2d/nike01/motions/Motion1.motion3.json b/public/live2d/nike01/motions/Motion1.motion3.json new file mode 100644 index 00000000..116ec23e --- /dev/null +++ b/public/live2d/nike01/motions/Motion1.motion3.json @@ -0,0 +1,198 @@ +{ + "Version": 3, + "Meta": { + "Duration": 4.7, + "Fps": 30.0, + "Loop": false, + "AreBeziersRestricted": false, + "CurveCount": 22, + "TotalSegmentCount": 121, + "TotalPointCount": 341, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [ + 0, -8, 1, 0.067, -8, 0.133, -8, 0.2, -8, 1, 0.278, -8, 0.356, -8, 0.433, + -8, 1, 0.556, -8, 0.678, -8, 0.8, -8, 1, 0.956, -8, 1.111, -8, 1.267, + -8, 1, 1.522, -8, 1.778, 0, 2.033, 0, 1, 2.122, 0, 2.211, 0, 2.3, 0, 1, + 2.556, 0, 2.811, 9, 3.067, 9, 1, 3.356, 9, 3.644, 0, 3.933, 0, 1, 4.067, + 0, 4.2, 1, 4.333, 1, 0, 4.7, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleY", + "Segments": [ + 0, -5, 1, 0.067, -5, 0.133, -5, 0.2, -5, 1, 0.322, -5, 0.444, 16, 0.567, + 16, 1, 0.711, 16, 0.856, -12, 1, -12, 1, 1.089, -12, 1.178, 11, 1.267, + 11, 1, 1.356, 11, 1.444, 9.376, 1.533, 3, 1, 1.611, -2.579, 1.689, -8, + 1.767, -8, 1, 1.856, -8, 1.944, 0, 2.033, 0, 1, 2.122, 0, 2.211, 0, 2.3, + 0, 1, 2.578, 0, 2.856, -30, 3.133, -30, 1, 3.278, -30, 3.422, 15, 3.567, + 15, 1, 3.689, 15, 3.811, -9, 3.933, -9, 0, 4.7, -9 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleZ", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, 0, 0.433, 0, 1, + 0.711, 0, 0.989, 0, 1.267, 0, 1, 1.522, 0, 1.778, 14, 2.033, 14, 1, + 2.178, 14, 2.322, 14, 2.467, 14, 1, 2.8, 14, 3.133, 16, 3.467, 16, 1, + 3.633, 16, 3.8, -13, 3.967, -13, 1, 4.111, -13, 4.256, -11.207, 4.4, + -11.207, 0, 4.7, -11.207 + ] + }, + { + "Target": "Parameter", + "Id": "ParamCheek", + "Segments": [0, 0, 0, 4.7, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLOpen", + "Segments": [ + 0, 1, 1, 0.556, 1, 1.111, 1, 1.667, 1, 1, 1.711, 1, 1.756, 0, 1.8, 0, 1, + 1.822, 0, 1.844, 0, 1.867, 0, 1, 1.911, 0, 1.956, 1, 2, 1, 1, 2.489, 1, + 2.978, 1, 3.467, 1, 1, 3.511, 1, 3.556, 0, 3.6, 0, 1, 3.622, 0, 3.644, + 0, 3.667, 0, 1, 3.733, 0, 3.8, 1, 3.867, 1, 0, 4.7, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLSmile", + "Segments": [0, 0, 0, 4.7, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeROpen", + "Segments": [ + 0, 1, 1, 0.556, 1, 1.111, 1, 1.667, 1, 1, 1.711, 1, 1.756, 0, 1.8, 0, 1, + 1.822, 0, 1.844, 0, 1.867, 0, 1, 1.911, 0, 1.956, 1, 2, 1, 1, 2.489, 1, + 2.978, 1, 3.467, 1, 1, 3.511, 1, 3.556, 0, 3.6, 0, 1, 3.622, 0, 3.644, + 0, 3.667, 0, 1, 3.733, 0, 3.8, 1, 3.867, 1, 0, 4.7, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeRSmile", + "Segments": [0, 0, 0, 4.7, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallX", + "Segments": [ + 0, 0, 1, 0.156, 0, 0.311, -0.02, 0.467, -0.02, 1, 0.578, -0.02, 0.689, + 0, 0.8, 0, 1, 1.056, 0, 1.311, 0, 1.567, 0, 1, 1.767, 0, 1.967, -0.131, + 2.167, -0.15, 1, 2.644, -0.195, 3.122, -0.2, 3.6, -0.2, 1, 3.622, -0.2, + 3.644, 0.803, 3.667, 0.803, 0, 4.7, 0.803 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallY", + "Segments": [ + 0, 0, 1, 0.156, 0, 0.311, 0.01, 0.467, 0.08, 1, 0.578, 0.13, 0.689, + 0.21, 0.8, 0.21, 1, 1.056, 0.21, 1.311, 0.21, 1.567, 0.21, 1, 1.767, + 0.21, 1.967, 0.08, 2.167, 0.08, 1, 2.644, 0.08, 3.122, 0.086, 3.6, 0.1, + 1, 3.622, 0.101, 3.644, 0.794, 3.667, 0.794, 0, 4.7, 0.794 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowLForm", + "Segments": [0, 0, 0, 4.7, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBrowRForm", + "Segments": [0, 0, 0, 4.7, 0] + }, + { + "Target": "Parameter", + "Id": "ParamMouthForm", + "Segments": [0, 1, 0, 4.7, 1] + }, + { + "Target": "Parameter", + "Id": "ParamMouthOpenY", + "Segments": [0, 0, 0, 4.7, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleX", + "Segments": [ + 0, -6, 1, 0.856, -6, 1.711, 1, 2.567, 1, 1, 2.789, 1, 3.011, 1.145, + 3.233, 0, 1, 3.467, -1.202, 3.7, -6, 3.933, -6, 0, 4.7, -6 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleY", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, 7, 0.433, 7, 1, + 0.611, 7, 0.789, -4, 0.967, -4, 1, 1.078, -4, 1.189, 6, 1.3, 6, 1, + 1.433, 6, 1.567, -3, 1.7, -3, 1, 1.789, -3, 1.878, -1.459, 1.967, 0, 1, + 2.067, 1.642, 2.167, 3.47, 2.267, 4, 1, 2.367, 4.53, 2.467, 4.312, + 2.567, 5, 1, 2.889, 7.215, 3.211, 10, 3.533, 10, 1, 3.667, 10, 3.8, 0, + 3.933, 0, 1, 4.067, 0, 4.2, 0, 4.333, 0, 0, 4.7, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleZ", + "Segments": [ + 0, 0, 1, 0.822, 0, 1.644, 0, 2.467, 0, 1, 2.722, 0, 2.978, 5, 3.233, 5, + 1, 3.489, 5, 3.744, -5, 4, -5, 1, 4.156, -5, 4.311, -3.976, 4.467, + -3.976, 0, 4.7, -3.976 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBreath", + "Segments": [0, 0, 0, 4.7, 0] + }, + { + "Target": "Parameter", + "Id": "ParamArmLA", + "Segments": [ + 0, -10, 1, 0.178, -10, 0.356, -7, 0.533, -7, 1, 0.7, -7, 0.867, -10, + 1.033, -10, 1, 1.2, -10, 1.367, -8, 1.533, -8, 1, 1.611, -8, 1.689, + -8.746, 1.767, -9, 1, 2.011, -9.797, 2.256, -10, 2.5, -10, 1, 2.556, + -10, 2.611, -10, 2.667, -10, 1, 2.789, -10, 2.911, -10, 3.033, -10, 0, + 4.7, -10 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmRA", + "Segments": [ + 0, -10, 1, 0.178, -10, 0.356, -7, 0.533, -7, 1, 0.7, -7, 0.867, -10, + 1.033, -10, 1, 1.2, -10, 1.367, -6, 1.533, -6, 1, 1.611, -6, 1.689, + -6.903, 1.767, -7.5, 1, 2.011, -9.377, 2.256, -10, 2.5, -10, 1, 2.567, + -10, 2.633, -8.958, 2.7, -8.958, 1, 2.811, -8.958, 2.922, -10, 3.033, + -10, 0, 4.7, -10 + ] + }, + { + "Target": "Parameter", + "Id": "ParamHairAhoge", + "Segments": [ + 0, 0, 1, 0.144, 0, 0.289, 10, 0.433, 10, 1, 0.578, 10, 0.722, -10, + 0.867, -10, 1, 0.989, -10, 1.111, 4, 1.233, 4, 1, 1.322, 4, 1.411, + 2.767, 1.5, 0, 1, 1.611, -3.459, 1.722, -5.351, 1.833, -5.351, 1, 1.922, + -5.351, 2.011, 1.661, 2.1, 1.661, 1, 2.233, 1.661, 2.367, 0, 2.5, 0, 1, + 2.867, 0, 3.233, 10, 3.6, 10, 1, 3.722, 10, 3.844, -10, 3.967, -10, 1, + 4.078, -10, 4.189, 6, 4.3, 6, 1, 4.356, 6, 4.411, 0, 4.467, 0, 0, 4.7, 0 + ] + }, + { + "Target": "PartOpacity", + "Id": "PartArmA", + "Segments": [0, 1, 0, 4.7, 1] + } + ] +} diff --git a/public/live2d/nike01/motions/Motion2.motion3.json b/public/live2d/nike01/motions/Motion2.motion3.json new file mode 100644 index 00000000..9f204549 --- /dev/null +++ b/public/live2d/nike01/motions/Motion2.motion3.json @@ -0,0 +1,234 @@ +{ + "Version": 3, + "Meta": { + "Duration": 5.93, + "Fps": 30.0, + "Loop": false, + "AreBeziersRestricted": false, + "CurveCount": 22, + "TotalSegmentCount": 162, + "TotalPointCount": 464, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [ + 0, 18, 1, 0.211, 18, 0.422, 0, 0.633, 0, 1, 0.889, 0, 1.144, 22, 1.4, + 22, 1, 1.578, 22, 1.756, 22, 1.933, 22, 1, 2.1, 22, 2.267, 14.992, + 2.433, 0, 1, 2.6, -14.992, 2.767, -23, 2.933, -23, 1, 3.244, -23, 3.556, + -23, 3.867, -23, 1, 4.078, -23, 4.289, 0, 4.5, 0, 0, 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleY", + "Segments": [ + 0, -24, 1, 0.211, -24, 0.422, 0, 0.633, 0, 1, 0.889, 0, 1.144, -18, 1.4, + -18, 1, 1.522, -18, 1.644, -11, 1.767, -11, 1, 1.822, -11, 1.878, -11, + 1.933, -11, 1, 2.1, -11, 2.267, -3, 2.433, -3, 1, 2.6, -3, 2.767, -30, + 2.933, -30, 1, 3.133, -30, 3.333, -23, 3.533, -23, 1, 3.644, -23, 3.756, + -23, 3.867, -23, 1, 3.911, -23, 3.956, -23, 4, -23, 1, 4.167, -23, + 4.333, 0, 4.5, 0, 0, 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleZ", + "Segments": [ + 0, 0, 1, 0.222, 0, 0.444, 0, 0.667, 0, 1, 0.756, 0, 0.844, 1.707, 0.933, + 8, 1, 1.122, 21.373, 1.311, 30, 1.5, 30, 1, 1.656, 30, 1.811, 30, 1.967, + 30, 1, 2.289, 30, 2.611, -30, 2.933, -30, 1, 3.244, -30, 3.556, -30, + 3.867, -30, 1, 4.078, -30, 4.289, -21.337, 4.5, 1, 1, 4.578, 9.23, + 4.656, 17, 4.733, 17, 0, 5.933, 17 + ] + }, + { + "Target": "Parameter", + "Id": "ParamCheek", + "Segments": [0, 1, 0, 5.933, 1] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLOpen", + "Segments": [ + 0, 1, 1, 0.333, 1, 0.667, 1, 1, 1, 1, 1.044, 1, 1.089, 0, 1.133, 0, 1, + 1.156, 0, 1.178, 0, 1.2, 0, 1, 1.256, 0, 1.311, 1, 1.367, 1, 1, 1.833, + 1, 2.3, 1, 2.767, 1, 1, 2.867, 1, 2.967, 1.2, 3.067, 1.2, 1, 3.233, 1.2, + 3.4, 1, 3.567, 1, 1, 3.689, 1, 3.811, 1, 3.933, 1, 1, 3.978, 1, 4.022, + 0, 4.067, 0, 1, 4.089, 0, 4.111, 0, 4.133, 0, 1, 4.189, 0, 4.244, 1, + 4.3, 1, 1, 4.4, 1, 4.5, 1, 4.6, 1, 1, 4.633, 1, 4.667, 0, 4.7, 0, 0, + 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLSmile", + "Segments": [ + 0, 0.63, 1, 1.433, 0.63, 2.867, 0.6, 4.3, 0.6, 1, 4.4, 0.6, 4.5, 0.771, + 4.6, 0.771, 0, 5.933, 0.771 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeROpen", + "Segments": [ + 0, 1, 1, 0.333, 1, 0.667, 1, 1, 1, 1, 1.044, 1, 1.089, 0, 1.133, 0, 1, + 1.156, 0, 1.178, 0, 1.2, 0, 1, 1.256, 0, 1.311, 1, 1.367, 1, 1, 1.833, + 1, 2.3, 1, 2.767, 1, 1, 2.867, 1, 2.967, 1.2, 3.067, 1.2, 1, 3.233, 1.2, + 3.4, 1, 3.567, 1, 1, 3.689, 1, 3.811, 1, 3.933, 1, 1, 3.978, 1, 4.022, + 0, 4.067, 0, 1, 4.089, 0, 4.111, 0, 4.133, 0, 1, 4.189, 0, 4.244, 1, + 4.3, 1, 1, 4.4, 1, 4.5, 1, 4.6, 1, 1, 4.633, 1, 4.667, 0, 4.7, 0, 0, + 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeRSmile", + "Segments": [ + 0, 0.63, 1, 1.433, 0.63, 2.867, 0.6, 4.3, 0.6, 1, 4.4, 0.6, 4.5, 0.76, + 4.6, 0.76, 0, 5.933, 0.76 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallX", + "Segments": [ + 0, -0.002, 1, 0.211, -0.002, 0.422, 0, 0.633, 0, 1, 0.889, 0, 1.144, + -0.31, 1.4, -0.31, 1, 1.578, -0.31, 1.756, -0.31, 1.933, -0.31, 1, + 2.233, -0.31, 2.533, 0.67, 2.833, 0.67, 1, 3.144, 0.67, 3.456, 0.67, + 3.767, 0.67, 1, 4.011, 0.67, 4.256, 0, 4.5, 0, 0, 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallY", + "Segments": [ + 0, 0, 1, 0.211, 0, 0.422, 0, 0.633, 0, 1, 0.889, 0, 1.144, 0.38, 1.4, + 0.38, 1, 1.578, 0.38, 1.756, 0.38, 1.933, 0.38, 1, 2.233, 0.38, 2.533, + 0.46, 2.833, 0.46, 1, 3.144, 0.46, 3.456, 0.46, 3.767, 0.46, 1, 4.011, + 0.46, 4.256, 0, 4.5, 0, 0, 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowLForm", + "Segments": [ + 0, 0, 1, 1.5, 0, 3, 0.006, 4.5, 0.021, 1, 4.589, 0.022, 4.678, 0.667, + 4.767, 0.667, 0, 5.933, 0.667 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowRForm", + "Segments": [ + 0, 0, 1, 1.5, 0, 3, 0, 4.5, 0, 1, 4.589, 0, 4.678, 0.646, 4.767, 0.646, + 0, 5.933, 0.646 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthForm", + "Segments": [ + 0, -1, 1, 1.433, -1, 2.867, -1, 4.3, -1, 1, 4.367, -1, 4.433, 1, 4.5, 1, + 0, 5.933, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthOpenY", + "Segments": [ + 0, 1, 1, 1.433, 1, 2.867, 1, 4.3, 1, 1, 4.367, 1, 4.433, 0, 4.5, 0, 0, + 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleX", + "Segments": [ + 0, 7, 1, 0.244, 7, 0.489, 0, 0.733, 0, 1, 0.778, 0, 0.822, 0.667, 0.867, + 2, 1, 1.044, 7.333, 1.222, 10, 1.4, 10, 1, 1.533, 10, 1.667, 10, 1.8, + 10, 1, 2.178, 10, 2.556, 6, 2.933, 6, 1, 3.244, 6, 3.556, 6, 3.867, 6, + 1, 4.189, 6, 4.511, 0, 4.833, 0, 1, 4.956, 0, 5.078, 1.192, 5.2, 1.192, + 1, 5.322, 1.192, 5.444, 0.013, 5.567, 0.013, 0, 5.933, 0.013 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleY", + "Segments": [ + 0, 0, 1, 0.211, 0, 0.422, 0, 0.633, 0, 1, 0.667, 0, 0.7, 0, 0.733, 0, 1, + 1.133, 0, 1.533, 0, 1.933, 0, 1, 2.078, 0, 2.222, 4, 2.367, 4, 1, 2.556, + 4, 2.744, -2.18, 2.933, -2.18, 1, 3.022, -2.18, 3.111, 0, 3.2, 0, 1, + 3.456, 0, 3.711, -1, 3.967, -1, 1, 4.067, -1, 4.167, -1.018, 4.267, 0, + 1, 4.333, 0.679, 4.4, 10, 4.467, 10, 1, 4.567, 10, 4.667, -5, 4.767, -5, + 1, 4.889, -5, 5.011, 0, 5.133, 0, 0, 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleZ", + "Segments": [ + 0, 0, 1, 0.233, 0, 0.467, 0, 0.7, 0, 1, 0.733, 0, 0.767, 0, 0.8, 0, 1, + 1.278, 0, 1.756, -4, 2.233, -4, 1, 2.544, -4, 2.856, 8, 3.167, 8, 1, + 3.4, 8, 3.633, 8.008, 3.867, 7.985, 1, 4.178, 7.954, 4.489, -3, 4.8, -3, + 0, 5.933, -3 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBreath", + "Segments": [ + 0, 0, 1, 0.122, 0, 0.244, 1, 0.367, 1, 1, 0.511, 1, 0.656, 0, 0.8, 0, 1, + 1.022, 0, 1.244, 1, 1.467, 1, 1, 1.689, 1, 1.911, 0, 2.133, 0, 1, 2.344, + 0, 2.556, 1, 2.767, 1, 1, 2.967, 1, 3.167, 0, 3.367, 0, 1, 3.578, 0, + 3.789, 1, 4, 1, 1, 4.233, 1, 4.467, 0, 4.7, 0, 1, 4.9, 0, 5.1, 0, 5.3, + 0, 0, 5.933, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmLA", + "Segments": [ + 0, -8.7, 1, 0.289, -8.7, 0.578, -8.7, 0.867, -8.7, 1, 1, -8.7, 1.133, + -10, 1.267, -10, 1, 1.578, -10, 1.889, -10, 2.2, -10, 1, 2.444, -10, + 2.689, -6.9, 2.933, -6.9, 1, 3.244, -6.9, 3.556, -6.9, 3.867, -6.9, 1, + 3.989, -6.9, 4.111, -8.3, 4.233, -8.3, 1, 4.344, -8.3, 4.456, -3, 4.567, + -3, 1, 4.689, -3, 4.811, -4, 4.933, -4, 1, 5.1, -4, 5.267, -3, 5.433, + -3, 0, 5.933, -3 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmRA", + "Segments": [ + 0, -8.7, 1, 0.289, -8.7, 0.578, -8.7, 0.867, -8.7, 1, 1, -8.7, 1.133, + -10, 1.267, -10, 1, 1.578, -10, 1.889, -10, 2.2, -10, 1, 2.444, -10, + 2.689, -10, 2.933, -10, 1, 3.244, -10, 3.556, -10, 3.867, -10, 1, 3.989, + -10, 4.111, -9.998, 4.233, -7.8, 1, 4.344, -5.802, 4.456, 0.03, 4.567, + 0.03, 1, 4.689, 0.03, 4.811, -1, 4.933, -1, 1, 5.122, -1, 5.311, -0.002, + 5.5, -0.002, 0, 5.933, -0.002 + ] + }, + { + "Target": "Parameter", + "Id": "ParamHairAhoge", + "Segments": [ + 0, 0, 1, 0.333, 0, 0.667, 0, 1, 0, 1, 1.133, 0, 1.267, 10, 1.4, 10, 1, + 1.489, 10, 1.578, 2.177, 1.667, 2.177, 1, 1.789, 2.177, 1.911, 10, + 2.033, 10, 1, 2.289, 10, 2.544, -10, 2.8, -10, 1, 2.933, -10, 3.067, + 7.54, 3.2, 7.54, 1, 3.344, 7.54, 3.489, 0, 3.633, 0, 1, 3.911, 0, 4.189, + 0, 4.467, 0, 1, 4.6, 0, 4.733, 10, 4.867, 10, 1, 4.989, 10, 5.111, -10, + 5.233, -10, 1, 5.322, -10, 5.411, 3.456, 5.5, 3.456, 1, 5.556, 3.456, + 5.611, 0, 5.667, 0, 0, 5.933, 0 + ] + }, + { + "Target": "PartOpacity", + "Id": "PartArmA", + "Segments": [0, 1, 0, 5.93, 1] + } + ] +} diff --git a/public/live2d/nike01/motions/Motion3.motion3.json b/public/live2d/nike01/motions/Motion3.motion3.json new file mode 100644 index 00000000..42a86f29 --- /dev/null +++ b/public/live2d/nike01/motions/Motion3.motion3.json @@ -0,0 +1,200 @@ +{ + "Version": 3, + "Meta": { + "Duration": 4.2, + "Fps": 30.0, + "Loop": false, + "AreBeziersRestricted": false, + "CurveCount": 22, + "TotalSegmentCount": 133, + "TotalPointCount": 377, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [ + 0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 1, 0.389, 0, 0.611, 0, 0.833, 0, + 1, 0.933, 0, 1.033, 0, 1.133, 0, 1, 1.311, 0, 1.489, 0, 1.667, 0, 1, + 1.778, 0, 1.889, -0.268, 2, -1, 1, 2.089, -1.585, 2.178, -2, 2.267, -2, + 0, 4.2, -2 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleY", + "Segments": [ + 0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 1, 0.3, 0, 0.433, -18, 0.567, + -18, 1, 0.656, -18, 0.744, 8, 0.833, 8, 1, 0.933, 8, 1.033, -8, 1.133, + -8, 1, 1.311, -8, 1.489, 10, 1.667, 10, 1, 1.778, 10, 1.889, -21, 2, + -21, 1, 2.089, -21, 2.178, -3, 2.267, -3, 0, 4.2, -3 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleZ", + "Segments": [ + 0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 1, 0.289, 0, 0.411, -1, 0.533, + -1, 1, 0.722, -1, 0.911, 17, 1.1, 17, 1, 1.411, 17, 1.722, -22, 2.033, + -22, 1, 2.244, -22, 2.456, 11, 2.667, 11, 0, 4.2, 11 + ] + }, + { + "Target": "Parameter", + "Id": "ParamCheek", + "Segments": [0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 0, 4.2, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLOpen", + "Segments": [ + 0, 1, 1, 0.056, 1, 0.111, 1, 0.167, 1, 1, 0.2, 1, 0.233, 1, 0.267, 1, 1, + 0.322, 1, 0.378, 0, 0.433, 0, 1, 0.478, 0, 0.522, 0, 0.567, 0, 1, 0.644, + 0, 0.722, 1, 0.8, 1, 1, 1.056, 1, 1.311, 0.988, 1.567, 0.988, 1, 1.789, + 0.988, 2.011, 1, 2.233, 1, 1, 2.267, 1, 2.3, 1, 2.333, 1, 1, 2.367, 1, + 2.4, 0, 2.433, 0, 1, 2.478, 0, 2.522, 0, 2.567, 0, 1, 2.622, 0, 2.678, + 1, 2.733, 1, 0, 4.2, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLSmile", + "Segments": [0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 0, 4.2, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeROpen", + "Segments": [ + 0, 1, 1, 0.056, 1, 0.111, 1, 0.167, 1, 1, 0.2, 1, 0.233, 1, 0.267, 1, 1, + 0.322, 1, 0.378, 0, 0.433, 0, 1, 0.478, 0, 0.522, 0, 0.567, 0, 1, 0.644, + 0, 0.722, 1, 0.8, 1, 1, 1.056, 1, 1.311, 1, 1.567, 1, 1, 1.789, 1, + 2.011, 1, 2.233, 1, 1, 2.267, 1, 2.3, 1, 2.333, 1, 1, 2.367, 1, 2.4, 0, + 2.433, 0, 1, 2.478, 0, 2.522, 0, 2.567, 0, 1, 2.622, 0, 2.678, 1, 2.733, + 1, 0, 4.2, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeRSmile", + "Segments": [0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 0, 4.2, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallX", + "Segments": [ + 0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 1, 0.256, 0, 0.344, 0, 0.433, 0, + 1, 0.478, 0, 0.522, -1, 0.567, -1, 1, 0.8, -1, 1.033, -1, 1.267, -1, 1, + 1.422, -1, 1.578, 0.583, 1.733, 0.583, 1, 1.967, 0.583, 2.2, 0.583, + 2.433, 0.583, 1, 2.478, 0.583, 2.522, 0, 2.567, 0, 0, 4.2, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallY", + "Segments": [ + 0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 1, 0.256, 0, 0.344, 0, 0.433, 0, + 1, 0.478, 0, 0.522, 1, 0.567, 1, 1, 0.8, 1, 1.033, 1, 1.267, 1, 1, + 1.422, 1, 1.578, 0.75, 1.733, 0.75, 1, 1.967, 0.75, 2.2, 0.75, 2.433, + 0.75, 1, 2.478, 0.75, 2.522, 0, 2.567, 0, 0, 4.2, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowLForm", + "Segments": [0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 0, 4.2, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBrowRForm", + "Segments": [0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 0, 4.2, 0] + }, + { + "Target": "Parameter", + "Id": "ParamMouthForm", + "Segments": [0, 1, 1, 0.056, 1, 0.111, 1, 0.167, 1, 0, 4.2, 1] + }, + { + "Target": "Parameter", + "Id": "ParamMouthOpenY", + "Segments": [0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 0, 4.2, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleX", + "Segments": [0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 0, 4.2, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleY", + "Segments": [ + 0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 1, 0.244, 0, 0.322, -4, 0.4, -4, + 1, 0.478, -4, 0.556, 10, 0.633, 10, 1, 0.8, 10, 0.967, -0.386, 1.133, + -0.386, 1, 1.244, -0.386, 1.356, 10, 1.467, 10, 1, 1.6, 10, 1.733, 0, + 1.867, 0, 1, 2.044, 0, 2.222, 10, 2.4, 10, 1, 2.444, 10, 2.489, 10.395, + 2.533, 9.649, 1, 2.7, 6.854, 2.867, -3.526, 3.033, -3.526, 1, 3.267, + -3.526, 3.5, 6.807, 3.733, 6.807, 1, 3.811, 6.807, 3.889, 6, 3.967, 6, + 0, 4.2, 6 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleZ", + "Segments": [ + 0, 0, 1, 0.056, 0, 0.111, 0, 0.167, 0, 1, 0.256, 0, 0.344, -1, 0.433, + -1, 1, 0.656, -1, 0.878, 6, 1.1, 6, 1, 1.333, 6, 1.567, -3, 1.8, -3, 1, + 2.256, -3, 2.711, 8, 3.167, 8, 0, 4.2, 8 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBreath", + "Segments": [ + 0, 0, 1, 0.189, 0, 0.378, 1, 0.567, 1, 1, 0.733, 1, 0.9, 0, 1.067, 0, 1, + 1.3, 0, 1.533, 1, 1.767, 1, 1, 2.033, 1, 2.3, 0, 2.567, 0, 1, 2.778, 0, + 2.989, 1, 3.2, 1, 1, 3.4, 1, 3.6, 0, 3.8, 0, 0, 4.2, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmLA", + "Segments": [ + 0, -10, 1, 0.256, -10, 0.511, 0, 0.767, 0, 1, 0.889, 0, 1.011, -6.5, + 1.133, -6.5, 1, 1.289, -6.5, 1.444, 0, 1.6, 0, 1, 1.756, 0, 1.911, -8, + 2.067, -8, 1, 2.344, -8, 2.622, -1.4, 2.9, -1.4, 1, 2.978, -1.4, 3.056, + -1.775, 3.133, -2.3, 1, 3.211, -2.825, 3.289, -3, 3.367, -3, 1, 3.433, + -3, 3.5, -2.5, 3.567, -2.5, 1, 3.733, -2.5, 3.9, -3, 4.067, -3, 0, 4.2, + -3 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmRA", + "Segments": [ + 0, -10, 1, 0.256, -10, 0.511, 0, 0.767, 0, 1, 0.867, 0, 0.967, -5.2, + 1.067, -5.2, 1, 1.244, -5.2, 1.422, 0, 1.6, 0, 1, 1.778, 0, 1.956, -6.3, + 2.133, -6.3, 1, 2.422, -6.3, 2.711, 0.029, 3, 0.029, 1, 3.144, 0.029, + 3.289, 0, 3.433, 0, 1, 3.5, 0, 3.567, 0, 3.633, 0, 1, 3.722, 0, 3.811, + -0.029, 3.9, -0.029, 0, 4.2, -0.029 + ] + }, + { + "Target": "Parameter", + "Id": "ParamHairAhoge", + "Segments": [ + 0, 0, 1, 0.122, 0, 0.244, -3.127, 0.367, -4, 1, 0.511, -5.032, 0.656, + -5, 0.8, -5, 1, 0.9, -5, 1, 10, 1.1, 10, 1, 1.267, 10, 1.433, 10.072, + 1.6, 8, 1, 1.722, 6.481, 1.844, -10, 1.967, -10, 1, 2.122, -10, 2.278, + -10.146, 2.433, -9.434, 1, 2.589, -8.722, 2.744, 10, 2.9, 10, 1, 3.011, + 10, 3.122, -5.646, 3.233, -5.646, 1, 3.367, -5.646, 3.5, 3.825, 3.633, + 3.825, 1, 3.767, 3.825, 3.9, 0, 4.033, 0, 0, 4.2, 0 + ] + }, + { + "Target": "PartOpacity", + "Id": "PartArmA", + "Segments": [0, 1, 0, 4.2, 1] + } + ] +} diff --git a/public/live2d/nike01/motions/Motion4.motion3.json b/public/live2d/nike01/motions/Motion4.motion3.json new file mode 100644 index 00000000..f1f16399 --- /dev/null +++ b/public/live2d/nike01/motions/Motion4.motion3.json @@ -0,0 +1,186 @@ +{ + "Version": 3, + "Meta": { + "Duration": 4.37, + "Fps": 30.0, + "Loop": false, + "AreBeziersRestricted": false, + "CurveCount": 22, + "TotalSegmentCount": 96, + "TotalPointCount": 266, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [ + 0, 1, 1, 0.211, 1, 0.422, 0, 0.633, 0, 1, 0.911, 0, 1.189, 5, 1.467, 5, + 1, 1.689, 5, 1.911, -16, 2.133, -16, 1, 2.356, -16, 2.578, 7, 2.8, 7, 1, + 2.956, 7, 3.111, 0, 3.267, 0, 0, 4.367, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleY", + "Segments": [ + 0, 0, 1, 0.211, 0, 0.422, 0, 0.633, 0, 1, 0.911, 0, 1.189, -25, 1.467, + -25, 1, 1.689, -25, 1.911, -11, 2.133, -11, 1, 2.356, -11, 2.578, -13, + 2.8, -13, 1, 2.956, -13, 3.111, 0, 3.267, 0, 0, 4.367, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleZ", + "Segments": [ + 0, 0, 1, 0.222, 0, 0.444, 0, 0.667, 0, 1, 0.756, 0, 0.844, -4, 0.933, + -4, 1, 1.122, -4, 1.311, 18, 1.5, 18, 1, 1.722, 18, 1.944, -14, 2.167, + -14, 1, 2.567, -14, 2.967, -14, 3.367, -14, 1, 3.511, -14, 3.656, -12, + 3.8, -12, 0, 4.367, -12 + ] + }, + { + "Target": "Parameter", + "Id": "ParamCheek", + "Segments": [0, 1, 0, 4.367, 1] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLOpen", + "Segments": [ + 0, 1.2, 1, 0.389, 1.2, 0.778, 1.148, 1.167, 1, 1, 1.211, 0.983, 1.256, + 0, 1.3, 0, 1, 1.322, 0, 1.344, 0, 1.367, 0, 1, 1.422, 0, 1.478, 1, + 1.533, 1, 1, 1.944, 1, 2.356, 1, 2.767, 1, 1, 2.811, 1, 2.856, 0, 2.9, + 0, 1, 2.922, 0, 2.944, 0, 2.967, 0, 1, 3.022, 0, 3.078, 1, 3.133, 1, 0, + 4.367, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLSmile", + "Segments": [0, 0, 0, 4.367, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeROpen", + "Segments": [ + 0, 1.2, 1, 0.389, 1.2, 0.778, 1.148, 1.167, 1, 1, 1.211, 0.983, 1.256, + 0, 1.3, 0, 1, 1.322, 0, 1.344, 0, 1.367, 0, 1, 1.422, 0, 1.478, 1, + 1.533, 1, 1, 1.944, 1, 2.356, 1, 2.767, 1, 1, 2.811, 1, 2.856, 0, 2.9, + 0, 1, 2.922, 0, 2.944, 0, 2.967, 0, 1, 3.022, 0, 3.078, 1, 3.133, 1, 0, + 4.367, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeRSmile", + "Segments": [0, 0, 0, 4.367, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallX", + "Segments": [ + 0, 0, 1, 0.211, 0, 0.422, 0, 0.633, 0, 1, 0.911, 0, 1.189, -0.44, 1.467, + -0.44, 1, 1.689, -0.44, 1.911, 0.79, 2.133, 0.79, 1, 2.511, 0.79, 2.889, + 0, 3.267, 0, 0, 4.367, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallY", + "Segments": [ + 0, 0, 1, 0.211, 0, 0.422, 0, 0.633, 0, 1, 0.911, 0, 1.189, -1, 1.467, + -1, 1, 1.689, -1, 1.911, -1, 2.133, -1, 1, 2.511, -1, 2.889, 0, 3.267, + 0, 0, 4.367, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowLForm", + "Segments": [ + 0, -0.729, 1, 0.544, -0.729, 1.089, -0.7, 1.633, -0.7, 1, 1.722, -0.7, + 1.811, -1, 1.9, -1, 1, 2.122, -1, 2.344, -0.812, 2.567, -0.812, 1, + 2.867, -0.812, 3.167, -1, 3.467, -1, 0, 4.367, -1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowRForm", + "Segments": [ + 0, -0.75, 1, 0.544, -0.75, 1.089, -0.761, 1.633, -0.8, 1, 1.722, -0.806, + 1.811, -1, 1.9, -1, 1, 2.122, -1, 2.344, -0.792, 2.567, -0.792, 1, + 2.867, -0.792, 3.167, -1, 3.467, -1, 0, 4.367, -1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthForm", + "Segments": [0, -2, 0, 4.367, -2] + }, + { + "Target": "Parameter", + "Id": "ParamMouthOpenY", + "Segments": [0, 0, 0, 4.367, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleX", + "Segments": [ + 0, 0, 1, 0.244, 0, 0.489, 0, 0.733, 0, 1, 0.933, 0, 1.133, -7, 1.333, + -7, 1, 1.644, -7, 1.956, 0, 2.267, 0, 0, 4.367, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleY", + "Segments": [0, 0, 1, 0.244, 0, 0.489, 0, 0.733, 0, 0, 4.367, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleZ", + "Segments": [ + 0, 2, 1, 0.233, 2, 0.467, 0, 0.7, 0, 1, 0.733, 0, 0.767, 0, 0.8, 0, 1, + 1, 0, 1.2, -4, 1.4, -4, 1, 1.711, -4, 2.022, 5, 2.333, 5, 1, 2.567, 5, + 2.8, 3.64, 3.033, 0, 1, 3.133, -1.56, 3.233, -3, 3.333, -3, 1, 3.467, + -3, 3.6, -2, 3.733, -2, 0, 4.367, -2 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBreath", + "Segments": [ + 0, 0, 1, 0.189, 0, 0.378, 1, 0.567, 1, 1, 0.711, 1, 0.856, 0, 1, 0, 1, + 1.222, 0, 1.444, 1, 1.667, 1, 1, 1.889, 1, 2.111, 0, 2.333, 0, 1, 2.544, + 0, 2.756, 1, 2.967, 1, 1, 3.167, 1, 3.367, 0, 3.567, 0, 0, 4.367, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmLA", + "Segments": [0, -10, 0, 4.367, -10] + }, + { + "Target": "Parameter", + "Id": "ParamArmRA", + "Segments": [0, -10, 0, 4.367, -10] + }, + { + "Target": "Parameter", + "Id": "ParamHairAhoge", + "Segments": [ + 0, 0, 1, 0.3, 0, 0.6, 0, 0.9, -0.012, 1, 1.067, -0.019, 1.233, -6.827, + 1.4, -6.827, 1, 1.511, -6.827, 1.622, 7.958, 1.733, 7.958, 1, 1.944, + 7.958, 2.156, -7.565, 2.367, -7.565, 1, 2.5, -7.565, 2.633, 9.434, + 2.767, 9.434, 1, 2.978, 9.434, 3.189, -8.871, 3.4, -8.871, 1, 3.5, + -8.871, 3.6, 7.588, 3.7, 7.588, 1, 3.789, 7.588, 3.878, -3.904, 3.967, + -3.904, 1, 4.011, -3.904, 4.056, -0.032, 4.1, -0.032, 0, 4.367, -0.032 + ] + }, + { + "Target": "PartOpacity", + "Id": "PartArmA", + "Segments": [0, 1, 0, 4.37, 1] + } + ] +} diff --git a/public/live2d/nike01/motions/Motion5.motion3.json b/public/live2d/nike01/motions/Motion5.motion3.json new file mode 100644 index 00000000..cf332751 --- /dev/null +++ b/public/live2d/nike01/motions/Motion5.motion3.json @@ -0,0 +1,248 @@ +{ + "Version": 3, + "Meta": { + "Duration": 8.57, + "Fps": 30.0, + "Loop": false, + "AreBeziersRestricted": false, + "CurveCount": 22, + "TotalSegmentCount": 194, + "TotalPointCount": 560, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [ + 0, 0, 1, 0.189, 0, 0.378, 1, 0.567, 1, 1, 1.122, 1, 1.678, 1, 2.233, 1, + 1, 2.533, 1, 2.833, -30, 3.133, -30, 1, 4.067, -30, 5, -30, 5.933, -30, + 1, 6.322, -30, 6.711, 0, 7.1, 0, 0, 8.567, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleY", + "Segments": [ + 0, 0, 1, 0.189, 0, 0.378, 18, 0.567, 18, 1, 0.856, 18, 1.144, -9.95, + 1.433, -9.95, 1, 1.522, -9.95, 1.611, -1.589, 1.7, -1.589, 1, 1.911, + -1.589, 2.122, -8.047, 2.333, -8.047, 1, 2.6, -8.047, 2.867, 30, 3.133, + 30, 1, 3.478, 30, 3.822, 29.529, 4.167, 27.847, 1, 4.311, 27.142, 4.456, + 25.42, 4.6, 24.243, 1, 4.922, 21.616, 5.244, 20.338, 5.567, 20.338, 1, + 5.789, 20.338, 6.011, 27.397, 6.233, 27.397, 1, 6.522, 27.397, 6.811, 0, + 7.1, 0, 0, 8.567, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleZ", + "Segments": [ + 0, 0, 1, 0.189, 0, 0.378, 0, 0.567, 0, 1, 0.8, 0, 1.033, 25, 1.267, 25, + 1, 1.4, 25, 1.533, 25, 1.667, 25, 1, 1.878, 25, 2.089, 25, 2.3, 25, 1, + 2.578, 25, 2.856, -30, 3.133, -30, 1, 4, -30, 4.867, -30, 5.733, -30, 1, + 5.8, -30, 5.867, -30, 5.933, -30, 1, 6.322, -30, 6.711, 0, 7.1, 0, 0, + 8.567, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamCheek", + "Segments": [ + 0, 0, 1, 0.2, 0, 0.4, 0, 0.6, 0, 1, 2.844, 0, 5.089, 0, 7.333, 0, 0, + 8.567, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLOpen", + "Segments": [ + 0, 1, 1, 0.278, 1, 0.556, 1, 0.833, 1, 1, 0.867, 1, 0.9, 0, 0.933, 0, 1, + 1.222, 0, 1.511, 0, 1.8, 0, 1, 1.889, 0, 1.978, 1, 2.067, 1, 1, 2.322, + 1, 2.578, 1, 2.833, 1, 1, 2.889, 1, 2.944, 0, 3, 0, 1, 3.022, 0, 3.044, + 0, 3.067, 0, 1, 3.122, 0, 3.178, 1, 3.233, 1, 1, 3.5, 1, 3.767, 1, + 4.033, 1, 1, 4.089, 1, 4.144, 0, 4.2, 0, 1, 4.222, 0, 4.244, 0, 4.267, + 0, 1, 4.322, 0, 4.378, 1, 4.433, 1, 1, 5.133, 1, 5.833, 1, 6.533, 1, 1, + 6.589, 1, 6.644, 0, 6.7, 0, 1, 6.722, 0, 6.744, 0, 6.767, 0, 1, 6.822, + 0, 6.878, 1, 6.933, 1, 1, 7.067, 1, 7.2, 1, 7.333, 1, 0, 8.567, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLSmile", + "Segments": [ + 0, 0, 1, 0.278, 0, 0.556, 0.812, 0.833, 0.812, 0, 8.567, 0.812 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeROpen", + "Segments": [ + 0, 1, 1, 0.278, 1, 0.556, 1, 0.833, 1, 1, 0.867, 1, 0.9, 0, 0.933, 0, 1, + 1.222, 0, 1.511, 0, 1.8, 0, 1, 1.889, 0, 1.978, 1, 2.067, 1, 1, 2.322, + 1, 2.578, 1, 2.833, 1, 1, 2.889, 1, 2.944, 0, 3, 0, 1, 3.022, 0, 3.044, + 0, 3.067, 0, 1, 3.122, 0, 3.178, 1, 3.233, 1, 1, 3.5, 1, 3.767, 1, + 4.033, 1, 1, 4.089, 1, 4.144, 0, 4.2, 0, 1, 4.222, 0, 4.244, 0, 4.267, + 0, 1, 4.322, 0, 4.378, 1, 4.433, 1, 1, 5.133, 1, 5.833, 1, 6.533, 1, 1, + 6.589, 1, 6.644, 0, 6.7, 0, 1, 6.722, 0, 6.744, 0, 6.767, 0, 1, 6.822, + 0, 6.878, 1, 6.933, 1, 1, 7.067, 1, 7.2, 1, 7.333, 1, 0, 8.567, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeRSmile", + "Segments": [ + 0, 0, 1, 0.278, 0, 0.556, 0.812, 0.833, 0.812, 1, 1.967, 0.812, 3.1, + 0.8, 4.233, 0.8, 0, 8.567, 0.8 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallX", + "Segments": [ + 0, 0, 1, 0.2, 0, 0.4, -0.065, 0.6, -0.14, 1, 0.811, -0.219, 1.022, + -0.24, 1.233, -0.24, 1, 1.367, -0.24, 1.5, -0.24, 1.633, -0.24, 1, + 1.844, -0.24, 2.056, -0.24, 2.267, -0.24, 1, 2.556, -0.24, 2.844, 0.661, + 3.133, 0.68, 1, 3.5, 0.704, 3.867, 0.7, 4.233, 0.7, 1, 4.5, 0.7, 4.767, + -0.75, 5.033, -0.75, 1, 5.589, -0.75, 6.144, 0.68, 6.7, 0.68, 1, 6.789, + 0.68, 6.878, 0, 6.967, 0, 0, 8.567, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallY", + "Segments": [ + 0, 0, 1, 0.2, 0, 0.4, -0.38, 0.6, -0.38, 1, 0.811, -0.38, 1.022, 0.21, + 1.233, 0.21, 1, 1.367, 0.21, 1.5, 0.21, 1.633, 0.21, 1, 1.844, 0.21, + 2.056, 0.21, 2.267, 0.21, 1, 2.556, 0.21, 2.844, -0.33, 3.133, -0.33, 1, + 3.767, -0.33, 4.4, 0.625, 5.033, 0.625, 1, 5.589, 0.625, 6.144, -0.33, + 6.7, -0.33, 1, 6.789, -0.33, 6.878, 0, 6.967, 0, 0, 8.567, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowLForm", + "Segments": [0, 0, 1, 0.2, 0, 0.4, 0, 0.6, 0, 0, 8.567, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBrowRForm", + "Segments": [0, 0, 1, 0.2, 0, 0.4, 0, 0.6, 0, 0, 8.567, 0] + }, + { + "Target": "Parameter", + "Id": "ParamMouthForm", + "Segments": [ + 0, 1, 1, 0.2, 1, 0.4, 1, 0.6, 1, 1, 0.889, 1, 1.178, 1, 1.467, 1, 1, + 1.611, 1, 1.756, 1, 1.9, 1, 1, 2.189, 1, 2.478, 0, 2.767, 0, 1, 3.989, + 0, 5.211, 0, 6.433, 0, 1, 6.533, 0, 6.633, 1, 6.733, 1, 0, 8.567, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthOpenY", + "Segments": [ + 0, 0, 1, 0.2, 0, 0.4, 0, 0.6, 0, 1, 0.667, 0, 0.733, 0, 0.8, 0, 1, + 0.844, 0, 0.889, 1, 0.933, 1, 1, 1.111, 1, 1.289, 1, 1.467, 1, 1, 1.611, + 1, 1.756, 0, 1.9, 0, 1, 2.056, 0, 2.211, 0, 2.367, 0, 1, 2.5, 0, 2.633, + 1, 2.767, 1, 1, 3.989, 1, 5.211, 1, 6.433, 1, 1, 6.533, 1, 6.633, 0, + 6.733, 0, 0, 8.567, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleX", + "Segments": [ + 0, 0, 1, 0.133, 0, 0.267, 0, 0.4, 0, 1, 0.5, 0, 0.6, -1.353, 0.7, + -1.353, 1, 0.933, -1.353, 1.167, 10, 1.4, 10, 1, 1.544, 10, 1.689, + 9.799, 1.833, 9.799, 1, 2.089, 9.799, 2.344, 9.875, 2.6, 9.875, 1, + 2.944, 9.875, 3.289, -9.599, 3.633, -9.599, 1, 3.844, -9.599, 4.056, + -2.657, 4.267, -2.657, 1, 4.467, -2.657, 4.667, -9.098, 4.867, -9.098, + 1, 5.144, -9.098, 5.422, -4.812, 5.7, -4.812, 1, 5.967, -4.812, 6.233, + -10, 6.5, -10, 1, 6.778, -10, 7.056, -1.43, 7.333, 0, 1, 7.533, 1.03, + 7.733, 0.752, 7.933, 0.752, 1, 8.011, 0.752, 8.089, -0.326, 8.167, + -0.326, 0, 8.567, -0.326 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleY", + "Segments": [ + 0, 0, 1, 0.2, 0, 0.4, 5.421, 0.6, 5.421, 1, 0.867, 5.421, 1.133, -3.737, + 1.4, -3.737, 1, 1.511, -3.737, 1.622, 0.246, 1.733, 0.246, 1, 1.933, + 0.246, 2.133, 0, 2.333, 0, 1, 2.389, 0, 2.444, 2.993, 2.5, 4, 1, 2.711, + 7.827, 2.922, 9, 3.133, 9, 1, 4.256, 9, 5.378, 9, 6.5, 9, 1, 6.778, 9, + 7.056, -5, 7.333, -5, 1, 7.5, -5, 7.667, 2, 7.833, 2, 1, 7.9, 2, 7.967, + 0, 8.033, 0, 0, 8.567, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleZ", + "Segments": [ + 0, 0, 1, 0.2, 0, 0.4, 2, 0.6, 2, 1, 0.867, 2, 1.133, -10, 1.4, -10, 1, + 1.533, -10, 1.667, -10, 1.8, -10, 1, 2, -10, 2.2, -10.197, 2.4, -6.566, + 1, 2.6, -2.936, 2.8, 10, 3, 10, 1, 3.433, 10, 3.867, -4.436, 4.3, + -4.436, 1, 4.578, -4.436, 4.856, 10, 5.133, 10, 1, 5.433, 10, 5.733, + 0.695, 6.033, -4.261, 1, 6.211, -7.197, 6.389, -6.792, 6.567, -6.792, 1, + 6.644, -6.792, 6.722, -6.224, 6.8, -4.11, 1, 6.989, 1.023, 7.178, 4.236, + 7.367, 4.236, 1, 7.689, 4.236, 8.011, 0.025, 8.333, 0.025, 0, 8.567, + 0.025 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBreath", + "Segments": [ + 0, 0, 1, 0.122, 0, 0.244, 1, 0.367, 1, 1, 0.511, 1, 0.656, 0, 0.8, 0, 1, + 1.022, 0, 1.244, 1, 1.467, 1, 1, 1.689, 1, 1.911, 0, 2.133, 0, 1, 2.344, + 0, 2.556, 1, 2.767, 1, 1, 2.967, 1, 3.167, 0, 3.367, 0, 1, 3.578, 0, + 3.789, 1, 4, 1, 1, 4.233, 1, 4.467, 0, 4.7, 0, 1, 4.9, 0, 5.1, 0, 5.3, + 0, 1, 5.522, 0, 5.744, 1, 5.967, 1, 1, 6.244, 1, 6.522, 0, 6.8, 0, 1, + 7.022, 0, 7.244, 1, 7.467, 1, 1, 7.689, 1, 7.911, 0, 8.133, 0, 0, 8.567, + 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmLA", + "Segments": [ + 0, -10, 1, 0.2, -10, 0.4, -10, 0.6, -10, 1, 0.833, -10, 1.067, -7.083, + 1.3, -7.083, 1, 1.433, -7.083, 1.567, -7.083, 1.7, -7.083, 1, 1.911, + -7.083, 2.122, -10, 2.333, -10, 1, 3.467, -10, 4.6, -10, 5.733, -10, 1, + 5.8, -10, 5.867, -10, 5.933, -10, 1, 6.4, -10, 6.867, -10, 7.333, -10, + 0, 8.567, -10 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmRA", + "Segments": [ + 0, -10, 1, 0.2, -10, 0.4, -10, 0.6, -10, 1, 0.833, -10, 1.067, 2.917, + 1.3, 2.917, 1, 1.478, 2.917, 1.656, 3.029, 1.833, 2.6, 1, 2.033, 2.117, + 2.233, -10, 2.433, -10, 1, 3.533, -10, 4.633, -10, 5.733, -10, 1, 5.8, + -10, 5.867, -10, 5.933, -10, 1, 6.133, -10, 6.333, -10, 6.533, -10, 1, + 6.8, -10, 7.067, -10, 7.333, -10, 0, 8.567, -10 + ] + }, + { + "Target": "Parameter", + "Id": "ParamHairAhoge", + "Segments": [ + 0, 0, 1, 0.178, 0, 0.356, -10, 0.533, -10, 1, 0.833, -10, 1.133, 10, + 1.433, 10, 1, 1.567, 10, 1.7, 0, 1.833, 0, 1, 2.311, 0, 2.789, 10, + 3.267, 10, 1, 3.344, 10, 3.422, 10, 3.5, 10, 1, 3.633, 10, 3.767, -10, + 3.9, -10, 1, 4.267, -10, 4.633, 7.69, 5, 9.705, 1, 5.122, 10.376, 5.244, + 10, 5.367, 10, 1, 5.756, 10, 6.144, -9.975, 6.533, -9.975, 1, 6.622, + -9.975, 6.711, -10.207, 6.8, -9.779, 1, 7.033, -8.654, 7.267, 10, 7.5, + 10, 1, 7.7, 10, 7.9, -6.753, 8.1, -6.753, 1, 8.2, -6.753, 8.3, 0, 8.4, + 0, 0, 8.567, 0 + ] + }, + { + "Target": "PartOpacity", + "Id": "PartArmA", + "Segments": [0, 1, 0, 8.57, 1] + } + ] +} diff --git a/public/live2d/nike01/motions/Motion6.motion3.json b/public/live2d/nike01/motions/Motion6.motion3.json new file mode 100644 index 00000000..0df80883 --- /dev/null +++ b/public/live2d/nike01/motions/Motion6.motion3.json @@ -0,0 +1,183 @@ +{ + "Version": 3, + "Meta": { + "Duration": 1.9, + "Fps": 30.0, + "Loop": false, + "AreBeziersRestricted": false, + "CurveCount": 22, + "TotalSegmentCount": 89, + "TotalPointCount": 245, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 0, 1.9, 0] + }, + { + "Target": "Parameter", + "Id": "ParamAngleY", + "Segments": [0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 0, 1.9, 0] + }, + { + "Target": "Parameter", + "Id": "ParamAngleZ", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.444, 0, 0.556, 8, 0.667, 8, + 0, 1.9, 8 + ] + }, + { + "Target": "Parameter", + "Id": "ParamCheek", + "Segments": [0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 0, 1.9, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLOpen", + "Segments": [ + 0, 1, 1, 0.111, 1, 0.222, 1, 0.333, 1, 1, 0.378, 1, 0.422, 0, 0.467, 0, + 1, 0.522, 0, 0.578, 1.2, 0.633, 1.2, 1, 0.744, 1.2, 0.856, 1.2, 0.967, + 1.2, 1, 0.989, 1.2, 1.011, 0, 1.033, 0, 1, 1.067, 0, 1.1, 1.2, 1.133, + 1.2, 1, 1.167, 1.2, 1.2, 1.2, 1.233, 1.2, 1, 1.267, 1.2, 1.3, 0, 1.333, + 0, 1, 1.356, 0, 1.378, 1.2, 1.4, 1.2, 0, 1.9, 1.2 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLSmile", + "Segments": [0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 0, 1.9, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeROpen", + "Segments": [ + 0, 1, 1, 0.111, 1, 0.222, 1, 0.333, 1, 1, 0.378, 1, 0.422, 0, 0.467, 0, + 1, 0.522, 0, 0.578, 1.2, 0.633, 1.2, 1, 0.744, 1.2, 0.856, 1.2, 0.967, + 1.2, 1, 0.989, 1.2, 1.011, 0, 1.033, 0, 1, 1.067, 0, 1.1, 1.2, 1.133, + 1.2, 1, 1.167, 1.2, 1.2, 1.2, 1.233, 1.2, 1, 1.267, 1.2, 1.3, 0, 1.333, + 0, 1, 1.356, 0, 1.378, 1.2, 1.4, 1.2, 0, 1.9, 1.2 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeRSmile", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.356, 0, 0.378, 0, 0.4, 0, 1, + 0.489, 0, 0.578, 0, 0.667, 0, 0, 1.9, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallX", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.356, 0, 0.378, 0, 0.4, 0, 1, + 0.489, 0, 0.578, 0, 0.667, 0, 0, 1.9, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallY", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.356, 0, 0.378, 0, 0.4, 0, 1, + 0.489, 0, 0.578, 0, 0.667, 0, 0, 1.9, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowLForm", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.356, 0, 0.378, 0, 0.4, 0, 1, + 0.489, 0, 0.578, 0.33, 0.667, 0.33, 0, 1.9, 0.33 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowRForm", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.356, 0, 0.378, 0, 0.4, 0, 1, + 0.489, 0, 0.578, 0.21, 0.667, 0.21, 0, 1.9, 0.21 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthForm", + "Segments": [ + 0, 1, 1, 0.111, 1, 0.222, 1, 0.333, 1, 1, 0.356, 1, 0.378, 1, 0.4, 1, 1, + 0.489, 1, 0.578, -2, 0.667, -2, 0, 1.9, -2 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthOpenY", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.356, 0, 0.378, 0, 0.4, 0, 1, + 0.489, 0, 0.578, 0.75, 0.667, 0.75, 0, 1.9, 0.75 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleX", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.444, 0, 0.556, -6, 0.667, + -6, 0, 1.9, -6 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleY", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.422, 0, 0.511, 10, 0.6, 10, + 1, 0.667, 10, 0.733, -6, 0.8, -6, 1, 0.833, -6, 0.867, 5, 0.9, 5, 1, + 1.011, 5, 1.122, 0, 1.233, 0, 0, 1.9, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleZ", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.444, 0, 0.556, -3, 0.667, + -3, 0, 1.9, -3 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBreath", + "Segments": [0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 0, 1.9, 0] + }, + { + "Target": "Parameter", + "Id": "ParamArmLA", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.478, 0, 0.622, -10, 0.767, + -10, 1, 0.811, -10, 0.856, -8.2, 0.9, -8.2, 0, 1.9, -8.2 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmRA", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 0, 0.333, 0, 1, 0.478, 0, 0.622, -10, 0.767, + -10, 1, 0.811, -10, 0.856, -7.2, 0.9, -7.2, 0, 1.9, -7.2 + ] + }, + { + "Target": "Parameter", + "Id": "ParamHairAhoge", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, 1.9, 0.333, 5.2, 1, 0.444, 8.5, 0.556, 9.926, + 0.667, 9.926, 1, 0.744, 9.926, 0.822, -10, 0.9, -10, 1, 0.956, -10, + 1.011, 6, 1.067, 6, 1, 1.144, 6, 1.222, -4, 1.3, -4, 1, 1.367, -4, + 1.433, 0, 1.5, 0, 0, 1.9, 0 + ] + }, + { + "Target": "PartOpacity", + "Id": "PartArmA", + "Segments": [0, 1, 0, 1.9, 1] + } + ] +} diff --git a/public/live2d/nike01/motions/Motion7.motion3.json b/public/live2d/nike01/motions/Motion7.motion3.json new file mode 100644 index 00000000..2445d46b --- /dev/null +++ b/public/live2d/nike01/motions/Motion7.motion3.json @@ -0,0 +1,197 @@ +{ + "Version": 3, + "Meta": { + "Duration": 1.6, + "Fps": 30.0, + "Loop": false, + "AreBeziersRestricted": false, + "CurveCount": 22, + "TotalSegmentCount": 110, + "TotalPointCount": 308, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.333, 0, 0.467, -4, 0.6, -4, 0, + 1.6, -4 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleY", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.289, 0, 0.378, -20, 0.467, + -20, 1, 0.522, -20, 0.578, 2, 0.633, 2, 1, 0.667, 2, 0.7, 0, 0.733, 0, + 1, 0.8, 0, 0.867, 0, 0.933, 0, 1, 1, 0, 1.067, -21, 1.133, -21, 1, + 1.167, -21, 1.2, -17, 1.233, -17, 0, 1.6, -17 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleZ", + "Segments": [0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 0, 1.6, 0] + }, + { + "Target": "Parameter", + "Id": "ParamCheek", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.356, 0, 0.511, 0, 0.667, 0, 1, + 0.778, 0, 0.889, 1, 1, 1, 0, 1.6, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLOpen", + "Segments": [ + 0, 1, 1, 0.067, 1, 0.133, 1, 0.2, 1, 1, 0.244, 1, 0.289, 1, 0.333, 1, 1, + 0.378, 1, 0.422, 0, 0.467, 0, 1, 0.489, 0, 0.511, 0, 0.533, 0, 1, 0.578, + 0, 0.622, 1, 0.667, 1, 1, 0.8, 1, 0.933, 1, 1.067, 1, 1, 1.122, 1, + 1.178, 0.825, 1.233, 0.825, 0, 1.6, 0.825 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLSmile", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.544, 0, 0.889, 0, 1.233, 0, 0, + 1.6, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeROpen", + "Segments": [ + 0, 1, 1, 0.067, 1, 0.133, 1, 0.2, 1, 1, 0.244, 1, 0.289, 1, 0.333, 1, 1, + 0.378, 1, 0.422, 0, 0.467, 0, 1, 0.489, 0, 0.511, 0, 0.533, 0, 1, 0.578, + 0, 0.622, 0.996, 0.667, 1, 1, 0.8, 1.011, 0.933, 1.013, 1.067, 1.013, 1, + 1.122, 1.013, 1.178, 0.8, 1.233, 0.8, 0, 1.6, 0.8 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeRSmile", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.322, 0, 0.444, 0, 0.567, 0, 1, + 0.789, 0, 1.011, 0, 1.233, 0, 0, 1.6, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallX", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.322, 0, 0.444, 0, 0.567, 0, 1, + 0.789, 0, 1.011, 0, 1.233, 0, 0, 1.6, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallY", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.322, 0, 0.444, 0, 0.567, 0, 1, + 0.789, 0, 1.011, 0, 1.233, 0, 0, 1.6, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowLForm", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.322, 0, 0.444, -1, 0.567, -1, + 1, 0.789, -1, 1.011, -1, 1.233, -1, 0, 1.6, -1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowRForm", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.322, 0, 0.444, -1, 0.567, -1, + 1, 0.789, -1, 1.011, -1, 1.233, -1, 0, 1.6, -1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthForm", + "Segments": [ + 0, 1, 1, 0.067, 1, 0.133, 1, 0.2, 1, 1, 0.322, 1, 0.444, -2, 0.567, -2, + 1, 0.789, -2, 1.011, -2, 1.233, -2, 0, 1.6, -2 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthOpenY", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.322, 0, 0.444, 1, 0.567, 1, 1, + 0.656, 1, 0.744, 1, 0.833, 1, 1, 0.889, 1, 0.944, 1, 1, 1, 1, 1.044, 1, + 1.089, 0, 1.133, 0, 1, 1.244, 0, 1.356, 0, 1.467, 0, 0, 1.6, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleX", + "Segments": [ + 0, 0, 1, 0.156, 0, 0.311, 0, 0.467, 0, 1, 0.556, 0, 0.644, -10, 0.733, + -10, 1, 0.833, -10, 0.933, -9, 1.033, -9, 0, 1.6, -9 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleY", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, -4, 0.433, -4, + 1, 0.522, -4, 0.611, 5, 0.7, 5, 1, 0.789, 5, 0.878, 5, 0.967, 5, 1, + 1.044, 5, 1.122, -7, 1.2, -7, 1, 1.267, -7, 1.333, 0, 1.4, 0, 0, 1.6, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleZ", + "Segments": [0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 0, 1.6, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBreath", + "Segments": [0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 0, 1.6, 0] + }, + { + "Target": "Parameter", + "Id": "ParamArmLA", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.233, 0, 0.267, 0, 0.3, 0, 1, + 0.367, 0, 0.433, -4.5, 0.5, -4.5, 1, 0.578, -4.5, 0.656, 0.8, 0.733, + 0.8, 1, 0.811, 0.8, 0.889, -0.156, 0.967, -0.6, 1, 1.011, -0.854, 1.056, + -0.72, 1.1, -1, 1, 1.167, -1.42, 1.233, -3.7, 1.3, -3.7, 1, 1.356, -3.7, + 1.411, -2.4, 1.467, -2.4, 0, 1.6, -2.4 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmRA", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.233, 0, 0.267, 0, 0.3, 0, 1, + 0.367, 0, 0.433, -4.5, 0.5, -4.5, 1, 0.578, -4.5, 0.656, 2.2, 0.733, + 2.2, 1, 0.811, 2.2, 0.889, -0.749, 0.967, -0.9, 1, 1.011, -0.987, 1.056, + -0.921, 1.1, -1, 1, 1.167, -1.119, 1.233, -3.6, 1.3, -3.6, 1, 1.356, + -3.6, 1.411, -1.8, 1.467, -1.8, 0, 1.6, -1.8 + ] + }, + { + "Target": "Parameter", + "Id": "ParamHairAhoge", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.289, 0, 0.378, 6, 0.467, 6, 1, + 0.5, 6, 0.533, 4, 0.567, 0, 1, 0.622, -6.667, 0.678, -10, 0.733, -10, 1, + 0.767, -10, 0.8, -6, 0.833, -6, 1, 0.933, -6, 1.033, -10, 1.133, -10, 1, + 1.178, -10, 1.222, -2, 1.267, -2, 1, 1.311, -2, 1.356, -9, 1.4, -9, 0, + 1.6, -9 + ] + }, + { + "Target": "PartOpacity", + "Id": "PartArmA", + "Segments": [0, 1, 0, 1.6, 1] + } + ] +} diff --git a/public/live2d/nike01/motions/Motion8.motion3.json b/public/live2d/nike01/motions/Motion8.motion3.json new file mode 100644 index 00000000..bd2bfeb3 --- /dev/null +++ b/public/live2d/nike01/motions/Motion8.motion3.json @@ -0,0 +1,188 @@ +{ + "Version": 3, + "Meta": { + "Duration": 4.17, + "Fps": 30.0, + "Loop": true, + "AreBeziersRestricted": false, + "CurveCount": 22, + "TotalSegmentCount": 93, + "TotalPointCount": 257, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.4, 0, 0.6, 0, 0.8, 0, 1, + 1.067, 0, 1.333, 1.041, 1.6, 1.041, 1, 1.844, 1.041, 2.089, -8, 2.333, + -8, 1, 2.656, -8, 2.978, 6, 3.3, 6, 0, 4.167, 6 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleY", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.344, 0, 0.489, -30, 0.633, + -30, 0, 4.167, -30 + ] + }, + { + "Target": "Parameter", + "Id": "ParamAngleZ", + "Segments": [0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 0, 4.167, 0] + }, + { + "Target": "Parameter", + "Id": "ParamCheek", + "Segments": [0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 0, 4.167, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLOpen", + "Segments": [ + 0, 1, 1, 0.067, 1, 0.133, 1, 0.2, 1, 1, 0.311, 1, 0.422, 0.988, 0.533, + 0.8, 1, 0.589, 0.706, 0.644, 0, 0.7, 0, 1, 0.722, 0, 0.744, 0, 0.767, 0, + 1, 0.822, 0, 0.878, 0.8, 0.933, 0.8, 1, 1.422, 0.8, 1.911, 0.8, 2.4, + 0.8, 1, 2.456, 0.8, 2.511, 0, 2.567, 0, 1, 2.589, 0, 2.611, 0, 2.633, 0, + 1, 2.689, 0, 2.744, 0.8, 2.8, 0.8, 0, 4.167, 0.8 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeLSmile", + "Segments": [0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 0, 4.167, 0] + }, + { + "Target": "Parameter", + "Id": "ParamEyeROpen", + "Segments": [ + 0, 1, 1, 0.067, 1, 0.133, 1, 0.2, 1, 1, 0.311, 1, 0.422, 0.988, 0.533, + 0.8, 1, 0.589, 0.706, 0.644, 0, 0.7, 0, 1, 0.722, 0, 0.744, 0, 0.767, 0, + 1, 0.822, 0, 0.878, 0.8, 0.933, 0.8, 1, 1.422, 0.8, 1.911, 0.8, 2.4, + 0.8, 1, 2.456, 0.8, 2.511, 0, 2.567, 0, 1, 2.589, 0, 2.611, 0, 2.633, 0, + 1, 2.689, 0, 2.744, 0.8, 2.8, 0.8, 0, 4.167, 0.8 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeRSmile", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, 0, 0.433, 0, 0, + 4.167, 0 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallX", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, 0, 0.433, 0, 1, + 0.667, 0, 0.9, 0.004, 1.133, -0.01, 1, 1.4, -0.025, 1.667, -0.43, 1.933, + -0.43, 1, 2.211, -0.43, 2.489, 0.283, 2.767, 0.283, 0, 4.167, 0.283 + ] + }, + { + "Target": "Parameter", + "Id": "ParamEyeBallY", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, -1, 0.433, -1, + 0, 4.167, -1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowLForm", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, -0.75, 0.433, + -0.75, 0, 4.167, -0.75 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBrowRForm", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, -0.87, 0.433, + -0.87, 0, 4.167, -0.87 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthForm", + "Segments": [ + 0, 1, 1, 0.067, 1, 0.133, 1, 0.2, 1, 1, 0.278, 1, 0.356, -1, 0.433, -1, + 0, 4.167, -1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamMouthOpenY", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.278, 0, 0.356, 1, 0.433, 1, 0, + 4.167, 1 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleX", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.444, 0, 0.689, 0, 0.933, 0, 1, + 1.211, 0, 1.489, 0, 1.767, 0, 1, 2.056, 0, 2.344, -6, 2.633, -6, 1, + 3.033, -6, 3.433, 10, 3.833, 10, 0, 4.167, 10 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleY", + "Segments": [0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 0, 4.167, 0] + }, + { + "Target": "Parameter", + "Id": "ParamBodyAngleZ", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.8, 0, 1.4, -2, 2, -2, 1, + 2.456, -2, 2.911, 8.125, 3.367, 8.125, 0, 4.167, 8.125 + ] + }, + { + "Target": "Parameter", + "Id": "ParamBreath", + "Segments": [0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 0, 4.167, 0] + }, + { + "Target": "Parameter", + "Id": "ParamArmLA", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.233, 0, 0.267, 0, 0.3, 0, 1, + 0.478, 0, 0.656, -10, 0.833, -10, 1, 0.922, -10, 1.011, -8.846, 1.1, + -8.846, 1, 1.467, -8.846, 1.833, -8.835, 2.2, -9.1, 1, 2.622, -9.405, + 3.044, -10, 3.467, -10, 0, 4.167, -10 + ] + }, + { + "Target": "Parameter", + "Id": "ParamArmRA", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.233, 0, 0.267, 0, 0.3, 0, 1, + 0.478, 0, 0.656, -10, 0.833, -10, 1, 0.922, -10, 1.011, -8.972, 1.1, + -8.846, 1, 1.467, -8.328, 1.833, -8.2, 2.2, -8.2, 1, 2.622, -8.2, 3.044, + -10, 3.467, -10, 0, 4.167, -10 + ] + }, + { + "Target": "Parameter", + "Id": "ParamHairAhoge", + "Segments": [ + 0, 0, 1, 0.067, 0, 0.133, 0, 0.2, 0, 1, 0.233, 0, 0.267, -5, 0.3, -5, 1, + 0.378, -5, 0.456, 10, 0.533, 10, 1, 0.633, 10, 0.733, 4, 0.833, 4, 0, + 4.167, 4 + ] + }, + { + "Target": "PartOpacity", + "Id": "PartArmA", + "Segments": [0, 1, 0, 4.17, 1] + } + ] +} diff --git a/public/live2d/nike01/motions/Motion9.motion3.json b/public/live2d/nike01/motions/Motion9.motion3.json new file mode 100644 index 00000000..4831a1fe --- /dev/null +++ b/public/live2d/nike01/motions/Motion9.motion3.json @@ -0,0 +1,25 @@ +{ + "Version": 3, + "Meta": { + "Duration": 1.633, + "Fps": 30.0, + "Loop": false, + "AreBeziersRestricted": true, + "CurveCount": 1, + "TotalSegmentCount": 5, + "TotalPointCount": 16, + "UserDataCount": 0, + "TotalUserDataSize": 0 + }, + "Curves": [ + { + "Target": "Parameter", + "Id": "ParamAngleX", + "Segments": [ + 0, 0, 1, 0.111, 0, 0.222, -15, 0.333, -15, 1, 0.444, -15, 0.556, 15, + 0.667, 15, 1, 0.778, 15, 0.889, -15, 1, -15, 1, 1.111, -15, 1.222, 15, + 1.333, 15, 1, 1.433, 15, 1.533, 2.85, 1.633, 0.42 + ] + } + ] +} diff --git a/public/live2d/nike01/nike01.8192/texture_00.png b/public/live2d/nike01/nike01.8192/texture_00.png new file mode 100755 index 00000000..ecebf668 Binary files /dev/null and b/public/live2d/nike01/nike01.8192/texture_00.png differ diff --git a/public/live2d/nike01/nike01.cdi3.json b/public/live2d/nike01/nike01.cdi3.json new file mode 100755 index 00000000..23190284 --- /dev/null +++ b/public/live2d/nike01/nike01.cdi3.json @@ -0,0 +1,598 @@ +{ + "Version": 3, + "Parameters": [ + { + "Id": "ParamAngleX", + "GroupId": "ParamGroup", + "Name": "頭 X" + }, + { + "Id": "ParamAngleY", + "GroupId": "ParamGroup", + "Name": "頭 Y" + }, + { + "Id": "ParamAngleZ", + "GroupId": "ParamGroup", + "Name": "頭 Z" + }, + { + "Id": "ParamBodyAngleX", + "GroupId": "ParamGroup", + "Name": "身体 X" + }, + { + "Id": "ParamBodyAngleY", + "GroupId": "ParamGroup", + "Name": "身体 Y" + }, + { + "Id": "ParamBodyAngleZ", + "GroupId": "ParamGroup", + "Name": "身体 Z" + }, + { + "Id": "ParamAngleX2", + "GroupId": "ParamGroup2", + "Name": "頭 X★" + }, + { + "Id": "ParamAngleY2", + "GroupId": "ParamGroup2", + "Name": "頭 Y★" + }, + { + "Id": "ParamAngleZ2", + "GroupId": "ParamGroup2", + "Name": "頭 Z★" + }, + { + "Id": "ParamBodyAngleX2", + "GroupId": "ParamGroup2", + "Name": "身体 X★" + }, + { + "Id": "ParamBodyAngleY2", + "GroupId": "ParamGroup2", + "Name": "身体 Y★" + }, + { + "Id": "ParamBodyAngleZ2", + "GroupId": "ParamGroup2", + "Name": "身体 Z★" + }, + { + "Id": "ParamBodyAngleZ3", + "GroupId": "ParamGroup2", + "Name": "下半身 Z★" + }, + { + "Id": "ParamBodyAngleY3", + "GroupId": "ParamGroup2", + "Name": "下半身 Y★" + }, + { + "Id": "ParamBodyAngleX3", + "GroupId": "ParamGroup2", + "Name": "身体 Xバウンド" + }, + { + "Id": "ParamBodyAngleY4", + "GroupId": "ParamGroup2", + "Name": "身体 Yバウンド" + }, + { + "Id": "ParamEyeLOpen", + "GroupId": "ParamGroup3", + "Name": "左目 開閉" + }, + { + "Id": "ParamEyeLSmile", + "GroupId": "ParamGroup3", + "Name": "左目 笑顔" + }, + { + "Id": "ParamEyeROpen", + "GroupId": "ParamGroup3", + "Name": "右目 開閉" + }, + { + "Id": "ParamEyeRSmile", + "GroupId": "ParamGroup3", + "Name": "右目 笑顔" + }, + { + "Id": "ParamEyeBallX", + "GroupId": "ParamGroup3", + "Name": "目玉 X" + }, + { + "Id": "ParamEyeBallY", + "GroupId": "ParamGroup3", + "Name": "目玉 Y" + }, + { + "Id": "ParamBrowsY", + "GroupId": "ParamGroup3", + "Name": "眉上下" + }, + { + "Id": "ParamMouthForm", + "GroupId": "ParamGroup3", + "Name": "口 変形" + }, + { + "Id": "ParamMouthOpenY", + "GroupId": "ParamGroup3", + "Name": "口 開閉" + }, + { + "Id": "ParamPupilX", + "GroupId": "ParamGroup4", + "Name": "瞳孔X" + }, + { + "Id": "ParamPupilY", + "GroupId": "ParamGroup4", + "Name": "瞳孔Y" + }, + { + "Id": "ParamPupil", + "GroupId": "ParamGroup4", + "Name": "瞳縮小" + }, + { + "Id": "ParamPupilL", + "GroupId": "ParamGroup4", + "Name": "左瞳孔" + }, + { + "Id": "ParamPupilL2", + "GroupId": "ParamGroup4", + "Name": "左瞳揺れ" + }, + { + "Id": "ParamEyelashesL", + "GroupId": "ParamGroup4", + "Name": "左まつ毛揺れ" + }, + { + "Id": "ParamEyelidsL1", + "GroupId": "ParamGroup4", + "Name": "左まぶた揺れ1" + }, + { + "Id": "ParamEyelidsL2", + "GroupId": "ParamGroup4", + "Name": "左まぶた揺れ2" + }, + { + "Id": "ParamHighlightLX", + "GroupId": "ParamGroup4", + "Name": "左ハイライト揺れX" + }, + { + "Id": "ParamHighlightLY", + "GroupId": "ParamGroup4", + "Name": "左ハイライト揺れY" + }, + { + "Id": "ParamHighlightLZ", + "GroupId": "ParamGroup4", + "Name": "左ハイライト揺れZ" + }, + { + "Id": "ParamPupilR", + "GroupId": "ParamGroup4", + "Name": "右瞳孔" + }, + { + "Id": "ParamPupilR2", + "GroupId": "ParamGroup4", + "Name": "右瞳揺れ" + }, + { + "Id": "ParamEyelashesR", + "GroupId": "ParamGroup4", + "Name": "右まつ毛揺れ" + }, + { + "Id": "ParamEyelidsR1", + "GroupId": "ParamGroup4", + "Name": "右まぶた揺れ1" + }, + { + "Id": "ParamEyelidsR2", + "GroupId": "ParamGroup4", + "Name": "右まぶた揺れ2" + }, + { + "Id": "ParamHighlightRX", + "GroupId": "ParamGroup4", + "Name": "右ハイライト揺れX" + }, + { + "Id": "ParamHighlightRY", + "GroupId": "ParamGroup4", + "Name": "右ハイライト揺れY" + }, + { + "Id": "ParamHighlightRZ", + "GroupId": "ParamGroup4", + "Name": "右ハイライト揺れZ" + }, + { + "Id": "ParamMouthY", + "GroupId": "ParamGroup4", + "Name": "口揺れ" + }, + { + "Id": "ParamMouthAnger", + "GroupId": "ParamGroup4", + "Name": "怒り口" + }, + { + "Id": "ParamMouthAnger2", + "GroupId": "ParamGroup4", + "Name": "怒り口補助" + }, + { + "Id": "ParamMouthAnger3", + "GroupId": "ParamGroup4", + "Name": "怒り口★" + }, + { + "Id": "ParamGuru", + "GroupId": "ParamGroup4", + "Name": "ぐるぐる" + }, + { + "Id": "ParamHairCX1", + "GroupId": "ParamGroup5", + "Name": "前髪中揺れX1" + }, + { + "Id": "ParamHairCX2", + "GroupId": "ParamGroup5", + "Name": "前髪中揺れX2" + }, + { + "Id": "ParamHairCY1", + "GroupId": "ParamGroup5", + "Name": "前髪中揺れY1" + }, + { + "Id": "ParamHairCY2", + "GroupId": "ParamGroup5", + "Name": "前髪中揺れY2" + }, + { + "Id": "ParamHairLX1", + "GroupId": "ParamGroup5", + "Name": "前髪左揺れX1" + }, + { + "Id": "ParamHairLX2", + "GroupId": "ParamGroup5", + "Name": "前髪左揺れX2" + }, + { + "Id": "ParamHairLY1", + "GroupId": "ParamGroup5", + "Name": "前髪左揺れY1" + }, + { + "Id": "ParamHairLY2", + "GroupId": "ParamGroup5", + "Name": "前髪左揺れY2" + }, + { + "Id": "ParamHairRX1", + "GroupId": "ParamGroup5", + "Name": "前髪右揺れX1" + }, + { + "Id": "ParamHairRX2", + "GroupId": "ParamGroup5", + "Name": "前髪右揺れX2" + }, + { + "Id": "ParamHairRY1", + "GroupId": "ParamGroup5", + "Name": "前髪右揺れY1" + }, + { + "Id": "ParamHairRY2", + "GroupId": "ParamGroup5", + "Name": "前髪右揺れY2" + }, + { + "Id": "ParamSHairLX1", + "GroupId": "ParamGroup5", + "Name": "横髪左揺れX1" + }, + { + "Id": "ParamSHairLX2", + "GroupId": "ParamGroup5", + "Name": "横髪左揺れX2" + }, + { + "Id": "ParamSHairLX3", + "GroupId": "ParamGroup5", + "Name": "横髪左揺れX3" + }, + { + "Id": "ParamSHairLY1", + "GroupId": "ParamGroup5", + "Name": "横髪左揺れY1" + }, + { + "Id": "ParamSHairLY2", + "GroupId": "ParamGroup5", + "Name": "横髪左揺れY2" + }, + { + "Id": "ParamSHairRX1", + "GroupId": "ParamGroup5", + "Name": "横髪右揺れX1" + }, + { + "Id": "ParamSHairRX2", + "GroupId": "ParamGroup5", + "Name": "横髪右揺れX2" + }, + { + "Id": "ParamSHairRX3", + "GroupId": "ParamGroup5", + "Name": "横髪右揺れX3" + }, + { + "Id": "ParamSHairRY1", + "GroupId": "ParamGroup5", + "Name": "横髪右揺れY1" + }, + { + "Id": "ParamSHairRY2", + "GroupId": "ParamGroup5", + "Name": "横髪右揺れY2" + }, + { + "Id": "ParamBHairX1", + "GroupId": "ParamGroup5", + "Name": "後ろ髪揺れX1" + }, + { + "Id": "ParamBHairX2", + "GroupId": "ParamGroup5", + "Name": "後ろ髪揺れX2" + }, + { + "Id": "ParamBHairY1", + "GroupId": "ParamGroup5", + "Name": "後ろ髪揺れY1" + }, + { + "Id": "ParamBHairY2", + "GroupId": "ParamGroup5", + "Name": "後ろ髪揺れY2" + }, + { + "Id": "ParamHairA1", + "GroupId": "ParamGroup5", + "Name": "アホ毛揺れ1" + }, + { + "Id": "ParamHairA2", + "GroupId": "ParamGroup5", + "Name": "アホ毛揺れ2" + }, + { + "Id": "ParamBreastX1", + "GroupId": "ParamGroup5", + "Name": "胸揺れX1" + }, + { + "Id": "ParamBreastX2", + "GroupId": "ParamGroup5", + "Name": "胸揺れX2" + }, + { + "Id": "ParamBreastX3", + "GroupId": "ParamGroup5", + "Name": "胸揺れX3" + }, + { + "Id": "ParamBreastX4", + "GroupId": "ParamGroup5", + "Name": "胸揺れX4" + }, + { + "Id": "ParamBreastY1", + "GroupId": "ParamGroup5", + "Name": "胸揺れY1" + }, + { + "Id": "ParamBreastY2", + "GroupId": "ParamGroup5", + "Name": "胸揺れY2" + }, + { + "Id": "ParamClothesX1", + "GroupId": "ParamGroup5", + "Name": "服揺れX1" + }, + { + "Id": "ParamClothesX2", + "GroupId": "ParamGroup5", + "Name": "服揺れX2" + }, + { + "Id": "ParamClothesY1", + "GroupId": "ParamGroup5", + "Name": "服揺れY1" + }, + { + "Id": "ParamClothesY2", + "GroupId": "ParamGroup5", + "Name": "服揺れY2" + }, + { + "Id": "ParamArm1", + "GroupId": "ParamGroup5", + "Name": "腕揺れ1" + }, + { + "Id": "ParamArm2", + "GroupId": "ParamGroup5", + "Name": "腕揺れ2" + }, + { + "Id": "ParamArm3", + "GroupId": "ParamGroup5", + "Name": "腕揺れ3" + }, + { + "Id": "ParamAngerBrows", + "GroupId": "ParamGroup6", + "Name": "怒り眉" + }, + { + "Id": "ParamTroubleBrows", + "GroupId": "ParamGroup6", + "Name": "困り眉" + }, + { + "Id": "ParamHeMouth", + "GroupId": "ParamGroup6", + "Name": "への字口" + }, + { + "Id": "ParamHairpinChange", + "GroupId": "ParamGroup6", + "Name": "ヘアピン切替" + }, + { + "Id": "ParamBreath", + "GroupId": "", + "Name": "呼吸" + } + ], + "ParameterGroups": [ + { + "Id": "ParamGroup", + "GroupId": "", + "Name": "XYZ" + }, + { + "Id": "ParamGroup2", + "GroupId": "", + "Name": "出力XYZ" + }, + { + "Id": "ParamGroup3", + "GroupId": "", + "Name": "表情" + }, + { + "Id": "ParamGroup4", + "GroupId": "", + "Name": "表情物理演算" + }, + { + "Id": "ParamGroup5", + "GroupId": "", + "Name": "揺れ" + }, + { + "Id": "ParamGroup6", + "GroupId": "", + "Name": "キーバインド" + } + ], + "Parts": [ + { + "Id": "Part", + "Name": "キャラ" + }, + { + "Id": "Part2", + "Name": "眉" + }, + { + "Id": "Part10", + "Name": "ヘアピン" + }, + { + "Id": "Part11", + "Name": "前髪" + }, + { + "Id": "Part3", + "Name": "左目" + }, + { + "Id": "Part5", + "Name": "右瞳" + }, + { + "Id": "Part7", + "Name": "頬" + }, + { + "Id": "Part8", + "Name": "鼻" + }, + { + "Id": "Part9", + "Name": "口開け" + }, + { + "Id": "Part12", + "Name": "二重" + }, + { + "Id": "Part13", + "Name": "輪郭" + }, + { + "Id": "Part14", + "Name": "耳" + }, + { + "Id": "Part15", + "Name": "パーカー腕" + }, + { + "Id": "Part16", + "Name": "Tシャツ" + }, + { + "Id": "Part17", + "Name": "襟奥" + }, + { + "Id": "Part19", + "Name": "後ろ髪" + }, + { + "Id": "Part20", + "Name": "下半身" + }, + { + "Id": "Part21", + "Name": "パーカー裏" + }, + { + "Id": "Part4", + "Name": "瞳(左)" + }, + { + "Id": "Part6", + "Name": "瞳(右)" + }, + { + "Id": "Part18", + "Name": "首" + } + ] +} diff --git a/public/live2d/nike01/nike01.moc3 b/public/live2d/nike01/nike01.moc3 new file mode 100644 index 00000000..042f4124 Binary files /dev/null and b/public/live2d/nike01/nike01.moc3 differ diff --git a/public/live2d/nike01/nike01.model3.json b/public/live2d/nike01/nike01.model3.json new file mode 100644 index 00000000..aac6e72f --- /dev/null +++ b/public/live2d/nike01/nike01.model3.json @@ -0,0 +1,135 @@ +{ + "Version": 3, + "FileReferences": { + "Moc": "nike01.moc3", + "Textures": ["nike01.8192/texture_00.png"], + "Physics": "nike01.physics3.json", + "DisplayInfo": "nike01.cdi3.json", + "Expressions": [ + { + "Name": "Neutral", + "File": "expressions/Neutral.exp3.json" + }, + { + "Name": "Happy", + "File": "expressions/Happy.exp3.json" + }, + { + "Name": "Happy2", + "File": "expressions/Happy2.exp3.json" + }, + { + "Name": "Sad", + "File": "expressions/Sad.exp3.json" + }, + { + "Name": "Sad2", + "File": "expressions/Sad2.exp3.json" + }, + { + "Name": "Troubled", + "File": "expressions/Troubled.exp3.json" + }, + { + "Name": "Angry", + "File": "expressions/Angry.exp3.json" + }, + { + "Name": "Focus", + "File": "expressions/Focus.exp3.json" + }, + { + "Name": "Sleep", + "File": "expressions/Sleep.exp3.json" + }, + { + "Name": "Zitome", + "File": "expressions/Zitome.exp3.json" + }, + { + "Name": "Think", + "File": "expressions/Think.exp3.json" + }, + { + "Name": "Think2", + "File": "expressions/Think2.exp3.json" + }, + { + "Name": "NoSmile", + "File": "expressions/NoSmile.exp3.json" + }, + { + "Name": "HairpinChange", + "File": "expressions/HairpinChange.exp3.json" + } + ], + "Motions": { + "Idle": [ + { + "File": "motions/Motion2.motion3.json" + }, + { + "File": "motions/Motion4.motion3.json" + }, + { + "File": "motions/Motion5.motion3.json" + }, + { + "File": "motions/Motion8.motion3.json" + } + ], + "Neutral": [ + { + "File": "motions/Motion1.motion3.json" + }, + { + "File": "motions/Motion3.motion3.json" + } + ], + "Happy": [ + { + "File": "motions/Motion1.motion3.json" + }, + { + "File": "motions/Motion3.motion3.json" + } + ], + "Sad": [ + { + "File": "motions/Motion1.motion3.json" + }, + { + "File": "motions/Motion9.motion3.json" + } + ], + "Angry": [ + { + "File": "motions/Motion7.motion3.json" + }, + { + "File": "motions/Motion9.motion3.json" + } + ], + "Relaxed": [ + { + "File": "motions/Motion1.motion3.json" + }, + { + "File": "motions/Motion3.motion3.json" + } + ] + } + }, + "Groups": [ + { + "Target": "Parameter", + "Name": "LipSync", + "Ids": ["ParamMouthOpenY"] + }, + { + "Target": "Parameter", + "Name": "EyeBlink", + "Ids": ["ParamEyeLOpen", "ParamEyeROpen"] + } + ] +} diff --git a/public/live2d/nike01/nike01.physics3.json b/public/live2d/nike01/nike01.physics3.json new file mode 100755 index 00000000..6497d07d --- /dev/null +++ b/public/live2d/nike01/nike01.physics3.json @@ -0,0 +1,3232 @@ +{ + "Version": 3, + "Meta": { + "PhysicsSettingCount": 37, + "TotalInputCount": 58, + "TotalOutputCount": 71, + "VertexCount": 98, + "Fps": 60, + "EffectiveForces": { + "Gravity": { + "X": 0, + "Y": -1 + }, + "Wind": { + "X": 0, + "Y": 0 + } + }, + "PhysicsDictionary": [ + { + "Id": "PhysicsSetting1", + "Name": "身体バウンドX" + }, + { + "Id": "PhysicsSetting2", + "Name": "身体バウンドY" + }, + { + "Id": "PhysicsSetting3", + "Name": "頭X" + }, + { + "Id": "PhysicsSetting4", + "Name": "頭Y" + }, + { + "Id": "PhysicsSetting5", + "Name": "頭Z" + }, + { + "Id": "PhysicsSetting6", + "Name": "身体X" + }, + { + "Id": "PhysicsSetting7", + "Name": "身体Y" + }, + { + "Id": "PhysicsSetting8", + "Name": "身体Z" + }, + { + "Id": "PhysicsSetting9", + "Name": "下半身Z" + }, + { + "Id": "PhysicsSetting10", + "Name": "瞳X" + }, + { + "Id": "PhysicsSetting11", + "Name": "瞳Y" + }, + { + "Id": "PhysicsSetting12", + "Name": "左ハイライト揺れ" + }, + { + "Id": "PhysicsSetting13", + "Name": "右ハイライト揺れ" + }, + { + "Id": "PhysicsSetting14", + "Name": "左瞳" + }, + { + "Id": "PhysicsSetting15", + "Name": "右瞳" + }, + { + "Id": "PhysicsSetting16", + "Name": "左瞳揺れ" + }, + { + "Id": "PhysicsSetting17", + "Name": "右瞳揺れ" + }, + { + "Id": "PhysicsSetting18", + "Name": "左まぶた揺れ" + }, + { + "Id": "PhysicsSetting19", + "Name": "右まぶた揺れ" + }, + { + "Id": "PhysicsSetting20", + "Name": "左まぶた揺れ2" + }, + { + "Id": "PhysicsSetting21", + "Name": "右まぶた揺れ2" + }, + { + "Id": "PhysicsSetting22", + "Name": "口揺れ" + }, + { + "Id": "PhysicsSetting23", + "Name": "瞳縮小" + }, + { + "Id": "PhysicsSetting24", + "Name": "前髪中揺れX" + }, + { + "Id": "PhysicsSetting25", + "Name": "前髪左揺れX" + }, + { + "Id": "PhysicsSetting26", + "Name": "前髪右揺れX" + }, + { + "Id": "PhysicsSetting27", + "Name": "前髪揺れY" + }, + { + "Id": "PhysicsSetting28", + "Name": "横髪左揺れX" + }, + { + "Id": "PhysicsSetting29", + "Name": "横髪右揺れX" + }, + { + "Id": "PhysicsSetting30", + "Name": "横髪揺れY" + }, + { + "Id": "PhysicsSetting31", + "Name": "アホ毛揺れ" + }, + { + "Id": "PhysicsSetting32", + "Name": "ポニテ揺れX" + }, + { + "Id": "PhysicsSetting33", + "Name": "腕揺れ" + }, + { + "Id": "PhysicsSetting34", + "Name": "胸揺れX" + }, + { + "Id": "PhysicsSetting35", + "Name": "胸揺れY" + }, + { + "Id": "PhysicsSetting36", + "Name": "服揺れX" + }, + { + "Id": "PhysicsSetting37", + "Name": "服揺れY" + } + ] + }, + "PhysicsSettings": [ + { + "Id": "PhysicsSetting1", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleX" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBodyAngleX3" + }, + "VertexIndex": 1, + "Scale": 20, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.9, + "Delay": 0.92, + "Acceleration": 1.7, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting2", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleY" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBodyAngleY4" + }, + "VertexIndex": 1, + "Scale": 20, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.92, + "Delay": 0.92, + "Acceleration": 1.7, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting3", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX" + }, + "Weight": 60, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "VertexIndex": 1, + "Scale": 43, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.75, + "Delay": 1.2, + "Acceleration": 0.9, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting4", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY" + }, + "Weight": 60, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "VertexIndex": 1, + "Scale": 43, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.75, + "Delay": 1.2, + "Acceleration": 0.9, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting5", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleZ" + }, + "Weight": 60, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamAngleZ2" + }, + "VertexIndex": 1, + "Scale": 43, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.75, + "Delay": 1.2, + "Acceleration": 0.9, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting6", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleX" + }, + "Weight": 60, + "Type": "Angle", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleX3" + }, + "Weight": 15, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBodyAngleX2" + }, + "VertexIndex": 1, + "Scale": 13.4, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.75, + "Delay": 1.2, + "Acceleration": 0.9, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting7", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleY" + }, + "Weight": 60, + "Type": "Angle", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleY4" + }, + "Weight": 15, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBodyAngleY2" + }, + "VertexIndex": 1, + "Scale": 13, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBodyAngleY3" + }, + "VertexIndex": 1, + "Scale": 13, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.75, + "Delay": 1.2, + "Acceleration": 0.9, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting8", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleZ" + }, + "Weight": 60, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBodyAngleZ2" + }, + "VertexIndex": 1, + "Scale": 16, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.7, + "Delay": 0.85, + "Acceleration": 0.83, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting9", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleZ2" + }, + "Weight": 60, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBodyAngleZ3" + }, + "VertexIndex": 1, + "Scale": 16.753, + "Weight": 100, + "Type": "Angle", + "Reflect": true + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 20 + }, + "Mobility": 0.76, + "Delay": 0.6, + "Acceleration": 1.53, + "Radius": 20 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting10", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeBallX" + }, + "Weight": 10, + "Type": "Angle", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "Weight": 70, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamPupilX" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.5, + "Delay": 3, + "Acceleration": 3, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting11", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeBallY" + }, + "Weight": 10, + "Type": "Angle", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 50, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamPupilY" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.5, + "Delay": 3, + "Acceleration": 3, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting12", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeLOpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHighlightLX" + }, + "VertexIndex": 2, + "Scale": 0.65, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHighlightLY" + }, + "VertexIndex": 1, + "Scale": 0.8, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHighlightLZ" + }, + "VertexIndex": 3, + "Scale": 0.5, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 8.8 + }, + "Mobility": 0.96, + "Delay": 1.1, + "Acceleration": 0.95, + "Radius": 8.8 + }, + { + "Position": { + "X": 0, + "Y": 16.6 + }, + "Mobility": 0.89, + "Delay": 1.04, + "Acceleration": 0.99, + "Radius": 7.8 + }, + { + "Position": { + "X": 0, + "Y": 23.4 + }, + "Mobility": 0.86, + "Delay": 1.08, + "Acceleration": 0.86, + "Radius": 6.8 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting13", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeROpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHighlightRX" + }, + "VertexIndex": 2, + "Scale": 0.65, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHighlightRY" + }, + "VertexIndex": 1, + "Scale": 0.8, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHighlightRZ" + }, + "VertexIndex": 3, + "Scale": 0.5, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 8.8 + }, + "Mobility": 0.96, + "Delay": 1.1, + "Acceleration": 0.95, + "Radius": 8.8 + }, + { + "Position": { + "X": 0, + "Y": 16.6 + }, + "Mobility": 0.89, + "Delay": 1.04, + "Acceleration": 0.99, + "Radius": 7.8 + }, + { + "Position": { + "X": 0, + "Y": 23.4 + }, + "Mobility": 0.86, + "Delay": 1.08, + "Acceleration": 0.86, + "Radius": 6.8 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting14", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeLOpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamPupilL" + }, + "VertexIndex": 2, + "Scale": 0.7, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 9.6 + }, + "Mobility": 0.91, + "Delay": 0.9, + "Acceleration": 1.1, + "Radius": 9.6 + }, + { + "Position": { + "X": 0, + "Y": 16.7 + }, + "Mobility": 0.87, + "Delay": 1.14, + "Acceleration": 0.55, + "Radius": 7.1 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting15", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeROpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamPupilR" + }, + "VertexIndex": 2, + "Scale": 0.7, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 9.6 + }, + "Mobility": 0.91, + "Delay": 0.9, + "Acceleration": 1.1, + "Radius": 9.6 + }, + { + "Position": { + "X": 0, + "Y": 16.7 + }, + "Mobility": 0.87, + "Delay": 1.14, + "Acceleration": 0.55, + "Radius": 7.1 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting16", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeLOpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamPupilL2" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.96, + "Delay": 1.01, + "Acceleration": 0.76, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting17", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeROpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamPupilR2" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.96, + "Delay": 1.01, + "Acceleration": 0.76, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting18", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeLOpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamEyelidsL1" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.9, + "Delay": 0.81, + "Acceleration": 1.5, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting19", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeROpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamEyelidsR1" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.9, + "Delay": 0.81, + "Acceleration": 1.5, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting20", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeLOpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamEyelashesL" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": true + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamEyelidsL2" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.93, + "Delay": 0.99, + "Acceleration": 0.7, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting21", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamEyeROpen" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamEyelashesR" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": true + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamEyelidsR2" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.93, + "Delay": 0.99, + "Acceleration": 0.7, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting22", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamMouthOpenY" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamMouthY" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 11 + }, + "Mobility": 0.85, + "Delay": 1.05, + "Acceleration": 1.23, + "Radius": 11 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting23", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBrowsY" + }, + "Weight": 60, + "Type": "Angle", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamPupil" + }, + "VertexIndex": 1, + "Scale": 1.039, + "Weight": 100, + "Type": "Angle", + "Reflect": true + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.85, + "Delay": 0.91, + "Acceleration": 0.8, + "Radius": 10 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -60, + "Default": 0, + "Maximum": 60 + } + } + }, + { + "Id": "PhysicsSetting24", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "Weight": 45, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleZ2" + }, + "Weight": 40, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairCX1" + }, + "VertexIndex": 2, + "Scale": 0.55, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairCX2" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 9.5 + }, + "Mobility": 0.95, + "Delay": 0.91, + "Acceleration": 0.83, + "Radius": 9.5 + }, + { + "Position": { + "X": 0, + "Y": 15.7 + }, + "Mobility": 0.9, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 6.2 + } + ], + "Normalization": { + "Position": { + "Minimum": -15, + "Default": 0, + "Maximum": 15 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting25", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "Weight": 30, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleZ2" + }, + "Weight": 25, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 10, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairLX1" + }, + "VertexIndex": 2, + "Scale": 0.6, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairLX2" + }, + "VertexIndex": 1, + "Scale": 1.1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 9.5 + }, + "Mobility": 0.95, + "Delay": 0.91, + "Acceleration": 0.83, + "Radius": 9.5 + }, + { + "Position": { + "X": 0, + "Y": 15.7 + }, + "Mobility": 0.9, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 6.2 + } + ], + "Normalization": { + "Position": { + "Minimum": -20, + "Default": 0, + "Maximum": 20 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting26", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "Weight": 30, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleZ2" + }, + "Weight": 25, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 10, + "Type": "X", + "Reflect": true + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairRX1" + }, + "VertexIndex": 2, + "Scale": 0.6, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairRX2" + }, + "VertexIndex": 1, + "Scale": 1.1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 9.5 + }, + "Mobility": 0.95, + "Delay": 0.91, + "Acceleration": 0.83, + "Radius": 9.5 + }, + { + "Position": { + "X": 0, + "Y": 15.7 + }, + "Mobility": 0.9, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 6.2 + } + ], + "Normalization": { + "Position": { + "Minimum": -20, + "Default": 0, + "Maximum": 20 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting27", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairLY1" + }, + "VertexIndex": 2, + "Scale": 1.2, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairLY2" + }, + "VertexIndex": 1, + "Scale": 0.9, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairRY1" + }, + "VertexIndex": 2, + "Scale": 1.2, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairRY2" + }, + "VertexIndex": 1, + "Scale": 0.9, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairCY1" + }, + "VertexIndex": 2, + "Scale": 1.2, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairCY2" + }, + "VertexIndex": 1, + "Scale": 0.9, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 7.1 + }, + "Mobility": 0.95, + "Delay": 0.8, + "Acceleration": 0.83, + "Radius": 7.1 + }, + { + "Position": { + "X": 0, + "Y": 12.1 + }, + "Mobility": 0.85, + "Delay": 1.18, + "Acceleration": 0.8, + "Radius": 5 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting28", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "Weight": 40, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleZ2" + }, + "Weight": 25, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 15, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairLX1" + }, + "VertexIndex": 3, + "Scale": 0.55, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairLX2" + }, + "VertexIndex": 2, + "Scale": 0.55, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairLX3" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 9.5 + }, + "Mobility": 0.96, + "Delay": 0.91, + "Acceleration": 0.83, + "Radius": 9.5 + }, + { + "Position": { + "X": 0, + "Y": 15.7 + }, + "Mobility": 0.92, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 6.2 + }, + { + "Position": { + "X": 0, + "Y": 22.1 + }, + "Mobility": 0.88, + "Delay": 0.79, + "Acceleration": 0.68, + "Radius": 6.4 + } + ], + "Normalization": { + "Position": { + "Minimum": -15, + "Default": 0, + "Maximum": 15 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting29", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "Weight": 40, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleZ2" + }, + "Weight": 25, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 15, + "Type": "X", + "Reflect": true + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairRX1" + }, + "VertexIndex": 3, + "Scale": 0.55, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairRX2" + }, + "VertexIndex": 2, + "Scale": 0.55, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairRX3" + }, + "VertexIndex": 1, + "Scale": 1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 9.5 + }, + "Mobility": 0.96, + "Delay": 0.91, + "Acceleration": 0.83, + "Radius": 9.5 + }, + { + "Position": { + "X": 0, + "Y": 15.7 + }, + "Mobility": 0.92, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 6.2 + }, + { + "Position": { + "X": 0, + "Y": 22.1 + }, + "Mobility": 0.88, + "Delay": 0.79, + "Acceleration": 0.68, + "Radius": 6.4 + } + ], + "Normalization": { + "Position": { + "Minimum": -15, + "Default": 0, + "Maximum": 15 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting30", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBHairY1" + }, + "VertexIndex": 2, + "Scale": 1.4, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBHairY2" + }, + "VertexIndex": 1, + "Scale": 0.95, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairLY1" + }, + "VertexIndex": 2, + "Scale": 1.4, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairLY2" + }, + "VertexIndex": 1, + "Scale": 0.95, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairRY1" + }, + "VertexIndex": 2, + "Scale": 1.4, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamSHairRY2" + }, + "VertexIndex": 1, + "Scale": 0.95, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 7.1 + }, + "Mobility": 0.95, + "Delay": 0.8, + "Acceleration": 0.83, + "Radius": 7.1 + }, + { + "Position": { + "X": 0, + "Y": 12.1 + }, + "Mobility": 0.85, + "Delay": 1.18, + "Acceleration": 0.8, + "Radius": 5 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting31", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 35, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "Weight": 35, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleZ2" + }, + "Weight": 30, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairA1" + }, + "VertexIndex": 2, + "Scale": 0.7, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamHairA2" + }, + "VertexIndex": 1, + "Scale": 1.4, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 8.3 + }, + "Mobility": 0.96, + "Delay": 0.91, + "Acceleration": 0.83, + "Radius": 8.3 + }, + { + "Position": { + "X": 0, + "Y": 14.2 + }, + "Mobility": 0.93, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 5.9 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting32", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleY2" + }, + "Weight": 30, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleX2" + }, + "Weight": 35, + "Type": "X", + "Reflect": true + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamAngleZ2" + }, + "Weight": 30, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBHairX1" + }, + "VertexIndex": 2, + "Scale": 0.7, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBHairX2" + }, + "VertexIndex": 1, + "Scale": 1.7, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10 + }, + "Mobility": 0.96, + "Delay": 0.91, + "Acceleration": 0.83, + "Radius": 10 + }, + { + "Position": { + "X": 0, + "Y": 17 + }, + "Mobility": 0.93, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 7 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting33", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleX2" + }, + "Weight": 30, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleY2" + }, + "Weight": 40, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleZ2" + }, + "Weight": 30, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamArm1" + }, + "VertexIndex": 1, + "Scale": 1.6, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamArm2" + }, + "VertexIndex": 2, + "Scale": 1.3, + "Weight": 100, + "Type": "Angle", + "Reflect": true + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamArm3" + }, + "VertexIndex": 3, + "Scale": 1.8, + "Weight": 100, + "Type": "Angle", + "Reflect": true + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 12.9 + }, + "Mobility": 0.86, + "Delay": 0.88, + "Acceleration": 0.73, + "Radius": 12.9 + }, + { + "Position": { + "X": 0, + "Y": 19.9 + }, + "Mobility": 0.83, + "Delay": 0.78, + "Acceleration": 0.79, + "Radius": 7 + }, + { + "Position": { + "X": 0, + "Y": 26.5 + }, + "Mobility": 0.83, + "Delay": 0.8, + "Acceleration": 0.82, + "Radius": 6.6 + } + ], + "Normalization": { + "Position": { + "Minimum": -15, + "Default": 0, + "Maximum": 15 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting34", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleX2" + }, + "Weight": 50, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleZ2" + }, + "Weight": 50, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBreastX3" + }, + "VertexIndex": 2, + "Scale": 1.1, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBreastX4" + }, + "VertexIndex": 1, + "Scale": 1.8, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 8.9 + }, + "Mobility": 0.94, + "Delay": 0.99, + "Acceleration": 0.99, + "Radius": 8.9 + }, + { + "Position": { + "X": 0, + "Y": 14.7 + }, + "Mobility": 0.88, + "Delay": 0.93, + "Acceleration": 0.97, + "Radius": 5.8 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting35", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleY2" + }, + "Weight": 65, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBreastX1" + }, + "VertexIndex": 3, + "Scale": 0.5, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBreastX2" + }, + "VertexIndex": 2, + "Scale": 0.6, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBreastY1" + }, + "VertexIndex": 2, + "Scale": 0.8, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamBreastY2" + }, + "VertexIndex": 1, + "Scale": 1.2, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 8.4 + }, + "Mobility": 0.92, + "Delay": 0.93, + "Acceleration": 0.96, + "Radius": 8.4 + }, + { + "Position": { + "X": 0, + "Y": 15.5 + }, + "Mobility": 0.88, + "Delay": 0.91, + "Acceleration": 0.9, + "Radius": 7.1 + }, + { + "Position": { + "X": 0, + "Y": 21.1 + }, + "Mobility": 0.83, + "Delay": 0.86, + "Acceleration": 0.89, + "Radius": 5.6 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting36", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleX2" + }, + "Weight": 40, + "Type": "X", + "Reflect": false + }, + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleZ2" + }, + "Weight": 40, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamClothesX1" + }, + "VertexIndex": 2, + "Scale": 0.8, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamClothesX2" + }, + "VertexIndex": 1, + "Scale": 1.5, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10.3 + }, + "Mobility": 0.95, + "Delay": 0.91, + "Acceleration": 0.83, + "Radius": 10.3 + }, + { + "Position": { + "X": 0, + "Y": 17.1 + }, + "Mobility": 0.9, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 6.8 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + }, + { + "Id": "PhysicsSetting37", + "Input": [ + { + "Source": { + "Target": "Parameter", + "Id": "ParamBodyAngleY2" + }, + "Weight": 60, + "Type": "X", + "Reflect": false + } + ], + "Output": [ + { + "Destination": { + "Target": "Parameter", + "Id": "ParamClothesY1" + }, + "VertexIndex": 2, + "Scale": 0.9, + "Weight": 100, + "Type": "Angle", + "Reflect": false + }, + { + "Destination": { + "Target": "Parameter", + "Id": "ParamClothesY2" + }, + "VertexIndex": 1, + "Scale": 1.5, + "Weight": 100, + "Type": "Angle", + "Reflect": false + } + ], + "Vertices": [ + { + "Position": { + "X": 0, + "Y": 0 + }, + "Mobility": 1, + "Delay": 1, + "Acceleration": 1, + "Radius": 0 + }, + { + "Position": { + "X": 0, + "Y": 10.3 + }, + "Mobility": 0.91, + "Delay": 0.89, + "Acceleration": 0.83, + "Radius": 10.3 + }, + { + "Position": { + "X": 0, + "Y": 17.1 + }, + "Mobility": 0.85, + "Delay": 0.8, + "Acceleration": 0.7, + "Radius": 6.8 + } + ], + "Normalization": { + "Position": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + }, + "Angle": { + "Minimum": -10, + "Default": 0, + "Maximum": 10 + } + } + } + ] +} diff --git a/public/scripts/live2d.min.js b/public/scripts/live2d.min.js new file mode 100644 index 00000000..d1a6ba43 --- /dev/null +++ b/public/scripts/live2d.min.js @@ -0,0 +1,7471 @@ +;(function () { + var j = true + function aa() { + if (j) { + return + } + this._$MT = null + this._$5S = null + this._$NP = 0 + aa._$42++ + this._$5S = new y(this) + } + aa._$0s = 1 + aa._$4s = 2 + aa._$42 = 0 + aa._$62 = function (aQ, aU) { + try { + if (aU instanceof ArrayBuffer) { + aU = new DataView(aU) + } + if (!(aU instanceof DataView)) { + throw new J('_$SS#loadModel(b) / b _$x be DataView or ArrayBuffer') + } + var aS = new K(aU) + var aM = aS._$ST() + var aK = aS._$ST() + var aJ = aS._$ST() + var aN + if (aM == 109 && aK == 111 && aJ == 99) { + aN = aS._$ST() + } else { + throw new J('_$gi _$C _$li , _$Q0 _$P0.') + } + aS._$gr(aN) + if (aN > ay._$T7) { + aQ._$NP |= aa._$4s + var aR = ay._$T7 + var aI = + '_$gi _$C _$li , _$n0 _$_ version _$li ( SDK : ' + + aR + + ' < _$f0 : ' + + aN + + ' )@_$SS#loadModel()\n' + throw new J(aI) + } + var aL = aS._$nP() + if (aN >= ay._$s7) { + var aH = aS._$9T() + var aT = aS._$9T() + if (aH != -30584 || aT != -30584) { + aQ._$NP |= aa._$0s + throw new J('_$gi _$C _$li , _$0 _$6 _$Ui.') + } + } + aQ._$KS(aL) + var aP = aQ.getModelContext() + aP.setDrawParam(aQ.getDrawParam()) + aP.init() + } catch (aO) { + q._$Rb(aO) + } + } + aa.prototype._$KS = function (aH) { + this._$MT = aH + } + aa.prototype.getModelImpl = function () { + if (this._$MT == null) { + this._$MT = new w() + this._$MT._$zP() + } + return this._$MT + } + aa.prototype.getCanvasWidth = function () { + if (this._$MT == null) { + return 0 + } + return this._$MT.getCanvasWidth() + } + aa.prototype.getCanvasHeight = function () { + if (this._$MT == null) { + return 0 + } + return this._$MT.getCanvasHeight() + } + aa.prototype.getParamFloat = function (aH) { + if (typeof aH != 'number') { + aH = this._$5S.getParamIndex(z.getID(aH)) + } + return this._$5S.getParamFloat(aH) + } + aa.prototype.setParamFloat = function (aH, aJ, aI) { + if (typeof aH != 'number') { + aH = this._$5S.getParamIndex(z.getID(aH)) + } + if (arguments.length < 3) { + aI = 1 + } + this._$5S.setParamFloat( + aH, + this._$5S.getParamFloat(aH) * (1 - aI) + aJ * aI + ) + } + aa.prototype.addToParamFloat = function (aH, aJ, aI) { + if (typeof aH != 'number') { + aH = this._$5S.getParamIndex(z.getID(aH)) + } + if (arguments.length < 3) { + aI = 1 + } + this._$5S.setParamFloat(aH, this._$5S.getParamFloat(aH) + aJ * aI) + } + aa.prototype.multParamFloat = function (aH, aJ, aI) { + if (typeof aH != 'number') { + aH = this._$5S.getParamIndex(z.getID(aH)) + } + if (arguments.length < 3) { + aI = 1 + } + this._$5S.setParamFloat( + aH, + this._$5S.getParamFloat(aH) * (1 + (aJ - 1) * aI) + ) + } + aa.prototype.getParamIndex = function (aH) { + return this._$5S.getParamIndex(z.getID(aH)) + } + aa.prototype.loadParam = function () { + this._$5S.loadParam() + } + aa.prototype.saveParam = function () { + this._$5S.saveParam() + } + aa.prototype.init = function () { + this._$5S.init() + } + aa.prototype.update = function () { + this._$5S.update() + } + aa.prototype._$Rs = function () { + q._$li('_$60 _$PT _$Rs()') + return -1 + } + aa.prototype._$Ds = function (aH) { + q._$li('_$60 _$PT _$SS#_$Ds() \n') + } + aa.prototype._$K2 = function () {} + aa.prototype.draw = function () {} + aa.prototype.getModelContext = function () { + return this._$5S + } + aa.prototype._$s2 = function () { + return this._$NP + } + aa.prototype._$P7 = function (aK, aR, aH, a0) { + var aU = -1 + var aY = 0 + var aM = this + var aJ = 0.5 + var aI = 0.15 + var aX = true + if (aH == 0) { + for (var aV = 0; aV < aK.length; aV++) { + var aP = aK[aV] + var aO = aR[aV] + var aS = aM.getParamFloat(aP) != 0 + aM.setPartsOpacity(aO, aS ? 1 : 0) + } + return + } else { + if (aK.length == 1) { + var aP = aK[0] + var aT = aM.getParamFloat(aP) != 0 + var aO = aR[0] + var aQ = aM.getPartsOpacity(aO) + var aW = aH / a0 + if (aT) { + aQ += aW + if (aQ > 1) { + aQ = 1 + } + } else { + aQ -= aW + if (aQ < 0) { + aQ = 0 + } + } + aM.setPartsOpacity(aO, aQ) + } else { + for (var aV = 0; aV < aK.length; aV++) { + var aP = aK[aV] + var aS = aM.getParamFloat(aP) != 0 + if (aS) { + if (aU >= 0) { + break + } + aU = aV + var aO = aR[aV] + aY = aM.getPartsOpacity(aO) + aY += aH / a0 + if (aY > 1) { + aY = 1 + } + } + } + if (aU < 0) { + console.log('No _$wi _$q0/ _$U default[%s]', aK[0]) + aU = 0 + aY = 1 + aM.loadParam() + aM.setParamFloat(aK[aU], aY) + aM.saveParam() + } + for (var aV = 0; aV < aK.length; aV++) { + var aO = aR[aV] + if (aU == aV) { + aM.setPartsOpacity(aO, aY) + } else { + var aL = aM.getPartsOpacity(aO) + var aZ + if (aY < aJ) { + aZ = (aY * (aJ - 1)) / aJ + 1 + } else { + aZ = ((1 - aY) * aJ) / (1 - aJ) + } + if (aX) { + var aN = (1 - aZ) * (1 - aY) + if (aN > aI) { + aZ = 1 - aI / (1 - aY) + } + } + if (aL > aZ) { + aL = aZ + } + aM.setPartsOpacity(aO, aL) + } + } + } + } + } + aa.prototype.setPartsOpacity = function (aI, aH) { + if (typeof aI != 'number') { + aI = this._$5S.getPartsDataIndex(i.getID(aI)) + } + this._$5S.setPartsOpacity(aI, aH) + } + aa.prototype.getPartsDataIndex = function (aH) { + if (!(aH instanceof i)) { + aH = i.getID(aH) + } + return this._$5S.getPartsDataIndex(aH) + } + aa.prototype.getPartsOpacity = function (aH) { + if (typeof aH != 'number') { + aH = this._$5S.getPartsDataIndex(i.getID(aH)) + } + if (aH < 0) { + return 0 + } + return this._$5S.getPartsOpacity(aH) + } + aa.prototype.getDrawParam = function () {} + aa.prototype.getDrawDataIndex = function (aH) { + return this._$5S.getDrawDataIndex(Z.getID(aH)) + } + aa.prototype.getDrawData = function (aH) { + return this._$5S.getDrawData(aH) + } + aa.prototype.getTransformedPoints = function (aH) { + var aI = this._$5S._$C2(aH) + if (aI instanceof ag) { + return aI.getTransformedPoints() + } + return null + } + aa.prototype.getIndexArray = function (aI) { + if (aI < 0 || aI >= this._$5S._$aS.length) { + return null + } + var aH = this._$5S._$aS[aI] + if (aH != null && aH.getType() == a._$wb) { + if (aH instanceof b) { + return aH.getIndexArray() + } + } + return null + } + function W(aJ) { + if (j) { + return + } + this.clipContextList = new Array() + this.glcontext = aJ.gl + this.dp_webgl = aJ + this.curFrameNo = 0 + this.firstError_clipInNotUpdate = true + this.colorBuffer = 0 + this.isInitGLFBFunc = false + this.tmpBoundsOnModel = new av() + if (Q.glContext.length > Q.frameBuffers.length) { + this.curFrameNo = this.getMaskRenderTexture() + } else { + } + this.tmpModelToViewMatrix = new ac() + this.tmpMatrix2 = new ac() + this.tmpMatrixForMask = new ac() + this.tmpMatrixForDraw = new ac() + this.CHANNEL_COLORS = new Array() + var aI = new o() + aI = new o() + aI.r = 0 + aI.g = 0 + aI.b = 0 + aI.a = 1 + this.CHANNEL_COLORS.push(aI) + aI = new o() + aI.r = 1 + aI.g = 0 + aI.b = 0 + aI.a = 0 + this.CHANNEL_COLORS.push(aI) + aI = new o() + aI.r = 0 + aI.g = 1 + aI.b = 0 + aI.a = 0 + this.CHANNEL_COLORS.push(aI) + aI = new o() + aI.r = 0 + aI.g = 0 + aI.b = 1 + aI.a = 0 + this.CHANNEL_COLORS.push(aI) + for (var aH = 0; aH < this.CHANNEL_COLORS.length; aH++) { + this.dp_webgl.setChannelFlagAsColor(aH, this.CHANNEL_COLORS[aH]) + } + } + W.CHANNEL_COUNT = 4 + W.RENDER_TEXTURE_USE_MIPMAP = false + W.NOT_USED_FRAME = -100 + W.prototype._$L7 = function () { + if (this.tmpModelToViewMatrix) { + this.tmpModelToViewMatrix = null + } + if (this.tmpMatrix2) { + this.tmpMatrix2 = null + } + if (this.tmpMatrixForMask) { + this.tmpMatrixForMask = null + } + if (this.tmpMatrixForDraw) { + this.tmpMatrixForDraw = null + } + if (this.tmpBoundsOnModel) { + this.tmpBoundsOnModel = null + } + if (this.CHANNEL_COLORS) { + for (var aH = this.CHANNEL_COLORS.length - 1; aH >= 0; --aH) { + this.CHANNEL_COLORS.splice(aH, 1) + } + this.CHANNEL_COLORS = [] + } + this.releaseShader() + } + W.prototype.releaseShader = function () { + var aI = Q.frameBuffers.length + for (var aH = 0; aH < aI; aH++) { + this.gl.deleteFramebuffer(Q.frameBuffers[aH].framebuffer) + } + Q.frameBuffers = [] + Q.glContext = [] + } + W.prototype.init = function (aO, aN, aL) { + for (var aM = 0; aM < aN.length; aM++) { + var aH = aN[aM].getClipIDList() + if (aH == null) { + continue + } + var aJ = this.findSameClip(aH) + if (aJ == null) { + aJ = new U(this, aO, aH) + this.clipContextList.push(aJ) + } + var aI = aN[aM].getDrawDataID() + var aK = aO.getDrawDataIndex(aI) + aJ.addClippedDrawData(aI, aK) + var aP = aL[aM] + aP.clipBufPre_clipContext = aJ + } + } + W.prototype.getMaskRenderTexture = function () { + var aH = null + aH = this.dp_webgl.createFramebuffer() + Q.frameBuffers[this.dp_webgl.glno] = aH + return this.dp_webgl.glno + } + W.prototype.setupClip = function (a1, aQ) { + var aK = 0 + for (var aO = 0; aO < this.clipContextList.length; aO++) { + var aP = this.clipContextList[aO] + this.calcClippedDrawTotalBounds(a1, aP) + if (aP.isUsing) { + aK++ + } + } + if (aK > 0) { + var aM = aQ.gl.getParameter(aQ.gl.FRAMEBUFFER_BINDING) + var aW = new Array(4) + aW[0] = 0 + aW[1] = 0 + aW[2] = aQ.gl.canvas.width + aW[3] = aQ.gl.canvas.height + aQ.gl.viewport(0, 0, Q.clippingMaskBufferSize, Q.clippingMaskBufferSize) + this.setupLayoutBounds(aK) + aQ.gl.bindFramebuffer( + aQ.gl.FRAMEBUFFER, + Q.frameBuffers[this.curFrameNo].framebuffer + ) + aQ.gl.clearColor(0, 0, 0, 0) + aQ.gl.clear(aQ.gl.COLOR_BUFFER_BIT) + for (var aO = 0; aO < this.clipContextList.length; aO++) { + var aP = this.clipContextList[aO] + var aT = aP.allClippedDrawRect + var aN = aP.layoutChannelNo + var aV = aP.layoutBounds + var aJ = 0.05 + this.tmpBoundsOnModel._$jL(aT) + this.tmpBoundsOnModel.expand(aT.width * aJ, aT.height * aJ) + var aZ = aV.width / this.tmpBoundsOnModel.width + var aY = aV.height / this.tmpBoundsOnModel.height + this.tmpMatrix2.identity() + this.tmpMatrix2.translate(-1, -1, 0) + this.tmpMatrix2.scale(2, 2, 1) + this.tmpMatrix2.translate(aV.x, aV.y, 0) + this.tmpMatrix2.scale(aZ, aY, 1) + this.tmpMatrix2.translate( + -this.tmpBoundsOnModel.x, + -this.tmpBoundsOnModel.y, + 0 + ) + this.tmpMatrixForMask.setMatrix(this.tmpMatrix2.m) + this.tmpMatrix2.identity() + this.tmpMatrix2.translate(aV.x, aV.y, 0) + this.tmpMatrix2.scale(aZ, aY, 1) + this.tmpMatrix2.translate( + -this.tmpBoundsOnModel.x, + -this.tmpBoundsOnModel.y, + 0 + ) + this.tmpMatrixForDraw.setMatrix(this.tmpMatrix2.m) + var aH = this.tmpMatrixForMask.getArray() + for (var aX = 0; aX < 16; aX++) { + aP.matrixForMask[aX] = aH[aX] + } + var a0 = this.tmpMatrixForDraw.getArray() + for (var aX = 0; aX < 16; aX++) { + aP.matrixForDraw[aX] = a0[aX] + } + var aS = aP.clippingMaskDrawIndexList.length + for (var aU = 0; aU < aS; aU++) { + var aR = aP.clippingMaskDrawIndexList[aU] + var aI = a1.getDrawData(aR) + var aL = a1._$C2(aR) + aQ.setClipBufPre_clipContextForMask(aP) + aI.draw(aQ, a1, aL) + } + } + aQ.gl.bindFramebuffer(aQ.gl.FRAMEBUFFER, aM) + aQ.setClipBufPre_clipContextForMask(null) + aQ.gl.viewport(aW[0], aW[1], aW[2], aW[3]) + } + } + W.prototype.getColorBuffer = function () { + return this.colorBuffer + } + W.prototype.findSameClip = function (aK) { + for (var aN = 0; aN < this.clipContextList.length; aN++) { + var aO = this.clipContextList[aN] + var aH = aO.clipIDList.length + if (aH != aK.length) { + continue + } + var aI = 0 + for (var aM = 0; aM < aH; aM++) { + var aL = aO.clipIDList[aM] + for (var aJ = 0; aJ < aH; aJ++) { + if (aK[aJ] == aL) { + aI++ + break + } + } + } + if (aI == aH) { + return aO + } + } + return null + } + W.prototype.calcClippedDrawTotalBounds = function (a6, aV) { + var aU = a6._$Ri.getModelImpl().getCanvasWidth() + var a5 = a6._$Ri.getModelImpl().getCanvasHeight() + var aJ = aU > a5 ? aU : a5 + var aT = aJ + var aR = aJ + var aS = 0 + var aP = 0 + var aL = aV.clippedDrawContextList.length + for (var aM = 0; aM < aL; aM++) { + var aW = aV.clippedDrawContextList[aM] + var aN = aW.drawDataIndex + var aK = a6._$C2(aN) + if (aK._$yo()) { + var aX = aK.getTransformedPoints() + var a4 = aX.length + var aI = [] + var aH = [] + var aO = 0 + for (var a3 = aw._$i2; a3 < a4; a3 += aw._$No) { + aI[aO] = aX[a3] + aH[aO] = aX[a3 + 1] + aO++ + } + var a2 = Math.min.apply(null, aI) + var a1 = Math.min.apply(null, aH) + var a0 = Math.max.apply(null, aI) + var aZ = Math.max.apply(null, aH) + if (a2 < aT) { + aT = a2 + } + if (a1 < aR) { + aR = a1 + } + if (a0 > aS) { + aS = a0 + } + if (aZ > aP) { + aP = aZ + } + } + } + if (aT == aJ) { + aV.allClippedDrawRect.x = 0 + aV.allClippedDrawRect.y = 0 + aV.allClippedDrawRect.width = 0 + aV.allClippedDrawRect.height = 0 + aV.isUsing = false + } else { + var aQ = aS - aT + var aY = aP - aR + aV.allClippedDrawRect.x = aT + aV.allClippedDrawRect.y = aR + aV.allClippedDrawRect.width = aQ + aV.allClippedDrawRect.height = aY + aV.isUsing = true + } + } + W.prototype.setupLayoutBounds = function (aQ) { + var aI = aQ / W.CHANNEL_COUNT + var aP = aQ % W.CHANNEL_COUNT + aI = ~~aI + aP = ~~aP + var aH = 0 + for (var aJ = 0; aJ < W.CHANNEL_COUNT; aJ++) { + var aM = aI + (aJ < aP ? 1 : 0) + if (aM == 0) { + } else { + if (aM == 1) { + var aL = this.clipContextList[aH++] + aL.layoutChannelNo = aJ + aL.layoutBounds.x = 0 + aL.layoutBounds.y = 0 + aL.layoutBounds.width = 1 + aL.layoutBounds.height = 1 + } else { + if (aM == 2) { + for (var aO = 0; aO < aM; aO++) { + var aN = aO % 2 + var aK = 0 + aN = ~~aN + var aL = this.clipContextList[aH++] + aL.layoutChannelNo = aJ + aL.layoutBounds.x = aN * 0.5 + aL.layoutBounds.y = 0 + aL.layoutBounds.width = 0.5 + aL.layoutBounds.height = 1 + } + } else { + if (aM <= 4) { + for (var aO = 0; aO < aM; aO++) { + var aN = aO % 2 + var aK = aO / 2 + aN = ~~aN + aK = ~~aK + var aL = this.clipContextList[aH++] + aL.layoutChannelNo = aJ + aL.layoutBounds.x = aN * 0.5 + aL.layoutBounds.y = aK * 0.5 + aL.layoutBounds.width = 0.5 + aL.layoutBounds.height = 0.5 + } + } else { + if (aM <= 9) { + for (var aO = 0; aO < aM; aO++) { + var aN = aO % 3 + var aK = aO / 3 + aN = ~~aN + aK = ~~aK + var aL = this.clipContextList[aH++] + aL.layoutChannelNo = aJ + aL.layoutBounds.x = aN / 3 + aL.layoutBounds.y = aK / 3 + aL.layoutBounds.width = 1 / 3 + aL.layoutBounds.height = 1 / 3 + } + } else { + q._$li('_$6 _$0P mask count : %d', aM) + } + } + } + } + } + } + } + function U(aH, aK, aI) { + this.clipIDList = new Array() + this.clipIDList = aI + this.clippingMaskDrawIndexList = new Array() + for (var aJ = 0; aJ < aI.length; aJ++) { + this.clippingMaskDrawIndexList.push(aK.getDrawDataIndex(aI[aJ])) + } + this.clippedDrawContextList = new Array() + this.isUsing = true + this.layoutChannelNo = 0 + this.layoutBounds = new av() + this.allClippedDrawRect = new av() + this.matrixForMask = new Float32Array(16) + this.matrixForDraw = new Float32Array(16) + this.owner = aH + } + U.prototype.addClippedDrawData = function (aJ, aI) { + var aH = new R(aJ, aI) + this.clippedDrawContextList.push(aH) + } + function R(aI, aH) { + this._$gP = aI + this.drawDataIndex = aH + } + function I() { + if (j) { + return + } + this.color = null + } + function ah() { + if (j) { + return + } + this._$dP = null + this._$eo = null + this._$V0 = null + this._$dP = 1000 + this._$eo = 1000 + this._$V0 = 1 + this._$a0() + } + ah._$JT = function (aP, aN, aO) { + var aQ = aP / aN + var a1 = aO / aN + var aU = a1 + var aZ = 1 / 3 + var aR = 2 / 3 + var a0 = 1 - (1 - a1) * (1 - a1) + var a2 = 1 - (1 - aU) * (1 - aU) + var aM = 0 + var aL = (1 - a1) * aZ * a0 + (aU * aR + (1 - aU) * aZ) * (1 - a0) + var aK = (aU + (1 - aU) * aR) * a2 + (a1 * aZ + (1 - a1) * aR) * (1 - a2) + var aJ = 1 + var aY = aJ - 3 * aK + 3 * aL - aM + var aX = 3 * aK - 6 * aL + 3 * aM + var aW = 3 * aL - 3 * aM + var aV = aM + if (aQ <= 0) { + return 0 + } else { + if (aQ >= 1) { + return 1 + } + } + var aS = aQ + var aI = aS * aS + var aH = aS * aI + var aT = aY * aH + aX * aI + aW * aS + aV + return aT + } + ah.prototype._$a0 = function () {} + ah.prototype.setFadeIn = function (aH) { + this._$dP = aH + } + ah.prototype.setFadeOut = function (aH) { + this._$eo = aH + } + ah.prototype._$pT = function (aH) { + this._$V0 = aH + } + ah.prototype.getFadeOut = function () { + return this._$eo + } + ah.prototype._$4T = function () { + return this._$eo + } + ah.prototype._$mT = function () { + return this._$V0 + } + ah.prototype.getDurationMSec = function () { + return -1 + } + ah.prototype.getLoopDurationMSec = function () { + return -1 + } + ah.prototype.updateParam = function (aJ, aN) { + if (!aN._$AT || aN._$9L) { + return + } + var aL = P.getUserTimeMSec() + if (aN._$z2 < 0) { + aN._$z2 = aL + aN._$bs = aL + var aM = this.getDurationMSec() + if (aN._$Do < 0) { + aN._$Do = aM <= 0 ? -1 : aN._$z2 + aM + } + } + var aI = this._$V0 + var aH = this._$dP == 0 ? 1 : A._$r2((aL - aN._$bs) / this._$dP) + var aK = + this._$eo == 0 || aN._$Do < 0 ? 1 : A._$r2((aN._$Do - aL) / this._$eo) + aI = aI * aH * aK + if (!(0 <= aI && aI <= 1)) { + console.log('### assert!! ### ') + } + this.updateParamExe(aJ, aL, aI, aN) + if (aN._$Do > 0 && aN._$Do < aL) { + aN._$9L = true + } + } + ah.prototype.updateParamExe = function (aH, aI, aJ, aK) {} + function q() {} + q._$8s = 0 + q._$fT = new Object() + q.start = function (aI) { + var aH = q._$fT[aI] + if (aH == null) { + aH = new af() + aH._$r = aI + q._$fT[aI] = aH + } + aH._$0S = P.getSystemTimeMSec() + } + q.dump = function (aJ) { + var aH = q._$fT[aJ] + if (aH != null) { + var aI = P.getSystemTimeMSec() + var aK = aI - aH._$0S + console.log(aJ + ' : ' + aK + 'ms') + return aK + } else { + return -1 + } + } + q.end = function (aJ) { + var aH = q._$fT[aJ] + if (aH != null) { + var aI = P.getSystemTimeMSec() + return aI - aH._$0S + } else { + return -1 + } + } + q._$li = function (aI, aH) { + console.log('_$li : ' + aI + '\n', aH) + } + q._$Ji = function (aI, aH) { + console.log(aI, aH) + } + q._$dL = function (aI, aH) { + console.log(aI, aH) + console.log('\n') + } + q._$KL = function (aJ, aI) { + for (var aH = 0; aH < aI; aH++) { + if (aH % 16 == 0 && aH > 0) { + console.log('\n') + } else { + if (aH % 8 == 0 && aH > 0) { + console.log(' ') + } + } + console.log('%02X ', aJ[aH] & 255) + } + console.log('\n') + } + q._$nr = function (aL, aI, aK) { + console.log('%s\n', aL) + var aH = aI.length + for (var aJ = 0; aJ < aH; ++aJ) { + console.log('%5d', aI[aJ]) + console.log('%s\n', aK) + console.log(',') + } + console.log('\n') + } + q._$Rb = function (aH) { + console.log('dump exception : ' + aH) + console.log('stack :: ' + aH.stack) + } + function af() { + this._$r = null + this._$0S = null + } + function F() { + if (j) { + return + } + this.x = null + this.y = null + this.width = null + this.height = null + } + F.prototype._$8P = function () { + return 0.5 * (this.x + this.x + this.width) + } + F.prototype._$6P = function () { + return 0.5 * (this.y + this.y + this.height) + } + F.prototype._$EL = function () { + return this.x + this.width + } + F.prototype._$5T = function () { + return this.y + this.height + } + F.prototype._$jL = function (aI, aK, aJ, aH) { + this.x = aI + this.y = aK + this.width = aJ + this.height = aH + } + F.prototype._$jL = function (aH) { + this.x = aH.x + this.y = aH.y + this.width = aH.width + this.height = aH.height + } + function i(aH) { + if (j) { + return + } + ak.prototype.constructor.call(this, aH) + } + i.prototype = new ak() + i._$tP = new Object() + i._$27 = function () { + i._$tP.clear() + } + i.getID = function (aH) { + var aI = i._$tP[aH] + if (aI == null) { + aI = new i(aH) + i._$tP[aH] = aI + } + return aI + } + i.prototype._$3s = function () { + return new i() + } + function S() {} + function z(aH) { + if (j) { + return + } + ak.prototype.constructor.call(this, aH) + } + z.prototype = new ak() + z._$tP = new Object() + z._$27 = function () { + z._$tP.clear() + } + z.getID = function (aH) { + var aI = z._$tP[aH] + if (aI == null) { + aI = new z(aH) + z._$tP[aH] = aI + } + return aI + } + z.prototype._$3s = function () { + return new z() + } + function w() { + if (j) { + return + } + this._$vo = null + this._$F2 = null + this._$ao = 400 + this._$1S = 400 + w._$42++ + } + w._$42 = 0 + w.prototype._$zP = function () { + if (this._$vo == null) { + this._$vo = new an() + } + if (this._$F2 == null) { + this._$F2 = new Array() + } + } + w.prototype.getCanvasWidth = function () { + return this._$ao + } + w.prototype.getCanvasHeight = function () { + return this._$1S + } + w.prototype._$F0 = function (aH) { + this._$vo = aH._$nP() + this._$F2 = aH._$nP() + this._$ao = aH._$6L() + this._$1S = aH._$6L() + } + w.prototype._$6S = function (aH) { + this._$F2.push(aH) + } + w.prototype._$Xr = function () { + return this._$F2 + } + w.prototype._$E2 = function () { + return this._$vo + } + function u() { + if (j) { + return + } + this.p1 = new N() + this.p2 = new N() + this._$Fo = 0 + this._$Db = 0 + this._$L2 = 0 + this._$M2 = 0 + this._$ks = 0 + this._$9b = 0 + this._$iP = 0 + this._$iT = 0 + this._$lL = new Array() + this._$qP = new Array() + this.setup(0.3, 0.5, 0.1) + } + u.prototype.setup = function (aJ, aI, aH) { + this._$ks = this._$Yb() + this.p2._$xT() + if (arguments.length == 3) { + this._$Fo = aJ + this._$L2 = aI + this.p1._$p = aH + this.p2._$p = aH + this.p2.y = aJ + this.setup() + } + } + u.prototype.getPhysicsPoint1 = function () { + return this.p1 + } + u.prototype.getPhysicsPoint2 = function () { + return this.p2 + } + u.prototype._$qr = function () { + return this._$Db + } + u.prototype._$pr = function (aH) { + this._$Db = aH + } + u.prototype._$5r = function () { + return this._$M2 + } + u.prototype._$Cs = function () { + return this._$9b + } + u.prototype._$Yb = function () { + return ( + (-180 * Math.atan2(this.p1.x - this.p2.x, -(this.p1.y - this.p2.y))) / + Math.PI + ) + } + u.prototype.addSrcParam = function (aJ, aH, aL, aI) { + var aK = new h(aJ, aH, aL, aI) + this._$lL.push(aK) + } + u.prototype.addTargetParam = function (aJ, aH, aK, aI) { + var aL = new aF(aJ, aH, aK, aI) + this._$qP.push(aL) + } + u.prototype.update = function (aI, aL) { + if (this._$iP == 0) { + this._$iP = this._$iT = aL + this._$Fo = Math.sqrt( + (this.p1.x - this.p2.x) * (this.p1.x - this.p2.x) + + (this.p1.y - this.p2.y) * (this.p1.y - this.p2.y) + ) + return + } + var aK = (aL - this._$iT) / 1000 + if (aK != 0) { + for (var aJ = this._$lL.length - 1; aJ >= 0; --aJ) { + var aM = this._$lL[aJ] + aM._$oP(aI, this) + } + this._$oo(aI, aK) + this._$M2 = this._$Yb() + this._$9b = (this._$M2 - this._$ks) / aK + this._$ks = this._$M2 + } + for (var aJ = this._$qP.length - 1; aJ >= 0; --aJ) { + var aH = this._$qP[aJ] + aH._$YS(aI, this) + } + this._$iT = aL + } + u.prototype._$oo = function (aN, aI) { + if (aI < 0.033) { + aI = 0.033 + } + var aU = 1 / aI + this.p1.vx = (this.p1.x - this.p1._$s0) * aU + this.p1.vy = (this.p1.y - this.p1._$70) * aU + this.p1.ax = (this.p1.vx - this.p1._$7L) * aU + this.p1.ay = (this.p1.vy - this.p1._$HL) * aU + this.p1.fx = this.p1.ax * this.p1._$p + this.p1.fy = this.p1.ay * this.p1._$p + this.p1._$xT() + var aM = -Math.atan2(this.p1.y - this.p2.y, this.p1.x - this.p2.x) + var aL + var aV + var aR = Math.cos(aM) + var aH = Math.sin(aM) + var aW = 9.8 * this.p2._$p + var aQ = this._$Db * aC._$bS + var aP = aW * Math.cos(aM - aQ) + aL = aP * aH + aV = aP * aR + var aK = -this.p1.fx * aH * aH + var aT = -this.p1.fy * aH * aR + var aJ = -this.p2.vx * this._$L2 + var aS = -this.p2.vy * this._$L2 + this.p2.fx = aL + aK + aJ + this.p2.fy = aV + aT + aS + this.p2.ax = this.p2.fx / this.p2._$p + this.p2.ay = this.p2.fy / this.p2._$p + this.p2.vx += this.p2.ax * aI + this.p2.vy += this.p2.ay * aI + this.p2.x += this.p2.vx * aI + this.p2.y += this.p2.vy * aI + var aO = Math.sqrt( + (this.p1.x - this.p2.x) * (this.p1.x - this.p2.x) + + (this.p1.y - this.p2.y) * (this.p1.y - this.p2.y) + ) + this.p2.x = this.p1.x + (this._$Fo * (this.p2.x - this.p1.x)) / aO + this.p2.y = this.p1.y + (this._$Fo * (this.p2.y - this.p1.y)) / aO + this.p2.vx = (this.p2.x - this.p2._$s0) * aU + this.p2.vy = (this.p2.y - this.p2._$70) * aU + this.p2._$xT() + } + function N() { + this._$p = 1 + this.x = 0 + this.y = 0 + this.vx = 0 + this.vy = 0 + this.ax = 0 + this.ay = 0 + this.fx = 0 + this.fy = 0 + this._$s0 = 0 + this._$70 = 0 + this._$7L = 0 + this._$HL = 0 + } + N.prototype._$xT = function () { + this._$s0 = this.x + this._$70 = this.y + this._$7L = this.vx + this._$HL = this.vy + } + function at(aJ, aI, aH) { + this._$wL = null + this.scale = null + this._$V0 = null + this._$wL = aJ + this.scale = aI + this._$V0 = aH + } + at.prototype._$oP = function (aI, aH) {} + function h(aJ, aK, aI, aH) { + at.prototype.constructor.call(this, aK, aI, aH) + this._$tL = null + this._$tL = aJ + } + h.prototype = new at() + h.prototype._$oP = function (aJ, aH) { + var aK = this.scale * aJ.getParamFloat(this._$wL) + var aL = aH.getPhysicsPoint1() + switch (this._$tL) { + default: + case u.Src.SRC_TO_X: + aL.x = aL.x + (aK - aL.x) * this._$V0 + break + case u.Src.SRC_TO_Y: + aL.y = aL.y + (aK - aL.y) * this._$V0 + break + case u.Src.SRC_TO_G_ANGLE: + var aI = aH._$qr() + aI = aI + (aK - aI) * this._$V0 + aH._$pr(aI) + break + } + } + function d(aJ, aI, aH) { + this._$wL = null + this.scale = null + this._$V0 = null + this._$wL = aJ + this.scale = aI + this._$V0 = aH + } + d.prototype._$YS = function (aI, aH) {} + function aF(aI, aK, aJ, aH) { + d.prototype.constructor.call(this, aK, aJ, aH) + this._$YP = null + this._$YP = aI + } + aF.prototype = new d() + aF.prototype._$YS = function (aI, aH) { + switch (this._$YP) { + default: + case u.Target.TARGET_FROM_ANGLE: + aI.setParamFloat(this._$wL, this.scale * aH._$5r(), this._$V0) + break + case u.Target.TARGET_FROM_ANGLE_V: + aI.setParamFloat(this._$wL, this.scale * aH._$Cs(), this._$V0) + break + } + } + u.Src = function () {} + u.Src.SRC_TO_X = 'SRC_TO_X' + u.Src.SRC_TO_Y = 'SRC_TO_Y' + u.Src.SRC_TO_G_ANGLE = 'SRC_TO_G_ANGLE' + u.Target = function () {} + u.Target.TARGET_FROM_ANGLE = 'TARGET_FROM_ANGLE' + u.Target.TARGET_FROM_ANGLE_V = 'TARGET_FROM_ANGLE_V' + function X() { + if (j) { + return + } + this._$fL = 0 + this._$gL = 0 + this._$B0 = 1 + this._$z0 = 1 + this._$qT = 0 + this.reflectX = false + this.reflectY = false + } + X.prototype.init = function (aH) { + this._$fL = aH._$fL + this._$gL = aH._$gL + this._$B0 = aH._$B0 + this._$z0 = aH._$z0 + this._$qT = aH._$qT + this.reflectX = aH.reflectX + this.reflectY = aH.reflectY + } + X.prototype._$F0 = function (aH) { + this._$fL = aH._$_T() + this._$gL = aH._$_T() + this._$B0 = aH._$_T() + this._$z0 = aH._$_T() + this._$qT = aH._$_T() + if (aH.getFormatVersion() >= ay.LIVE2D_FORMAT_VERSION_V2_10_SDK2) { + this.reflectX = aH._$po() + this.reflectY = aH._$po() + } + } + X.prototype._$e = function () {} + var ad = function () {} + ad._$ni = function (aL, aJ, aR, aQ, aK, aI, aH, aS, aN) { + var aM = aH * aI - aS * aK + if (aM == 0) { + return null + } else { + var aO = ((aL - aR) * aI - (aJ - aQ) * aK) / aM + var aP + if (aK != 0) { + aP = (aL - aR - aO * aH) / aK + } else { + aP = (aJ - aQ - aO * aS) / aI + } + if (isNaN(aP)) { + aP = (aL - aR - aO * aH) / aK + if (isNaN(aP)) { + aP = (aJ - aQ - aO * aS) / aI + } + if (isNaN(aP)) { + console.log('a is NaN @UtVector#_$ni() ') + console.log('v1x : ' + aK) + console.log('v1x != 0 ? ' + (aK != 0)) + } + } + if (aN == null) { + return new Array(aP, aO) + } else { + aN[0] = aP + aN[1] = aO + return aN + } + } + } + function av() { + if (j) { + return + } + this.x = null + this.y = null + this.width = null + this.height = null + } + av.prototype._$8P = function () { + return this.x + 0.5 * this.width + } + av.prototype._$6P = function () { + return this.y + 0.5 * this.height + } + av.prototype._$EL = function () { + return this.x + this.width + } + av.prototype._$5T = function () { + return this.y + this.height + } + av.prototype._$jL = function (aI, aK, aJ, aH) { + this.x = aI + this.y = aK + this.width = aJ + this.height = aH + } + av.prototype._$jL = function (aH) { + this.x = aH.x + this.y = aH.y + this.width = aH.width + this.height = aH.height + } + av.prototype.contains = function (aH, aI) { + return ( + this.x <= this.x && + this.y <= this.y && + this.x <= this.x + this.width && + this.y <= this.y + this.height + ) + } + av.prototype.expand = function (aH, aI) { + this.x -= aH + this.y -= aI + this.width += aH * 2 + this.height += aI * 2 + } + function aG() {} + aG._$Z2 = function (bb, bo, bp, a2) { + var a1 = bo._$Q2(bb, bp) + var a3 = bb._$vs() + var ba = bb._$Tr() + bo._$zr(a3, ba, a1) + if (a1 <= 0) { + return a2[a3[0]] + } else { + if (a1 == 1) { + var bj = a2[a3[0]] + var bi = a2[a3[1]] + var a9 = ba[0] + return (bj + (bi - bj) * a9) | 0 + } else { + if (a1 == 2) { + var bj = a2[a3[0]] + var bi = a2[a3[1]] + var a0 = a2[a3[2]] + var aZ = a2[a3[3]] + var a9 = ba[0] + var a8 = ba[1] + var br = (bj + (bi - bj) * a9) | 0 + var bq = (a0 + (aZ - a0) * a9) | 0 + return (br + (bq - br) * a8) | 0 + } else { + if (a1 == 3) { + var aP = a2[a3[0]] + var aO = a2[a3[1]] + var bn = a2[a3[2]] + var bm = a2[a3[3]] + var aK = a2[a3[4]] + var aJ = a2[a3[5]] + var bg = a2[a3[6]] + var bf = a2[a3[7]] + var a9 = ba[0] + var a8 = ba[1] + var a6 = ba[2] + var bj = (aP + (aO - aP) * a9) | 0 + var bi = (bn + (bm - bn) * a9) | 0 + var a0 = (aK + (aJ - aK) * a9) | 0 + var aZ = (bg + (bf - bg) * a9) | 0 + var br = (bj + (bi - bj) * a8) | 0 + var bq = (a0 + (aZ - a0) * a8) | 0 + return (br + (bq - br) * a6) | 0 + } else { + if (a1 == 4) { + var aT = a2[a3[0]] + var aS = a2[a3[1]] + var bu = a2[a3[2]] + var bt = a2[a3[3]] + var aN = a2[a3[4]] + var aM = a2[a3[5]] + var bl = a2[a3[6]] + var bk = a2[a3[7]] + var be = a2[a3[8]] + var bc = a2[a3[9]] + var aX = a2[a3[10]] + var aW = a2[a3[11]] + var a7 = a2[a3[12]] + var a5 = a2[a3[13]] + var aR = a2[a3[14]] + var aQ = a2[a3[15]] + var a9 = ba[0] + var a8 = ba[1] + var a6 = ba[2] + var a4 = ba[3] + var aP = (aT + (aS - aT) * a9) | 0 + var aO = (bu + (bt - bu) * a9) | 0 + var bn = (aN + (aM - aN) * a9) | 0 + var bm = (bl + (bk - bl) * a9) | 0 + var aK = (be + (bc - be) * a9) | 0 + var aJ = (aX + (aW - aX) * a9) | 0 + var bg = (a7 + (a5 - a7) * a9) | 0 + var bf = (aR + (aQ - aR) * a9) | 0 + var bj = (aP + (aO - aP) * a8) | 0 + var bi = (bn + (bm - bn) * a8) | 0 + var a0 = (aK + (aJ - aK) * a8) | 0 + var aZ = (bg + (bf - bg) * a8) | 0 + var br = (bj + (bi - bj) * a6) | 0 + var bq = (a0 + (aZ - a0) * a6) | 0 + return (br + (bq - br) * a4) | 0 + } else { + var aV = 1 << a1 + var aY = new Float32Array(aV) + for (var bh = 0; bh < aV; bh++) { + var aI = bh + var aH = 1 + for (var aL = 0; aL < a1; aL++) { + aH *= aI % 2 == 0 ? 1 - ba[aL] : ba[aL] + aI /= 2 + } + aY[bh] = aH + } + var bs = new Float32Array(aV) + for (var aU = 0; aU < aV; aU++) { + bs[aU] = a2[a3[aU]] + } + var bd = 0 + for (var aU = 0; aU < aV; aU++) { + bd += aY[aU] * bs[aU] + } + return (bd + 0.5) | 0 + } + } + } + } + } + } + aG._$br = function (ba, bo, bp, bg) { + var a1 = bo._$Q2(ba, bp) + var a2 = ba._$vs() + var a9 = ba._$Tr() + bo._$zr(a2, a9, a1) + if (a1 <= 0) { + return bg[a2[0]] + } else { + if (a1 == 1) { + var bj = bg[a2[0]] + var bi = bg[a2[1]] + var a8 = a9[0] + return bj + (bi - bj) * a8 + } else { + if (a1 == 2) { + var bj = bg[a2[0]] + var bi = bg[a2[1]] + var a0 = bg[a2[2]] + var aZ = bg[a2[3]] + var a8 = a9[0] + var a7 = a9[1] + return (1 - a7) * (bj + (bi - bj) * a8) + a7 * (a0 + (aZ - a0) * a8) + } else { + if (a1 == 3) { + var aP = bg[a2[0]] + var aO = bg[a2[1]] + var bn = bg[a2[2]] + var bm = bg[a2[3]] + var aK = bg[a2[4]] + var aJ = bg[a2[5]] + var bf = bg[a2[6]] + var be = bg[a2[7]] + var a8 = a9[0] + var a7 = a9[1] + var a5 = a9[2] + return ( + (1 - a5) * + ((1 - a7) * (aP + (aO - aP) * a8) + + a7 * (bn + (bm - bn) * a8)) + + a5 * + ((1 - a7) * (aK + (aJ - aK) * a8) + a7 * (bf + (be - bf) * a8)) + ) + } else { + if (a1 == 4) { + var aT = bg[a2[0]] + var aS = bg[a2[1]] + var bs = bg[a2[2]] + var br = bg[a2[3]] + var aN = bg[a2[4]] + var aM = bg[a2[5]] + var bl = bg[a2[6]] + var bk = bg[a2[7]] + var bd = bg[a2[8]] + var bb = bg[a2[9]] + var aX = bg[a2[10]] + var aW = bg[a2[11]] + var a6 = bg[a2[12]] + var a4 = bg[a2[13]] + var aR = bg[a2[14]] + var aQ = bg[a2[15]] + var a8 = a9[0] + var a7 = a9[1] + var a5 = a9[2] + var a3 = a9[3] + return ( + (1 - a3) * + ((1 - a5) * + ((1 - a7) * (aT + (aS - aT) * a8) + + a7 * (bs + (br - bs) * a8)) + + a5 * + ((1 - a7) * (aN + (aM - aN) * a8) + + a7 * (bl + (bk - bl) * a8))) + + a3 * + ((1 - a5) * + ((1 - a7) * (bd + (bb - bd) * a8) + + a7 * (aX + (aW - aX) * a8)) + + a5 * + ((1 - a7) * (a6 + (a4 - a6) * a8) + + a7 * (aR + (aQ - aR) * a8))) + ) + } else { + var aV = 1 << a1 + var aY = new Float32Array(aV) + for (var bh = 0; bh < aV; bh++) { + var aI = bh + var aH = 1 + for (var aL = 0; aL < a1; aL++) { + aH *= aI % 2 == 0 ? 1 - a9[aL] : a9[aL] + aI /= 2 + } + aY[bh] = aH + } + var bq = new Float32Array(aV) + for (var aU = 0; aU < aV; aU++) { + bq[aU] = bg[a2[aU]] + } + var bc = 0 + for (var aU = 0; aU < aV; aU++) { + bc += aY[aU] * bq[aU] + } + return bc + } + } + } + } + } + } + aG._$Vr = function (bV, bW, a5, aI, bC, a3, bX, bH) { + var aN = bW._$Q2(bV, a5) + var bw = bV._$vs() + var a2 = bV._$Tr() + bW._$zr(bw, a2, aN) + var aJ = aI * 2 + var aQ = bX + if (aN <= 0) { + var bI = bw[0] + var bq = bC[bI] + if (bH == 2 && bX == 0) { + P._$jT(bq, 0, a3, 0, aJ) + } else { + for (var bt = 0; bt < aJ; ) { + a3[aQ] = bq[bt++] + a3[aQ + 1] = bq[bt++] + aQ += bH + } + } + } else { + if (aN == 1) { + var bq = bC[bw[0]] + var bp = bC[bw[1]] + var b3 = a2[0] + var bT = 1 - b3 + for (var bt = 0; bt < aJ; ) { + a3[aQ] = bq[bt] * bT + bp[bt] * b3 + ++bt + a3[aQ + 1] = bq[bt] * bT + bp[bt] * b3 + ++bt + aQ += bH + } + } else { + if (aN == 2) { + var bq = bC[bw[0]] + var bp = bC[bw[1]] + var aZ = bC[bw[2]] + var aY = bC[bw[3]] + var b3 = a2[0] + var b1 = a2[1] + var bT = 1 - b3 + var bP = 1 - b1 + var b2 = bP * bT + var b0 = bP * b3 + var bM = b1 * bT + var bL = b1 * b3 + for (var bt = 0; bt < aJ; ) { + a3[aQ] = b2 * bq[bt] + b0 * bp[bt] + bM * aZ[bt] + bL * aY[bt] + ++bt + a3[aQ + 1] = b2 * bq[bt] + b0 * bp[bt] + bM * aZ[bt] + bL * aY[bt] + ++bt + aQ += bH + } + } else { + if (aN == 3) { + var ba = bC[bw[0]] + var a9 = bC[bw[1]] + var aP = bC[bw[2]] + var aO = bC[bw[3]] + var a6 = bC[bw[4]] + var a4 = bC[bw[5]] + var aL = bC[bw[6]] + var aK = bC[bw[7]] + var b3 = a2[0] + var b1 = a2[1] + var bZ = a2[2] + var bT = 1 - b3 + var bP = 1 - b1 + var bN = 1 - bZ + var b8 = bN * bP * bT + var b7 = bN * bP * b3 + var bU = bN * b1 * bT + var bS = bN * b1 * b3 + var b6 = bZ * bP * bT + var b5 = bZ * bP * b3 + var bQ = bZ * b1 * bT + var bO = bZ * b1 * b3 + for (var bt = 0; bt < aJ; ) { + a3[aQ] = + b8 * ba[bt] + + b7 * a9[bt] + + bU * aP[bt] + + bS * aO[bt] + + b6 * a6[bt] + + b5 * a4[bt] + + bQ * aL[bt] + + bO * aK[bt] + ++bt + a3[aQ + 1] = + b8 * ba[bt] + + b7 * a9[bt] + + bU * aP[bt] + + bS * aO[bt] + + b6 * a6[bt] + + b5 * a4[bt] + + bQ * aL[bt] + + bO * aK[bt] + ++bt + aQ += bH + } + } else { + if (aN == 4) { + var bD = bC[bw[0]] + var bB = bC[bw[1]] + var bo = bC[bw[2]] + var bm = bC[bw[3]] + var by = bC[bw[4]] + var bx = bC[bw[5]] + var be = bC[bw[6]] + var bd = bC[bw[7]] + var bG = bC[bw[8]] + var bE = bC[bw[9]] + var bv = bC[bw[10]] + var bu = bC[bw[11]] + var bA = bC[bw[12]] + var bz = bC[bw[13]] + var bn = bC[bw[14]] + var bl = bC[bw[15]] + var b3 = a2[0] + var b1 = a2[1] + var bZ = a2[2] + var bY = a2[3] + var bT = 1 - b3 + var bP = 1 - b1 + var bN = 1 - bZ + var bK = 1 - bY + var bk = bK * bN * bP * bT + var bi = bK * bN * bP * b3 + var aW = bK * bN * b1 * bT + var aV = bK * bN * b1 * b3 + var bc = bK * bZ * bP * bT + var bb = bK * bZ * bP * b3 + var aS = bK * bZ * b1 * bT + var aR = bK * bZ * b1 * b3 + var bs = bY * bN * bP * bT + var br = bY * bN * bP * b3 + var a1 = bY * bN * b1 * bT + var a0 = bY * bN * b1 * b3 + var bh = bY * bZ * bP * bT + var bf = bY * bZ * bP * b3 + var aU = bY * bZ * b1 * bT + var aT = bY * bZ * b1 * b3 + for (var bt = 0; bt < aJ; ) { + a3[aQ] = + bk * bD[bt] + + bi * bB[bt] + + aW * bo[bt] + + aV * bm[bt] + + bc * by[bt] + + bb * bx[bt] + + aS * be[bt] + + aR * bd[bt] + + bs * bG[bt] + + br * bE[bt] + + a1 * bv[bt] + + a0 * bu[bt] + + bh * bA[bt] + + bf * bz[bt] + + aU * bn[bt] + + aT * bl[bt] + ++bt + a3[aQ + 1] = + bk * bD[bt] + + bi * bB[bt] + + aW * bo[bt] + + aV * bm[bt] + + bc * by[bt] + + bb * bx[bt] + + aS * be[bt] + + aR * bd[bt] + + bs * bG[bt] + + br * bE[bt] + + a1 * bv[bt] + + a0 * bu[bt] + + bh * bA[bt] + + bf * bz[bt] + + aU * bn[bt] + + aT * bl[bt] + ++bt + aQ += bH + } + } else { + var b4 = 1 << aN + var bJ = new Float32Array(b4) + for (var bj = 0; bj < b4; bj++) { + var aH = bj + var aM = 1 + for (var bF = 0; bF < aN; bF++) { + aM *= aH % 2 == 0 ? 1 - a2[bF] : a2[bF] + aH /= 2 + } + bJ[bj] = aM + } + var bg = new Float32Array(b4) + for (var aX = 0; aX < b4; aX++) { + bg[aX] = bC[bw[aX]] + } + for (var bt = 0; bt < aJ; ) { + var a8 = 0, + a7 = 0 + var bR = bt + 1 + for (var aX = 0; aX < b4; aX++) { + a8 += bJ[aX] * bg[aX][bt] + a7 += bJ[aX] * bg[aX][bR] + } + bt += 2 + a3[aQ] = a8 + a3[aQ + 1] = a7 + aQ += bH + } + } + } + } + } + } + } + function e() { + if (j) { + return + } + this.x = null + this.y = null + } + e.prototype._$HT = function (aH, aI) { + this.x = aH + this.y = aI + } + e.prototype._$HT = function (aH) { + this.x = aH.x + this.y = aH.y + } + function ae() { + if (j) { + return + } + this._$gP = null + this._$dr = null + this._$GS = null + this._$qb = null + this._$Lb = null + this._$mS = null + this.clipID = null + this.clipIDList = new Array() + } + ae._$ur = -2 + ae._$ES = 500 + ae._$wb = 2 + ae._$8S = 3 + ae._$52 = ae._$ES + ae._$R2 = ae._$ES + ae._$or = function () { + return ae._$52 + } + ae._$Pr = function () { + return ae._$R2 + } + ae.prototype.convertClipIDForV2_11 = function (aI) { + var aH = [] + if (aI == null) { + return null + } + if (aI.length == 0) { + return null + } + if (!/,/.test(aI)) { + aH.push(aI.id) + return aH + } + aH = aI.id.split(',') + return aH + } + ae.prototype._$F0 = function (aH) { + this._$gP = aH._$nP() + this._$dr = aH._$nP() + this._$GS = aH._$nP() + this._$qb = aH._$6L() + this._$Lb = aH._$cS() + this._$mS = aH._$Tb() + if (aH.getFormatVersion() >= ay._$T7) { + this.clipID = aH._$nP() + this.clipIDList = this.convertClipIDForV2_11(this.clipID) + } else { + this.clipIDList = [] + } + this._$MS(this._$Lb) + } + ae.prototype.getClipIDList = function () { + return this.clipIDList + } + ae.prototype.init = function (aH) {} + ae.prototype._$Nr = function (aH, aI) { + aI._$IS[0] = false + aI._$Us = aG._$Z2(aH, this._$GS, aI._$IS, this._$Lb) + if (Q._$Zs) { + } else { + if (aI._$IS[0]) { + return + } + } + aI._$7s = aG._$br(aH, this._$GS, aI._$IS, this._$mS) + } + ae.prototype._$2b = function (aH, aI) {} + ae.prototype.getDrawDataID = function () { + return this._$gP + } + ae.prototype._$j2 = function (aH) { + this._$gP = aH + } + ae.prototype.getOpacity = function (aH, aI) { + return aI._$7s + } + ae.prototype._$zS = function (aH, aI) { + return aI._$Us + } + ae.prototype._$MS = function (aJ) { + for (var aI = aJ.length - 1; aI >= 0; --aI) { + var aH = aJ[aI] + if (aH < ae._$52) { + ae._$52 = aH + } else { + if (aH > ae._$R2) { + ae._$R2 = aH + } + } + } + } + ae.prototype.getTargetBaseDataID = function () { + return this._$dr + } + ae.prototype._$gs = function (aH) { + this._$dr = aH + } + ae.prototype._$32 = function () { + return this._$dr != null && this._$dr != n._$2o() + } + ae.prototype.preDraw = function (aJ, aH, aI) {} + ae.prototype.draw = function (aJ, aH, aI) {} + ae.prototype.getType = function () {} + ae.prototype._$B2 = function (aI, aH, aJ) {} + function ax() { + if (j) { + return + } + this._$Eb = ax._$ps + this._$lT = 1 + this._$C0 = 1 + this._$tT = 1 + this._$WL = 1 + this.culling = false + this.matrix4x4 = new Float32Array(16) + this.premultipliedAlpha = false + this.anisotropy = 0 + this.clippingProcess = ax.CLIPPING_PROCESS_NONE + this.clipBufPre_clipContextMask = null + this.clipBufPre_clipContextDraw = null + this.CHANNEL_COLORS = new Array() + } + ax._$ps = 32 + ax.CLIPPING_PROCESS_NONE = 0 + ax.CLIPPING_PROCESS_OVERWRITE_ALPHA = 1 + ax.CLIPPING_PROCESS_MULTIPLY_ALPHA = 2 + ax.CLIPPING_PROCESS_DRAW = 3 + ax.CLIPPING_PROCESS_CLEAR_ALPHA = 4 + ax.prototype.setChannelFlagAsColor = function (aH, aI) { + this.CHANNEL_COLORS[aH] = aI + } + ax.prototype.getChannelFlagAsColor = function (aH) { + return this.CHANNEL_COLORS[aH] + } + ax.prototype._$ZT = function () {} + ax.prototype._$Uo = function (aM, aK, aJ, aL, aN, aI, aH) {} + ax.prototype._$Rs = function () { + return -1 + } + ax.prototype._$Ds = function (aH) {} + ax.prototype.setBaseColor = function (aK, aJ, aI, aH) { + if (aK < 0) { + aK = 0 + } else { + if (aK > 1) { + aK = 1 + } + } + if (aJ < 0) { + aJ = 0 + } else { + if (aJ > 1) { + aJ = 1 + } + } + if (aI < 0) { + aI = 0 + } else { + if (aI > 1) { + aI = 1 + } + } + if (aH < 0) { + aH = 0 + } else { + if (aH > 1) { + aH = 1 + } + } + this._$lT = aK + this._$C0 = aJ + this._$tT = aI + this._$WL = aH + } + ax.prototype._$WP = function (aH) { + this.culling = aH + } + ax.prototype.setMatrix = function (aH) { + for (var aI = 0; aI < 16; aI++) { + this.matrix4x4[aI] = aH[aI] + } + } + ax.prototype._$IT = function () { + return this.matrix4x4 + } + ax.prototype.setPremultipliedAlpha = function (aH) { + this.premultipliedAlpha = aH + } + ax.prototype.isPremultipliedAlpha = function () { + return this.premultipliedAlpha + } + ax.prototype.setAnisotropy = function (aH) { + this.anisotropy = aH + } + ax.prototype.getAnisotropy = function () { + return this.anisotropy + } + ax.prototype.getClippingProcess = function () { + return this.clippingProcess + } + ax.prototype.setClippingProcess = function (aH) { + this.clippingProcess = aH + } + ax.prototype.setClipBufPre_clipContextForMask = function (aH) { + this.clipBufPre_clipContextMask = aH + } + ax.prototype.getClipBufPre_clipContextMask = function () { + return this.clipBufPre_clipContextMask + } + ax.prototype.setClipBufPre_clipContextForDraw = function (aH) { + this.clipBufPre_clipContextDraw = aH + } + ax.prototype.getClipBufPre_clipContextDraw = function () { + return this.clipBufPre_clipContextDraw + } + function o() { + if (j) { + return + } + this.a = 1 + this.r = 1 + this.g = 1 + this.b = 1 + this.scale = 1 + this._$ho = 1 + this.blendMode = Q.L2D_COLOR_BLEND_MODE_MULT + } + function c() { + if (j) { + return + } + this._$kP = null + this._$dr = null + this._$Ai = true + this._$mS = null + } + c._$ur = -2 + c._$c2 = 1 + c._$_b = 2 + c.prototype._$F0 = function (aH) { + this._$kP = aH._$nP() + this._$dr = aH._$nP() + } + c.prototype.readV2_opacity = function (aH) { + if (aH.getFormatVersion() >= ay.LIVE2D_FORMAT_VERSION_V2_10_SDK2) { + this._$mS = aH._$Tb() + } + } + c.prototype.init = function (aH) {} + c.prototype._$Nr = function (aI, aH) {} + c.prototype.interpolateOpacity = function (aJ, aK, aI, aH) { + if (this._$mS == null) { + aI.setInterpolatedOpacity(1) + } else { + aI.setInterpolatedOpacity(aG._$br(aJ, aK, aH, this._$mS)) + } + } + c.prototype._$2b = function (aI, aH) {} + c.prototype._$nb = function (aL, aK, aM, aH, aI, aJ, aN) {} + c.prototype.getType = function () {} + c.prototype._$gs = function (aH) { + this._$dr = aH + } + c.prototype._$a2 = function (aH) { + this._$kP = aH + } + c.prototype.getTargetBaseDataID = function () { + return this._$dr + } + c.prototype.getBaseDataID = function () { + return this._$kP + } + c.prototype._$32 = function () { + return this._$dr != null && this._$dr != n._$2o() + } + function P() {} + P._$W2 = 0 + P._$CS = P._$W2 + P._$Mo = function () { + return true + } + P._$XP = function (aI) { + try { + var aJ = getTimeMSec() + while (getTimeMSec() - aJ < aI) {} + } catch (aH) { + aH._$Rb() + } + } + P.getUserTimeMSec = function () { + return P._$CS == P._$W2 ? P.getSystemTimeMSec() : P._$CS + } + P.setUserTimeMSec = function (aH) { + P._$CS = aH + } + P.updateUserTimeMSec = function () { + return (P._$CS = P.getSystemTimeMSec()) + } + P.getTimeMSec = function () { + return new Date().getTime() + } + P.getSystemTimeMSec = function () { + return new Date().getTime() + } + P._$Q = function (aH) {} + P._$jT = function (aM, aJ, aI, aL, aH) { + for (var aK = 0; aK < aH; aK++) { + aI[aL + aK] = aM[aJ + aK] + } + } + function aA() { + if (j) { + return + } + this._$VP = 0 + this._$wL = null + this._$GP = null + this._$8o = aA._$ds + this._$2r = -1 + this._$O2 = 0 + this._$ri = 0 + } + aA._$ds = -2 + aA.prototype._$F0 = function (aH) { + this._$wL = aH._$nP() + this._$VP = aH._$6L() + this._$GP = aH._$nP() + } + aA.prototype.getParamIndex = function (aH) { + if (this._$2r != aH) { + this._$8o = aA._$ds + } + return this._$8o + } + aA.prototype._$Pb = function (aI, aH) { + this._$8o = aI + this._$2r = aH + } + aA.prototype.getParamID = function () { + return this._$wL + } + aA.prototype._$yP = function (aH) { + this._$wL = aH + } + aA.prototype._$N2 = function () { + return this._$VP + } + aA.prototype._$d2 = function () { + return this._$GP + } + aA.prototype._$t2 = function (aI, aH) { + this._$VP = aI + this._$GP = aH + } + aA.prototype._$Lr = function () { + return this._$O2 + } + aA.prototype._$wr = function (aH) { + this._$O2 = aH + } + aA.prototype._$SL = function () { + return this._$ri + } + aA.prototype._$AL = function (aH) { + this._$ri = aH + } + function G() {} + G.startsWith = function (aJ, aL, aK) { + var aH = aL + aK.length + if (aH >= aJ.length) { + return false + } + for (var aI = aL; aI < aH; aI++) { + if (G.getChar(aJ, aI) != aK.charAt(aI - aL)) { + return false + } + } + return true + } + G.getChar = function (aI, aH) { + return String.fromCharCode(aI.getUint8(aH)) + } + G.createString = function (aM, aL, aJ) { + var aH = new ArrayBuffer(aJ * 2) + var aK = new Uint16Array(aH) + for (var aI = 0; aI < aJ; aI++) { + aK[aI] = aM.getUint8(aL + aI) + } + return String.fromCharCode.apply(null, aK) + } + G._$LS = function (aP, aM, aR, aK) { + if (aP instanceof ArrayBuffer) { + aP = new DataView(aP) + } + var aL = aR + var aJ = false + var aQ = false + var aS = 0 + var aO = G.getChar(aP, aL) + if (aO == '-') { + aJ = true + aL++ + } + var aN = false + for (; aL < aM; aL++) { + aO = G.getChar(aP, aL) + switch (aO) { + case '0': + aS = aS * 10 + break + case '1': + aS = aS * 10 + 1 + break + case '2': + aS = aS * 10 + 2 + break + case '3': + aS = aS * 10 + 3 + break + case '4': + aS = aS * 10 + 4 + break + case '5': + aS = aS * 10 + 5 + break + case '6': + aS = aS * 10 + 6 + break + case '7': + aS = aS * 10 + 7 + break + case '8': + aS = aS * 10 + 8 + break + case '9': + aS = aS * 10 + 9 + break + case '.': + aQ = true + aL++ + aN = true + break + default: + aN = true + break + } + if (aN) { + break + } + } + if (aQ) { + var aI = 0.1 + var aH = false + for (; aL < aM; aL++) { + aO = G.getChar(aP, aL) + switch (aO) { + case '0': + break + case '1': + aS += aI * 1 + break + case '2': + aS += aI * 2 + break + case '3': + aS += aI * 3 + break + case '4': + aS += aI * 4 + break + case '5': + aS += aI * 5 + break + case '6': + aS += aI * 6 + break + case '7': + aS += aI * 7 + break + case '8': + aS += aI * 8 + break + case '9': + aS += aI * 9 + break + default: + aH = true + break + } + aI *= 0.1 + if (aH) { + break + } + } + } + if (aJ) { + aS = -aS + } + aK[0] = aL + return aS + } + function g() { + if (j) { + return + } + this._$Ob = null + } + g.prototype._$zP = function () { + this._$Ob = new Array() + } + g.prototype._$F0 = function (aH) { + this._$Ob = aH._$nP() + } + g.prototype._$Ur = function (aK) { + if (aK._$WS()) { + return true + } + var aH = aK._$v2() + for (var aJ = this._$Ob.length - 1; aJ >= 0; --aJ) { + var aI = this._$Ob[aJ].getParamIndex(aH) + if (aI == aA._$ds) { + aI = aK.getParamIndex(this._$Ob[aJ].getParamID()) + } + if (aK._$Xb(aI)) { + return true + } + } + return false + } + g.prototype._$Q2 = function (aL, aV) { + var aX = this._$Ob.length + var aJ = aL._$v2() + var aN = 0 + var aI + var aQ + for (var aK = 0; aK < aX; aK++) { + var aH = this._$Ob[aK] + aI = aH.getParamIndex(aJ) + if (aI == aA._$ds) { + aI = aL.getParamIndex(aH.getParamID()) + aH._$Pb(aI, aJ) + } + if (aI < 0) { + throw new Exception('err 23242 : ' + aH.getParamID()) + } + var aU = aI < 0 ? 0 : aL.getParamFloat(aI) + aQ = aH._$N2() + var aM = aH._$d2() + var aP = -1 + var aT = 0 + var aS + var aR + if (aQ < 1) { + } else { + if (aQ == 1) { + aS = aM[0] + if (aS - aw._$J < aU && aU < aS + aw._$J) { + aP = 0 + aT = 0 + } else { + aP = 0 + aV[0] = true + } + } else { + aS = aM[0] + if (aU < aS - aw._$J) { + aP = 0 + aV[0] = true + } else { + if (aU < aS + aw._$J) { + aP = 0 + } else { + var aW = false + for (var aO = 1; aO < aQ; ++aO) { + aR = aM[aO] + if (aU < aR + aw._$J) { + if (aR - aw._$J < aU) { + aP = aO + } else { + aP = aO - 1 + aT = (aU - aS) / (aR - aS) + aN++ + } + aW = true + break + } + aS = aR + } + if (!aW) { + aP = aQ - 1 + aT = 0 + aV[0] = true + } + } + } + } + } + aH._$wr(aP) + aH._$AL(aT) + } + return aN + } + g.prototype._$zr = function (aN, aT, aP) { + var aR = 1 << aP + if (aR + 1 > aw._$Qb) { + console.log('err 23245\n') + } + var aS = this._$Ob.length + var aK = 1 + var aH = 1 + var aJ = 0 + for (var aQ = 0; aQ < aR; ++aQ) { + aN[aQ] = 0 + } + for (var aL = 0; aL < aS; ++aL) { + var aI = this._$Ob[aL] + if (aI._$SL() == 0) { + var aO = aI._$Lr() * aK + if (aO < 0 && Q._$3T) { + throw new Exception('err 23246') + } + for (var aQ = 0; aQ < aR; ++aQ) { + aN[aQ] += aO + } + } else { + var aO = aK * aI._$Lr() + var aM = aK * (aI._$Lr() + 1) + for (var aQ = 0; aQ < aR; ++aQ) { + aN[aQ] += ((aQ / aH) | 0) % 2 == 0 ? aO : aM + } + aT[aJ++] = aI._$SL() + aH *= 2 + } + aK *= aI._$N2() + } + aN[aR] = 65535 + aT[aJ] = -1 + } + g.prototype._$h2 = function (aJ, aH, aK) { + var aM = new Float32Array(aH) + for (var aL = 0; aL < aH; ++aL) { + aM[aL] = aK[aL] + } + var aI = new aA() + aI._$yP(aJ) + aI._$t2(aH, aM) + this._$Ob.push(aI) + } + g.prototype._$J2 = function (aO) { + var aN = aO + var aM = this._$Ob.length + for (var aK = 0; aK < aM; ++aK) { + var aI = this._$Ob[aK] + var aH = aI._$N2() + var aJ = aN % aI._$N2() + var aL = aI._$d2()[aJ] + console.log('%s[%d]=%7.2f / ', aI.getParamID(), aJ, aL) + aN /= aH + } + console.log('\n') + } + g.prototype.getParamCount = function () { + return this._$Ob.length + } + g.prototype._$zs = function () { + return this._$Ob + } + function ac() { + this.m = new Float32Array(16) + this.identity() + } + ac.prototype.identity = function () { + for (var aH = 0; aH < 16; aH++) { + this.m[aH] = aH % 5 == 0 ? 1 : 0 + } + } + ac.prototype.getArray = function () { + return this.m + } + ac.prototype.getCopyMatrix = function () { + return new Float32Array(this.m) + } + ac.prototype.setMatrix = function (aI) { + if (aI == null || aI.length != 16) { + return + } + for (var aH = 0; aH < 16; aH++) { + this.m[aH] = aI[aH] + } + } + ac.prototype.mult = function (aH, aJ, aI) { + if (aJ == null) { + return null + } + if (this == aJ) { + this.mult_safe(this.m, aH.m, aJ.m, aI) + } else { + this.mult_fast(this.m, aH.m, aJ.m, aI) + } + return aJ + } + ac.prototype.mult_safe = function (aI, aH, aM, aJ) { + if (aI == aM) { + var aL = new Array(16) + this.mult_fast(aI, aH, aL, aJ) + for (var aK = 15; aK >= 0; --aK) { + aM[aK] = aL[aK] + } + } else { + this.mult_fast(aI, aH, aM, aJ) + } + } + ac.prototype.mult_fast = function (aI, aH, aK, aJ) { + if (aJ) { + aK[0] = aI[0] * aH[0] + aI[4] * aH[1] + aI[8] * aH[2] + aK[4] = aI[0] * aH[4] + aI[4] * aH[5] + aI[8] * aH[6] + aK[8] = aI[0] * aH[8] + aI[4] * aH[9] + aI[8] * aH[10] + aK[12] = aI[0] * aH[12] + aI[4] * aH[13] + aI[8] * aH[14] + aI[12] + aK[1] = aI[1] * aH[0] + aI[5] * aH[1] + aI[9] * aH[2] + aK[5] = aI[1] * aH[4] + aI[5] * aH[5] + aI[9] * aH[6] + aK[9] = aI[1] * aH[8] + aI[5] * aH[9] + aI[9] * aH[10] + aK[13] = aI[1] * aH[12] + aI[5] * aH[13] + aI[9] * aH[14] + aI[13] + aK[2] = aI[2] * aH[0] + aI[6] * aH[1] + aI[10] * aH[2] + aK[6] = aI[2] * aH[4] + aI[6] * aH[5] + aI[10] * aH[6] + aK[10] = aI[2] * aH[8] + aI[6] * aH[9] + aI[10] * aH[10] + aK[14] = aI[2] * aH[12] + aI[6] * aH[13] + aI[10] * aH[14] + aI[14] + aK[3] = aK[7] = aK[11] = 0 + aK[15] = 1 + } else { + aK[0] = aI[0] * aH[0] + aI[4] * aH[1] + aI[8] * aH[2] + aI[12] * aH[3] + aK[4] = aI[0] * aH[4] + aI[4] * aH[5] + aI[8] * aH[6] + aI[12] * aH[7] + aK[8] = aI[0] * aH[8] + aI[4] * aH[9] + aI[8] * aH[10] + aI[12] * aH[11] + aK[12] = + aI[0] * aH[12] + aI[4] * aH[13] + aI[8] * aH[14] + aI[12] * aH[15] + aK[1] = aI[1] * aH[0] + aI[5] * aH[1] + aI[9] * aH[2] + aI[13] * aH[3] + aK[5] = aI[1] * aH[4] + aI[5] * aH[5] + aI[9] * aH[6] + aI[13] * aH[7] + aK[9] = aI[1] * aH[8] + aI[5] * aH[9] + aI[9] * aH[10] + aI[13] * aH[11] + aK[13] = + aI[1] * aH[12] + aI[5] * aH[13] + aI[9] * aH[14] + aI[13] * aH[15] + aK[2] = aI[2] * aH[0] + aI[6] * aH[1] + aI[10] * aH[2] + aI[14] * aH[3] + aK[6] = aI[2] * aH[4] + aI[6] * aH[5] + aI[10] * aH[6] + aI[14] * aH[7] + aK[10] = aI[2] * aH[8] + aI[6] * aH[9] + aI[10] * aH[10] + aI[14] * aH[11] + aK[14] = + aI[2] * aH[12] + aI[6] * aH[13] + aI[10] * aH[14] + aI[14] * aH[15] + aK[3] = aI[3] * aH[0] + aI[7] * aH[1] + aI[11] * aH[2] + aI[15] * aH[3] + aK[7] = aI[3] * aH[4] + aI[7] * aH[5] + aI[11] * aH[6] + aI[15] * aH[7] + aK[11] = aI[3] * aH[8] + aI[7] * aH[9] + aI[11] * aH[10] + aI[15] * aH[11] + aK[15] = + aI[3] * aH[12] + aI[7] * aH[13] + aI[11] * aH[14] + aI[15] * aH[15] + } + } + ac.prototype.translate = function (aH, aJ, aI) { + this.m[12] = this.m[0] * aH + this.m[4] * aJ + this.m[8] * aI + this.m[12] + this.m[13] = this.m[1] * aH + this.m[5] * aJ + this.m[9] * aI + this.m[13] + this.m[14] = this.m[2] * aH + this.m[6] * aJ + this.m[10] * aI + this.m[14] + this.m[15] = this.m[3] * aH + this.m[7] * aJ + this.m[11] * aI + this.m[15] + } + ac.prototype.scale = function (aJ, aI, aH) { + this.m[0] *= aJ + this.m[4] *= aI + this.m[8] *= aH + this.m[1] *= aJ + this.m[5] *= aI + this.m[9] *= aH + this.m[2] *= aJ + this.m[6] *= aI + this.m[10] *= aH + this.m[3] *= aJ + this.m[7] *= aI + this.m[11] *= aH + } + ac.prototype.rotateX = function (aH) { + var aK = aC.fcos(aH) + var aJ = aC._$9(aH) + var aI = this.m[4] + this.m[4] = aI * aK + this.m[8] * aJ + this.m[8] = aI * -aJ + this.m[8] * aK + aI = this.m[5] + this.m[5] = aI * aK + this.m[9] * aJ + this.m[9] = aI * -aJ + this.m[9] * aK + aI = this.m[6] + this.m[6] = aI * aK + this.m[10] * aJ + this.m[10] = aI * -aJ + this.m[10] * aK + aI = this.m[7] + this.m[7] = aI * aK + this.m[11] * aJ + this.m[11] = aI * -aJ + this.m[11] * aK + } + ac.prototype.rotateY = function (aH) { + var aK = aC.fcos(aH) + var aJ = aC._$9(aH) + var aI = this.m[0] + this.m[0] = aI * aK + this.m[8] * -aJ + this.m[8] = aI * aJ + this.m[8] * aK + aI = this.m[1] + this.m[1] = aI * aK + this.m[9] * -aJ + this.m[9] = aI * aJ + this.m[9] * aK + aI = m[2] + this.m[2] = aI * aK + this.m[10] * -aJ + this.m[10] = aI * aJ + this.m[10] * aK + aI = m[3] + this.m[3] = aI * aK + this.m[11] * -aJ + this.m[11] = aI * aJ + this.m[11] * aK + } + ac.prototype.rotateZ = function (aH) { + var aK = aC.fcos(aH) + var aJ = aC._$9(aH) + var aI = this.m[0] + this.m[0] = aI * aK + this.m[4] * aJ + this.m[4] = aI * -aJ + this.m[4] * aK + aI = this.m[1] + this.m[1] = aI * aK + this.m[5] * aJ + this.m[5] = aI * -aJ + this.m[5] * aK + aI = this.m[2] + this.m[2] = aI * aK + this.m[6] * aJ + this.m[6] = aI * -aJ + this.m[6] * aK + aI = this.m[3] + this.m[3] = aI * aK + this.m[7] * aJ + this.m[7] = aI * -aJ + this.m[7] * aK + } + function Z(aH) { + if (j) { + return + } + ak.prototype.constructor.call(this, aH) + } + Z.prototype = new ak() + Z._$tP = new Object() + Z._$27 = function () { + Z._$tP.clear() + } + Z.getID = function (aH) { + var aI = Z._$tP[aH] + if (aI == null) { + aI = new Z(aH) + Z._$tP[aH] = aI + } + return aI + } + Z.prototype._$3s = function () { + return new Z() + } + function aD() { + if (j) { + return + } + this._$7 = 1 + this._$f = 0 + this._$H = 0 + this._$g = 1 + this._$k = 0 + this._$w = 0 + this._$hi = STATE_IDENTITY + this._$Z = _$pS + } + aD._$kS = -1 + aD._$pS = 0 + aD._$hb = 1 + aD.STATE_IDENTITY = 0 + aD._$gb = 1 + aD._$fo = 2 + aD._$go = 4 + aD.prototype.transform = function (aK, aI, aH) { + var aT, aS, aR, aM, aL, aJ + var aQ = 0 + var aN = 0 + switch (this._$hi) { + default: + return + case aD._$go | aD._$fo | aD._$gb: + aT = this._$7 + aS = this._$H + aR = this._$k + aM = this._$f + aL = this._$g + aJ = this._$w + while (--aH >= 0) { + var aP = aK[aQ++] + var aO = aK[aQ++] + aI[aN++] = aT * aP + aS * aO + aR + aI[aN++] = aM * aP + aL * aO + aJ + } + return + case aD._$go | aD._$fo: + aT = this._$7 + aS = this._$H + aM = this._$f + aL = this._$g + while (--aH >= 0) { + var aP = aK[aQ++] + var aO = aK[aQ++] + aI[aN++] = aT * aP + aS * aO + aI[aN++] = aM * aP + aL * aO + } + return + case aD._$go | aD._$gb: + aS = this._$H + aR = this._$k + aM = this._$f + aJ = this._$w + while (--aH >= 0) { + var aP = aK[aQ++] + aI[aN++] = aS * aK[aQ++] + aR + aI[aN++] = aM * aP + aJ + } + return + case aD._$go: + aS = this._$H + aM = this._$f + while (--aH >= 0) { + var aP = aK[aQ++] + aI[aN++] = aS * aK[aQ++] + aI[aN++] = aM * aP + } + return + case aD._$fo | aD._$gb: + aT = this._$7 + aR = this._$k + aL = this._$g + aJ = this._$w + while (--aH >= 0) { + aI[aN++] = aT * aK[aQ++] + aR + aI[aN++] = aL * aK[aQ++] + aJ + } + return + case aD._$fo: + aT = this._$7 + aL = this._$g + while (--aH >= 0) { + aI[aN++] = aT * aK[aQ++] + aI[aN++] = aL * aK[aQ++] + } + return + case aD._$gb: + aR = this._$k + aJ = this._$w + while (--aH >= 0) { + aI[aN++] = aK[aQ++] + aR + aI[aN++] = aK[aQ++] + aJ + } + return + case aD.STATE_IDENTITY: + if (aK != aI || aQ != aN) { + P._$jT(aK, aQ, aI, aN, aH * 2) + } + return + } + } + aD.prototype.update = function () { + if (this._$H == 0 && this._$f == 0) { + if (this._$7 == 1 && this._$g == 1) { + if (this._$k == 0 && this._$w == 0) { + this._$hi = aD.STATE_IDENTITY + this._$Z = aD._$pS + } else { + this._$hi = aD._$gb + this._$Z = aD._$hb + } + } else { + if (this._$k == 0 && this._$w == 0) { + this._$hi = aD._$fo + this._$Z = aD._$kS + } else { + this._$hi = aD._$fo | aD._$gb + this._$Z = aD._$kS + } + } + } else { + if (this._$7 == 0 && this._$g == 0) { + if (this._$k == 0 && this._$w == 0) { + this._$hi = aD._$go + this._$Z = aD._$kS + } else { + this._$hi = aD._$go | aD._$gb + this._$Z = aD._$kS + } + } else { + if (this._$k == 0 && this._$w == 0) { + this._$hi = aD._$go | aD._$fo + this._$Z = aD._$kS + } else { + this._$hi = aD._$go | aD._$fo | aD._$gb + this._$Z = aD._$kS + } + } + } + } + aD.prototype._$RT = function (aK) { + this._$IT(aK) + var aJ = aK[0] + var aH = aK[2] + var aN = aK[1] + var aM = aK[3] + var aI = Math.sqrt(aJ * aJ + aN * aN) + var aL = aJ * aM - aH * aN + if (aI == 0) { + if (Q._$so) { + console.log('affine._$RT() / rt==0') + } + } else { + aK[0] = aI + aK[1] = aL / aI + aK[2] = (aN * aM + aJ * aH) / aL + aK[3] = Math.atan2(aN, aJ) + } + } + aD.prototype._$ho = function (aN, aM, aI, aH) { + var aL = new Float32Array(6) + var aK = new Float32Array(6) + aN._$RT(aL) + aM._$RT(aK) + var aJ = new Float32Array(6) + aJ[0] = aL[0] + (aK[0] - aL[0]) * aI + aJ[1] = aL[1] + (aK[1] - aL[1]) * aI + aJ[2] = aL[2] + (aK[2] - aL[2]) * aI + aJ[3] = aL[3] + (aK[3] - aL[3]) * aI + aJ[4] = aL[4] + (aK[4] - aL[4]) * aI + aJ[5] = aL[5] + (aK[5] - aL[5]) * aI + aH._$CT(aJ) + } + aD.prototype._$CT = function (aJ) { + var aI = Math.cos(aJ[3]) + var aH = Math.sin(aJ[3]) + this._$7 = aJ[0] * aI + this._$f = aJ[0] * aH + this._$H = aJ[1] * (aJ[2] * aI - aH) + this._$g = aJ[1] * (aJ[2] * aH + aI) + this._$k = aJ[4] + this._$w = aJ[5] + this.update() + } + aD.prototype._$IT = function (aH) { + aH[0] = this._$7 + aH[1] = this._$f + aH[2] = this._$H + aH[3] = this._$g + aH[4] = this._$k + aH[5] = this._$w + } + function Y() { + if (j) { + return + } + ah.prototype.constructor.call(this) + this.motions = new Array() + this._$7r = null + this._$7r = Y._$Co++ + this._$D0 = 30 + this._$yT = 0 + this._$E = true + this.loopFadeIn = true + this._$AS = -1 + _$a0() + } + Y.prototype = new ah() + Y._$cs = 'VISIBLE:' + Y._$ar = 'LAYOUT:' + Y._$Co = 0 + Y._$D2 = [] + Y._$1T = 1 + Y.loadMotion = function (aR) { + var aM = new Y() + var aI = [0] + var aP = aR.length + aM._$yT = 0 + for (var aJ = 0; aJ < aP; ++aJ) { + var aQ = aR[aJ] & 255 + if (aQ == '\n' || aQ == '\r') { + continue + } + if (aQ == '#') { + for (; aJ < aP; ++aJ) { + if (aR[aJ] == '\n' || aR[aJ] == '\r') { + break + } + } + continue + } + if (aQ == '$') { + var aT = aJ + var aK = -1 + for (; aJ < aP; ++aJ) { + aQ = aR[aJ] & 255 + if (aQ == '\r' || aQ == '\n') { + break + } + if (aQ == '=') { + aK = aJ + break + } + } + var aO = false + if (aK >= 0) { + if ( + aK == aT + 4 && + aR[aT + 1] == 'f' && + aR[aT + 2] == 'p' && + aR[aT + 3] == 's' + ) { + aO = true + } + for (aJ = aK + 1; aJ < aP; ++aJ) { + aQ = aR[aJ] & 255 + if (aQ == '\r' || aQ == '\n') { + break + } + if (aQ == ',' || aQ == ' ' || aQ == '\t') { + continue + } + var aL = G._$LS(aR, aP, aJ, aI) + if (aI[0] > 0) { + if (aO && 5 < aL && aL < 121) { + aM._$D0 = aL + } + } + aJ = aI[0] + } + } + for (; aJ < aP; ++aJ) { + if (aR[aJ] == '\n' || aR[aJ] == '\r') { + break + } + } + continue + } + if (('a' <= aQ && aQ <= 'z') || ('A' <= aQ && aQ <= 'Z') || aQ == '_') { + var aT = aJ + var aK = -1 + for (; aJ < aP; ++aJ) { + aQ = aR[aJ] & 255 + if (aQ == '\r' || aQ == '\n') { + break + } + if (aQ == '=') { + aK = aJ + break + } + } + if (aK >= 0) { + var aN = new t() + if (G.startsWith(aR, aT, Y._$cs)) { + aN._$RP = t._$hs + aN._$4P = new String(aR, aT, aK - aT) + } else { + if (G.startsWith(aR, aT, Y._$ar)) { + aN._$4P = new String(aR, aT + 7, aK - aT - 7) + if (G.startsWith(aR, aT + 7, 'ANCHOR_X')) { + aN._$RP = t._$xs + } else { + if (G.startsWith(aR, aT + 7, 'ANCHOR_Y')) { + aN._$RP = t._$us + } else { + if (G.startsWith(aR, aT + 7, 'SCALE_X')) { + aN._$RP = t._$qs + } else { + if (G.startsWith(aR, aT + 7, 'SCALE_Y')) { + aN._$RP = t._$Ys + } else { + if (G.startsWith(aR, aT + 7, 'X')) { + aN._$RP = t._$ws + } else { + if (G.startsWith(aR, aT + 7, 'Y')) { + aN._$RP = t._$Ns + } + } + } + } + } + } + } else { + aN._$RP = t._$Fr + aN._$4P = new String(aR, aT, aK - aT) + } + } + aM.motions.push(aN) + var aS = 0 + Y._$D2.clear() + for (aJ = aK + 1; aJ < aP; ++aJ) { + aQ = aR[aJ] & 255 + if (aQ == '\r' || aQ == '\n') { + break + } + if (aQ == ',' || aQ == ' ' || aQ == '\t') { + continue + } + var aL = G._$LS(aR, aP, aJ, aI) + if (aI[0] > 0) { + Y._$D2.push(aL) + aS++ + var aH = aI[0] + if (aH < aJ) { + console.log('_$n0 _$hi . @Live2DMotion loadMotion()\n') + break + } + aJ = aH + } + } + aN._$I0 = Y._$D2._$BL() + if (aS > aM._$yT) { + aM._$yT = aS + } + } + } + } + aM._$AS = ((1000 * aM._$yT) / aM._$D0) | 0 + return aM + } + Y.prototype.getDurationMSec = function () { + return this._$AS + } + Y.prototype.dump = function () { + for (var aJ = 0; aJ < this.motions.length; aJ++) { + var aH = this.motions[aJ] + console.log('_$wL[%s] [%d]. ', aH._$4P, aH._$I0.length) + for (var aI = 0; aI < aH._$I0.length && aI < 10; aI++) { + console.log('%5.2f ,', aH._$I0[aI]) + } + console.log('\n') + } + } + Y.prototype.updateParamExe = function (aH, aL, aO, aX) { + var aM = aL - aX._$z2 + var aV = (aM * this._$D0) / 1000 + var aJ = aV | 0 + var aP = aV - aJ + for (var aU = 0; aU < this.motions.length; aU++) { + var aS = this.motions[aU] + var aK = aS._$I0.length + var aQ = aS._$4P + if (aS._$RP == t._$hs) { + var aT = aS._$I0[aJ >= aK ? aK - 1 : aJ] + aH.setParamFloat(aQ, aT) + } else { + if (t._$ws <= aS._$RP && aS._$RP <= t._$Ys) { + } else { + var aR = aH.getParamFloat(aQ) + var aY = aS._$I0[aJ >= aK ? aK - 1 : aJ] + var aW = aS._$I0[aJ + 1 >= aK ? aK - 1 : aJ + 1] + var aI = aY + (aW - aY) * aP + var aN = aR + (aI - aR) * aO + aH.setParamFloat(aQ, aN) + } + } + } + if (aJ >= this._$yT) { + if (this._$E) { + aX._$z2 = aL + if (this.loopFadeIn) { + aX._$bs = aL + } + } else { + aX._$9L = true + } + } + } + Y.prototype._$r0 = function () { + return this._$E + } + Y.prototype._$aL = function (aH) { + this._$E = aH + } + Y.prototype.isLoopFadeIn = function () { + return this.loopFadeIn + } + Y.prototype.setLoopFadeIn = function (aH) { + this.loopFadeIn = aH + } + function aE() { + this._$P = new Float32Array(100) + this.size = 0 + } + aE.prototype.clear = function () { + this.size = 0 + } + aE.prototype.add = function (aI) { + if (this._$P.length <= this.size) { + var aH = new Float32Array(this.size * 2) + P._$jT(this._$P, 0, aH, 0, this.size) + this._$P = aH + } + this._$P[this.size++] = aI + } + aE.prototype._$BL = function () { + var aH = new Float32Array(this.size) + P._$jT(this._$P, 0, aH, 0, this.size) + return aH + } + function t() { + this._$4P = null + this._$I0 = null + this._$RP = null + } + t._$Fr = 0 + t._$hs = 1 + t._$ws = 100 + t._$Ns = 101 + t._$xs = 102 + t._$us = 103 + t._$qs = 104 + t._$Ys = 105 + function aw() {} + aw._$Ms = 1 + aw._$Qs = 2 + aw._$i2 = 0 + aw._$No = 2 + aw._$do = aw._$Ms + aw._$Ls = true + aw._$1r = 5 + aw._$Qb = 65 + aw._$J = 0.0001 + aw._$FT = 0.001 + aw._$Ss = 3 + function ay() {} + ay._$o7 = 6 + ay._$S7 = 7 + ay._$s7 = 8 + ay._$77 = 9 + ay.LIVE2D_FORMAT_VERSION_V2_10_SDK2 = 10 + ay.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1 = 11 + ay._$T7 = ay.LIVE2D_FORMAT_VERSION_V2_11_SDK2_1 + ay._$Is = -2004318072 + ay._$h0 = 0 + ay._$4L = 23 + ay._$7P = 33 + ay._$uT = function (aH) { + console.log('_$bo :: _$6 _$mo _$E0 : %d\n', aH) + } + ay._$9o = function (aH) { + if (aH < 40) { + ay._$uT(aH) + return null + } else { + if (aH < 50) { + ay._$uT(aH) + return null + } else { + if (aH < 60) { + ay._$uT(aH) + return null + } else { + if (aH < 100) { + switch (aH) { + case 65: + return new E() + case 66: + return new g() + case 67: + return new aA() + case 68: + return new ab() + case 69: + return new X() + case 70: + return new b() + default: + ay._$uT(aH) + return null + } + } else { + if (aH < 150) { + switch (aH) { + case 131: + return new f() + case 133: + return new s() + case 136: + return new w() + case 137: + return new an() + case 142: + return new aq() + } + } + } + } + } + } + ay._$uT(aH) + return null + } + function y(aH) { + if (j) { + return + } + this._$QT = true + this._$co = -1 + this._$qo = 0 + this._$pb = new Array(y._$is) + this._$_2 = new Float32Array(y._$is) + this._$vr = new Float32Array(y._$is) + this._$Rr = new Float32Array(y._$is) + this._$Or = new Float32Array(y._$is) + this._$fs = new Float32Array(y._$is) + this._$Js = new Array(y._$is) + this._$3S = new Array() + this._$aS = new Array() + this._$Bo = null + this._$F2 = new Array() + this._$db = new Array() + this._$8b = new Array() + this._$Hr = new Array() + this._$Ws = null + this._$Vs = null + this._$Er = null + this._$Es = new Int16Array(aw._$Qb) + this._$ZP = new Float32Array(aw._$1r * 2) + this._$Ri = aH + this._$b0 = y._$HP++ + this.clipManager = null + this.dp_webgl = null + } + y._$HP = 0 + y._$_0 = true + y._$V2 = -1 + y._$W0 = -1 + y._$jr = false + y._$ZS = true + y._$tr = -1000000 + y._$lr = 1000000 + y._$is = 32 + y._$e = false + y.prototype.getDrawDataIndex = function (aI) { + for (var aH = this._$aS.length - 1; aH >= 0; --aH) { + if (this._$aS[aH] != null && this._$aS[aH].getDrawDataID() == aI) { + return aH + } + } + return -1 + } + y.prototype.getDrawData = function (aH) { + if (aH instanceof Z) { + if (this._$Bo == null) { + this._$Bo = new Object() + var aJ = this._$aS.length + for (var aI = 0; aI < aJ; aI++) { + var aL = this._$aS[aI] + var aK = aL.getDrawDataID() + if (aK == null) { + continue + } + this._$Bo[aK] = aL + } + } + return this._$Bo[id] + } else { + if (aH < this._$aS.length) { + return this._$aS[aH] + } else { + return null + } + } + } + y.prototype.release = function () { + this._$3S.clear() + this._$aS.clear() + this._$F2.clear() + if (this._$Bo != null) { + this._$Bo.clear() + } + this._$db.clear() + this._$8b.clear() + this._$Hr.clear() + } + y.prototype.init = function () { + this._$co++ + if (this._$F2.length > 0) { + this.release() + } + var aO = this._$Ri.getModelImpl() + var aT = aO._$Xr() + var aS = aT.length + var aH = new Array() + var a3 = new Array() + for (var aV = 0; aV < aS; ++aV) { + var a4 = aT[aV] + this._$F2.push(a4) + this._$Hr.push(a4.init(this)) + var aK = a4.getBaseData() + var aR = aK.length + for (var aU = 0; aU < aR; ++aU) { + aH.push(aK[aU]) + } + for (var aU = 0; aU < aR; ++aU) { + var aM = aK[aU].init(this) + aM._$l2(aV) + a3.push(aM) + } + var a1 = a4.getDrawData() + var aP = a1.length + for (var aU = 0; aU < aP; ++aU) { + var aZ = a1[aU] + var a0 = aZ.init(this) + a0._$IP = aV + this._$aS.push(aZ) + this._$8b.push(a0) + } + } + var aY = aH.length + var aN = n._$2o() + while (true) { + var aX = false + for (var aV = 0; aV < aY; ++aV) { + var aL = aH[aV] + if (aL == null) { + continue + } + var a2 = aL.getTargetBaseDataID() + if (a2 == null || a2 == aN || this.getBaseDataIndex(a2) >= 0) { + this._$3S.push(aL) + this._$db.push(a3[aV]) + aH[aV] = null + aX = true + } + } + if (!aX) { + break + } + } + var aI = aO._$E2() + if (aI != null) { + var aJ = aI._$1s() + if (aJ != null) { + var aW = aJ.length + for (var aV = 0; aV < aW; ++aV) { + var aQ = aJ[aV] + if (aQ == null) { + continue + } + this._$02( + aQ.getParamID(), + aQ.getDefaultValue(), + aQ.getMinValue(), + aQ.getMaxValue() + ) + } + } + } + this.clipManager = new W(this.dp_webgl) + this.clipManager.init(this, this._$aS, this._$8b) + this._$QT = true + } + y.prototype.update = function () { + if (y._$e) { + q.start('_$zL') + } + var aK = this._$_2.length + for (var aW = 0; aW < aK; aW++) { + if (this._$_2[aW] != this._$vr[aW]) { + this._$Js[aW] = y._$ZS + this._$vr[aW] = this._$_2[aW] + } + } + var aX = false + var aQ = this._$3S.length + var aN = this._$aS.length + var aS = a._$or() + var aZ = a._$Pr() + var aU = aZ - aS + 1 + if (this._$Ws == null || this._$Ws.length < aU) { + this._$Ws = new Int16Array(aU) + this._$Vs = new Int16Array(aU) + } + for (var aW = 0; aW < aU; aW++) { + this._$Ws[aW] = y._$V2 + this._$Vs[aW] = y._$V2 + } + if (this._$Er == null || this._$Er.length < aN) { + this._$Er = new Int16Array(aN) + } + for (var aW = 0; aW < aN; aW++) { + this._$Er[aW] = y._$W0 + } + if (y._$e) { + q.dump('_$zL') + } + if (y._$e) { + q.start('_$UL') + } + var aL = null + for (var aV = 0; aV < aQ; ++aV) { + var aJ = this._$3S[aV] + var aH = this._$db[aV] + try { + aJ._$Nr(this, aH) + aJ._$2b(this, aH) + } catch (aY) { + if (aL == null) { + aL = aY + } + } + } + if (aL != null) { + if (y._$_0) { + q._$Rb(aL) + } + } + if (y._$e) { + q.dump('_$UL') + } + if (y._$e) { + q.start('_$DL') + } + var aR = null + for (var aO = 0; aO < aN; ++aO) { + var aM = this._$aS[aO] + var aI = this._$8b[aO] + try { + aM._$Nr(this, aI) + if (aI._$u2()) { + continue + } + aM._$2b(this, aI) + var aT = Math.floor(aM._$zS(this, aI) - aS) + var aP + try { + aP = this._$Vs[aT] + } catch (aY) { + console.log( + '_$li :: %s / %s @@_$fS\n', + aY.toString(), + aM.getDrawDataID().toString() + ) + aT = Math.floor(aM._$zS(this, aI) - aS) + continue + } + if (aP == y._$V2) { + this._$Ws[aT] = aO + } else { + this._$Er[aP] = aO + } + this._$Vs[aT] = aO + } catch (aY) { + if (aR == null) { + aR = aY + Q._$sT(Q._$H7) + } + } + } + if (aR != null) { + if (y._$_0) { + q._$Rb(aR) + } + } + if (y._$e) { + q.dump('_$DL') + } + if (y._$e) { + q.start('_$eL') + } + for (var aW = this._$Js.length - 1; aW >= 0; aW--) { + this._$Js[aW] = y._$jr + } + this._$QT = false + if (y._$e) { + q.dump('_$eL') + } + return aX + } + y.prototype.preDraw = function (aH) { + if (this.clipManager != null) { + aH._$ZT() + this.clipManager.setupClip(this, aH) + } + } + y.prototype.draw = function (aM) { + if (this._$Ws == null) { + q._$li('call _$Ri.update() before _$Ri.draw() ') + return + } + var aP = this._$Ws.length + aM._$ZT() + for (var aK = 0; aK < aP; ++aK) { + var aN = this._$Ws[aK] + if (aN == y._$V2) { + continue + } + do { + var aH = this._$aS[aN] + var aI = this._$8b[aN] + if (aI._$yo()) { + var aJ = aI._$IP + var aL = this._$Hr[aJ] + aI._$VS = aL.getPartsOpacity() + aH.draw(aM, this, aI) + } + var aO = this._$Er[aN] + if (aO <= aN || aO == y._$W0) { + break + } + aN = aO + } while (true) + } + } + y.prototype.getParamIndex = function (aH) { + for (var aI = this._$pb.length - 1; aI >= 0; --aI) { + if (this._$pb[aI] == aH) { + return aI + } + } + return this._$02(aH, 0, y._$tr, y._$lr) + } + y.prototype._$BS = function (aH) { + return this.getBaseDataIndex(aH) + } + y.prototype.getBaseDataIndex = function (aH) { + for (var aI = this._$3S.length - 1; aI >= 0; --aI) { + if (this._$3S[aI] != null && this._$3S[aI].getBaseDataID() == aH) { + return aI + } + } + return -1 + } + y.prototype._$UT = function (aJ, aH) { + var aI = new Float32Array(aH) + P._$jT(aJ, 0, aI, 0, aJ.length) + return aI + } + y.prototype._$02 = function (aN, aM, aL, aH) { + if (this._$qo >= this._$pb.length) { + var aK = this._$pb.length + var aJ = new Array(aK * 2) + P._$jT(this._$pb, 0, aJ, 0, aK) + this._$pb = aJ + this._$_2 = this._$UT(this._$_2, aK * 2) + this._$vr = this._$UT(this._$vr, aK * 2) + this._$Rr = this._$UT(this._$Rr, aK * 2) + this._$Or = this._$UT(this._$Or, aK * 2) + var aI = new Array() + P._$jT(this._$Js, 0, aI, 0, aK) + this._$Js = aI + } + this._$pb[this._$qo] = aN + this._$_2[this._$qo] = aM + this._$vr[this._$qo] = aM + this._$Rr[this._$qo] = aL + this._$Or[this._$qo] = aH + this._$Js[this._$qo] = y._$ZS + return this._$qo++ + } + y.prototype._$Zo = function (aI, aH) { + this._$3S[aI] = aH + } + y.prototype.setParamFloat = function (aH, aI) { + if (aI < this._$Rr[aH]) { + aI = this._$Rr[aH] + } + if (aI > this._$Or[aH]) { + aI = this._$Or[aH] + } + this._$_2[aH] = aI + } + y.prototype.loadParam = function () { + var aH = this._$_2.length + if (aH > this._$fs.length) { + aH = this._$fs.length + } + P._$jT(this._$fs, 0, this._$_2, 0, aH) + } + y.prototype.saveParam = function () { + var aH = this._$_2.length + if (aH > this._$fs.length) { + this._$fs = new Float32Array(aH) + } + P._$jT(this._$_2, 0, this._$fs, 0, aH) + } + y.prototype._$v2 = function () { + return this._$co + } + y.prototype._$WS = function () { + return this._$QT + } + y.prototype._$Xb = function (aH) { + return this._$Js[aH] == y._$ZS + } + y.prototype._$vs = function () { + return this._$Es + } + y.prototype._$Tr = function () { + return this._$ZP + } + y.prototype.getBaseData = function (aH) { + return this._$3S[aH] + } + y.prototype.getParamFloat = function (aH) { + return this._$_2[aH] + } + y.prototype.getParamMax = function (aH) { + return this._$Or[aH] + } + y.prototype.getParamMin = function (aH) { + return this._$Rr[aH] + } + y.prototype.setPartsOpacity = function (aJ, aH) { + var aI = this._$Hr[aJ] + aI.setPartsOpacity(aH) + } + y.prototype.getPartsOpacity = function (aI) { + var aH = this._$Hr[aI] + return aH.getPartsOpacity() + } + y.prototype.getPartsDataIndex = function (aI) { + for (var aH = this._$F2.length - 1; aH >= 0; --aH) { + if (this._$F2[aH] != null && this._$F2[aH]._$p2() == aI) { + return aH + } + } + return -1 + } + y.prototype._$q2 = function (aH) { + return this._$db[aH] + } + y.prototype._$C2 = function (aH) { + return this._$8b[aH] + } + y.prototype._$Bb = function (aH) { + return this._$Hr[aH] + } + y.prototype._$5s = function (aO, aK) { + var aJ = this._$Ws.length + var aN = aO + for (var aL = 0; aL < aJ; ++aL) { + var aI = this._$Ws[aL] + if (aI == y._$V2) { + continue + } + do { + var aM = this._$8b[aI] + if (aM._$yo()) { + aM._$GT()._$B2(this, aM, aN) + aN += aK + } + var aH = this._$Er[aI] + if (aH <= aI || aH == y._$W0) { + break + } + aI = aH + } while (true) + } + } + y.prototype.setDrawParam = function (aH) { + this.dp_webgl = aH + } + y.prototype.getDrawParam = function () { + return this.dp_webgl + } + function ap() {} + ap._$0T = function (aH) { + return ap._$0T(new _$5(aH)) + } + ap._$0T = function (aJ) { + if (!aJ.exists()) { + throw new _$ls(aJ._$3b()) + } + var aH = aJ.length() + var aI = new Int8Array(aH) + var aM = new _$Xs(new _$kb(aJ), 8192) + var aK + var aL = 0 + while ((aK = aM.read(aI, aL, aH - aL)) > 0) { + aL += aK + } + return aI + } + ap._$C = function (aJ) { + var aI = null + var aL = null + try { + aI = aJ instanceof Array ? aJ : new _$Xs(aJ, 8192) + aL = new _$js() + var aM = 1000 + var aK + var aH = new Int8Array(aM) + while ((aK = aI.read(aH)) > 0) { + aL.write(aH, 0, aK) + } + return aL._$TS() + } finally { + if (aJ != null) { + aJ.close() + } + if (aL != null) { + aL.flush() + aL.close() + } + } + } + function ar() { + if (j) { + return + } + this._$12 = null + this._$bb = null + this._$_L = null + this._$jo = null + this._$iL = null + this._$0L = null + this._$Br = null + this._$Dr = null + this._$Cb = null + this._$mr = null + this._$_L = az.STATE_FIRST + this._$Br = 4000 + this._$Dr = 100 + this._$Cb = 50 + this._$mr = 150 + this._$jo = true + this._$iL = 'PARAM_EYE_L_OPEN' + this._$0L = 'PARAM_EYE_R_OPEN' + } + ar.prototype._$T2 = function () { + var aI = P.getUserTimeMSec() + var aH = Math._$10() + return aI + aH * (2 * this._$Br - 1) + } + ar.prototype._$uo = function (aH) { + this._$Br = aH + } + ar.prototype._$QS = function (aI, aH, aJ) { + this._$Dr = aI + this._$Cb = aH + this._$mr = aJ + } + ar.prototype._$7T = function (aI) { + var aK = P.getUserTimeMSec() + var aH + var aJ = 0 + switch (this._$_L) { + case STATE_CLOSING: + aJ = (aK - this._$bb) / this._$Dr + if (aJ >= 1) { + aJ = 1 + this._$_L = az.STATE_CLOSED + this._$bb = aK + } + aH = 1 - aJ + break + case STATE_CLOSED: + aJ = (aK - this._$bb) / this._$Cb + if (aJ >= 1) { + this._$_L = az.STATE_OPENING + this._$bb = aK + } + aH = 0 + break + case STATE_OPENING: + aJ = (aK - this._$bb) / this._$mr + if (aJ >= 1) { + aJ = 1 + this._$_L = az.STATE_INTERVAL + this._$12 = this._$T2() + } + aH = aJ + break + case STATE_INTERVAL: + if (this._$12 < aK) { + this._$_L = az.STATE_CLOSING + this._$bb = aK + } + aH = 1 + break + case STATE_FIRST: + default: + this._$_L = az.STATE_INTERVAL + this._$12 = this._$T2() + aH = 1 + break + } + if (!this._$jo) { + aH = -aH + } + aI.setParamFloat(this._$iL, aH) + aI.setParamFloat(this._$0L, aH) + } + var az = function () {} + az.STATE_FIRST = 'STATE_FIRST' + az.STATE_INTERVAL = 'STATE_INTERVAL' + az.STATE_CLOSING = 'STATE_CLOSING' + az.STATE_CLOSED = 'STATE_CLOSED' + az.STATE_OPENING = 'STATE_OPENING' + function x() { + if (j) { + return + } + ax.prototype.constructor.call(this) + this._$sb = new Int32Array(x._$As) + this._$U2 = new Array() + this.transform = null + this.gl = null + if (x._$NT == null) { + x._$NT = x._$9r(256) + x._$vS = x._$9r(256) + x._$no = x._$vb(256) + } + } + x.prototype = new ax() + x._$As = 32 + x._$Gr = false + x._$NT = null + x._$vS = null + x._$no = null + x._$9r = function (aH) { + var aI = new Float32Array(aH) + return aI + } + x._$vb = function (aH) { + var aI = new Int16Array(aH) + return aI + } + x._$cr = function (aI, aH) { + if (aI == null || aI._$yL() < aH.length) { + aI = x._$9r(aH.length * 2) + aI.put(aH) + aI._$oT(0) + } else { + aI.clear() + aI.put(aH) + aI._$oT(0) + } + return aI + } + x._$mb = function (aI, aH) { + if (aI == null || aI._$yL() < aH.length) { + aI = x._$vb(aH.length * 2) + aI.put(aH) + aI._$oT(0) + } else { + aI.clear() + aI.put(aH) + aI._$oT(0) + } + return aI + } + x._$Hs = function () { + return x._$Gr + } + x._$as = function (aH) { + x._$Gr = aH + } + x.prototype.setGL = function (aH) { + this.gl = aH + } + x.prototype.setTransform = function (aH) { + this.transform = aH + } + x.prototype._$ZT = function () {} + x.prototype._$Uo = function (aO, aH, aP, aI, aQ, aM, aK, aJ) { + if (aM < 0.01) { + return + } + var aL = this._$U2[aO] + var aN = aM > 0.9 ? Q.EXPAND_W : 0 + this.gl.drawElements(aL, aP, aI, aQ, aM, aN, this.transform, aJ) + } + x.prototype._$Rs = function () { + throw new Error('_$Rs') + } + x.prototype._$Ds = function (aH) { + throw new Error('_$Ds') + } + x.prototype._$K2 = function () { + for (var aH = 0; aH < this._$sb.length; aH++) { + var aI = this._$sb[aH] + if (aI != 0) { + this.gl._$Sr(1, this._$sb, aH) + this._$sb[aH] = 0 + } + } + } + x.prototype.setTexture = function (aI, aH) { + if (this._$sb.length < aI + 1) { + this._$nS(aI) + } + this._$sb[aI] = aH + } + x.prototype.setTexture = function (aH, aI) { + if (this._$sb.length < aH + 1) { + this._$nS(aH) + } + this._$U2[aH] = aI + } + x.prototype._$nS = function (aH) { + var aK = Math.max(this._$sb.length * 2, aH + 1 + 10) + var aI = new Int32Array(aK) + P._$jT(this._$sb, 0, aI, 0, this._$sb.length) + this._$sb = aI + var aJ = new Array() + P._$jT(this._$U2, 0, aJ, 0, this._$U2.length) + this._$U2 = aJ + } + function ab() { + if (j) { + return + } + c.prototype.constructor.call(this) + this._$GS = null + this._$Y0 = null + } + ab.prototype = new c() + ab._$Xo = new Float32Array(2) + ab._$io = new Float32Array(2) + ab._$0o = new Float32Array(2) + ab._$Lo = new Float32Array(2) + ab._$To = new Float32Array(2) + ab._$Po = new Float32Array(2) + ab._$gT = new Array() + ab.prototype._$zP = function () { + this._$GS = new g() + this._$GS._$zP() + this._$Y0 = new Array() + } + ab.prototype.getType = function () { + return c._$c2 + } + ab.prototype._$F0 = function (aH) { + c.prototype._$F0.call(this, aH) + this._$GS = aH._$nP() + this._$Y0 = aH._$nP() + c.prototype.readV2_opacity.call(this, aH) + } + ab.prototype.init = function (aH) { + var aI = new al(this) + aI._$Yr = new X() + if (this._$32()) { + aI._$Wr = new X() + } + return aI + } + ab.prototype._$Nr = function (bf, bx) { + if (!(this == bx._$GT())) { + console.log('### assert!! ### ') + } + var bm = bx + if (!this._$GS._$Ur(bf)) { + return + } + var bw = ab._$gT + bw[0] = false + var a2 = this._$GS._$Q2(bf, bw) + bx._$Ib(bw[0]) + this.interpolateOpacity(bf, this._$GS, bx, bw) + var a3 = bf._$vs() + var ba = bf._$Tr() + this._$GS._$zr(a3, ba, a2) + if (a2 <= 0) { + var bn = this._$Y0[a3[0]] + bm._$Yr.init(bn) + } else { + if (a2 == 1) { + var bn = this._$Y0[a3[0]] + var bl = this._$Y0[a3[1]] + var a9 = ba[0] + bm._$Yr._$fL = bn._$fL + (bl._$fL - bn._$fL) * a9 + bm._$Yr._$gL = bn._$gL + (bl._$gL - bn._$gL) * a9 + bm._$Yr._$B0 = bn._$B0 + (bl._$B0 - bn._$B0) * a9 + bm._$Yr._$z0 = bn._$z0 + (bl._$z0 - bn._$z0) * a9 + bm._$Yr._$qT = bn._$qT + (bl._$qT - bn._$qT) * a9 + } else { + if (a2 == 2) { + var bn = this._$Y0[a3[0]] + var bl = this._$Y0[a3[1]] + var a1 = this._$Y0[a3[2]] + var a0 = this._$Y0[a3[3]] + var a9 = ba[0] + var a8 = ba[1] + var bC = bn._$fL + (bl._$fL - bn._$fL) * a9 + var bB = a1._$fL + (a0._$fL - a1._$fL) * a9 + bm._$Yr._$fL = bC + (bB - bC) * a8 + bC = bn._$gL + (bl._$gL - bn._$gL) * a9 + bB = a1._$gL + (a0._$gL - a1._$gL) * a9 + bm._$Yr._$gL = bC + (bB - bC) * a8 + bC = bn._$B0 + (bl._$B0 - bn._$B0) * a9 + bB = a1._$B0 + (a0._$B0 - a1._$B0) * a9 + bm._$Yr._$B0 = bC + (bB - bC) * a8 + bC = bn._$z0 + (bl._$z0 - bn._$z0) * a9 + bB = a1._$z0 + (a0._$z0 - a1._$z0) * a9 + bm._$Yr._$z0 = bC + (bB - bC) * a8 + bC = bn._$qT + (bl._$qT - bn._$qT) * a9 + bB = a1._$qT + (a0._$qT - a1._$qT) * a9 + bm._$Yr._$qT = bC + (bB - bC) * a8 + } else { + if (a2 == 3) { + var aP = this._$Y0[a3[0]] + var aO = this._$Y0[a3[1]] + var bu = this._$Y0[a3[2]] + var bs = this._$Y0[a3[3]] + var aK = this._$Y0[a3[4]] + var aJ = this._$Y0[a3[5]] + var bj = this._$Y0[a3[6]] + var bi = this._$Y0[a3[7]] + var a9 = ba[0] + var a8 = ba[1] + var a6 = ba[2] + var bC = aP._$fL + (aO._$fL - aP._$fL) * a9 + var bB = bu._$fL + (bs._$fL - bu._$fL) * a9 + var bz = aK._$fL + (aJ._$fL - aK._$fL) * a9 + var by = bj._$fL + (bi._$fL - bj._$fL) * a9 + bm._$Yr._$fL = + (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8) + bC = aP._$gL + (aO._$gL - aP._$gL) * a9 + bB = bu._$gL + (bs._$gL - bu._$gL) * a9 + bz = aK._$gL + (aJ._$gL - aK._$gL) * a9 + by = bj._$gL + (bi._$gL - bj._$gL) * a9 + bm._$Yr._$gL = + (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8) + bC = aP._$B0 + (aO._$B0 - aP._$B0) * a9 + bB = bu._$B0 + (bs._$B0 - bu._$B0) * a9 + bz = aK._$B0 + (aJ._$B0 - aK._$B0) * a9 + by = bj._$B0 + (bi._$B0 - bj._$B0) * a9 + bm._$Yr._$B0 = + (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8) + bC = aP._$z0 + (aO._$z0 - aP._$z0) * a9 + bB = bu._$z0 + (bs._$z0 - bu._$z0) * a9 + bz = aK._$z0 + (aJ._$z0 - aK._$z0) * a9 + by = bj._$z0 + (bi._$z0 - bj._$z0) * a9 + bm._$Yr._$z0 = + (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8) + bC = aP._$qT + (aO._$qT - aP._$qT) * a9 + bB = bu._$qT + (bs._$qT - bu._$qT) * a9 + bz = aK._$qT + (aJ._$qT - aK._$qT) * a9 + by = bj._$qT + (bi._$qT - bj._$qT) * a9 + bm._$Yr._$qT = + (1 - a6) * (bC + (bB - bC) * a8) + a6 * (bz + (by - bz) * a8) + } else { + if (a2 == 4) { + var aT = this._$Y0[a3[0]] + var aS = this._$Y0[a3[1]] + var bE = this._$Y0[a3[2]] + var bD = this._$Y0[a3[3]] + var aN = this._$Y0[a3[4]] + var aM = this._$Y0[a3[5]] + var bp = this._$Y0[a3[6]] + var bo = this._$Y0[a3[7]] + var bh = this._$Y0[a3[8]] + var bg = this._$Y0[a3[9]] + var aY = this._$Y0[a3[10]] + var aW = this._$Y0[a3[11]] + var a7 = this._$Y0[a3[12]] + var a5 = this._$Y0[a3[13]] + var aR = this._$Y0[a3[14]] + var aQ = this._$Y0[a3[15]] + var a9 = ba[0] + var a8 = ba[1] + var a6 = ba[2] + var a4 = ba[3] + var bC = aT._$fL + (aS._$fL - aT._$fL) * a9 + var bB = bE._$fL + (bD._$fL - bE._$fL) * a9 + var bz = aN._$fL + (aM._$fL - aN._$fL) * a9 + var by = bp._$fL + (bo._$fL - bp._$fL) * a9 + var bv = bh._$fL + (bg._$fL - bh._$fL) * a9 + var bt = aY._$fL + (aW._$fL - aY._$fL) * a9 + var br = a7._$fL + (a5._$fL - a7._$fL) * a9 + var bq = aR._$fL + (aQ._$fL - aR._$fL) * a9 + bm._$Yr._$fL = + (1 - a4) * + ((1 - a6) * (bC + (bB - bC) * a8) + + a6 * (bz + (by - bz) * a8)) + + a4 * + ((1 - a6) * (bv + (bt - bv) * a8) + + a6 * (br + (bq - br) * a8)) + bC = aT._$gL + (aS._$gL - aT._$gL) * a9 + bB = bE._$gL + (bD._$gL - bE._$gL) * a9 + bz = aN._$gL + (aM._$gL - aN._$gL) * a9 + by = bp._$gL + (bo._$gL - bp._$gL) * a9 + bv = bh._$gL + (bg._$gL - bh._$gL) * a9 + bt = aY._$gL + (aW._$gL - aY._$gL) * a9 + br = a7._$gL + (a5._$gL - a7._$gL) * a9 + bq = aR._$gL + (aQ._$gL - aR._$gL) * a9 + bm._$Yr._$gL = + (1 - a4) * + ((1 - a6) * (bC + (bB - bC) * a8) + + a6 * (bz + (by - bz) * a8)) + + a4 * + ((1 - a6) * (bv + (bt - bv) * a8) + + a6 * (br + (bq - br) * a8)) + bC = aT._$B0 + (aS._$B0 - aT._$B0) * a9 + bB = bE._$B0 + (bD._$B0 - bE._$B0) * a9 + bz = aN._$B0 + (aM._$B0 - aN._$B0) * a9 + by = bp._$B0 + (bo._$B0 - bp._$B0) * a9 + bv = bh._$B0 + (bg._$B0 - bh._$B0) * a9 + bt = aY._$B0 + (aW._$B0 - aY._$B0) * a9 + br = a7._$B0 + (a5._$B0 - a7._$B0) * a9 + bq = aR._$B0 + (aQ._$B0 - aR._$B0) * a9 + bm._$Yr._$B0 = + (1 - a4) * + ((1 - a6) * (bC + (bB - bC) * a8) + + a6 * (bz + (by - bz) * a8)) + + a4 * + ((1 - a6) * (bv + (bt - bv) * a8) + + a6 * (br + (bq - br) * a8)) + bC = aT._$z0 + (aS._$z0 - aT._$z0) * a9 + bB = bE._$z0 + (bD._$z0 - bE._$z0) * a9 + bz = aN._$z0 + (aM._$z0 - aN._$z0) * a9 + by = bp._$z0 + (bo._$z0 - bp._$z0) * a9 + bv = bh._$z0 + (bg._$z0 - bh._$z0) * a9 + bt = aY._$z0 + (aW._$z0 - aY._$z0) * a9 + br = a7._$z0 + (a5._$z0 - a7._$z0) * a9 + bq = aR._$z0 + (aQ._$z0 - aR._$z0) * a9 + bm._$Yr._$z0 = + (1 - a4) * + ((1 - a6) * (bC + (bB - bC) * a8) + + a6 * (bz + (by - bz) * a8)) + + a4 * + ((1 - a6) * (bv + (bt - bv) * a8) + + a6 * (br + (bq - br) * a8)) + bC = aT._$qT + (aS._$qT - aT._$qT) * a9 + bB = bE._$qT + (bD._$qT - bE._$qT) * a9 + bz = aN._$qT + (aM._$qT - aN._$qT) * a9 + by = bp._$qT + (bo._$qT - bp._$qT) * a9 + bv = bh._$qT + (bg._$qT - bh._$qT) * a9 + bt = aY._$qT + (aW._$qT - aY._$qT) * a9 + br = a7._$qT + (a5._$qT - a7._$qT) * a9 + bq = aR._$qT + (aQ._$qT - aR._$qT) * a9 + bm._$Yr._$qT = + (1 - a4) * + ((1 - a6) * (bC + (bB - bC) * a8) + + a6 * (bz + (by - bz) * a8)) + + a4 * + ((1 - a6) * (bv + (bt - bv) * a8) + + a6 * (br + (bq - br) * a8)) + } else { + var aV = Math.pow(2, a2) | 0 + var aZ = new Float32Array(aV) + for (var bk = 0; bk < aV; bk++) { + var aI = bk + var aH = 1 + for (var aL = 0; aL < a2; aL++) { + aH *= aI % 2 == 0 ? 1 - ba[aL] : ba[aL] + aI /= 2 + } + aZ[bk] = aH + } + var bA = new Array() + for (var aU = 0; aU < aV; aU++) { + bA[aU] = this._$Y0[a3[aU]] + } + var be = 0, + bc = 0, + bd = 0, + bb = 0, + aX = 0 + for (var aU = 0; aU < aV; aU++) { + be += aZ[aU] * bA[aU]._$fL + bc += aZ[aU] * bA[aU]._$gL + bd += aZ[aU] * bA[aU]._$B0 + bb += aZ[aU] * bA[aU]._$z0 + aX += aZ[aU] * bA[aU]._$qT + } + bm._$Yr._$fL = be + bm._$Yr._$gL = bc + bm._$Yr._$B0 = bd + bm._$Yr._$z0 = bb + bm._$Yr._$qT = aX + } + } + } + } + } + var bn = this._$Y0[a3[0]] + bm._$Yr.reflectX = bn.reflectX + bm._$Yr.reflectY = bn.reflectY + } + ab.prototype._$2b = function (aM, aH) { + if (!(this == aH._$GT())) { + console.log('### assert!! ### ') + } + var aR = aH + aR._$hS(true) + if (!this._$32()) { + aR.setTotalScale_notForClient(aR._$Yr._$B0) + aR.setTotalOpacity(aR.getInterpolatedOpacity()) + } else { + var aT = this.getTargetBaseDataID() + if (aR._$8r == c._$ur) { + aR._$8r = aM.getBaseDataIndex(aT) + } + if (aR._$8r < 0) { + if (Q._$so) { + q._$li('_$L _$0P _$G :: %s', aT) + } + aR._$hS(false) + } else { + var aI = aM.getBaseData(aR._$8r) + if (aI != null) { + var aL = aM._$q2(aR._$8r) + var aS = ab._$Xo + aS[0] = aR._$Yr._$fL + aS[1] = aR._$Yr._$gL + var aJ = ab._$io + aJ[0] = 0 + aJ[1] = -0.1 + var aO = aL._$GT().getType() + if (aO == c._$c2) { + aJ[1] = -10 + } else { + aJ[1] = -0.1 + } + var aQ = ab._$0o + this._$Jr(aM, aI, aL, aS, aJ, aQ) + var aP = aC._$92(aJ, aQ) + aI._$nb(aM, aL, aS, aS, 1, 0, 2) + aR._$Wr._$fL = aS[0] + aR._$Wr._$gL = aS[1] + aR._$Wr._$B0 = aR._$Yr._$B0 + aR._$Wr._$z0 = aR._$Yr._$z0 + aR._$Wr._$qT = aR._$Yr._$qT - aP * aC._$NS + var aK = aL.getTotalScale() + aR.setTotalScale_notForClient(aK * aR._$Wr._$B0) + var aN = aL.getTotalOpacity() + aR.setTotalOpacity(aN * aR.getInterpolatedOpacity()) + aR._$Wr.reflectX = aR._$Yr.reflectX + aR._$Wr.reflectY = aR._$Yr.reflectY + aR._$hS(aL._$yo()) + } else { + aR._$hS(false) + } + } + } + } + ab.prototype._$nb = function (aJ, aR, aL, a4, aT, aO, a2) { + if (!(this == aR._$GT())) { + console.log('### assert!! ### ') + } + var aH = aR + var aU = aH._$Wr != null ? aH._$Wr : aH._$Yr + var a0 = Math.sin(aC._$bS * aU._$qT) + var aP = Math.cos(aC._$bS * aU._$qT) + var a3 = aH.getTotalScale() + var aW = aU.reflectX ? -1 : 1 + var aV = aU.reflectY ? -1 : 1 + var aS = aP * a3 * aW + var aQ = -a0 * a3 * aV + var a1 = a0 * a3 * aW + var aZ = aP * a3 * aV + var aY = aU._$fL + var aX = aU._$gL + var aN, aM + var aI = aT * a2 + for (var aK = aO; aK < aI; aK += a2) { + aN = aL[aK] + aM = aL[aK + 1] + a4[aK] = aS * aN + aQ * aM + aY + a4[aK + 1] = a1 * aN + aZ * aM + aX + } + } + ab.prototype._$Jr = function (aP, aK, aI, aR, aQ, aH) { + if (!(aK == aI._$GT())) { + console.log('### assert!! ### ') + } + var aO = ab._$Lo + ab._$Lo[0] = aR[0] + ab._$Lo[1] = aR[1] + aK._$nb(aP, aI, aO, aO, 1, 0, 2) + var aL = ab._$To + var aS = ab._$Po + var aN = 10 + var aJ = 1 + for (var aM = 0; aM < aN; aM++) { + aS[0] = aR[0] + aJ * aQ[0] + aS[1] = aR[1] + aJ * aQ[1] + aK._$nb(aP, aI, aS, aL, 1, 0, 2) + aL[0] -= aO[0] + aL[1] -= aO[1] + if (aL[0] != 0 || aL[1] != 0) { + aH[0] = aL[0] + aH[1] = aL[1] + return + } + aS[0] = aR[0] - aJ * aQ[0] + aS[1] = aR[1] - aJ * aQ[1] + aK._$nb(aP, aI, aS, aL, 1, 0, 2) + aL[0] -= aO[0] + aL[1] -= aO[1] + if (aL[0] != 0 || aL[1] != 0) { + aL[0] = -aL[0] + aL[0] = -aL[0] + aH[0] = aL[0] + aH[1] = aL[1] + return + } + aJ *= 0.1 + } + if (Q._$so) { + console.log('_$L0 to transform _$SP\n') + } + } + function al(aH) { + B.prototype.constructor.call(this, aH) + this._$8r = c._$ur + this._$Yr = null + this._$Wr = null + } + al.prototype = new B() + function a() { + if (j) { + return + } + ae.prototype.constructor.call(this) + this._$gP = null + this._$dr = null + this._$GS = null + this._$qb = null + this._$Lb = null + this._$mS = null + } + a.prototype = new ae() + a._$ur = -2 + a._$ES = 500 + a._$wb = 2 + a._$8S = 3 + a._$os = 4 + a._$52 = a._$ES + a._$R2 = a._$ES + a._$Sb = function (aJ) { + for (var aI = aJ.length - 1; aI >= 0; --aI) { + var aH = aJ[aI] + if (aH < a._$52) { + a._$52 = aH + } else { + if (aH > a._$R2) { + a._$R2 = aH + } + } + } + } + a._$or = function () { + return a._$52 + } + a._$Pr = function () { + return a._$R2 + } + a.prototype._$F0 = function (aH) { + this._$gP = aH._$nP() + this._$dr = aH._$nP() + this._$GS = aH._$nP() + this._$qb = aH._$6L() + this._$Lb = aH._$cS() + this._$mS = aH._$Tb() + if (aH.getFormatVersion() >= ay._$T7) { + this.clipID = aH._$nP() + this.clipIDList = this.convertClipIDForV2_11(this.clipID) + } else { + this.clipIDList = null + } + a._$Sb(this._$Lb) + } + a.prototype.getClipIDList = function () { + return this.clipIDList + } + a.prototype._$Nr = function (aI, aH) { + aH._$IS[0] = false + aH._$Us = aG._$Z2(aI, this._$GS, aH._$IS, this._$Lb) + if (Q._$Zs) { + } else { + if (aH._$IS[0]) { + return + } + } + aH._$7s = aG._$br(aI, this._$GS, aH._$IS, this._$mS) + } + a.prototype._$2b = function (aH) {} + a.prototype.getDrawDataID = function () { + return this._$gP + } + a.prototype._$j2 = function (aH) { + this._$gP = aH + } + a.prototype.getOpacity = function (aH, aI) { + return aI._$7s + } + a.prototype._$zS = function (aH, aI) { + return aI._$Us + } + a.prototype.getTargetBaseDataID = function () { + return this._$dr + } + a.prototype._$gs = function (aH) { + this._$dr = aH + } + a.prototype._$32 = function () { + return this._$dr != null && this._$dr != n._$2o() + } + a.prototype.getType = function () {} + function aq() { + if (j) { + return + } + this._$NL = null + this._$3S = null + this._$aS = null + aq._$42++ + } + aq._$42 = 0 + aq.prototype._$1b = function () { + return this._$3S + } + aq.prototype.getDrawDataList = function () { + return this._$aS + } + aq.prototype._$F0 = function (aH) { + this._$NL = aH._$nP() + this._$aS = aH._$nP() + this._$3S = aH._$nP() + } + aq.prototype._$kr = function (aH) { + aH._$Zo(this._$3S) + aH._$xo(this._$aS) + this._$3S = null + this._$aS = null + } + function v() { + if (j) { + return + } + aa.prototype.constructor.call(this) + this._$zo = new x() + } + v.prototype = new aa() + v.loadModel = function (aI) { + var aH = new v() + aa._$62(aH, aI) + return aH + } + v.loadModel = function (aI) { + var aH = new v() + aa._$62(aH, aI) + return aH + } + v._$to = function () { + var aH = new v() + return aH + } + v._$er = function (aM) { + var aJ = new _$5('../_$_r/_$t0/_$Ri/_$_P._$d') + if (aJ.exists() == false) { + throw new _$ls('_$t0 _$_ _$6 _$Ui :: ' + aJ._$PL()) + } + var aH = [ + '../_$_r/_$t0/_$Ri/_$_P.512/_$CP._$1', + '../_$_r/_$t0/_$Ri/_$_P.512/_$vP._$1', + '../_$_r/_$t0/_$Ri/_$_P.512/_$EP._$1', + '../_$_r/_$t0/_$Ri/_$_P.512/_$pP._$1', + ] + var aK = v.loadModel(aJ._$3b()) + for (var aI = 0; aI < aH.length; aI++) { + var aL = new _$5(aH[aI]) + if (aL.exists() == false) { + throw new _$ls('_$t0 _$_ _$6 _$Ui :: ' + aL._$PL()) + } + aK.setTexture(aI, _$nL._$_o(aM, aL._$3b())) + } + return aK + } + v.prototype.setGL = function (aH) { + this._$zo.setGL(aH) + } + v.prototype.setTransform = function (aH) { + this._$zo.setTransform(aH) + } + v.prototype.draw = function () { + this._$5S.draw(this._$zo) + } + v.prototype._$K2 = function () { + this._$zo._$K2() + } + v.prototype.setTexture = function (aI, aH) { + if (this._$zo == null) { + q._$li('_$Yi for QT _$ki / _$XS() is _$6 _$ui!!') + } + this._$zo.setTexture(aI, aH) + } + v.prototype.setTexture = function (aI, aH) { + if (this._$zo == null) { + q._$li('_$Yi for QT _$ki / _$XS() is _$6 _$ui!!') + } + this._$zo.setTexture(aI, aH) + } + v.prototype._$Rs = function () { + return this._$zo._$Rs() + } + v.prototype._$Ds = function (aH) { + this._$zo._$Ds(aH) + } + v.prototype.getDrawParam = function () { + return this._$zo + } + function ao() { + if (j) { + return + } + ah.prototype.constructor.call(this) + this.motions = new Array() + this._$o2 = null + this._$7r = ao._$Co++ + this._$D0 = 30 + this._$yT = 0 + this._$E = false + this.loopFadeIn = true + this._$rr = -1 + this._$eP = 0 + } + ao.prototype = new ah() + ao._$cs = 'VISIBLE:' + ao._$ar = 'LAYOUT:' + ao.MTN_PREFIX_FADEIN = 'FADEIN:' + ao.MTN_PREFIX_FADEOUT = 'FADEOUT:' + ao._$Co = 0 + ao._$1T = 1 + ao.loadMotion = function (aJ) { + var aI = ap._$C(aJ) + var aH = ao.loadMotion(aI) + return aH + } + function p(aI, aH) { + return String.fromCharCode(aI.getUint8(aH)) + } + ao.loadMotion = function (aT) { + if (aT instanceof ArrayBuffer) { + aT = new DataView(aT) + } + var aN = new ao() + var aI = [0] + var aQ = aT.byteLength + aN._$yT = 0 + for (var aJ = 0; aJ < aQ; ++aJ) { + var aS = p(aT, aJ) + var aL = aS.charCodeAt(0) + if (aS == '\n' || aS == '\r') { + continue + } + if (aS == '#') { + for (; aJ < aQ; ++aJ) { + if (p(aT, aJ) == '\n' || p(aT, aJ) == '\r') { + break + } + } + continue + } + if (aS == '$') { + var aV = aJ + var aK = -1 + for (; aJ < aQ; ++aJ) { + aS = p(aT, aJ) + if (aS == '\r' || aS == '\n') { + break + } + if (aS == '=') { + aK = aJ + break + } + } + var aP = false + if (aK >= 0) { + if ( + aK == aV + 4 && + p(aT, aV + 1) == 'f' && + p(aT, aV + 2) == 'p' && + p(aT, aV + 3) == 's' + ) { + aP = true + } + for (aJ = aK + 1; aJ < aQ; ++aJ) { + aS = p(aT, aJ) + if (aS == '\r' || aS == '\n') { + break + } + if (aS == ',' || aS == ' ' || aS == '\t') { + continue + } + var aM = G._$LS(aT, aQ, aJ, aI) + if (aI[0] > 0) { + if (aP && 5 < aM && aM < 121) { + aN._$D0 = aM + } + } + aJ = aI[0] + } + } + for (; aJ < aQ; ++aJ) { + if (p(aT, aJ) == '\n' || p(aT, aJ) == '\r') { + break + } + } + continue + } + if ((97 <= aL && aL <= 122) || (65 <= aL && aL <= 90) || aS == '_') { + var aV = aJ + var aK = -1 + for (; aJ < aQ; ++aJ) { + aS = p(aT, aJ) + if (aS == '\r' || aS == '\n') { + break + } + if (aS == '=') { + aK = aJ + break + } + } + if (aK >= 0) { + var aO = new t() + if (G.startsWith(aT, aV, ao._$cs)) { + aO._$RP = t._$hs + aO._$4P = G.createString(aT, aV, aK - aV) + } else { + if (G.startsWith(aT, aV, ao._$ar)) { + aO._$4P = G.createString(aT, aV + 7, aK - aV - 7) + if (G.startsWith(aT, aV + 7, 'ANCHOR_X')) { + aO._$RP = t._$xs + } else { + if (G.startsWith(aT, aV + 7, 'ANCHOR_Y')) { + aO._$RP = t._$us + } else { + if (G.startsWith(aT, aV + 7, 'SCALE_X')) { + aO._$RP = t._$qs + } else { + if (G.startsWith(aT, aV + 7, 'SCALE_Y')) { + aO._$RP = t._$Ys + } else { + if (G.startsWith(aT, aV + 7, 'X')) { + aO._$RP = t._$ws + } else { + if (G.startsWith(aT, aV + 7, 'Y')) { + aO._$RP = t._$Ns + } + } + } + } + } + } + } else { + aO._$RP = t._$Fr + aO._$4P = G.createString(aT, aV, aK - aV) + } + } + aN.motions.push(aO) + var aU = 0 + var aR = [] + for (aJ = aK + 1; aJ < aQ; ++aJ) { + aS = p(aT, aJ) + if (aS == '\r' || aS == '\n') { + break + } + if (aS == ',' || aS == ' ' || aS == '\t') { + continue + } + var aM = G._$LS(aT, aQ, aJ, aI) + if (aI[0] > 0) { + aR.push(aM) + aU++ + var aH = aI[0] + if (aH < aJ) { + console.log('_$n0 _$hi . @Live2DMotion loadMotion()\n') + break + } + aJ = aH - 1 + } + } + aO._$I0 = new Float32Array(aR) + if (aU > aN._$yT) { + aN._$yT = aU + } + } + } + } + aN._$rr = ((1000 * aN._$yT) / aN._$D0) | 0 + return aN + } + ao.prototype.getDurationMSec = function () { + return this._$E ? -1 : this._$rr + } + ao.prototype.getLoopDurationMSec = function () { + return this._$rr + } + ao.prototype.dump = function () { + for (var aJ = 0; aJ < this.motions.length; aJ++) { + var aH = this.motions[aJ] + console.log('_$wL[%s] [%d]. ', aH._$4P, aH._$I0.length) + for (var aI = 0; aI < aH._$I0.length && aI < 10; aI++) { + console.log('%5.2f ,', aH._$I0[aI]) + } + console.log('\n') + } + } + ao.prototype.updateParamExe = function (aJ, aN, aQ, a3) { + var aO = aN - a3._$z2 + var a0 = (aO * this._$D0) / 1000 + var aK = a0 | 0 + var aR = a0 - aK + for (var aZ = 0; aZ < this.motions.length; aZ++) { + var aV = this.motions[aZ] + var aL = aV._$I0.length + var aT = aV._$4P + if (aV._$RP == t._$hs) { + var aX = aV._$I0[aK >= aL ? aL - 1 : aK] + aJ.setParamFloat(aT, aX) + } else { + if (t._$ws <= aV._$RP && aV._$RP <= t._$Ys) { + } else { + var aH = aJ.getParamIndex(aT) + var a4 = aJ.getModelContext() + var aY = a4.getParamMax(aH) + var aW = a4.getParamMin(aH) + var aM = 0.4 + var aS = aM * (aY - aW) + var aU = a4.getParamFloat(aH) + var a2 = aV._$I0[aK >= aL ? aL - 1 : aK] + var a1 = aV._$I0[aK + 1 >= aL ? aL - 1 : aK + 1] + var aI + if ((a2 < a1 && a1 - a2 > aS) || (a2 > a1 && a2 - a1 > aS)) { + aI = a2 + } else { + aI = a2 + (a1 - a2) * aR + } + var aP = aU + (aI - aU) * aQ + aJ.setParamFloat(aT, aP) + } + } + } + if (aK >= this._$yT) { + if (this._$E) { + a3._$z2 = aN + if (this.loopFadeIn) { + a3._$bs = aN + } + } else { + a3._$9L = true + } + } + this._$eP = aQ + } + ao.prototype._$r0 = function () { + return this._$E + } + ao.prototype._$aL = function (aH) { + this._$E = aH + } + ao.prototype._$S0 = function () { + return this._$D0 + } + ao.prototype._$U0 = function (aH) { + this._$D0 = aH + } + ao.prototype.isLoopFadeIn = function () { + return this.loopFadeIn + } + ao.prototype.setLoopFadeIn = function (aH) { + this.loopFadeIn = aH + } + function aE() { + this._$P = new Float32Array(100) + this.size = 0 + } + aE.prototype.clear = function () { + this.size = 0 + } + aE.prototype.add = function (aI) { + if (this._$P.length <= this.size) { + var aH = new Float32Array(this.size * 2) + P._$jT(this._$P, 0, aH, 0, this.size) + this._$P = aH + } + this._$P[this.size++] = aI + } + aE.prototype._$BL = function () { + var aH = new Float32Array(this.size) + P._$jT(this._$P, 0, aH, 0, this.size) + return aH + } + function t() { + this._$4P = null + this._$I0 = null + this._$RP = null + } + t._$Fr = 0 + t._$hs = 1 + t._$ws = 100 + t._$Ns = 101 + t._$xs = 102 + t._$us = 103 + t._$qs = 104 + t._$Ys = 105 + function E() { + if (j) { + return + } + c.prototype.constructor.call(this) + this._$o = 0 + this._$A = 0 + this._$GS = null + this._$Eo = null + } + E.prototype = new c() + E._$gT = new Array() + E.prototype._$zP = function () { + this._$GS = new g() + this._$GS._$zP() + } + E.prototype._$F0 = function (aH) { + c.prototype._$F0.call(this, aH) + this._$A = aH._$6L() + this._$o = aH._$6L() + this._$GS = aH._$nP() + this._$Eo = aH._$nP() + c.prototype.readV2_opacity.call(this, aH) + } + E.prototype.init = function (aH) { + var aI = new H(this) + var aJ = (this._$o + 1) * (this._$A + 1) + if (aI._$Cr != null) { + aI._$Cr = null + } + aI._$Cr = new Float32Array(aJ * 2) + if (aI._$hr != null) { + aI._$hr = null + } + if (this._$32()) { + aI._$hr = new Float32Array(aJ * 2) + } else { + aI._$hr = null + } + return aI + } + E.prototype._$Nr = function (aJ, aI) { + var aK = aI + if (!this._$GS._$Ur(aJ)) { + return + } + var aL = this._$VT() + var aH = E._$gT + aH[0] = false + aG._$Vr(aJ, this._$GS, aH, aL, this._$Eo, aK._$Cr, 0, 2) + aI._$Ib(aH[0]) + this.interpolateOpacity(aJ, this._$GS, aI, aH) + } + E.prototype._$2b = function (aK, aJ) { + var aL = aJ + aL._$hS(true) + if (!this._$32()) { + aL.setTotalOpacity(aL.getInterpolatedOpacity()) + } else { + var aH = this.getTargetBaseDataID() + if (aL._$8r == c._$ur) { + aL._$8r = aK.getBaseDataIndex(aH) + } + if (aL._$8r < 0) { + if (Q._$so) { + q._$li('_$L _$0P _$G :: %s', aH) + } + aL._$hS(false) + } else { + var aN = aK.getBaseData(aL._$8r) + var aI = aK._$q2(aL._$8r) + if (aN != null && aI._$yo()) { + var aM = aI.getTotalScale() + aL.setTotalScale_notForClient(aM) + var aO = aI.getTotalOpacity() + aL.setTotalOpacity(aO * aL.getInterpolatedOpacity()) + aN._$nb(aK, aI, aL._$Cr, aL._$hr, this._$VT(), 0, 2) + aL._$hS(true) + } else { + aL._$hS(false) + } + } + } + } + E.prototype._$nb = function (aL, aI, aH, aM, aO, aK, aJ) { + if (true) { + var aN = aI + var aP = aN._$hr != null ? aN._$hr : aN._$Cr + E.transformPoints_sdk2(aH, aM, aO, aK, aJ, aP, this._$o, this._$A) + } else { + this.transformPoints_sdk1(aL, aI, aH, aM, aO, aK, aJ) + } + } + E.transformPoints_sdk2 = function (a0, bc, a5, aP, aI, aR, aQ, aU) { + var aW = a5 * aI + var aV + var bn, bm + var aT = 0 + var aS = 0 + var bl = 0 + var bk = 0 + var bf = 0 + var be = 0 + var aZ = false + for (var ba = aP; ba < aW; ba += aI) { + var bd, a7, a4, aX + a4 = a0[ba] + aX = a0[ba + 1] + bd = a4 * aQ + a7 = aX * aU + if (bd < 0 || a7 < 0 || aQ <= bd || aU <= a7) { + var a1 = aQ + 1 + if (!aZ) { + aZ = true + aT = + 0.25 * + (aR[(0 + 0 * a1) * 2] + + aR[(aQ + 0 * a1) * 2] + + aR[(0 + aU * a1) * 2] + + aR[(aQ + aU * a1) * 2]) + aS = + 0.25 * + (aR[(0 + 0 * a1) * 2 + 1] + + aR[(aQ + 0 * a1) * 2 + 1] + + aR[(0 + aU * a1) * 2 + 1] + + aR[(aQ + aU * a1) * 2 + 1]) + var aM = aR[(aQ + aU * a1) * 2] - aR[(0 + 0 * a1) * 2] + var aL = aR[(aQ + aU * a1) * 2 + 1] - aR[(0 + 0 * a1) * 2 + 1] + var bh = aR[(aQ + 0 * a1) * 2] - aR[(0 + aU * a1) * 2] + var bg = aR[(aQ + 0 * a1) * 2 + 1] - aR[(0 + aU * a1) * 2 + 1] + bl = (aM + bh) * 0.5 + bk = (aL + bg) * 0.5 + bf = (aM - bh) * 0.5 + be = (aL - bg) * 0.5 + if (bl == 0 && bk == 0) { + } + if (bf == 0 && be == 0) { + } + aT -= 0.5 * (bl + bf) + aS -= 0.5 * (bk + be) + } + if (-2 < a4 && a4 < 3 && -2 < aX && aX < 3) { + if (a4 <= 0) { + if (aX <= 0) { + var a3 = aR[(0 + 0 * a1) * 2] + var a2 = aR[(0 + 0 * a1) * 2 + 1] + var a8 = aT - 2 * bl + var a6 = aS - 2 * bk + var aK = aT - 2 * bf + var aJ = aS - 2 * be + var aO = aT - 2 * bl - 2 * bf + var aN = aS - 2 * bk - 2 * be + var bj = 0.5 * (a4 - -2) + var bi = 0.5 * (aX - -2) + if (bj + bi <= 1) { + bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi + bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi + } else { + bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi) + bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi) + } + } else { + if (aX >= 1) { + var aK = aR[(0 + aU * a1) * 2] + var aJ = aR[(0 + aU * a1) * 2 + 1] + var aO = aT - 2 * bl + 1 * bf + var aN = aS - 2 * bk + 1 * be + var a3 = aT + 3 * bf + var a2 = aS + 3 * be + var a8 = aT - 2 * bl + 3 * bf + var a6 = aS - 2 * bk + 3 * be + var bj = 0.5 * (a4 - -2) + var bi = 0.5 * (aX - 1) + if (bj + bi <= 1) { + bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi + bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi + } else { + bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi) + bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi) + } + } else { + var aH = a7 | 0 + if (aH == aU) { + aH = aU - 1 + } + var bj = 0.5 * (a4 - -2) + var bi = a7 - aH + var bb = aH / aU + var a9 = (aH + 1) / aU + var aK = aR[(0 + aH * a1) * 2] + var aJ = aR[(0 + aH * a1) * 2 + 1] + var a3 = aR[(0 + (aH + 1) * a1) * 2] + var a2 = aR[(0 + (aH + 1) * a1) * 2 + 1] + var aO = aT - 2 * bl + bb * bf + var aN = aS - 2 * bk + bb * be + var a8 = aT - 2 * bl + a9 * bf + var a6 = aS - 2 * bk + a9 * be + if (bj + bi <= 1) { + bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi + bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi + } else { + bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi) + bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi) + } + } + } + } else { + if (1 <= a4) { + if (aX <= 0) { + var a8 = aR[(aQ + 0 * a1) * 2] + var a6 = aR[(aQ + 0 * a1) * 2 + 1] + var a3 = aT + 3 * bl + var a2 = aS + 3 * bk + var aO = aT + 1 * bl - 2 * bf + var aN = aS + 1 * bk - 2 * be + var aK = aT + 3 * bl - 2 * bf + var aJ = aS + 3 * bk - 2 * be + var bj = 0.5 * (a4 - 1) + var bi = 0.5 * (aX - -2) + if (bj + bi <= 1) { + bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi + bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi + } else { + bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi) + bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi) + } + } else { + if (aX >= 1) { + var aO = aR[(aQ + aU * a1) * 2] + var aN = aR[(aQ + aU * a1) * 2 + 1] + var aK = aT + 3 * bl + 1 * bf + var aJ = aS + 3 * bk + 1 * be + var a8 = aT + 1 * bl + 3 * bf + var a6 = aS + 1 * bk + 3 * be + var a3 = aT + 3 * bl + 3 * bf + var a2 = aS + 3 * bk + 3 * be + var bj = 0.5 * (a4 - 1) + var bi = 0.5 * (aX - 1) + if (bj + bi <= 1) { + bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi + bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi + } else { + bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi) + bc[ba + 1] = + a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi) + } + } else { + var aH = a7 | 0 + if (aH == aU) { + aH = aU - 1 + } + var bj = 0.5 * (a4 - 1) + var bi = a7 - aH + var bb = aH / aU + var a9 = (aH + 1) / aU + var aO = aR[(aQ + aH * a1) * 2] + var aN = aR[(aQ + aH * a1) * 2 + 1] + var a8 = aR[(aQ + (aH + 1) * a1) * 2] + var a6 = aR[(aQ + (aH + 1) * a1) * 2 + 1] + var aK = aT + 3 * bl + bb * bf + var aJ = aS + 3 * bk + bb * be + var a3 = aT + 3 * bl + a9 * bf + var a2 = aS + 3 * bk + a9 * be + if (bj + bi <= 1) { + bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi + bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi + } else { + bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi) + bc[ba + 1] = + a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi) + } + } + } + } else { + if (aX <= 0) { + var aY = bd | 0 + if (aY == aQ) { + aY = aQ - 1 + } + var bj = bd - aY + var bi = 0.5 * (aX - -2) + var bp = aY / aQ + var bo = (aY + 1) / aQ + var a8 = aR[(aY + 0 * a1) * 2] + var a6 = aR[(aY + 0 * a1) * 2 + 1] + var a3 = aR[(aY + 1 + 0 * a1) * 2] + var a2 = aR[(aY + 1 + 0 * a1) * 2 + 1] + var aO = aT + bp * bl - 2 * bf + var aN = aS + bp * bk - 2 * be + var aK = aT + bo * bl - 2 * bf + var aJ = aS + bo * bk - 2 * be + if (bj + bi <= 1) { + bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi + bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi + } else { + bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi) + bc[ba + 1] = a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi) + } + } else { + if (aX >= 1) { + var aY = bd | 0 + if (aY == aQ) { + aY = aQ - 1 + } + var bj = bd - aY + var bi = 0.5 * (aX - 1) + var bp = aY / aQ + var bo = (aY + 1) / aQ + var aO = aR[(aY + aU * a1) * 2] + var aN = aR[(aY + aU * a1) * 2 + 1] + var aK = aR[(aY + 1 + aU * a1) * 2] + var aJ = aR[(aY + 1 + aU * a1) * 2 + 1] + var a8 = aT + bp * bl + 3 * bf + var a6 = aS + bp * bk + 3 * be + var a3 = aT + bo * bl + 3 * bf + var a2 = aS + bo * bk + 3 * be + if (bj + bi <= 1) { + bc[ba] = aO + (aK - aO) * bj + (a8 - aO) * bi + bc[ba + 1] = aN + (aJ - aN) * bj + (a6 - aN) * bi + } else { + bc[ba] = a3 + (a8 - a3) * (1 - bj) + (aK - a3) * (1 - bi) + bc[ba + 1] = + a2 + (a6 - a2) * (1 - bj) + (aJ - a2) * (1 - bi) + } + } else { + System.err.printf( + '_$li calc : %.4f , %.4f @@BDBoxGrid\n', + a4, + aX + ) + } + } + } + } + } else { + bc[ba] = aT + a4 * bl + aX * bf + bc[ba + 1] = aS + a4 * bk + aX * be + } + } else { + bn = bd - (bd | 0) + bm = a7 - (a7 | 0) + aV = 2 * ((bd | 0) + (a7 | 0) * (aQ + 1)) + if (bn + bm < 1) { + bc[ba] = + aR[aV] * (1 - bn - bm) + + aR[aV + 2] * bn + + aR[aV + 2 * (aQ + 1)] * bm + bc[ba + 1] = + aR[aV + 1] * (1 - bn - bm) + + aR[aV + 3] * bn + + aR[aV + 2 * (aQ + 1) + 1] * bm + } else { + bc[ba] = + aR[aV + 2 * (aQ + 1) + 2] * (bn - 1 + bm) + + aR[aV + 2 * (aQ + 1)] * (1 - bn) + + aR[aV + 2] * (1 - bm) + bc[ba + 1] = + aR[aV + 2 * (aQ + 1) + 3] * (bn - 1 + bm) + + aR[aV + 2 * (aQ + 1) + 1] * (1 - bn) + + aR[aV + 3] * (1 - bm) + } + } + } + } + E.prototype.transformPoints_sdk1 = function (aJ, aR, aL, a0, aU, aP, aZ) { + var aH = aR + var aO, aN + var aM = this._$o + var aQ = this._$A + var aI = aU * aZ + var aS, aY + var aV + var aX, aW + var aT = aH._$hr != null ? aH._$hr : aH._$Cr + for (var aK = aP; aK < aI; aK += aZ) { + if (Q._$ts) { + aO = aL[aK] + aN = aL[aK + 1] + if (aO < 0) { + aO = 0 + } else { + if (aO > 1) { + aO = 1 + } + } + if (aN < 0) { + aN = 0 + } else { + if (aN > 1) { + aN = 1 + } + } + aO *= aM + aN *= aQ + aS = aO | 0 + aY = aN | 0 + if (aS > aM - 1) { + aS = aM - 1 + } + if (aY > aQ - 1) { + aY = aQ - 1 + } + aX = aO - aS + aW = aN - aY + aV = 2 * (aS + aY * (aM + 1)) + } else { + aO = aL[aK] * aM + aN = aL[aK + 1] * aQ + aX = aO - (aO | 0) + aW = aN - (aN | 0) + aV = 2 * ((aO | 0) + (aN | 0) * (aM + 1)) + } + if (aX + aW < 1) { + a0[aK] = + aT[aV] * (1 - aX - aW) + aT[aV + 2] * aX + aT[aV + 2 * (aM + 1)] * aW + a0[aK + 1] = + aT[aV + 1] * (1 - aX - aW) + + aT[aV + 3] * aX + + aT[aV + 2 * (aM + 1) + 1] * aW + } else { + a0[aK] = + aT[aV + 2 * (aM + 1) + 2] * (aX - 1 + aW) + + aT[aV + 2 * (aM + 1)] * (1 - aX) + + aT[aV + 2] * (1 - aW) + a0[aK + 1] = + aT[aV + 2 * (aM + 1) + 3] * (aX - 1 + aW) + + aT[aV + 2 * (aM + 1) + 1] * (1 - aX) + + aT[aV + 3] * (1 - aW) + } + } + } + E.prototype._$VT = function () { + return (this._$o + 1) * (this._$A + 1) + } + E.prototype.getType = function () { + return c._$_b + } + function H(aH) { + B.prototype.constructor.call(this, aH) + this._$8r = c._$ur + this._$Cr = null + this._$hr = null + } + H.prototype = new B() + function s() { + if (j) { + return + } + this.visible = true + this._$g0 = false + this._$NL = null + this._$3S = null + this._$aS = null + s._$42++ + } + s._$42 = 0 + s.prototype._$zP = function () { + this._$3S = new Array() + this._$aS = new Array() + } + s.prototype._$F0 = function (aH) { + this._$g0 = aH._$8L() + this.visible = aH._$8L() + this._$NL = aH._$nP() + this._$3S = aH._$nP() + this._$aS = aH._$nP() + } + s.prototype.init = function (aI) { + var aH = new aj(this) + aH.setPartsOpacity(this.isVisible() ? 1 : 0) + return aH + } + s.prototype._$6o = function (aH) { + if (this._$3S == null) { + throw new Error('_$3S _$6 _$Wo@_$6o') + } + this._$3S.push(aH) + } + s.prototype._$3o = function (aH) { + if (this._$aS == null) { + throw new Error('_$aS _$6 _$Wo@_$3o') + } + this._$aS.push(aH) + } + s.prototype._$Zo = function (aH) { + this._$3S = aH + } + s.prototype._$xo = function (aH) { + this._$aS = aH + } + s.prototype.isVisible = function () { + return this.visible + } + s.prototype._$uL = function () { + return this._$g0 + } + s.prototype._$KP = function (aH) { + this.visible = aH + } + s.prototype._$ET = function (aH) { + this._$g0 = aH + } + s.prototype.getBaseData = function () { + return this._$3S + } + s.prototype.getDrawData = function () { + return this._$aS + } + s.prototype._$p2 = function () { + return this._$NL + } + s.prototype._$ob = function (aH) { + this._$NL = aH + } + s.prototype.getPartsID = function () { + return this._$NL + } + s.prototype._$MP = function (aH) { + this._$NL = aH + } + function aj(aH) { + this._$VS = null + this._$e0 = null + this._$e0 = aH + } + aj.prototype = new S() + aj.prototype.getPartsOpacity = function () { + return this._$VS + } + aj.prototype.setPartsOpacity = function (aH) { + this._$VS = aH + } + function ak(aH) { + if (j) { + return + } + this.id = aH + } + ak._$L7 = function () { + z._$27() + n._$27() + Z._$27() + i._$27() + } + ak.prototype.toString = function () { + return this.id + } + function D() {} + D.prototype._$F0 = function (aH) {} + function an() { + if (j) { + return + } + this._$4S = null + } + an.prototype._$1s = function () { + return this._$4S + } + an.prototype._$zP = function () { + this._$4S = new Array() + } + an.prototype._$F0 = function (aH) { + this._$4S = aH._$nP() + } + an.prototype._$Ks = function (aH) { + this._$4S.push(aH) + } + function au(aH, aI) { + this.canvas = aH + this.context = aI + this.viewport = new Array(0, 0, aH.width, aH.height) + this._$6r = 1 + this._$xP = 0 + this._$3r = 1 + this._$uP = 0 + this._$Qo = -1 + this.cacheImages = {} + } + au.tr = new am() + au._$50 = new am() + au._$Ti = new Array(0, 0) + au._$Pi = new Array(0, 0) + au._$B = new Array(0, 0) + au.prototype._$lP = function (aI, aK, aJ, aH) { + this.viewport = new Array(aI, aK, aJ, aH) + } + au.prototype._$bL = function () { + this.context.save() + var aH = this.viewport + if (aH != null) { + this.context.beginPath() + this.context._$Li(aH[0], aH[1], aH[2], aH[3]) + this.context.clip() + } + } + au.prototype._$ei = function () { + this.context.restore() + } + au.prototype.drawElements = function (bc, bm, aX, aJ, bA, aM, bl, bz) { + try { + if (bA != this._$Qo) { + this._$Qo = bA + this.context.globalAlpha = bA + } + var a2 = bm.length + var aP = bc.width + var a5 = bc.height + var bE = this.context + var a7 = this._$xP + var a6 = this._$uP + var a1 = this._$6r + var aZ = this._$3r + var bD = au.tr + var aI = au._$Ti + var aH = au._$Pi + var bu = au._$B + for (var by = 0; by < a2; by += 3) { + bE.save() + var aW = bm[by] + var aV = bm[by + 1] + var aT = bm[by + 2] + var aL = a7 + a1 * aX[aW * 2] + var aK = a6 + aZ * aX[aW * 2 + 1] + var br = a7 + a1 * aX[aV * 2] + var bp = a6 + aZ * aX[aV * 2 + 1] + var bh = a7 + a1 * aX[aT * 2] + var bf = a6 + aZ * aX[aT * 2 + 1] + if (bl) { + bl._$PS(aL, aK, bu) + aL = bu[0] + aK = bu[1] + bl._$PS(br, bp, bu) + br = bu[0] + bp = bu[1] + bl._$PS(bh, bf, bu) + bh = bu[0] + bf = bu[1] + } + var aS = aP * aJ[aW * 2] + var aQ = a5 - a5 * aJ[aW * 2 + 1] + var bx = aP * aJ[aV * 2] + var bw = a5 - a5 * aJ[aV * 2 + 1] + var bk = aP * aJ[aT * 2] + var bj = a5 - a5 * aJ[aT * 2 + 1] + var a3 = Math.atan2(bw - aQ, bx - aS) + var a0 = Math.atan2(bp - aK, br - aL) + var aO = br - aL + var aN = bp - aK + var bi = Math.sqrt(aO * aO + aN * aN) + var aU = bx - aS + var aR = bw - aQ + var bt = Math.sqrt(aU * aU + aR * aR) + var bv = bi / bt + ad._$ni(bk, bj, aS, aQ, bx - aS, bw - aQ, -(bw - aQ), bx - aS, aI) + ad._$ni(bh, bf, aL, aK, br - aL, bp - aK, -(bp - aK), br - aL, aH) + var aY = (aH[0] - aI[0]) / aI[1] + var bs = Math.min(aS, bx, bk) + var bg = Math.max(aS, bx, bk) + var bq = Math.min(aQ, bw, bj) + var be = Math.max(aQ, bw, bj) + var bo = Math.floor(bs) + var bb = Math.floor(bq) + var a4 = Math.ceil(bg) + var bC = Math.ceil(be) + bD.identity() + bD.translate(aL, aK) + bD.rotate(a0) + bD.scale(1, aH[1] / aI[1]) + bD.shear(aY, 0) + bD.scale(bv, bv) + bD.rotate(-a3) + bD.translate(-aS, -aQ) + bD.setContext(bE) + var a8 = true + var a9 = 1.2 + if (!aM) { + aM = a8 ? a9 : 0 + } + if (Q.IGNORE_EXPAND) { + aM = 0 + } + if (Q.USE_CACHED_POLYGON_IMAGE) { + var bd = bz._$e0 + bd.gl_cacheImage = bd.gl_cacheImage || {} + if (!bd.gl_cacheImage[by]) { + var bn = au.createCanvas(a4 - bo, bC - bb) + Q.DEBUG_DATA.LDGL_CANVAS_MB = Q.DEBUG_DATA.LDGL_CANVAS_MB || 0 + Q.DEBUG_DATA.LDGL_CANVAS_MB += (a4 - bo) * (bC - bb) * 4 + var ba = bn.getContext('2d') + ba.translate(-bo, -bb) + au.clip( + ba, + bD, + aM, + bi, + aS, + aQ, + bx, + bw, + bk, + bj, + aL, + aK, + br, + bp, + bh, + bf + ) + ba.drawImage(bc, 0, 0) + bd.gl_cacheImage[by] = { cacheCanvas: bn, cacheContext: ba } + } + bE.drawImage(bd.gl_cacheImage[by]['cacheCanvas'], bo, bb) + } else { + if (!Q.IGNORE_CLIP) { + au.clip( + bE, + bD, + aM, + bi, + aS, + aQ, + bx, + bw, + bk, + bj, + aL, + aK, + br, + bp, + bh, + bf + ) + } + if (Q.USE_ADJUST_TRANSLATION) { + bs = 0 + bg = aP + bq = 0 + be = a5 + } + bE.drawImage(bc, bs, bq, bg - bs, be - bq, bs, bq, bg - bs, be - bq) + } + bE.restore() + } + } catch (bB) { + q._$Rb(bB) + } + } + au.clip = function ( + aK, + aJ, + aV, + aI, + aM, + aL, + aU, + aT, + aQ, + aP, + aO, + aN, + aH, + aW, + aS, + aR + ) { + if (aV > 0.02) { + au.expandClip(aK, aJ, aV, aI, aO, aN, aH, aW, aS, aR) + } else { + au.clipWithTransform(aK, null, aM, aL, aU, aT, aQ, aP) + } + } + au.expandClip = function (aV, bg, aK, a3, aJ, aI, be, ba, aZ, aX) { + var aP = be - aJ + var aO = ba - aI + var bi = aZ - aJ + var bh = aX - aI + var bj = aP * bh - aO * bi > 0 ? aK : -aK + var aL = -aO + var aH = aP + var bc = aZ - be + var a8 = aX - ba + var a7 = -a8 + var a6 = bc + var aQ = Math.sqrt(bc * bc + a8 * a8) + var bf = -bh + var bb = bi + var a2 = Math.sqrt(bi * bi + bh * bh) + var bd = aJ - (bj * aL) / a3 + var a9 = aI - (bj * aH) / a3 + var aY = be - (bj * aL) / a3 + var aW = ba - (bj * aH) / a3 + var a5 = be - (bj * a7) / aQ + var a4 = ba - (bj * a6) / aQ + var aS = aZ - (bj * a7) / aQ + var aR = aX - (bj * a6) / aQ + var aN = aJ + (bj * bf) / a2 + var aM = aI + (bj * bb) / a2 + var a1 = aZ + (bj * bf) / a2 + var a0 = aX + (bj * bb) / a2 + var aU = au._$50 + var aT = bg._$P2(aU) + if (aT == null) { + return false + } + au.clipWithTransform(aV, aU, bd, a9, aY, aW, a5, a4, aS, aR, a1, a0, aN, aM) + return true + } + au.clipWithTransform = function (aH, aI, aS, aN, aQ, aK, aP, aJ) { + if (arguments.length < 1 + 3 * 2) { + q._$li('err : @LDGL.clip()') + return + } + if (!(arguments[1] instanceof am)) { + q._$li('err : a[0] is _$6 LDTransform @LDGL.clip()') + return + } + var aM = au._$B + var aO = aI + var aR = arguments + aH.beginPath() + if (aO) { + aO._$PS(aR[2], aR[3], aM) + aH.moveTo(aM[0], aM[1]) + for (var aL = 4; aL < aR.length; aL += 2) { + aO._$PS(aR[aL], aR[aL + 1], aM) + aH.lineTo(aM[0], aM[1]) + } + } else { + aH.moveTo(aR[2], aR[3]) + for (var aL = 4; aL < aR.length; aL += 2) { + aH.lineTo(aR[aL], aR[aL + 1]) + } + } + aH.clip() + } + au.createCanvas = function (aH, aJ) { + var aI = document.createElement('canvas') + aI.setAttribute('width', aH) + aI.setAttribute('height', aJ) + if (!aI) { + q._$li('err : ' + aI) + } + return aI + } + au.dumpValues = function () { + var aI = '' + for (var aH = 0; aH < arguments.length; aH++) { + aI += '[' + aH + ']= ' + arguments[aH].toFixed(3) + ' , ' + } + console.log(aI) + } + function f() { + if (j) { + return + } + this._$TT = null + this._$LT = null + this._$FS = null + this._$wL = null + } + f.prototype._$F0 = function (aH) { + this._$TT = aH._$_T() + this._$LT = aH._$_T() + this._$FS = aH._$_T() + this._$wL = aH._$nP() + } + f.prototype.getMinValue = function () { + return this._$TT + } + f.prototype.getMaxValue = function () { + return this._$LT + } + f.prototype.getDefaultValue = function () { + return this._$FS + } + f.prototype.getParamID = function () { + return this._$wL + } + function B(aH) { + if (j) { + return + } + this._$e0 = null + this._$IP = null + this._$JS = false + this._$AT = true + this._$e0 = aH + this.totalScale = 1 + this._$7s = 1 + this.totalOpacity = 1 + } + B.prototype._$yo = function () { + return this._$AT && !this._$JS + } + B.prototype._$hS = function (aH) { + this._$AT = aH + } + B.prototype._$GT = function () { + return this._$e0 + } + B.prototype._$l2 = function (aH) { + this._$IP = aH + } + B.prototype.getPartsIndex = function () { + return this._$IP + } + B.prototype._$x2 = function () { + return this._$JS + } + B.prototype._$Ib = function (aH) { + this._$JS = aH + } + B.prototype.getTotalScale = function () { + return this.totalScale + } + B.prototype.setTotalScale_notForClient = function (aH) { + this.totalScale = aH + } + B.prototype.getInterpolatedOpacity = function () { + return this._$7s + } + B.prototype.setInterpolatedOpacity = function (aH) { + this._$7s = aH + } + B.prototype.getTotalOpacity = function (aH) { + return this.totalOpacity + } + B.prototype.setTotalOpacity = function (aH) { + this.totalOpacity = aH + } + function Q() {} + Q._$2s = '2.1.00_1' + Q._$Kr = 201001000 + Q._$sP = true + Q._$so = true + Q._$cb = false + Q._$3T = true + Q._$Ts = true + Q._$fb = true + Q._$ts = true + Q.L2D_DEFORMER_EXTEND = true + Q._$Wb = false + Q._$yr = false + Q._$Zs = false + Q.L2D_NO_ERROR = 0 + Q._$i7 = 1000 + Q._$9s = 1001 + Q._$es = 1100 + Q._$r7 = 2000 + Q._$07 = 2001 + Q._$b7 = 2002 + Q._$H7 = 4000 + Q.L2D_COLOR_BLEND_MODE_MULT = 0 + Q.L2D_COLOR_BLEND_MODE_ADD = 1 + Q.L2D_COLOR_BLEND_MODE_INTERPOLATE = 2 + Q._$6b = true + Q._$cT = 0 + Q.clippingMaskBufferSize = 256 + Q.glContext = new Array() + Q.frameBuffers = new Array() + Q.fTexture = new Array() + Q.IGNORE_CLIP = false + Q.IGNORE_EXPAND = false + Q.EXPAND_W = 2 + Q.USE_ADJUST_TRANSLATION = true + Q.USE_CANVAS_TRANSFORM = true + Q.USE_CACHED_POLYGON_IMAGE = false + Q.DEBUG_DATA = {} + Q.PROFILE_IOS_SPEED = { + PROFILE_NAME: 'iOS Speed', + USE_ADJUST_TRANSLATION: true, + USE_CACHED_POLYGON_IMAGE: true, + EXPAND_W: 4, + } + Q.PROFILE_IOS_QUALITY = { + PROFILE_NAME: 'iOS HiQ', + USE_ADJUST_TRANSLATION: true, + USE_CACHED_POLYGON_IMAGE: false, + EXPAND_W: 2, + } + Q.PROFILE_IOS_DEFAULT = Q.PROFILE_IOS_QUALITY + Q.PROFILE_ANDROID = { + PROFILE_NAME: 'Android', + USE_ADJUST_TRANSLATION: false, + USE_CACHED_POLYGON_IMAGE: false, + EXPAND_W: 2, + } + Q.PROFILE_DESKTOP = { + PROFILE_NAME: 'Desktop', + USE_ADJUST_TRANSLATION: false, + USE_CACHED_POLYGON_IMAGE: false, + EXPAND_W: 2, + } + Q.initProfile = function () { + if (r.isIOS()) { + Q.setupProfile(Q.PROFILE_IOS_DEFAULT) + } else { + if (r.isAndroid()) { + Q.setupProfile(Q.PROFILE_ANDROID) + } else { + Q.setupProfile(Q.PROFILE_DESKTOP) + } + } + } + Q.setupProfile = function (aI, aJ) { + if (typeof aI == 'number') { + switch (aI) { + case 9901: + aI = Q.PROFILE_IOS_SPEED + break + case 9902: + aI = Q.PROFILE_IOS_QUALITY + break + case 9903: + aI = Q.PROFILE_IOS_DEFAULT + break + case 9904: + aI = Q.PROFILE_ANDROID + break + case 9905: + aI = Q.PROFILE_DESKTOP + break + default: + alert('profile _$6 _$Ui : ' + aI) + break + } + } + if (arguments.length < 2) { + aJ = true + } + if (aJ) { + console.log('profile : ' + aI.PROFILE_NAME) + } + for (var aH in aI) { + Q[aH] = aI[aH] + if (aJ) { + console.log(' [' + aH + '] = ' + aI[aH]) + } + } + } + Q.init = function () { + if (Q._$6b) { + console.log('Live2D %s', Q._$2s) + Q._$6b = false + var aH = false + aH = true + Q.initProfile() + } + } + Q.getVersionStr = function () { + return Q._$2s + } + Q.getVersionNo = function () { + return Q._$Kr + } + Q._$sT = function (aH) { + Q._$cT = aH + } + Q.getError = function () { + var aH = Q._$cT + Q._$cT = 0 + return aH + } + Q.dispose = function () { + Q.glContext = [] + Q.frameBuffers = [] + Q.fTexture = [] + } + Q.setGL = function (aJ, aI) { + var aH = aI || 0 + Q.glContext[aH] = aJ + } + Q.getGL = function (aH) { + return Q.glContext[aH] + } + Q.setClippingMaskBufferSize = function (aH) { + Q.clippingMaskBufferSize = aH + } + Q.getClippingMaskBufferSize = function () { + return Q.clippingMaskBufferSize + } + Q.deleteBuffer = function (aI) { + var aH = Q.getGL(aI) + aH.deleteFramebuffer(Q.frameBuffers[aI].framebuffer) + delete Q.frameBuffers[aI] + delete Q.glContext[aI] + } + function A() {} + A._$r2 = function (aH) { + if (aH < 0) { + return 0 + } else { + if (aH > 1) { + return 1 + } + } + return 0.5 - 0.5 * Math.cos(aH * aC.PI_F) + } + function J(aH) { + if (j) { + return + } + this._$ib = aH + } + J._$fr = -1 + J.prototype.toString = function () { + return this._$ib + } + function b() { + if (j) { + return + } + a.prototype.constructor.call(this) + this._$LP = -1 + this._$d0 = 0 + this._$Yo = 0 + this._$JP = null + this._$5P = null + this._$BP = null + this._$Eo = null + this._$Qi = null + this._$6s = b._$ms + this.culling = true + this.gl_cacheImage = null + this.instanceNo = b._$42++ + } + b.prototype = new a() + b._$42 = 0 + b._$Os = 30 + b._$ms = 0 + b._$ns = 1 + b._$_s = 2 + b._$gT = new Array() + b.prototype._$_S = function (aH) { + this._$LP = aH + } + b.prototype.getTextureNo = function () { + return this._$LP + } + b.prototype._$ZL = function () { + return this._$Qi + } + b.prototype._$H2 = function () { + return this._$JP + } + b.prototype.getNumPoints = function () { + return this._$d0 + } + b.prototype.getType = function () { + return a._$wb + } + b.prototype._$B2 = function (aL, aH, aO) { + var aM = aH + var aN = aM._$hr != null ? aM._$hr : aM._$Cr + var aK = aw._$do + switch (aK) { + default: + case aw._$Ms: + throw new Error('_$L _$ro ') + case aw._$Qs: + for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) { + var aI = aJ * aw._$No + aN[aI + 4] = aO + } + break + } + } + b.prototype._$zP = function () { + this._$GS = new g() + this._$GS._$zP() + } + b.prototype._$F0 = function (aK) { + a.prototype._$F0.call(this, aK) + this._$LP = aK._$6L() + this._$d0 = aK._$6L() + this._$Yo = aK._$6L() + var aH = aK._$nP() + this._$BP = new Int16Array(this._$Yo * 3) + for (var aJ = this._$Yo * 3 - 1; aJ >= 0; --aJ) { + this._$BP[aJ] = aH[aJ] + } + this._$Eo = aK._$nP() + this._$Qi = aK._$nP() + if (aK.getFormatVersion() >= ay._$s7) { + this._$JP = aK._$6L() + if (this._$JP != 0) { + if ((this._$JP & 1) != 0) { + var aI = aK._$6L() + if (this._$5P == null) { + this._$5P = new Object() + } + this._$5P._$Hb = parseInt(aI) + } + if ((this._$JP & b._$Os) != 0) { + this._$6s = (this._$JP & b._$Os) >> 1 + } else { + this._$6s = b._$ms + } + if ((this._$JP & 32) != 0) { + this.culling = false + } + } + } else { + this._$JP = 0 + } + } + b.prototype.init = function (aL) { + var aN = new ag(this) + var aI = this._$d0 * aw._$No + var aH = this._$32() + if (aN._$Cr != null) { + aN._$Cr = null + } + aN._$Cr = new Float32Array(aI) + if (aN._$hr != null) { + aN._$hr = null + } + aN._$hr = aH ? new Float32Array(aI) : null + var aM = aw._$do + switch (aM) { + default: + case aw._$Ms: + if (aw._$Ls) { + for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) { + var aO = aJ << 1 + this._$Qi[aO + 1] = 1 - this._$Qi[aO + 1] + } + } + break + case aw._$Qs: + for (var aJ = this._$d0 - 1; aJ >= 0; --aJ) { + var aO = aJ << 1 + var aK = aJ * aw._$No + var aQ = this._$Qi[aO] + var aP = this._$Qi[aO + 1] + aN._$Cr[aK] = aQ + aN._$Cr[aK + 1] = aP + aN._$Cr[aK + 4] = 0 + if (aH) { + aN._$hr[aK] = aQ + aN._$hr[aK + 1] = aP + aN._$hr[aK + 4] = 0 + } + } + break + } + return aN + } + b.prototype._$Nr = function (aJ, aH) { + var aK = aH + if (!(this == aK._$GT())) { + console.log('### assert!! ### ') + } + if (!this._$GS._$Ur(aJ)) { + return + } + a.prototype._$Nr.call(this, aJ, aK) + if (aK._$IS[0]) { + return + } + var aI = b._$gT + aI[0] = false + aG._$Vr(aJ, this._$GS, aI, this._$d0, this._$Eo, aK._$Cr, aw._$i2, aw._$No) + } + b.prototype._$2b = function (aK, aI) { + try { + if (!(this == aI._$GT())) { + console.log('### assert!! ### ') + } + var aL = false + if (aI._$IS[0]) { + aL = true + } + var aM = aI + if (!aL) { + a.prototype._$2b.call(this, aK) + if (this._$32()) { + var aH = this.getTargetBaseDataID() + if (aM._$8r == a._$ur) { + aM._$8r = aK.getBaseDataIndex(aH) + } + if (aM._$8r < 0) { + if (Q._$so) { + q._$li('_$L _$0P _$G :: %s', aH) + } + } else { + var aO = aK.getBaseData(aM._$8r) + var aJ = aK._$q2(aM._$8r) + if (aO != null && !aJ._$x2()) { + aO._$nb(aK, aJ, aM._$Cr, aM._$hr, this._$d0, aw._$i2, aw._$No) + aM._$AT = true + } else { + aM._$AT = false + } + aM.baseOpacity = aJ.getTotalOpacity() + } + } + } + } catch (aN) { + throw aN + } + } + b.prototype.draw = function (aN, aK, aI) { + if (!(this == aI._$GT())) { + console.log('### assert!! ### ') + } + if (aI._$IS[0]) { + return + } + var aL = aI + var aJ = this._$LP + if (aJ < 0) { + aJ = 1 + } + var aH = this.getOpacity(aK, aL) * aI._$VS * aI.baseOpacity + var aM = aL._$hr != null ? aL._$hr : aL._$Cr + aN.setClipBufPre_clipContextForDraw(aI.clipBufPre_clipContext) + aN._$WP(this.culling) + aN._$Uo(aJ, 3 * this._$Yo, this._$BP, aM, this._$Qi, aH, this._$6s, aL) + } + b.prototype.dump = function () { + console.log( + ' _$yi( %d ) , _$d0( %d ) , _$Yo( %d ) \n', + this._$LP, + this._$d0, + this._$Yo + ) + console.log(' _$Oi _$di = { ') + for (var aJ = 0; aJ < this._$BP.length; aJ++) { + console.log('%5d ,', this._$BP[aJ]) + } + console.log('\n _$5i _$30') + for (var aJ = 0; aJ < this._$Eo.length; aJ++) { + console.log('\n _$30[%d] = ', aJ) + var aH = this._$Eo[aJ] + for (var aI = 0; aI < aH.length; aI++) { + console.log('%6.2f, ', aH[aI]) + } + } + console.log('\n') + } + b.prototype._$72 = function (aH) { + if (this._$5P == null) { + return null + } + return this._$5P[aH] + } + b.prototype.getIndexArray = function () { + return this._$BP + } + function ag(aH) { + aB.prototype.constructor.call(this, aH) + this._$8r = a._$ur + this._$Cr = null + this._$hr = null + } + ag.prototype = new aB() + ag.prototype.getTransformedPoints = function () { + return this._$hr != null ? this._$hr : this._$Cr + } + function k() { + if (j) { + return + } + this.x = null + this.y = null + } + k.prototype._$HT = function (aH) { + this.x = aH.x + this.y = aH.y + } + k.prototype._$HT = function (aH, aI) { + this.x = aH + this.y = aI + } + function l(aH) { + if (j) { + return + } + aa.prototype.constructor.call(this) + this.drawParamWebGL = new C(aH) + this.drawParamWebGL.setGL(Q.getGL(aH)) + } + l.prototype = new aa() + l.loadModel = function (aI) { + var aH = new l() + aa._$62(aH, aI) + return aH + } + l.loadModel = function (aI, aK) { + var aJ = aK || 0 + var aH = new l(aJ) + aa._$62(aH, aI) + return aH + } + l._$to = function () { + var aH = new l() + return aH + } + l._$er = function (aM) { + var aJ = new _$5('../_$_r/_$t0/_$Ri/_$_P._$d') + if (aJ.exists() == false) { + throw new _$ls('_$t0 _$_ _$6 _$Ui :: ' + aJ._$PL()) + } + var aH = [ + '../_$_r/_$t0/_$Ri/_$_P.512/_$CP._$1', + '../_$_r/_$t0/_$Ri/_$_P.512/_$vP._$1', + '../_$_r/_$t0/_$Ri/_$_P.512/_$EP._$1', + '../_$_r/_$t0/_$Ri/_$_P.512/_$pP._$1', + ] + var aK = l.loadModel(aJ._$3b()) + for (var aI = 0; aI < aH.length; aI++) { + var aL = new _$5(aH[aI]) + if (aL.exists() == false) { + throw new _$ls('_$t0 _$_ _$6 _$Ui :: ' + aL._$PL()) + } + aK.setTexture(aI, _$nL._$_o(aM, aL._$3b())) + } + return aK + } + l.prototype.setGL = function (aH) { + Q.setGL(aH) + } + l.prototype.setTransform = function (aH) { + this.drawParamWebGL.setTransform(aH) + } + l.prototype.update = function () { + this._$5S.update() + this._$5S.preDraw(this.drawParamWebGL) + } + l.prototype.draw = function () { + this._$5S.draw(this.drawParamWebGL) + } + l.prototype._$K2 = function () { + this.drawParamWebGL._$K2() + } + l.prototype.setTexture = function (aI, aH) { + if (this.drawParamWebGL == null) { + q._$li('_$Yi for QT _$ki / _$XS() is _$6 _$ui!!') + } + this.drawParamWebGL.setTexture(aI, aH) + } + l.prototype.setTexture = function (aI, aH) { + if (this.drawParamWebGL == null) { + q._$li('_$Yi for QT _$ki / _$XS() is _$6 _$ui!!') + } + this.drawParamWebGL.setTexture(aI, aH) + } + l.prototype._$Rs = function () { + return this.drawParamWebGL._$Rs() + } + l.prototype._$Ds = function (aH) { + this.drawParamWebGL._$Ds(aH) + } + l.prototype.getDrawParam = function () { + return this.drawParamWebGL + } + l.prototype.setMatrix = function (aH) { + this.drawParamWebGL.setMatrix(aH) + } + l.prototype.setPremultipliedAlpha = function (aH) { + this.drawParamWebGL.setPremultipliedAlpha(aH) + } + l.prototype.isPremultipliedAlpha = function () { + return this.drawParamWebGL.isPremultipliedAlpha() + } + l.prototype.setAnisotropy = function (aH) { + this.drawParamWebGL.setAnisotropy(aH) + } + l.prototype.getAnisotropy = function () { + return this.drawParamWebGL.getAnisotropy() + } + function V() { + if (j) { + return + } + this.motions = null + this._$eb = false + this.motions = new Array() + } + V.prototype._$tb = function () { + return this.motions + } + V.prototype.startMotion = function (aJ, aI) { + var aM = null + var aL = null + var aH = this.motions.length + for (var aK = 0; aK < aH; ++aK) { + aL = this.motions[aK] + if (aL == null) { + continue + } + aL._$qS(aL._$w0.getFadeOut()) + if (this._$eb) { + q._$Ji( + 'MotionQueueManager[size:%2d]->startMotion() / start _$K _$3 (m%d)\n', + aH, + aL._$sr + ) + } + } + if (aJ == null) { + return -1 + } + aL = new M() + aL._$w0 = aJ + this.motions.push(aL) + var aN = aL._$sr + if (this._$eb) { + q._$Ji( + 'MotionQueueManager[size:%2d]->startMotion() / new _$w0 (m%d)\n', + aH, + aN + ) + } + return aN + } + V.prototype.updateParam = function (aJ) { + try { + var aI = false + for (var aK = 0; aK < this.motions.length; aK++) { + var aL = this.motions[aK] + if (aL == null) { + this.motions.splice(aK, 1) + aK-- + continue + } + var aH = aL._$w0 + if (aH == null) { + this.motions = this.motions.splice(aK, 1) + aK-- + continue + } + aH.updateParam(aJ, aL) + aI = true + if (aL.isFinished()) { + if (this._$eb) { + q._$Ji( + 'MotionQueueManager[size:%2d]->updateParam() / _$T0 _$w0 (m%d)\n', + this.motions.length - 1, + aL._$sr + ) + } + this.motions.splice(aK, 1) + aK-- + } else { + } + } + return aI + } catch (aM) { + q._$li(aM) + return true + } + } + V.prototype.isFinished = function (aK) { + if (arguments.length >= 1) { + for (var aI = 0; aI < this.motions.length; aI++) { + var aJ = this.motions[aI] + if (aJ == null) { + continue + } + if (aJ._$sr == aK && !aJ.isFinished()) { + return false + } + } + return true + } else { + for (var aI = 0; aI < this.motions.length; aI++) { + var aJ = this.motions[aI] + if (aJ == null) { + this.motions.splice(aI, 1) + aI-- + continue + } + var aH = aJ._$w0 + if (aH == null) { + this.motions.splice(aI, 1) + aI-- + continue + } + if (!aJ.isFinished()) { + return false + } + } + return true + } + } + V.prototype.stopAllMotions = function () { + for (var aI = 0; aI < this.motions.length; aI++) { + var aJ = this.motions[aI] + if (aJ == null) { + this.motions.splice(aI, 1) + aI-- + continue + } + var aH = aJ._$w0 + if (aH == null) { + this.motions.splice(aI, 1) + aI-- + continue + } + if (true) { + this.motions.splice(aI, 1) + aI-- + } + } + } + V.prototype._$Zr = function (aH) { + this._$eb = aH + } + V.prototype._$e = function () { + console.log('-- _$R --\n') + for (var aH = 0; aH < this.motions.length; aH++) { + var aI = this.motions[aH] + var aJ = aI._$w0 + console.log( + 'MotionQueueEnt[%d] :: %s\n', + this.motions.length, + aJ.toString() + ) + } + } + function M() { + this._$w0 = null + this._$AT = true + this._$9L = false + this._$z2 = -1 + this._$bs = -1 + this._$Do = -1 + this._$sr = null + this._$sr = M._$Gs++ + } + M._$Gs = 0 + M.prototype.isFinished = function () { + return this._$9L + } + M.prototype._$qS = function (aJ) { + var aI = P.getUserTimeMSec() + var aH = aI + aJ + if (this._$Do < 0 || aH < this._$Do) { + this._$Do = aH + } + } + M.prototype._$Bs = function () { + return this._$sr + } + function am() { + this.m = new Array(1, 0, 0, 0, 1, 0, 0, 0, 1) + } + am.prototype.setContext = function (aI) { + var aH = this.m + aI.transform(aH[0], aH[1], aH[3], aH[4], aH[6], aH[7]) + } + am.prototype.toString = function () { + var aI = 'LDTransform { ' + for (var aH = 0; aH < 9; aH++) { + aI += this.m[aH].toFixed(2) + ' ,' + } + aI += ' }' + return aI + } + am.prototype.identity = function () { + var aH = this.m + aH[0] = aH[4] = aH[8] = 1 + aH[1] = aH[2] = aH[3] = aH[5] = aH[6] = aH[7] = 0 + } + am.prototype._$PS = function (aI, aK, aJ) { + if (aJ == null) { + aJ = new Array(0, 0) + } + var aH = this.m + aJ[0] = aH[0] * aI + aH[3] * aK + aH[6] + aJ[1] = aH[1] * aI + aH[4] * aK + aH[7] + return aJ + } + am.prototype._$P2 = function (aK) { + if (!aK) { + aK = new am() + } + var aI = this.m + var aT = aI[0] + var aS = aI[1] + var aR = aI[2] + var aQ = aI[3] + var aP = aI[4] + var aO = aI[5] + var aN = aI[6] + var aM = aI[7] + var aL = aI[8] + var aJ = + aT * aP * aL + + aS * aO * aN + + aR * aQ * aM - + aT * aO * aM - + aR * aP * aN - + aS * aQ * aL + if (aJ == 0) { + return null + } else { + var aH = 1 / aJ + aK.m[0] = aH * (aP * aL - aM * aO) + aK.m[1] = aH * (aM * aR - aS * aL) + aK.m[2] = aH * (aS * aO - aP * aR) + aK.m[3] = aH * (aN * aO - aQ * aL) + aK.m[4] = aH * (aT * aL - aN * aR) + aK.m[5] = aH * (aQ * aR - aT * aO) + aK.m[6] = aH * (aQ * aM - aN * aP) + aK.m[7] = aH * (aN * aS - aT * aM) + aK.m[8] = aH * (aT * aP - aQ * aS) + return aK + } + } + am.prototype.transform = function (aI, aK, aJ) { + if (aJ == null) { + aJ = new Array(0, 0) + } + var aH = this.m + aJ[0] = aH[0] * aI + aH[3] * aK + aH[6] + aJ[1] = aH[1] * aI + aH[4] * aK + aH[7] + return aJ + } + am.prototype.translate = function (aI, aJ) { + var aH = this.m + aH[6] = aH[0] * aI + aH[3] * aJ + aH[6] + aH[7] = aH[1] * aI + aH[4] * aJ + aH[7] + aH[8] = aH[2] * aI + aH[5] * aJ + aH[8] + } + am.prototype.scale = function (aJ, aI) { + var aH = this.m + aH[0] *= aJ + aH[1] *= aJ + aH[2] *= aJ + aH[3] *= aI + aH[4] *= aI + aH[5] *= aI + } + am.prototype.shear = function (aM, aL) { + var aH = this.m + var aK = aH[0] + aH[3] * aL + var aJ = aH[1] + aH[4] * aL + var aI = aH[2] + aH[5] * aL + aH[3] = aH[0] * aM + aH[3] + aH[4] = aH[1] * aM + aH[4] + aH[5] = aH[2] * aM + aH[5] + aH[0] = aK + aH[1] = aJ + aH[2] = aI + } + am.prototype.rotate = function (aM) { + var aH = this.m + var aN = Math.cos(aM) + var aL = Math.sin(aM) + var aK = aH[0] * aN + aH[3] * aL + var aJ = aH[1] * aN + aH[4] * aL + var aI = aH[2] * aN + aH[5] * aL + aH[3] = -aH[0] * aL + aH[3] * aN + aH[4] = -aH[1] * aL + aH[4] * aN + aH[5] = -aH[2] * aL + aH[5] * aN + aH[0] = aK + aH[1] = aJ + aH[2] = aI + } + am.prototype.concatenate = function (aL) { + var aO = this.m + var aM = aL.m + var aS = aO[0] * aM[0] + aO[3] * aM[1] + aO[6] * aM[2] + var aR = aO[1] * aM[0] + aO[4] * aM[1] + aO[7] * aM[2] + var aQ = aO[2] * aM[0] + aO[5] * aM[1] + aO[8] * aM[2] + var aP = aO[0] * aM[3] + aO[3] * aM[4] + aO[6] * aM[5] + var aN = aO[1] * aM[3] + aO[4] * aM[4] + aO[7] * aM[5] + var aK = aO[2] * aM[3] + aO[5] * aM[4] + aO[8] * aM[5] + var aJ = aO[0] * aM[6] + aO[3] * aM[7] + aO[6] * aM[8] + var aI = aO[1] * aM[6] + aO[4] * aM[7] + aO[7] * aM[8] + var aH = aO[2] * aM[6] + aO[5] * aM[7] + aO[8] * aM[8] + m[0] = aS + m[1] = aR + m[2] = aQ + m[3] = aP + m[4] = aN + m[5] = aK + m[6] = aJ + m[7] = aI + m[8] = aH + } + function n(aH) { + if (j) { + return + } + ak.prototype.constructor.call(this, aH) + } + n.prototype = new ak() + n._$eT = null + n._$tP = new Object() + n._$2o = function () { + if (n._$eT == null) { + n._$eT = n.getID('DST_BASE') + } + return n._$eT + } + n._$27 = function () { + n._$tP.clear() + n._$eT = null + } + n.getID = function (aH) { + var aI = n._$tP[aH] + if (aI == null) { + aI = new n(aH) + n._$tP[aH] = aI + } + return aI + } + n.prototype._$3s = function () { + return new n() + } + function C(aH) { + if (j) { + return + } + ax.prototype.constructor.call(this) + this.textures = new Array() + this.transform = null + this.gl = null + this.glno = aH + this.firstDraw = true + this.anisotropyExt = null + this.maxAnisotropy = 0 + this._$As = 32 + this._$Gr = false + this._$NT = null + this._$vS = null + this._$no = null + this.vertShader = null + this.fragShader = null + this.vertShaderOff = null + this.fragShaderOff = null + } + C.prototype = new ax() + C._$9r = function (aH) { + var aI = new Float32Array(aH) + return aI + } + C._$vb = function (aH) { + var aI = new Int16Array(aH) + return aI + } + C._$cr = function (aI, aH) { + if (aI == null || aI._$yL() < aH.length) { + aI = C._$9r(aH.length * 2) + aI.put(aH) + aI._$oT(0) + } else { + aI.clear() + aI.put(aH) + aI._$oT(0) + } + return aI + } + C._$mb = function (aI, aH) { + if (aI == null || aI._$yL() < aH.length) { + aI = C._$vb(aH.length * 2) + aI.put(aH) + aI._$oT(0) + } else { + aI.clear() + aI.put(aH) + aI._$oT(0) + } + return aI + } + C._$Hs = function () { + return this._$Gr + } + C._$as = function (aH) { + this._$Gr = aH + } + C.prototype.getGL = function () { + return this.gl + } + C.prototype.setGL = function (aH) { + this.gl = aH + } + C.prototype.setTransform = function (aH) { + this.transform = aH + } + C.prototype._$ZT = function () { + var aH = this.gl + if (this.firstDraw) { + this.initShader() + this.firstDraw = false + this.anisotropyExt = + aH.getExtension('EXT_texture_filter_anisotropic') || + aH.getExtension('WEBKIT_EXT_texture_filter_anisotropic') || + aH.getExtension('MOZ_EXT_texture_filter_anisotropic') + if (this.anisotropyExt) { + this.maxAnisotropy = aH.getParameter( + this.anisotropyExt.MAX_TEXTURE_MAX_ANISOTROPY_EXT + ) + } + } + aH.disable(aH.SCISSOR_TEST) + aH.disable(aH.STENCIL_TEST) + aH.disable(aH.DEPTH_TEST) + aH.frontFace(aH.CW) + aH.enable(aH.BLEND) + aH.colorMask(1, 1, 1, 1) + aH.bindBuffer(aH.ARRAY_BUFFER, null) + aH.bindBuffer(aH.ELEMENT_ARRAY_BUFFER, null) + } + C.prototype._$Uo = function (aS, aT, aL, aU, aV, aN, aM, aO) { + if (aN < 0.01 && this.clipBufPre_clipContextMask == null) { + return + } + var aH = aN > 0.9 ? Q.EXPAND_W : 0 + var a0 = this.gl + if (this.gl == null) { + throw new Error('gl is null') + } + var a1 = false + var aQ = 1 + var aP = 1 + var a3 = 1 + var aZ = 1 + var aW = this._$C0 * aP * aN + var a2 = this._$tT * a3 * aN + var a5 = this._$WL * aZ * aN + var a7 = this._$lT * aN + if (this.clipBufPre_clipContextMask != null) { + a0.frontFace(a0.CCW) + a0.useProgram(this.shaderProgram) + this._$vS = T(a0, this._$vS, aU) + this._$no = L(a0, this._$no, aL) + a0.enableVertexAttribArray(this.a_position_Loc) + a0.vertexAttribPointer(this.a_position_Loc, 2, a0.FLOAT, false, 0, 0) + this._$NT = T(a0, this._$NT, aV) + a0.activeTexture(a0.TEXTURE1) + a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]) + a0.uniform1i(this.s_texture0_Loc, 1) + a0.enableVertexAttribArray(this.a_texCoord_Loc) + a0.vertexAttribPointer(this.a_texCoord_Loc, 2, a0.FLOAT, false, 0, 0) + a0.uniformMatrix4fv( + this.u_matrix_Loc, + false, + this.getClipBufPre_clipContextMask().matrixForMask + ) + var aY = this.getClipBufPre_clipContextMask().layoutChannelNo + var a4 = this.getChannelFlagAsColor(aY) + a0.uniform4f(this.u_channelFlag, a4.r, a4.g, a4.b, a4.a) + var aI = this.getClipBufPre_clipContextMask().layoutBounds + a0.uniform4f( + this.u_baseColor_Loc, + aI.x * 2 - 1, + aI.y * 2 - 1, + aI._$EL() * 2 - 1, + aI._$5T() * 2 - 1 + ) + a0.uniform1i(this.u_maskFlag_Loc, true) + } else { + a1 = this.getClipBufPre_clipContextDraw() != null + if (a1) { + a0.useProgram(this.shaderProgramOff) + this._$vS = T(a0, this._$vS, aU) + this._$no = L(a0, this._$no, aL) + a0.enableVertexAttribArray(this.a_position_Loc_Off) + a0.vertexAttribPointer( + this.a_position_Loc_Off, + 2, + a0.FLOAT, + false, + 0, + 0 + ) + this._$NT = T(a0, this._$NT, aV) + a0.activeTexture(a0.TEXTURE1) + a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]) + a0.uniform1i(this.s_texture0_Loc_Off, 1) + a0.enableVertexAttribArray(this.a_texCoord_Loc_Off) + a0.vertexAttribPointer( + this.a_texCoord_Loc_Off, + 2, + a0.FLOAT, + false, + 0, + 0 + ) + a0.uniformMatrix4fv( + this.u_clipMatrix_Loc_Off, + false, + this.getClipBufPre_clipContextDraw().matrixForDraw + ) + a0.uniformMatrix4fv(this.u_matrix_Loc_Off, false, this.matrix4x4) + a0.activeTexture(a0.TEXTURE2) + a0.bindTexture(a0.TEXTURE_2D, Q.fTexture[this.glno]) + a0.uniform1i(this.s_texture1_Loc_Off, 2) + var aY = this.getClipBufPre_clipContextDraw().layoutChannelNo + var a4 = this.getChannelFlagAsColor(aY) + a0.uniform4f(this.u_channelFlag_Loc_Off, a4.r, a4.g, a4.b, a4.a) + a0.uniform4f(this.u_baseColor_Loc_Off, aW, a2, a5, a7) + } else { + a0.useProgram(this.shaderProgram) + this._$vS = T(a0, this._$vS, aU) + this._$no = L(a0, this._$no, aL) + a0.enableVertexAttribArray(this.a_position_Loc) + a0.vertexAttribPointer(this.a_position_Loc, 2, a0.FLOAT, false, 0, 0) + this._$NT = T(a0, this._$NT, aV) + a0.activeTexture(a0.TEXTURE1) + a0.bindTexture(a0.TEXTURE_2D, this.textures[aS]) + a0.uniform1i(this.s_texture0_Loc, 1) + a0.enableVertexAttribArray(this.a_texCoord_Loc) + a0.vertexAttribPointer(this.a_texCoord_Loc, 2, a0.FLOAT, false, 0, 0) + a0.uniformMatrix4fv(this.u_matrix_Loc, false, this.matrix4x4) + a0.uniform4f(this.u_baseColor_Loc, aW, a2, a5, a7) + a0.uniform1i(this.u_maskFlag_Loc, false) + } + } + if (this.culling) { + this.gl.enable(a0.CULL_FACE) + } else { + this.gl.disable(a0.CULL_FACE) + } + this.gl.enable(a0.BLEND) + var a6 + var aX + var aR + var aK + if (this.clipBufPre_clipContextMask != null) { + a6 = a0.ONE + aX = a0.ONE_MINUS_SRC_ALPHA + aR = a0.ONE + aK = a0.ONE_MINUS_SRC_ALPHA + } else { + switch (aM) { + case b._$ms: + a6 = a0.ONE + aX = a0.ONE_MINUS_SRC_ALPHA + aR = a0.ONE + aK = a0.ONE_MINUS_SRC_ALPHA + break + case b._$ns: + a6 = a0.ONE + aX = a0.ONE + aR = a0.ZERO + aK = a0.ONE + break + case b._$_s: + a6 = a0.DST_COLOR + aX = a0.ONE_MINUS_SRC_ALPHA + aR = a0.ZERO + aK = a0.ONE + break + } + } + a0.blendEquationSeparate(a0.FUNC_ADD, a0.FUNC_ADD) + a0.blendFuncSeparate(a6, aX, aR, aK) + if (this.anisotropyExt) { + a0.texParameteri( + a0.TEXTURE_2D, + this.anisotropyExt.TEXTURE_MAX_ANISOTROPY_EXT, + this.maxAnisotropy + ) + } + var aJ = aL.length + a0.drawElements(a0.TRIANGLES, aJ, a0.UNSIGNED_SHORT, 0) + a0.bindTexture(a0.TEXTURE_2D, null) + } + function T(aJ, aH, aI) { + if (aH == null) { + aH = aJ.createBuffer() + } + aJ.bindBuffer(aJ.ARRAY_BUFFER, aH) + aJ.bufferData(aJ.ARRAY_BUFFER, aI, aJ.DYNAMIC_DRAW) + return aH + } + function L(aJ, aH, aI) { + if (aH == null) { + aH = aJ.createBuffer() + } + aJ.bindBuffer(aJ.ELEMENT_ARRAY_BUFFER, aH) + aJ.bufferData(aJ.ELEMENT_ARRAY_BUFFER, aI, aJ.DYNAMIC_DRAW) + return aH + } + C.prototype._$Rs = function () { + throw new Error('_$Rs') + } + C.prototype._$Ds = function (aH) { + throw new Error('_$Ds') + } + C.prototype._$K2 = function () { + for (var aH = 0; aH < this.textures.length; aH++) { + var aI = this.textures[aH] + if (aI != 0) { + this.gl._$K2(1, this.textures, aH) + this.textures[aH] = null + } + } + } + C.prototype.setTexture = function (aH, aI) { + this.textures[aH] = aI + } + C.prototype.initShader = function () { + var aH = this.gl + this.loadShaders2() + this.a_position_Loc = aH.getAttribLocation(this.shaderProgram, 'a_position') + this.a_texCoord_Loc = aH.getAttribLocation(this.shaderProgram, 'a_texCoord') + this.u_matrix_Loc = aH.getUniformLocation(this.shaderProgram, 'u_mvpMatrix') + this.s_texture0_Loc = aH.getUniformLocation( + this.shaderProgram, + 's_texture0' + ) + this.u_channelFlag = aH.getUniformLocation( + this.shaderProgram, + 'u_channelFlag' + ) + this.u_baseColor_Loc = aH.getUniformLocation( + this.shaderProgram, + 'u_baseColor' + ) + this.u_maskFlag_Loc = aH.getUniformLocation( + this.shaderProgram, + 'u_maskFlag' + ) + this.a_position_Loc_Off = aH.getAttribLocation( + this.shaderProgramOff, + 'a_position' + ) + this.a_texCoord_Loc_Off = aH.getAttribLocation( + this.shaderProgramOff, + 'a_texCoord' + ) + this.u_matrix_Loc_Off = aH.getUniformLocation( + this.shaderProgramOff, + 'u_mvpMatrix' + ) + this.u_clipMatrix_Loc_Off = aH.getUniformLocation( + this.shaderProgramOff, + 'u_ClipMatrix' + ) + this.s_texture0_Loc_Off = aH.getUniformLocation( + this.shaderProgramOff, + 's_texture0' + ) + this.s_texture1_Loc_Off = aH.getUniformLocation( + this.shaderProgramOff, + 's_texture1' + ) + this.u_channelFlag_Loc_Off = aH.getUniformLocation( + this.shaderProgramOff, + 'u_channelFlag' + ) + this.u_baseColor_Loc_Off = aH.getUniformLocation( + this.shaderProgramOff, + 'u_baseColor' + ) + } + C.prototype.disposeShader = function () { + var aH = this.gl + if (this.shaderProgram) { + aH.deleteProgram(this.shaderProgram) + this.shaderProgram = null + } + if (this.shaderProgramOff) { + aH.deleteProgram(this.shaderProgramOff) + this.shaderProgramOff = null + } + } + C.prototype.compileShader = function (aJ, aN) { + var aM = this.gl + var aH + var aL = aN + var aK = aM.createShader(aJ) + if (aK == null) { + q._$Ji('_$L0 to create shader') + return null + } + aM.shaderSource(aK, aL) + aM.compileShader(aK) + var aH = aM.getShaderParameter(aK, aM.COMPILE_STATUS) + if (!aH) { + var aI = aM.getShaderInfoLog(aK) + q._$Ji('_$L0 to compile shader : ' + aI) + aM.deleteShader(aK) + return null + } + return aK + } + C.prototype.loadShaders2 = function () { + var aN = this.gl + this.shaderProgram = aN.createProgram() + if (!this.shaderProgram) { + return false + } + this.shaderProgramOff = aN.createProgram() + if (!this.shaderProgramOff) { + return false + } + var aK = + 'attribute vec4 a_position;attribute vec2 a_texCoord;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform mat4 u_mvpMatrix;void main(){ gl_Position = u_mvpMatrix * a_position; v_ClipPos = u_mvpMatrix * a_position; v_texCoord = a_texCoord;}' + var aM = + 'precision mediump float;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform sampler2D s_texture0;uniform vec4 u_channelFlag;uniform vec4 u_baseColor;uniform bool u_maskFlag;void main(){ vec4 smpColor; if(u_maskFlag){ float isInside = step(u_baseColor.x, v_ClipPos.x/v_ClipPos.w) * step(u_baseColor.y, v_ClipPos.y/v_ClipPos.w) * step(v_ClipPos.x/v_ClipPos.w, u_baseColor.z) * step(v_ClipPos.y/v_ClipPos.w, u_baseColor.w); smpColor = u_channelFlag * texture2D(s_texture0 , v_texCoord).a * isInside; }else{ smpColor = texture2D(s_texture0 , v_texCoord) * u_baseColor; } gl_FragColor = smpColor;}' + var aL = + 'attribute vec4 a_position;attribute vec2 a_texCoord;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform mat4 u_mvpMatrix;uniform mat4 u_ClipMatrix;void main(){ gl_Position = u_mvpMatrix * a_position; v_ClipPos = u_ClipMatrix * a_position; v_texCoord = a_texCoord ;}' + var aJ = + 'precision mediump float ;varying vec2 v_texCoord;varying vec4 v_ClipPos;uniform sampler2D s_texture0;uniform sampler2D s_texture1;uniform vec4 u_channelFlag;uniform vec4 u_baseColor ;void main(){ vec4 col_formask = texture2D(s_texture0, v_texCoord) * u_baseColor; vec4 clipMask = texture2D(s_texture1, v_ClipPos.xy / v_ClipPos.w) * u_channelFlag; float maskVal = clipMask.r + clipMask.g + clipMask.b + clipMask.a; col_formask = col_formask * maskVal; gl_FragColor = col_formask;}' + this.vertShader = this.compileShader(aN.VERTEX_SHADER, aK) + if (!this.vertShader) { + q._$Ji('Vertex shader compile _$li!') + return false + } + this.vertShaderOff = this.compileShader(aN.VERTEX_SHADER, aL) + if (!this.vertShaderOff) { + q._$Ji('OffVertex shader compile _$li!') + return false + } + this.fragShader = this.compileShader(aN.FRAGMENT_SHADER, aM) + if (!this.fragShader) { + q._$Ji('Fragment shader compile _$li!') + return false + } + this.fragShaderOff = this.compileShader(aN.FRAGMENT_SHADER, aJ) + if (!this.fragShaderOff) { + q._$Ji('OffFragment shader compile _$li!') + return false + } + aN.attachShader(this.shaderProgram, this.vertShader) + aN.attachShader(this.shaderProgram, this.fragShader) + aN.attachShader(this.shaderProgramOff, this.vertShaderOff) + aN.attachShader(this.shaderProgramOff, this.fragShaderOff) + aN.linkProgram(this.shaderProgram) + aN.linkProgram(this.shaderProgramOff) + var aH = aN.getProgramParameter(this.shaderProgram, aN.LINK_STATUS) + if (!aH) { + var aI = aN.getProgramInfoLog(this.shaderProgram) + q._$Ji('_$L0 to link program: ' + aI) + if (this.vertShader) { + aN.deleteShader(this.vertShader) + this.vertShader = 0 + } + if (this.fragShader) { + aN.deleteShader(this.fragShader) + this.fragShader = 0 + } + if (this.shaderProgram) { + aN.deleteProgram(this.shaderProgram) + this.shaderProgram = 0 + } + if (this.vertShaderOff) { + aN.deleteShader(this.vertShaderOff) + this.vertShaderOff = 0 + } + if (this.fragShaderOff) { + aN.deleteShader(this.fragShaderOff) + this.fragShaderOff = 0 + } + if (this.shaderProgramOff) { + aN.deleteProgram(this.shaderProgramOff) + this.shaderProgramOff = 0 + } + return false + } + return true + } + C.prototype.createFramebuffer = function () { + var aL = this.gl + var aK = Q.clippingMaskBufferSize + var aJ = aL.createFramebuffer() + aL.bindFramebuffer(aL.FRAMEBUFFER, aJ) + var aH = aL.createRenderbuffer() + aL.bindRenderbuffer(aL.RENDERBUFFER, aH) + aL.renderbufferStorage(aL.RENDERBUFFER, aL.RGBA4, aK, aK) + aL.framebufferRenderbuffer( + aL.FRAMEBUFFER, + aL.COLOR_ATTACHMENT0, + aL.RENDERBUFFER, + aH + ) + var aI = aL.createTexture() + aL.bindTexture(aL.TEXTURE_2D, aI) + aL.texImage2D( + aL.TEXTURE_2D, + 0, + aL.RGBA, + aK, + aK, + 0, + aL.RGBA, + aL.UNSIGNED_BYTE, + null + ) + aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_MIN_FILTER, aL.LINEAR) + aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_MAG_FILTER, aL.LINEAR) + aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_WRAP_S, aL.CLAMP_TO_EDGE) + aL.texParameteri(aL.TEXTURE_2D, aL.TEXTURE_WRAP_T, aL.CLAMP_TO_EDGE) + aL.framebufferTexture2D( + aL.FRAMEBUFFER, + aL.COLOR_ATTACHMENT0, + aL.TEXTURE_2D, + aI, + 0 + ) + aL.bindTexture(aL.TEXTURE_2D, null) + aL.bindRenderbuffer(aL.RENDERBUFFER, null) + aL.bindFramebuffer(aL.FRAMEBUFFER, null) + Q.fTexture[this.glno] = aI + return { framebuffer: aJ, renderbuffer: aH, texture: Q.fTexture[this.glno] } + } + function K(aH) { + if (j) { + return + } + this._$P = new Int8Array(8) + this._$R0 = new DataView(this._$P.buffer) + this._$3i = new Int8Array(1000) + this._$hL = 0 + this._$v0 = 0 + this._$S2 = 0 + this._$Ko = new Array() + this._$T = aH + this._$F = 0 + } + K.prototype._$fP = function () { + var aK = this._$ST() + var aJ, aI, aH + if ((aK & 128) == 0) { + return aK & 255 + } else { + if (((aJ = this._$ST()) & 128) == 0) { + return ((aK & 127) << 7) | (aJ & 127) + } else { + if (((aI = this._$ST()) & 128) == 0) { + return ((aK & 127) << 14) | ((aJ & 127) << 7) | (aI & 255) + } else { + if (((aH = this._$ST()) & 128) == 0) { + return ( + ((aK & 127) << 21) | + ((aJ & 127) << 14) | + ((aI & 127) << 7) | + (aH & 255) + ) + } else { + throw new J('_$L _$0P _') + } + } + } + } + } + K.prototype.getFormatVersion = function () { + return this._$S2 + } + K.prototype._$gr = function (aH) { + this._$S2 = aH + } + K.prototype._$3L = function () { + return this._$fP() + } + K.prototype._$mP = function () { + this._$zT() + this._$F += 8 + return this._$T.getFloat64(this._$F - 8) + } + K.prototype._$_T = function () { + this._$zT() + this._$F += 4 + return this._$T.getFloat32(this._$F - 4) + } + K.prototype._$6L = function () { + this._$zT() + this._$F += 4 + return this._$T.getInt32(this._$F - 4) + } + K.prototype._$ST = function () { + this._$zT() + return this._$T.getInt8(this._$F++) + } + K.prototype._$9T = function () { + this._$zT() + this._$F += 2 + return this._$T.getInt16(this._$F - 2) + } + K.prototype._$2T = function () { + this._$zT() + this._$F += 8 + throw new J('_$L _$q read long') + } + K.prototype._$po = function () { + this._$zT() + return this._$T.getInt8(this._$F++) != 0 + } + var O = true + K.prototype._$bT = function () { + this._$zT() + var aH = this._$3L() + var aK = null + if (O) { + try { + var aM = new ArrayBuffer(aH * 2) + aK = new Uint16Array(aM) + for (var aJ = 0; aJ < aH; ++aJ) { + aK[aJ] = this._$T.getUint8(this._$F++) + } + return String.fromCharCode.apply(null, aK) + } catch (aL) { + O = false + } + } + try { + var aI = new Array() + if (aK == null) { + for (var aJ = 0; aJ < aH; ++aJ) { + aI[aJ] = this._$T.getUint8(this._$F++) + } + } else { + for (var aJ = 0; aJ < aH; ++aJ) { + aI[aJ] = aK[aJ] + } + } + return String.fromCharCode.apply(null, aI) + } catch (aL) { + console.log('read utf8 / _$rT _$L0 !! : ' + aL) + } + } + K.prototype._$cS = function () { + this._$zT() + var aI = this._$3L() + var aH = new Int32Array(aI) + for (var aJ = 0; aJ < aI; aJ++) { + aH[aJ] = this._$T.getInt32(this._$F) + this._$F += 4 + } + return aH + } + K.prototype._$Tb = function () { + this._$zT() + var aI = this._$3L() + var aH = new Float32Array(aI) + for (var aJ = 0; aJ < aI; aJ++) { + aH[aJ] = this._$T.getFloat32(this._$F) + this._$F += 4 + } + return aH + } + K.prototype._$5b = function () { + this._$zT() + var aI = this._$3L() + var aH = new Float64Array(aI) + for (var aJ = 0; aJ < aI; aJ++) { + aH[aJ] = this._$T.getFloat64(this._$F) + this._$F += 8 + } + return aH + } + K.prototype._$nP = function () { + return this._$Jb(-1) + } + K.prototype._$Jb = function (aJ) { + this._$zT() + if (aJ < 0) { + aJ = this._$3L() + } + if (aJ == ay._$7P) { + var aH = this._$6L() + if (0 <= aH && aH < this._$Ko.length) { + return this._$Ko[aH] + } else { + throw new J('_$sL _$4i @_$m0') + } + } else { + var aI = this._$4b(aJ) + this._$Ko.push(aI) + return aI + } + } + K.prototype._$4b = function (aN) { + if (aN == 0) { + return null + } + if (aN == 50) { + var aK = this._$bT() + var aI = Z.getID(aK) + return aI + } else { + if (aN == 51) { + var aK = this._$bT() + var aI = n.getID(aK) + return aI + } else { + if (aN == 134) { + var aK = this._$bT() + var aI = i.getID(aK) + return aI + } else { + if (aN == 60) { + var aK = this._$bT() + var aI = z.getID(aK) + return aI + } + } + } + } + if (aN >= 48) { + var aL = ay._$9o(aN) + if (aL != null) { + aL._$F0(this) + return aL + } else { + return null + } + } + switch (aN) { + case 1: + return this._$bT() + case 10: + var aM = this._$6L() + return new I(aM, true) + case 11: + return new av(this._$mP(), this._$mP(), this._$mP(), this._$mP()) + case 12: + return new av(this._$_T(), this._$_T(), this._$_T(), this._$_T()) + case 13: + return new e(this._$mP(), this._$mP()) + case 14: + return new e(this._$_T(), this._$_T()) + case 15: + var aH = this._$3L() + var aI = new Array(aH) + for (var aJ = 0; aJ < aH; aJ++) { + aI[aJ] = this._$nP() + } + return aI + case 17: + var aI = new aD( + this._$mP(), + this._$mP(), + this._$mP(), + this._$mP(), + this._$mP(), + this._$mP() + ) + return aI + case 21: + return new F(this._$6L(), this._$6L(), this._$6L(), this._$6L()) + case 22: + return new k(this._$6L(), this._$6L()) + case 23: + throw new Error('_$L _$ro ') + case 16: + case 25: + return this._$cS() + case 26: + return this._$5b() + case 27: + return this._$Tb() + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 18: + case 19: + case 20: + case 24: + case 28: + throw new J('_$6 _$q : _$nP() of 2-9 ,18,19,20,24,28 : ' + aN) + default: + throw new J('_$6 _$q : _$nP() NO _$i : ' + aN) + } + } + K.prototype._$8L = function () { + if (this._$hL == 0) { + this._$v0 = this._$ST() + } else { + if (this._$hL == 8) { + this._$v0 = this._$ST() + this._$hL = 0 + } + } + return ((this._$v0 >> (7 - this._$hL++)) & 1) == 1 + } + K.prototype._$zT = function () { + if (this._$hL != 0) { + this._$hL = 0 + } + } + function ai() {} + ai.prototype._$wP = function (aM, aI, aK) { + for (var aL = 0; aL < aK; aL++) { + for (var aH = 0; aH < aI; aH++) { + var aJ = 2 * (aH + aL * aI) + console.log('(% 7.3f , % 7.3f) , ', aM[aJ], aM[aJ + 1]) + } + console.log('\n') + } + console.log('\n') + } + function aC() {} + aC._$2S = Math.PI / 180 + aC._$bS = Math.PI / 180 + aC._$wS = 180 / Math.PI + aC._$NS = 180 / Math.PI + aC.PI_F = Math.PI + aC._$kT = [ + 0, 0.012368, 0.024734, 0.037097, 0.049454, 0.061803, 0.074143, 0.086471, + 0.098786, 0.111087, 0.12337, 0.135634, 0.147877, 0.160098, 0.172295, + 0.184465, 0.196606, 0.208718, 0.220798, 0.232844, 0.244854, 0.256827, + 0.268761, 0.280654, 0.292503, 0.304308, 0.316066, 0.327776, 0.339436, + 0.351044, 0.362598, 0.374097, 0.385538, 0.396921, 0.408243, 0.419502, + 0.430697, 0.441826, 0.452888, 0.463881, 0.474802, 0.485651, 0.496425, + 0.507124, 0.517745, 0.528287, 0.538748, 0.549126, 0.559421, 0.56963, + 0.579752, 0.589785, 0.599728, 0.609579, 0.619337, 0.629, 0.638567, 0.648036, + 0.657406, 0.666676, 0.675843, 0.684908, 0.693867, 0.70272, 0.711466, + 0.720103, 0.72863, 0.737045, 0.745348, 0.753536, 0.76161, 0.769566, + 0.777405, 0.785125, 0.792725, 0.800204, 0.807561, 0.814793, 0.821901, + 0.828884, 0.835739, 0.842467, 0.849066, 0.855535, 0.861873, 0.868079, + 0.874153, 0.880093, 0.885898, 0.891567, 0.897101, 0.902497, 0.907754, + 0.912873, 0.917853, 0.922692, 0.92739, 0.931946, 0.936359, 0.940629, + 0.944755, 0.948737, 0.952574, 0.956265, 0.959809, 0.963207, 0.966457, + 0.96956, 0.972514, 0.97532, 0.977976, 0.980482, 0.982839, 0.985045, + 0.987101, 0.989006, 0.990759, 0.992361, 0.993811, 0.995109, 0.996254, + 0.997248, 0.998088, 0.998776, 0.999312, 0.999694, 0.999924, 1, + ] + aC._$92 = function (aK, aI) { + var aH = Math.atan2(aK[1], aK[0]) + var aJ = Math.atan2(aI[1], aI[0]) + return aC._$tS(aH, aJ) + } + aC._$tS = function (aI, aH) { + var aJ = aI - aH + while (aJ < -Math.PI) { + aJ += 2 * Math.PI + } + while (aJ > Math.PI) { + aJ -= 2 * Math.PI + } + return aJ + } + aC._$9 = function (aH) { + return Math.sin(aH) + } + aC.fcos = function (aH) { + return Math.cos(aH) + } + function aB(aH) { + if (j) { + return + } + this._$e0 = null + this._$IP = null + this._$Us = null + this._$7s = null + this._$IS = [false] + this._$VS = null + this._$AT = true + this.baseOpacity = 1 + this.clipBufPre_clipContext = null + this._$e0 = aH + } + aB.prototype._$u2 = function () { + return this._$IS[0] + } + aB.prototype._$yo = function () { + return this._$AT && !this._$IS[0] + } + aB.prototype._$GT = function () { + return this._$e0 + } + function r() {} + r._$W2 = 0 + r.SYSTEM_INFO = null + r.USER_AGENT = navigator.userAgent + r.isIPhone = function () { + if (!r.SYSTEM_INFO) { + r.setup() + } + return r.SYSTEM_INFO._isIPhone + } + r.isIOS = function () { + if (!r.SYSTEM_INFO) { + r.setup() + } + return r.SYSTEM_INFO._isIPhone || r.SYSTEM_INFO._isIPad + } + r.isAndroid = function () { + if (!r.SYSTEM_INFO) { + r.setup() + } + return r.SYSTEM_INFO._isAndroid + } + r.getOSVersion = function () { + if (!r.SYSTEM_INFO) { + r.setup() + } + return r.SYSTEM_INFO.version + } + r.getOS = function () { + if (!r.SYSTEM_INFO) { + r.setup() + } + if (r.SYSTEM_INFO._isIPhone || r.SYSTEM_INFO._isIPad) { + return 'iOS' + } + if (r.SYSTEM_INFO._isAndroid) { + return 'Android' + } else { + return '_$Q0 OS' + } + } + r.setup = function () { + var aK = r.USER_AGENT + function aI(aO, aR) { + var aN = aO.substring(aR).split(/[ _,;\.]/) + var aQ = 0 + for (var aM = 0; aM <= 2; aM++) { + if (isNaN(aN[aM])) { + break + } + var aP = parseInt(aN[aM]) + if (aP < 0 || aP > 999) { + q._$li('err : ' + aP + ' @UtHtml5.setup()') + aQ = 0 + break + } + aQ += aP * Math.pow(1000, 2 - aM) + } + return aQ + } + var aL + var aH + var aJ = (r.SYSTEM_INFO = { userAgent: aK }) + if ((aL = aK.indexOf('iPhone OS ')) >= 0) { + aJ.os = 'iPhone' + aJ._isIPhone = true + aJ.version = aI(aK, aL + 'iPhone OS '.length) + } else { + if ((aL = aK.indexOf('iPad')) >= 0) { + aL = aK.indexOf('CPU OS') + if (aL < 0) { + q._$li(' err : ' + aK + ' @UtHtml5.setup()') + return + } + aJ.os = 'iPad' + aJ._isIPad = true + aJ.version = aI(aK, aL + 'CPU OS '.length) + } else { + if ((aL = aK.indexOf('Android')) >= 0) { + aJ.os = 'Android' + aJ._isAndroid = true + aJ.version = aI(aK, aL + 'Android '.length) + } else { + aJ.os = '-' + aJ.version = -1 + } + } + } + } + window.UtSystem = P + window.UtDebug = q + window.LDTransform = am + window.LDGL = au + window.Live2D = Q + window.Live2DModelWebGL = l + window.Live2DModelJS = v + window.Live2DMotion = ao + window.MotionQueueManager = V + window.PhysicsHair = u + window.AMotion = ah + window.PartsDataID = i + window.DrawDataID = Z + window.BaseDataID = n + window.ParamID = z + Q.init() + var j = false +})() diff --git a/public/scripts/live2dcubismcore.min.js b/public/scripts/live2dcubismcore.min.js new file mode 100644 index 00000000..de6b6a2f --- /dev/null +++ b/public/scripts/live2dcubismcore.min.js @@ -0,0 +1,18180 @@ +/** + * Live2D Cubism Core + * (C) 2019 Live2D Inc. All rights reserved. + * + * This file is licensed pursuant to the license agreement below. + * This file corresponds to the "Redistributable Code" in the agreement. + * https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html + */ +var Live2DCubismCore +!(function (Live2DCubismCore) { + var _scriptDir, + _csm = (function () { + function _csm() {} + return ( + (_csm.getVersion = function () { + return _em.ccall('csmGetVersion', 'number', [], []) + }), + (_csm.getLatestMocVersion = function () { + return _em.ccall('csmGetLatestMocVersion', 'number', [], []) + }), + (_csm.getMocVersion = function (moc, mocSize) { + return _em.ccall( + 'csmGetMocVersion', + 'number', + ['number', 'number'], + [moc, mocSize] + ) + }), + (_csm.getLogFunction = function () { + return _em.ccall('csmGetLogFunction', 'number', [], []) + }), + (_csm.getSizeofModel = function (moc) { + return _em.ccall('csmGetSizeofModel', 'number', ['number'], [moc]) + }), + (_csm.reviveMocInPlace = function (memory, mocSize) { + return _em.ccall( + 'csmReviveMocInPlace', + 'number', + ['number', 'number'], + [memory, mocSize] + ) + }), + (_csm.initializeModelInPlace = function (moc, memory, modelSize) { + return _em.ccall( + 'csmInitializeModelInPlace', + 'number', + ['number', 'number', 'number'], + [moc, memory, modelSize] + ) + }), + (_csm.hasMocConsistency = function (memory, mocSize) { + return _em.ccall( + 'csmHasMocConsistency', + 'number', + ['number', 'number'], + [memory, mocSize] + ) + }), + (_csm.getParameterCount = function (model) { + return _em.ccall( + 'csmGetParameterCount', + 'number', + ['number'], + [model] + ) + }), + (_csm.getParameterIds = function (model) { + return _em.ccall('csmGetParameterIds', 'number', ['number'], [model]) + }), + (_csm.getParameterMinimumValues = function (model) { + return _em.ccall( + 'csmGetParameterMinimumValues', + 'number', + ['number'], + [model] + ) + }), + (_csm.getParameterTypes = function (model) { + return _em.ccall( + 'csmGetParameterTypes', + 'number', + ['number'], + [model] + ) + }), + (_csm.getParameterMaximumValues = function (model) { + return _em.ccall( + 'csmGetParameterMaximumValues', + 'number', + ['number'], + [model] + ) + }), + (_csm.getParameterDefaultValues = function (model) { + return _em.ccall( + 'csmGetParameterDefaultValues', + 'number', + ['number'], + [model] + ) + }), + (_csm.getParameterValues = function (model) { + return _em.ccall( + 'csmGetParameterValues', + 'number', + ['number'], + [model] + ) + }), + (_csm.getParameterKeyCounts = function (model) { + return _em.ccall( + 'csmGetParameterKeyCounts', + 'number', + ['number'], + [model] + ) + }), + (_csm.getParameterKeyValues = function (model) { + return _em.ccall( + 'csmGetParameterKeyValues', + 'number', + ['number'], + [model] + ) + }), + (_csm.getPartCount = function (model) { + return _em.ccall('csmGetPartCount', 'number', ['number'], [model]) + }), + (_csm.getPartIds = function (model) { + return _em.ccall('csmGetPartIds', 'number', ['number'], [model]) + }), + (_csm.getPartOpacities = function (model) { + return _em.ccall('csmGetPartOpacities', 'number', ['number'], [model]) + }), + (_csm.getPartParentPartIndices = function (model) { + return _em.ccall( + 'csmGetPartParentPartIndices', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableCount = function (model) { + return _em.ccall('csmGetDrawableCount', 'number', ['number'], [model]) + }), + (_csm.getDrawableIds = function (model) { + return _em.ccall('csmGetDrawableIds', 'number', ['number'], [model]) + }), + (_csm.getDrawableConstantFlags = function (model) { + return _em.ccall( + 'csmGetDrawableConstantFlags', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableDynamicFlags = function (model) { + return _em.ccall( + 'csmGetDrawableDynamicFlags', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableTextureIndices = function (model) { + return _em.ccall( + 'csmGetDrawableTextureIndices', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableDrawOrders = function (model) { + return _em.ccall( + 'csmGetDrawableDrawOrders', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableRenderOrders = function (model) { + return _em.ccall( + 'csmGetDrawableRenderOrders', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableOpacities = function (model) { + return _em.ccall( + 'csmGetDrawableOpacities', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableMaskCounts = function (model) { + return _em.ccall( + 'csmGetDrawableMaskCounts', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableMasks = function (model) { + return _em.ccall('csmGetDrawableMasks', 'number', ['number'], [model]) + }), + (_csm.getDrawableVertexCounts = function (model) { + return _em.ccall( + 'csmGetDrawableVertexCounts', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableVertexPositions = function (model) { + return _em.ccall( + 'csmGetDrawableVertexPositions', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableVertexUvs = function (model) { + return _em.ccall( + 'csmGetDrawableVertexUvs', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableIndexCounts = function (model) { + return _em.ccall( + 'csmGetDrawableIndexCounts', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableIndices = function (model) { + return _em.ccall( + 'csmGetDrawableIndices', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableMultiplyColors = function (model) { + return _em.ccall( + 'csmGetDrawableMultiplyColors', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableScreenColors = function (model) { + return _em.ccall( + 'csmGetDrawableScreenColors', + 'number', + ['number'], + [model] + ) + }), + (_csm.getDrawableParentPartIndices = function (model) { + return _em.ccall( + 'csmGetDrawableParentPartIndices', + 'number', + ['number'], + [model] + ) + }), + (_csm.mallocMoc = function (mocSize) { + return _em.ccall('csmMallocMoc', 'number', ['number'], [mocSize]) + }), + (_csm.mallocModelAndInitialize = function (moc) { + return _em.ccall( + 'csmMallocModelAndInitialize', + 'number', + ['number'], + [moc] + ) + }), + (_csm.malloc = function (size) { + return _em.ccall('csmMalloc', 'number', ['number'], [size]) + }), + (_csm.setLogFunction = function (handler) { + _em.ccall('csmSetLogFunction', null, ['number'], [handler]) + }), + (_csm.updateModel = function (model) { + _em.ccall('csmUpdateModel', null, ['number'], [model]) + }), + (_csm.readCanvasInfo = function ( + model, + outSizeInPixels, + outOriginInPixels, + outPixelsPerUnit + ) { + _em.ccall( + 'csmReadCanvasInfo', + null, + ['number', 'number', 'number', 'number'], + [model, outSizeInPixels, outOriginInPixels, outPixelsPerUnit] + ) + }), + (_csm.resetDrawableDynamicFlags = function (model) { + _em.ccall('csmResetDrawableDynamicFlags', null, ['number'], [model]) + }), + (_csm.free = function (memory) { + _em.ccall('csmFree', null, ['number'], [memory]) + }), + (_csm.initializeAmountOfMemory = function (size) { + _em.ccall('csmInitializeAmountOfMemory', null, ['number'], [size]) + }), + _csm + ) + })(), + Version = + ((Live2DCubismCore.AlignofMoc = 64), + (Live2DCubismCore.AlignofModel = 16), + (Live2DCubismCore.MocVersion_Unknown = 0), + (Live2DCubismCore.MocVersion_30 = 1), + (Live2DCubismCore.MocVersion_33 = 2), + (Live2DCubismCore.MocVersion_40 = 3), + (Live2DCubismCore.MocVersion_42 = 4), + (Live2DCubismCore.MocVersion_50 = 5), + (Live2DCubismCore.ParameterType_Normal = 0), + (Live2DCubismCore.ParameterType_BlendShape = 1), + (function () { + function Version() {} + return ( + (Version.csmGetVersion = function () { + return _csm.getVersion() + }), + (Version.csmGetLatestMocVersion = function () { + return _csm.getLatestMocVersion() + }), + (Version.csmGetMocVersion = function (moc, mocBytes) { + return _csm.getMocVersion(moc._ptr, mocBytes.byteLength) + }), + Version + ) + })()), + Version = + ((Live2DCubismCore.Version = Version), + (function () { + function Logging() {} + return ( + (Logging.csmSetLogFunction = function (handler) { + Logging.logFunction = handler + handler = _em.addFunction(Logging.wrapLogFunction, 'vi') + _csm.setLogFunction(handler) + }), + (Logging.csmGetLogFunction = function () { + return Logging.logFunction + }), + (Logging.wrapLogFunction = function (messagePtr) { + messagePtr = _em.UTF8ToString(messagePtr) + Logging.logFunction(messagePtr) + }), + Logging + ) + })()), + Version = + ((Live2DCubismCore.Logging = Version), + (function () { + function Moc(mocBytes) { + var memory = _csm.mallocMoc(mocBytes.byteLength) + memory && + (new Uint8Array(_em.HEAPU8.buffer, memory, mocBytes.byteLength).set( + new Uint8Array(mocBytes) + ), + (this._ptr = _csm.reviveMocInPlace(memory, mocBytes.byteLength)), + this._ptr || _csm.free(memory)) + } + return ( + (Moc.prototype.hasMocConsistency = function (mocBytes) { + var memory = _csm.mallocMoc(mocBytes.byteLength) + if (memory) + return ( + new Uint8Array( + _em.HEAPU8.buffer, + memory, + mocBytes.byteLength + ).set(new Uint8Array(mocBytes)), + (mocBytes = _csm.hasMocConsistency( + memory, + mocBytes.byteLength + )), + _csm.free(memory), + mocBytes + ) + }), + (Moc.fromArrayBuffer = function (buffer) { + return buffer && (buffer = new Moc(buffer))._ptr ? buffer : null + }), + (Moc.prototype._release = function () { + _csm.free(this._ptr), (this._ptr = 0) + }), + Moc + ) + })()), + Version = + ((Live2DCubismCore.Moc = Version), + (function () { + function Model(moc) { + ;(this._ptr = _csm.mallocModelAndInitialize(moc._ptr)), + this._ptr && + ((this.parameters = new Parameters(this._ptr)), + (this.parts = new Parts(this._ptr)), + (this.drawables = new Drawables(this._ptr)), + (this.canvasinfo = new CanvasInfo(this._ptr))) + } + return ( + (Model.fromMoc = function (moc) { + moc = new Model(moc) + return moc._ptr ? moc : null + }), + (Model.prototype.update = function () { + _csm.updateModel(this._ptr) + }), + (Model.prototype.release = function () { + _csm.free(this._ptr), (this._ptr = 0) + }), + Model + ) + })()), + CanvasInfo = + ((Live2DCubismCore.Model = Version), + function (modelPtr) { + var _canvasSize_data, + _canvasSize_dataPtr, + _canvasSize_nDataBytes, + _canvasOrigin_dataPtr, + _canvasOrigin_nDataBytes, + _canvasPPU_nDataBytes, + _canvasPPU_dataPtr + modelPtr && + ((_canvasSize_nDataBytes = + (_canvasSize_data = new Float32Array(2)).length * + _canvasSize_data.BYTES_PER_ELEMENT), + (_canvasSize_dataPtr = _csm.malloc(_canvasSize_nDataBytes)), + (_canvasSize_dataPtr = new Uint8Array( + _em.HEAPU8.buffer, + _canvasSize_dataPtr, + _canvasSize_nDataBytes + )).set(new Uint8Array(_canvasSize_data.buffer)), + (_canvasOrigin_nDataBytes = + (_canvasSize_nDataBytes = new Float32Array(2)).length * + _canvasSize_nDataBytes.BYTES_PER_ELEMENT), + (_canvasOrigin_dataPtr = _csm.malloc(_canvasOrigin_nDataBytes)), + (_canvasOrigin_dataPtr = new Uint8Array( + _em.HEAPU8.buffer, + _canvasOrigin_dataPtr, + _canvasOrigin_nDataBytes + )).set(new Uint8Array(_canvasSize_nDataBytes.buffer)), + (_canvasPPU_nDataBytes = + (_canvasOrigin_nDataBytes = new Float32Array(1)).length * + _canvasOrigin_nDataBytes.BYTES_PER_ELEMENT), + (_canvasPPU_dataPtr = _csm.malloc(_canvasPPU_nDataBytes)), + (_canvasPPU_dataPtr = new Uint8Array( + _em.HEAPU8.buffer, + _canvasPPU_dataPtr, + _canvasPPU_nDataBytes + )).set(new Uint8Array(_canvasOrigin_nDataBytes.buffer)), + _csm.readCanvasInfo( + modelPtr, + _canvasSize_dataPtr.byteOffset, + _canvasOrigin_dataPtr.byteOffset, + _canvasPPU_dataPtr.byteOffset + ), + (_canvasSize_data = new Float32Array( + _canvasSize_dataPtr.buffer, + _canvasSize_dataPtr.byteOffset, + _canvasSize_dataPtr.length + )), + (_canvasSize_nDataBytes = new Float32Array( + _canvasOrigin_dataPtr.buffer, + _canvasOrigin_dataPtr.byteOffset, + _canvasOrigin_dataPtr.length + )), + (_canvasOrigin_nDataBytes = new Float32Array( + _canvasPPU_dataPtr.buffer, + _canvasPPU_dataPtr.byteOffset, + _canvasPPU_dataPtr.length + )), + (this.CanvasWidth = _canvasSize_data[0]), + (this.CanvasHeight = _canvasSize_data[1]), + (this.CanvasOriginX = _canvasSize_nDataBytes[0]), + (this.CanvasOriginY = _canvasSize_nDataBytes[1]), + (this.PixelsPerUnit = _canvasOrigin_nDataBytes[0]), + _csm.free(_canvasSize_dataPtr.byteOffset), + _csm.free(_canvasOrigin_dataPtr.byteOffset), + _csm.free(_canvasPPU_dataPtr.byteOffset)) + }), + Parameters = + ((Live2DCubismCore.CanvasInfo = CanvasInfo), + function (modelPtr) { + ;(this.count = _csm.getParameterCount(modelPtr)), + (length = _csm.getParameterCount(modelPtr)), + (this.ids = new Array(length)) + for ( + var length, + length2, + _ids = new Uint32Array( + _em.HEAPU32.buffer, + _csm.getParameterIds(modelPtr), + length + ), + i = 0; + i < _ids.length; + i++ + ) + this.ids[i] = _em.UTF8ToString(_ids[i]) + ;(length = _csm.getParameterCount(modelPtr)), + (this.minimumValues = new Float32Array( + _em.HEAPF32.buffer, + _csm.getParameterMinimumValues(modelPtr), + length + )), + (length = _csm.getParameterCount(modelPtr)), + (this.types = new Int32Array( + _em.HEAP32.buffer, + _csm.getParameterTypes(modelPtr), + length + )), + (length = _csm.getParameterCount(modelPtr)), + (this.maximumValues = new Float32Array( + _em.HEAPF32.buffer, + _csm.getParameterMaximumValues(modelPtr), + length + )), + (length = _csm.getParameterCount(modelPtr)), + (this.defaultValues = new Float32Array( + _em.HEAPF32.buffer, + _csm.getParameterDefaultValues(modelPtr), + length + )), + (length = _csm.getParameterCount(modelPtr)), + (this.values = new Float32Array( + _em.HEAPF32.buffer, + _csm.getParameterValues(modelPtr), + length + )), + (length = _csm.getParameterCount(modelPtr)), + (this.keyCounts = new Int32Array( + _em.HEAP32.buffer, + _csm.getParameterKeyCounts(modelPtr), + length + )), + (length = _csm.getParameterCount(modelPtr)), + (length2 = new Int32Array( + _em.HEAP32.buffer, + _csm.getParameterKeyCounts(modelPtr), + length + )), + (this.keyValues = new Array(length)) + for ( + var _keyValues = new Uint32Array( + _em.HEAPU32.buffer, + _csm.getParameterKeyValues(modelPtr), + length + ), + i = 0; + i < _keyValues.length; + i++ + ) + this.keyValues[i] = new Float32Array( + _em.HEAPF32.buffer, + _keyValues[i], + length2[i] + ) + }), + Parts = + ((Live2DCubismCore.Parameters = Parameters), + function (modelPtr) { + ;(this.count = _csm.getPartCount(modelPtr)), + (length = _csm.getPartCount(modelPtr)), + (this.ids = new Array(length)) + for ( + var length, + _ids = new Uint32Array( + _em.HEAPU32.buffer, + _csm.getPartIds(modelPtr), + length + ), + i = 0; + i < _ids.length; + i++ + ) + this.ids[i] = _em.UTF8ToString(_ids[i]) + ;(length = _csm.getPartCount(modelPtr)), + (this.opacities = new Float32Array( + _em.HEAPF32.buffer, + _csm.getPartOpacities(modelPtr), + length + )), + (length = _csm.getPartCount(modelPtr)), + (this.parentIndices = new Int32Array( + _em.HEAP32.buffer, + _csm.getPartParentPartIndices(modelPtr), + length + )) + }), + Drawables = + ((Live2DCubismCore.Parts = Parts), + (function () { + function Drawables(modelPtr) { + this._modelPtr = modelPtr + for ( + var length, + length2 = null, + _ids = + ((this.count = _csm.getDrawableCount(modelPtr)), + (length = _csm.getDrawableCount(modelPtr)), + (this.ids = new Array(length)), + new Uint32Array( + _em.HEAPU32.buffer, + _csm.getDrawableIds(modelPtr), + length + )), + i = 0; + i < _ids.length; + i++ + ) + this.ids[i] = _em.UTF8ToString(_ids[i]) + ;(length = _csm.getDrawableCount(modelPtr)), + (this.constantFlags = new Uint8Array( + _em.HEAPU8.buffer, + _csm.getDrawableConstantFlags(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.dynamicFlags = new Uint8Array( + _em.HEAPU8.buffer, + _csm.getDrawableDynamicFlags(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.textureIndices = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableTextureIndices(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.drawOrders = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableDrawOrders(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.renderOrders = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableRenderOrders(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.opacities = new Float32Array( + _em.HEAPF32.buffer, + _csm.getDrawableOpacities(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.maskCounts = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableMaskCounts(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.vertexCounts = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableVertexCounts(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.indexCounts = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableIndexCounts(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.multiplyColors = new Float32Array( + _em.HEAPF32.buffer, + _csm.getDrawableMultiplyColors(modelPtr), + 4 * length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.screenColors = new Float32Array( + _em.HEAPF32.buffer, + _csm.getDrawableScreenColors(modelPtr), + 4 * length + )), + (length = _csm.getDrawableCount(modelPtr)), + (this.parentPartIndices = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableParentPartIndices(modelPtr), + length + )), + (length = _csm.getDrawableCount(modelPtr)), + (length2 = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableMaskCounts(modelPtr), + length + )), + (this.masks = new Array(length)) + for ( + var _masks = new Uint32Array( + _em.HEAPU32.buffer, + _csm.getDrawableMasks(modelPtr), + length + ), + i = 0; + i < _masks.length; + i++ + ) + this.masks[i] = new Int32Array( + _em.HEAP32.buffer, + _masks[i], + length2[i] + ) + ;(length = _csm.getDrawableCount(modelPtr)), + (length2 = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableVertexCounts(modelPtr), + length + )), + (this.vertexPositions = new Array(length)) + for ( + var _vertexPositions = new Uint32Array( + _em.HEAPU32.buffer, + _csm.getDrawableVertexPositions(modelPtr), + length + ), + i = 0; + i < _vertexPositions.length; + i++ + ) + this.vertexPositions[i] = new Float32Array( + _em.HEAPF32.buffer, + _vertexPositions[i], + 2 * length2[i] + ) + ;(length = _csm.getDrawableCount(modelPtr)), + (length2 = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableVertexCounts(modelPtr), + length + )), + (this.vertexUvs = new Array(length)) + for ( + var _vertexUvs = new Uint32Array( + _em.HEAPU32.buffer, + _csm.getDrawableVertexUvs(modelPtr), + length + ), + i = 0; + i < _vertexUvs.length; + i++ + ) + this.vertexUvs[i] = new Float32Array( + _em.HEAPF32.buffer, + _vertexUvs[i], + 2 * length2[i] + ) + ;(length = _csm.getDrawableCount(modelPtr)), + (length2 = new Int32Array( + _em.HEAP32.buffer, + _csm.getDrawableIndexCounts(modelPtr), + length + )), + (this.indices = new Array(length)) + for ( + var _indices = new Uint32Array( + _em.HEAPU32.buffer, + _csm.getDrawableIndices(modelPtr), + length + ), + i = 0; + i < _indices.length; + i++ + ) + this.indices[i] = new Uint16Array( + _em.HEAPU16.buffer, + _indices[i], + length2[i] + ) + } + return ( + (Drawables.prototype.resetDynamicFlags = function () { + _csm.resetDrawableDynamicFlags(this._modelPtr) + }), + Drawables + ) + })()), + Version = + ((Live2DCubismCore.Drawables = Drawables), + (function () { + function Utils() {} + return ( + (Utils.hasBlendAdditiveBit = function (bitfield) { + return 1 == (1 & bitfield) + }), + (Utils.hasBlendMultiplicativeBit = function (bitfield) { + return 2 == (2 & bitfield) + }), + (Utils.hasIsDoubleSidedBit = function (bitfield) { + return 4 == (4 & bitfield) + }), + (Utils.hasIsInvertedMaskBit = function (bitfield) { + return 8 == (8 & bitfield) + }), + (Utils.hasIsVisibleBit = function (bitfield) { + return 1 == (1 & bitfield) + }), + (Utils.hasVisibilityDidChangeBit = function (bitfield) { + return 2 == (2 & bitfield) + }), + (Utils.hasOpacityDidChangeBit = function (bitfield) { + return 4 == (4 & bitfield) + }), + (Utils.hasDrawOrderDidChangeBit = function (bitfield) { + return 8 == (8 & bitfield) + }), + (Utils.hasRenderOrderDidChangeBit = function (bitfield) { + return 16 == (16 & bitfield) + }), + (Utils.hasVertexPositionsDidChangeBit = function (bitfield) { + return 32 == (32 & bitfield) + }), + (Utils.hasBlendColorDidChangeBit = function (bitfield) { + return 64 == (64 & bitfield) + }), + Utils + ) + })()), + Version = + ((Live2DCubismCore.Utils = Version), + (function () { + function Memory() {} + return ( + (Memory.initializeAmountOfMemory = function (size) { + 16777216 < size && _csm.initializeAmountOfMemory(size) + }), + Memory + ) + })()), + _em_module = + ((Live2DCubismCore.Memory = Version), + (_scriptDir = + 'undefined' != typeof document && document.currentScript + ? document.currentScript.src + : void 0), + function (_em_module) { + _em_module = _em_module || {} + var b, + n, + l = {} + for (n in (b = b || (void 0 !== _em_module ? _em_module : {}))) + b.hasOwnProperty(n) && (l[n] = b[n]) + var x, + y, + v, + w, + r = !1, + p = 'object' == typeof window, + q = 'function' == typeof importScripts, + r = + 'object' == typeof process && + 'object' == typeof process.versions && + 'string' == typeof process.versions.node && + !p && + !q, + t = !p && !r && !q, + u = '', + D = + (r + ? ((u = __dirname + '/'), + (v = function (a, c) { + var d = z(a) + return ( + d || + ((x = x || require('fs')), + (a = (y = y || require('path')).normalize(a)), + (d = x.readFileSync(a))), + c ? d : d.toString() + ) + }), + (w = function (a) { + return ( + assert( + (a = (a = v(a, !0)).buffer ? a : new Uint8Array(a)).buffer + ), + a + ) + }), + 1 < process.argv.length && process.argv[1].replace(/\\/g, '/'), + process.argv.slice(2), + process.on('uncaughtException', function (a) { + throw a + }), + process.on('unhandledRejection', B), + (b.inspect = function () { + return '[Emscripten Module object]' + })) + : t + ? ('undefined' != typeof read && + (v = function (a) { + var c = z(a) + return c ? C(c) : read(a) + }), + (w = function (a) { + var c + if (!(c = z(a))) { + if ('function' == typeof readbuffer) + return new Uint8Array(readbuffer(a)) + assert('object' == typeof (c = read(a, 'binary'))) + } + return c + }), + 'undefined' != typeof print && + (((console = + 'undefined' == typeof console ? {} : console).log = + print), + (console.warn = console.error = + 'undefined' != typeof printErr ? printErr : print))) + : (p || q) && + (q + ? (u = self.location.href) + : document.currentScript && + (u = document.currentScript.src), + (u = + 0 !== (u = _scriptDir || u).indexOf('blob:') + ? u.substr(0, u.lastIndexOf('/') + 1) + : ''), + (v = function (a) { + try { + var c = new XMLHttpRequest() + return c.open('GET', a, !1), c.send(null), c.responseText + } catch (d) { + if ((a = z(a))) return C(a) + throw d + } + }), + q) && + (w = function (a) { + try { + var c = new XMLHttpRequest() + return ( + c.open('GET', a, !1), + (c.responseType = 'arraybuffer'), + c.send(null), + new Uint8Array(c.response) + ) + } catch (d) { + if ((a = z(a))) return a + throw d + } + }), + b.print || console.log.bind(console)), + E = b.printErr || console.warn.bind(console) + for (n in l) l.hasOwnProperty(n) && (b[n] = l[n]) + function da() { + return { + exports: (function (asmLibraryArg, wasmMemory, wasmTable) { + var scratchBuffer = new ArrayBuffer(8), + b = new Int32Array(scratchBuffer), + c = new Float32Array(scratchBuffer), + d = new Float64Array(scratchBuffer) + function f(index, value) { + b[index] = value + } + function g() { + return d[0] + } + function h(value) { + d[0] = value + } + function j(value) { + c[0] = value + } + function k() { + return c[0] + } + scratchBuffer = wasmMemory.buffer + var U, + global, + buffer, + m, + n, + o, + p, + q, + r, + s, + t, + u, + v, + w, + x, + y, + z, + A, + C, + H, + I, + J, + K, + L, + M, + U = new Uint8Array(scratchBuffer) + return ( + (scratchBuffer = function (offset, s) { + var V, W + if ('undefined' == typeof Buffer) + for (V = atob(s), W = 0; W < V.length; W++) + U[offset + W] = V.charCodeAt(W) + else + for (V = Buffer.from(s, 'base64'), W = 0; W < V.length; W++) + U[offset + W] = V[W] + })( + 1024, + 'QW4gZXJyb3Igb2NjdXJyZWQgaW4gdGhlIGludGVycG9sYXRpb24gZm9yIGJsZW5kIHNoYXBlcy4gQ29tYmluYXRpb25Db3VudCBpcyAlZC4ACgBbQ1NNXSBbRV1XYXJwRGVmb3JtZXI6OlRyYW5zZm9ybVRhcmdldCgpIGVycm9yLiBbJWRdIHAwMT0oJS40ZiAsICUuNGYpCgBbQ1NNXSBbRV1Jbml0aWFsaXplRGVmb3JtZXJzKCk6IFVua25vd24gRGVmb3JtZXIgVHlwZS4KAFtDU01dIFtFXWNzbUhhc01vY0NvbnNpc3RlbmN5OiBUaGlzIG1vYzMgc2l6ZSBpcyBpbnZhbGlkLgoAW0NTTV0gW0VdJXM6ICVzCgBbQ1NNXSBbV11Sb3RhdGlvbkRlZm9ybWVyOiBOb3QgZm91bmQgdHJhbnNmb3JtZWQgRGlyZWN0aW9uLgoAW0NTTV0gW0VdVXBkYXRlRGVmb3JtZXJIaWVyYXJjaHkoKTogVW5rbm93biBEZWZvcm1lciBUeXBlLgoAJXMKACAgAE1PQzMAImFkZHJlc3MiIGlzIG51bGwuACUwMlggAFtDU01dIFtFXWNzbUhhc01vY0NvbnNpc3RlbmN5OiBGaWxlVHlwZSBpcyBpbnZhbGlkLgoAImFkZHJlc3MiIGFsaWdubWVudCBpcyBpbnZhbGlkLgBbQ1NNXSBbRV1jc21IYXNNb2NDb25zaXN0ZW5jeTogVGhpcyBtb2MzIHZlciBpcyBpbnZhbGlkIFt2ZXI6JWRdLgoAInNpemUiIGlzIGludmFsaWQuAFtDU01dIFtFXWNzbUhhc01vY0NvbnNpc3RlbmN5OiBUaGUgQ29yZSB1bnN1cHBvcnQgbGF0ZXIgdGhhbiBtb2MzIHZlcjpbJWRdLiBUaGlzIG1vYzMgdmVyIGlzIFslZF0uCgAibW9kZWwiIGlzIGludmFsaWQuAFtDU01dIFtFXWNzbUhhc01vY0NvbnNpc3RlbmN5OiBIZWFkZXIgc2VjdGlvbiBpcyBpbnZhbGlkLgoAIm91dFNpemVJblBpeGVscyIgaXMgbnVsbC4AW0NTTV0gW0VdY3NtSGFzTW9jQ29uc2lzdGVuY3k6IERhdGEgc2VjdGlvbiBpcyBpbnZhbGlkLgoAIm91dE9yaWdpbkluUGl4ZWxzIiBpcyBudWxsLgBbQ1NNXSBbRV1jc21SZXZpdmVNb2NJblBsYWNlIGlzIGZhaWxlZC4gQ29ycnVwdGVkICBtb2MzIGZpbGUuCgAib3V0UGl4ZWxzUGVyVW5pdCIgaXMgbnVsbC4AW0NTTV0gW0VdY3NtUmV2aXZlTW9jSW5QbGFjZSBpcyBmYWlsZWQuIFRoZSBDb3JlIHVuc3VwcG9ydCBsYXRlciB0aGFuIG1vYzMgdmVyOlslZF0uIFRoaXMgbW9jMyB2ZXIgaXMgWyVkXS4KACJtb2MiIGlzIGludmFsaWQuAFtDU01dIFtFXWNzbUdldE1vY1ZlcnNpb24gaXMgZmFpbGVkLiBDb3JydXB0ZWQgbW9jMyBmaWxlLgoAInNpemUiIGlzIGludmFsaWQATGl2ZTJEIEN1YmlzbSBTREsgQ29yZSBWZXJzaW9uICVkLiVkLiVkAGNzbUdldE1vY1ZlcnNpb24AY3NtSGFzTW9jQ29uc2lzdGVuY3kAY3NtUmV2aXZlTW9jSW5QbGFjZQBjc21SZWFkQ2FudmFzSW5mbwBjc21HZXRTaXplb2ZNb2RlbABjc21Jbml0aWFsaXplTW9kZWxJblBsYWNlAGNzbVVwZGF0ZU1vZGVsAGNzbUdldFBhcmFtZXRlckNvdW50AGNzbUdldFBhcmFtZXRlcklkcwBjc21HZXRQYXJhbWV0ZXJUeXBlcwBjc21HZXRQYXJhbWV0ZXJNaW5pbXVtVmFsdWVzAGNzbUdldFBhcmFtZXRlck1heGltdW1WYWx1ZXMAY3NtR2V0UGFyYW1ldGVyRGVmYXVsdFZhbHVlcwBjc21HZXRQYXJhbWV0ZXJWYWx1ZXMAY3NtR2V0UGFydENvdW50AGNzbUdldFBhcnRJZHMAY3NtR2V0UGFydE9wYWNpdGllcwBjc21HZXRQYXJ0UGFyZW50UGFydEluZGljZXMAY3NtR2V0RHJhd2FibGVDb3VudABjc21HZXREcmF3YWJsZUlkcwBjc21HZXREcmF3YWJsZUNvbnN0YW50RmxhZ3MAY3NtR2V0RHJhd2FibGVEeW5hbWljRmxhZ3MAY3NtR2V0RHJhd2FibGVUZXh0dXJlSW5kaWNlcwBjc21HZXREcmF3YWJsZURyYXdPcmRlcnMAY3NtR2V0RHJhd2FibGVSZW5kZXJPcmRlcnMAY3NtR2V0RHJhd2FibGVPcGFjaXRpZXMAY3NtR2V0RHJhd2FibGVNYXNrQ291bnRzAGNzbUdldERyYXdhYmxlTWFza3MAY3NtR2V0RHJhd2FibGVWZXJ0ZXhDb3VudHMAY3NtR2V0RHJhd2FibGVWZXJ0ZXhQb3NpdGlvbnMAY3NtR2V0RHJhd2FibGVWZXJ0ZXhVdnMAY3NtR2V0RHJhd2FibGVJbmRleENvdW50cwBjc21HZXREcmF3YWJsZUluZGljZXMAY3NtR2V0RHJhd2FibGVNdWx0aXBseUNvbG9ycwBjc21HZXREcmF3YWJsZVNjcmVlbkNvbG9ycwBjc21HZXREcmF3YWJsZVBhcmVudFBhcnRJbmRpY2VzAGNzbVJlc2V0RHJhd2FibGVEeW5hbWljRmxhZ3MAY3NtR2V0UGFyYW1ldGVyS2V5Q291bnRzAGNzbUdldFBhcmFtZXRlcktleVZhbHVlcw==' + ), + scratchBuffer(3228, 'Cg=='), + scratchBuffer(3267, '//////8='), + scratchBuffer(3336, 'LSsgICAwWDB4AChudWxsKQ=='), + scratchBuffer(3360, 'EQAKABEREQAAAAAFAAAAAAAACQAAAAAL'), + scratchBuffer( + 3392, + 'EQAPChEREQMKBwABEwkLCwAACQYLAAALAAYRAAAAERER' + ), + scratchBuffer(3441, 'Cw=='), + scratchBuffer(3450, 'EQAKChEREQAKAAACAAkLAAAACQALAAAL'), + scratchBuffer(3499, 'DA=='), + scratchBuffer(3511, 'DAAAAAAMAAAAAAkMAAAAAAAMAAAM'), + scratchBuffer(3557, 'Dg=='), + scratchBuffer(3569, 'DQAAAAQNAAAAAAkOAAAAAAAOAAAO'), + scratchBuffer(3615, 'EA=='), + scratchBuffer(3627, 'DwAAAAAPAAAAAAkQAAAAAAAQAAAQAAASAAAAEhIS'), + scratchBuffer(3682, 'EgAAABISEgAAAAAAAAk='), + scratchBuffer(3731, 'Cw=='), + scratchBuffer(3743, 'CgAAAAAKAAAAAAkLAAAAAAALAAAL'), + scratchBuffer(3789, 'DA=='), + scratchBuffer( + 3801, + 'DAAAAAAMAAAAAAkMAAAAAAAMAAAMAAAwMTIzNDU2Nzg5QUJDREVGLTBYKzBYIDBYLTB4KzB4IDB4AGluZgBJTkYAbmFuAE5BTgAuAAAAAKgaAAAAAAAAAwAAAAQAAAAEAAAABgAAAIP5ogBETm4A/CkVANFXJwDdNPUAYtvAADyZlQBBkEMAY1H+ALveqwC3YcUAOm4kANJNQgBJBuAACeouAByS0QDrHf4AKbEcAOg+pwD1NYIARLsuAJzphAC0JnAAQX5fANaROQBTgzkAnPQ5AItfhAAo+b0A+B87AN7/lwAPmAUAES/vAApaiwBtH20Az342AAnLJwBGT7cAnmY/AC3qXwC6J3UA5evHAD178QD3OQcAklKKAPtr6gAfsV8ACF2NADADVgB7/EYA8KtrACC8zwA29JoA46kdAF5hkQAIG+YAhZllAKAUXwCNQGgAgNj/ACdzTQAGBjEAylYVAMmocwB74mAAa4zAABnERwDNZ8MACejcAFmDKgCLdsQAphyWAESv3QAZV9EApT4FAAUH/wAzfj8AwjLoAJhP3gC7fTIAJj3DAB5r7wCf+F4ANR86AH/yygDxhx0AfJAhAGokfADVbvoAMC13ABU7QwC1FMYAwxmdAK3EwgAsTUEADABdAIZ9RgDjcS0Am8aaADNiAAC00nwAtKeXADdV1QDXPvYAoxAYAE12/ABknSoAcNerAGN8+AB6sFcAFxXnAMBJVgA71tkAp4Q4ACQjywDWincAWlQjAAAfuQDxChsAGc7fAJ8x/wBmHmoAmVdhAKz7RwB+f9gAImW3ADLoiQDmv2AA78TNAGw2CQBdP9QAFt7XAFg73gDem5IA0iIoACiG6ADiWE0AxsoyAAjjFgDgfcsAF8BQAPMdpwAY4FsALhM0AIMSYgCDSAEA9Y5bAK2wfwAe6fIASEpDABBn0wCq3dgArl9CAGphzgAKKKQA05m0AAam8gBcd38Ao8KDAGE8iACKc3gAr4xaAG/XvQAtpmMA9L/LAI2B7wAmwWcAVcpFAMrZNgAoqNIAwmGNABLJdwAEJhQAEkabAMRZxADIxUQATbKRAAAX8wDUQ60AKUnlAP3VEAAAvvwAHpTMAHDO7gATPvUA7PGAALPnwwDH+CgAkwWUAMFxPgAuCbMAC0XzAIgSnACrIHsALrWfAEeSwgB7Mi8ADFVtAHKnkABr5x8AMcuWAHkWSgBBeeIA9N+JAOiUlwDi5oQAmTGXAIjtawBfXzYAu/0OAEiatABnpGwAcXJCAI1dMgCfFbgAvOUJAI0xJQD3dDkAMAUcAA0MAQBLCGgALO5YAEeqkAB05wIAvdYkAPd9pgBuSHIAnxbvAI6UpgC0kfYA0VNRAM8K8gAgmDMA9Ut+ALJjaADdPl8AQF0DAIWJfwBVUikAN2TAAG3YEAAySDIAW0x1AE5x1ABFVG4ACwnBACr1aQAUZtUAJwedAF0EUAC0O9sA6nbFAIf5FwBJa30AHSe6AJZpKQDGzKwArRRUAJDiagCI2YkALHJQAASkvgB3B5QA8zBwAAD8JwDqcagAZsJJAGTgPQCX3YMAoz+XAEOU/QANhowAMUHeAJI5nQDdcIwAF7fnAAjfOwAVNysAXICgAFqAkwAQEZIAD+jYAGyArwDb/0sAOJAPAFkYdgBipRUAYcu7AMeJuQAQQL0A0vIEAEl1JwDrtvYA2yK7AAoUqgCJJi8AZIN2AAk7MwAOlBoAUTqqAB2jwgCv7a4AXCYSAG3CTQAtepwAwFaXAAM/gwAJ8PYAK0CMAG0xmQA5tAcADCAVANjDWwD1ksQAxq1LAE7KpQCnN80A5qk2AKuSlADdQmgAGWPeAHaM7wBoi1IA/Ns3AK6hqwDfFTEAAK6hAAz72gBkTWYA7QW3ACllMABXVr8AR/86AGr5uQB1vvMAKJPfAKuAMABmjPYABMsVAPoiBgDZ5B0APbOkAFcbjwA2zQkATkLpABO+pAAzI7UA8KoaAE9lqADSwaUACz8PAFt4zQAj+XYAe4sEAIkXcgDGplMAb27iAO/rAACbSlgAxNq3AKpmugB2z88A0QIdALHxLQCMmcEAw613AIZI2gD3XaAAxoD0AKzwLwDd7JoAP1y8ANDebQCQxx8AKtu2AKMlOgAAr5oArVOTALZXBAApLbQAS4B+ANoHpwB2qg4Ae1mhABYSKgDcty0A+uX9AInb/gCJvv0A5HZsAAap/AA+gHAAhW4VAP2H/wAoPgcAYWczACoYhgBNveoAs+evAI9tbgCVZzkAMb9bAITXSAAw3xYAxy1DACVhNQDJcM4AMMu4AL9s/QCkAKIABWzkAFrdoAAhb0cAYhLSALlchABwYUkAa1bgAJlSAQBQVTcAHtW3ADPxxAATbl8AXTDkAIUuqQAdssMAoTI2AAi3pADqsdQAFvchAI9p5AAn/3cADAOAAI1ALQBPzaAAIKWZALOi0wAvXQoAtPlCABHaywB9vtAAm9vBAKsXvQDKooEACGpcAC5VFwAnAFUAfxTwAOEHhgAUC2QAlkGNAIe+3gDa/SoAayW2AHuJNAAF8/4Aub+eAGhqTwBKKqgAT8RaAC34vADXWpgA9MeVAA1NjQAgOqYApFdfABQ/sQCAOJUAzCABAHHdhgDJ3rYAv2D1AE1lEQABB2sAjLCsALLA0ABRVUgAHvsOAJVywwCjBjsAwEA1AAbcewDgRcwATin6ANbKyADo80EAfGTeAJtk2ADZvjEApJfDAHdY1ABp48UA8NoTALo6PABGGEYAVXVfANK99QBuksYArC5dAA5E7QAcPkIAYcSHACn96QDn1vMAInzKAG+RNQAI4MUA/9eNAG5q4gCw/cYAkwjBAHxddABrrbIAzW6dAD5yewDGEWoA98+pAClz3wC1yboAtwBRAOKyDQB0uiQA5X1gAHTYigANFSwAgRgMAH5mlAABKRYAn3p2AP39vgBWRe8A2X42AOzZEwCLurkAxJf8ADGoJwDxbsMAlMU2ANioVgC0qLUAz8wOABKJLQBvVzQALFaJAJnO4wDWILkAa16qAD4qnAARX8wA/QtKAOH0+wCOO20A4oYsAOnUhAD8tKkA7+7RAC41yQAvOWEAOCFEABvZyACB/AoA+0pqAC8c2ABTtIQATpmMAFQizAAqVdwAwMbWAAsZlgAacLgAaZVkACZaYAA/Uu4AfxEPAPS1EQD8y/UANLwtADS87gDoXcwA3V5gAGeOmwCSM+8AyRe4AGFYmwDhV7wAUYPGANg+EADdcUgALRzdAK8YoQAhLEYAWfPXANl6mACeVMAAT4b6AFYG/ADlea4AiSI2ADitIgBnk9wAVeiqAIImOADK55sAUQ2kAJkzsQCp1w4AaQVIAGWy8AB/iKcAiEyXAPnRNgAhkrMAe4JKAJjPIQBAn9wA3EdVAOF0OgBn60IA/p3fAF7UXwB7Z6QAuqx6AFX2ogAriCMAQbpVAFluCAAhKoYAOUeDAInj5gDlntQASftAAP9W6QAcD8oAxVmKAJT6KwDTwcUAD8XPANtargBHxYYAhUNiACGGOwAseZQAEGGHACpMewCALBoAQ78SAIgmkAB4PIkAqMTkAOXbewDEOsIAJvTqAPdnigANkr8AZaMrAD2TsQC9fAsApFHcACfdYwBp4d0AmpQZAKgplQBozigACe20AESfIABOmMoAcIJjAH58IwAPuTIAp/WOABRW5wAh8QgAtZ0qAG9+TQClGVEAtfmrAILf1gCW3WEAFjYCAMQ6nwCDoqEAcu1tADmNegCCuKkAazJcAEYnWwAANO0A0gB3APz0VQABWU0A4HGA' + ), + scratchBuffer( + 6675, + 'QPsh+T8AAAAALUR0PgAAAICYRvg8AAAAYFHMeDsAAACAgxvwOQAAAEAgJXo4AAAAgCKC4zYAAAAAHfNpNThj7T7aD0k/Xph7P9oPyT9pN6wxaCEiM7QPFDNoIaIz2w9JP9sPSb/kyxZA5MsWwAAAAAAAAACA2w9JQNsPScAAAIA/AADAPwAAAADcz9E1AAAAAADAFT8=' + ), + scratchBuffer(6824, 'BQ=='), + scratchBuffer(6836, 'DQ=='), + scratchBuffer(6860, 'DgAAAA8AAABYHAAAAAQ='), + scratchBuffer(6884, 'AQ=='), + scratchBuffer(6899, 'Cv////8='), + scratchBuffer(7156, 'gCA='), + (global = { + Int8Array: Int8Array, + Int16Array: Int16Array, + Int32Array: Int32Array, + Uint8Array: Uint8Array, + Uint16Array: Uint16Array, + Uint32Array: Uint32Array, + Float32Array: Float32Array, + Float64Array: Float64Array, + NaN: NaN, + Infinity: 1 / 0, + Math: Math, + }), + (buffer = wasmMemory.buffer), + (m = (scratchBuffer = asmLibraryArg).memory), + (n = wasmTable), + (o = new global.Int8Array(buffer)), + (p = new global.Int16Array(buffer)), + (q = new global.Int32Array(buffer)), + (r = new global.Uint8Array(buffer)), + (s = new global.Uint16Array(buffer)), + (t = new global.Uint32Array(buffer)), + (u = new global.Float32Array(buffer)), + (v = new global.Float64Array(buffer)), + (w = global.Math.imul), + (x = global.Math.fround), + (y = global.Math.abs), + (z = global.Math.clz32), + (A = global.Math.min), + global.Math.max, + (C = global.Math.floor), + global.Math.ceil, + global.Math.sqrt, + scratchBuffer.abort, + global.NaN, + (H = global.Infinity), + (I = scratchBuffer.a), + (J = scratchBuffer.b), + (K = scratchBuffer.c), + (L = 5251744), + (M = 0), + (n[1] = function (a, Ln, Mn, Nn, On) { + ;(a |= 0), (Ln |= 0), (Mn |= 0), (Nn |= 0), (On |= 0) + var Wn, + ko, + lo, + oo, + qo, + ro, + so, + to, + uo, + vo, + wo, + xo, + yo, + zo, + Ao, + Bo, + Co, + Do, + Eo, + Fo, + Go, + Ho, + Io, + po, + Pn = 0, + Qn = x(0), + Rn = x(0), + Sn = 0, + Tn = x(0), + Un = x(0), + Vn = x(0), + Xn = x(0), + Yn = x(0), + Zn = x(0), + _n = x(0), + $n = x(0), + ao = x(0), + bo = x(0), + co = x(0), + eo = x(0), + fo = x(0), + go = x(0), + ho = x(0), + io = x(0), + jo = x(0), + mo = x(0), + no = x(0), + Jo = + (x(0), x(0), x(0), x(0), x(0), x(0), x(0), x(0), x(0), 0) + if (((L = po = (L - 32) | 0), 1 <= (0 | On))) + for ( + Wn = q[(16 + ((q[(a + 308) >> 2] + (Ln << 5)) | 0)) >> 2], + Pn = (q[(a + 60) >> 2] + w(Wn, 24)) | 0, + Ln = ((ko = q[(Pn + 8) >> 2]) + -1) | 0, + xo = ((qo = q[(Pn + 4) >> 2]) + -1) | 0, + yo = uo = + ((Wn = q[(q[(a + 152) >> 2] + (Wn << 2)) >> 2]) + + (ko << 3)) | + 0, + zo = vo = + (Wn + ((to = w(qo, (lo = (ko + 1) | 0))) << 3)) | 0, + Ao = wo = (Wn + ((ko + to) << 3)) | 0, + Io = q[(Pn + 12) >> 2], + ro = x(0 | qo), + so = x(0 | ko), + a = 0; + (Vn = u[(4 + (Pn = ((oo = a << 3) + Mn) | 0)) >> 2]), + (Rn = x(Vn * ro)), + (Xn = u[Pn >> 2]), + (Qn = x(Xn * so)), + (Pn = Vn >= x(1)), + (Rn = + !((Vn < x(0)) ^ 1) || Pn | (Xn >= x(1)) | (Xn < x(0)) + ? (Jo || + ((ao = u[(4 + Ao) >> 2]), + (Bo = u[(Wn + 4) >> 2]), + (Yn = x(ao - Bo)), + (Co = u[(4 + yo) >> 2]), + (Do = u[(4 + zo) >> 2]), + (Zn = x(Co - Do)), + (bo = x(x(Yn - Zn) * x(0.5))), + (Eo = u[wo >> 2]), + (Fo = u[Wn >> 2]), + (_n = x(Eo - Fo)), + (Go = u[uo >> 2]), + (Ho = u[vo >> 2]), + ($n = x(Go - Ho)), + (co = x(x(_n - $n) * x(0.5))), + (Zn = x(x(Zn + Yn) * x(0.5))), + ($n = x(x($n + _n) * x(0.5))), + (Jo = 1), + (Yn = x( + x(x(x(x(Bo + Co) + Do) + ao) * x(0.25)) - + x(Yn * x(0.5)) + )), + (_n = x( + x(x(x(x(Fo + Go) + Ho) + Eo) * x(0.25)) - + x(_n * x(0.5)) + ))), + ((Vn < x(3)) ^ 1) | + ((Xn > x(-2)) ^ 1) | + (((Xn < x(3)) ^ 1) | ((Vn > x(-2)) ^ 1)) + ? ((u[(Nn + oo) >> 2] = + x(Vn * co) + x(x(Xn * $n) + _n)), + (Qn = x(Vn * bo)), + x(x(Xn * Zn) + Yn)) + : (Xn <= x(0) + ? Vn <= x(0) + ? ((Un = x(x(Vn + x(2)) * x(0.5))), + (Tn = x(x(Xn + x(2)) * x(0.5))), + (Qn = x(bo + bo)), + (mo = x(Yn - Qn)), + (Rn = x(co + co)), + (no = x(_n - Rn)), + (io = x(Yn - x(Zn + Zn))), + (eo = x(io - Qn)), + (jo = x(_n - x($n + $n))), + (fo = x(jo - Rn)), + (go = u[(Wn + 4) >> 2]), + (ho = u[Wn >> 2])) + : Pn + ? ((Qn = x(bo * x(3))), + (Rn = x(Yn - x(Zn + Zn))), + (io = x(Qn + Rn)), + (eo = x(co * x(3))), + (fo = x(_n - x($n + $n))), + (jo = x(eo + fo)), + (Un = x(x(Vn + x(-1)) * x(0.5))), + (Tn = x(x(Xn + x(2)) * x(0.5))), + (go = x(Qn + Yn)), + (ho = x(eo + _n)), + (eo = x(bo + Rn)), + (fo = x(co + fo)), + (mo = u[(4 + zo) >> 2]), + (no = u[vo >> 2])) + : ((Qn = x(Yn - x(Zn + Zn))), + (Pn = xo), + (Sn = + x(y(Rn)) < x(2147483648) + ? ~~Rn + : -2147483648), + (Un = x( + 0 | + (Pn = + (0 | Sn) == (0 | qo) ? Pn : Sn) + )), + (Tn = x(Un / ro)), + (eo = x(x(Tn * bo) + Qn)), + (ao = x(Tn * co)), + (Tn = x(_n - x($n + $n))), + (fo = x(ao + Tn)), + (Vn = x( + x(0 | (Sn = (Pn + 1) | 0)) / ro + )), + (io = x(x(Vn * bo) + Qn)), + (jo = x(x(Vn * co) + Tn)), + (Tn = x(x(Xn + x(2)) * x(0.5))), + (Un = x(Rn - Un)), + (Pn = (Wn + (w(Pn, lo) << 3)) | 0), + (mo = u[(Pn + 4) >> 2]), + (no = u[Pn >> 2]), + (Pn = (Wn + (w(Sn, lo) << 3)) | 0), + (go = u[(Pn + 4) >> 2]), + (ho = u[Pn >> 2])) + : Xn >= x(1) + ? Vn <= x(0) + ? ((Un = x(x(Vn + x(2)) * x(0.5))), + (Tn = x(x(Xn + x(-1)) * x(0.5))), + (Qn = x(bo + bo)), + (eo = x(x(Zn + Yn) - Qn)), + (Rn = x(co + co)), + (fo = x(x($n + _n) - Rn)), + (go = x(x(Zn * x(3)) + Yn)), + (mo = x(go - Qn)), + (ho = x(x($n * x(3)) + _n)), + (no = x(ho - Rn)), + (io = u[(4 + yo) >> 2]), + (jo = u[uo >> 2])) + : Pn + ? ((Qn = x(bo * x(3))), + (io = x(Qn + x(Zn + Yn))), + (Rn = x(co * x(3))), + (jo = x(Rn + x($n + _n))), + (ao = Qn), + (Qn = x(x(Zn * x(3)) + Yn)), + (go = x(ao + Qn)), + (ao = Rn), + (Rn = x(x($n * x(3)) + _n)), + (ho = x(ao + Rn)), + (Un = x(x(Vn + x(-1)) * x(0.5))), + (Tn = x(x(Xn + x(-1)) * x(0.5))), + (mo = x(bo + Qn)), + (no = x(co + Rn)), + (eo = u[(4 + Ao) >> 2]), + (fo = u[wo >> 2])) + : ((Qn = x(x(Zn * x(3)) + Yn)), + (Pn = xo), + (Sn = + x(y(Rn)) < x(2147483648) + ? ~~Rn + : -2147483648), + (Un = x( + 0 | + (Pn = + (0 | Sn) == (0 | qo) + ? Pn + : Sn) + )), + (Tn = x(Un / ro)), + (mo = x(x(Tn * bo) + Qn)), + (ao = x(Tn * co)), + (Tn = x(x($n * x(3)) + _n)), + (no = x(ao + Tn)), + (Vn = x( + x(0 | (Sn = (Pn + 1) | 0)) / ro + )), + (go = x(x(Vn * bo) + Qn)), + (ho = x(x(Vn * co) + Tn)), + (Tn = x(x(Xn + x(-1)) * x(0.5))), + (Un = x(Rn - Un)), + (Pn = + (Wn + ((w(Pn, lo) + ko) << 3)) | + 0), + (eo = u[(Pn + 4) >> 2]), + (fo = u[Pn >> 2]), + (Pn = + (Wn + ((w(Sn, lo) + ko) << 3)) | + 0), + (io = u[(Pn + 4) >> 2]), + (jo = u[Pn >> 2])) + : Vn <= x(0) + ? ((Un = x(x(Vn + x(2)) * x(0.5))), + (Pn = Ln), + (Sn = + x(y((Rn = Qn))) < x(2147483648) + ? ~~Qn + : -2147483648), + (Qn = x( + 0 | + (Pn = + (0 | Sn) == (0 | ko) ? Pn : Sn) + )), + (Tn = x(Rn - Qn)), + (Qn = x(Qn / so)), + (Rn = x(bo + bo)), + (eo = x(x(x(Qn * Zn) + Yn) - Rn)), + (ao = x(x(Qn * $n) + _n)), + (Qn = x(co + co)), + (fo = x(ao - Qn)), + (Vn = x( + x(0 | (Sn = (Pn + 1) | 0)) / so + )), + (mo = x(x(x(Vn * Zn) + Yn) - Rn)), + (no = x(x(x(Vn * $n) + _n) - Qn)), + (io = + u[ + (4 + + (Pn = (Wn + (Pn << 3)) | 0)) >> + 2 + ]), + (jo = u[Pn >> 2]), + (go = + u[ + (4 + + (Pn = (Wn + (Sn << 3)) | 0)) >> + 2 + ]), + (ho = u[Pn >> 2])) + : Pn + ? ((ao = Rn = x(bo * x(3))), + (Pn = Ln), + (Sn = + x(y(Qn)) < x(2147483648) + ? ~~Qn + : -2147483648), + (Tn = x( + 0 | + (Pn = + (0 | Sn) == (0 | ko) + ? Pn + : Sn) + )), + (Un = x(Tn / so)), + (io = x(ao + x(x(Un * Zn) + Yn))), + (Xn = x(co * x(3))), + (jo = x(Xn + x(x(Un * $n) + _n))), + (ao = Rn), + (Rn = x( + x(0 | (Sn = (Pn + 1) | 0)) / so + )), + (go = x(ao + x(x(Rn * Zn) + Yn))), + (ho = x(Xn + x(x(Rn * $n) + _n))), + (Un = x(x(Vn + x(-1)) * x(0.5))), + (Tn = x(Qn - Tn)), + (eo = + u[ + (4 + + (Pn = + (Wn + ((Pn + to) << 3)) | + 0)) >> + 2 + ]), + (fo = u[Pn >> 2]), + (mo = + u[ + (4 + + (Pn = + (Wn + ((Sn + to) << 3)) | + 0)) >> + 2 + ]), + (no = u[Pn >> 2])) + : ((v[(16 + po) >> 3] = Vn), + (q[po >> 2] = a), + (v[(8 + po) >> 3] = Xn), + Y(4, 1107, po)), + x(Tn + Un) <= x(1) + ? ((u[(Nn + oo) >> 2] = + x(fo + x(x(no - fo) * Tn)) + + x(x(jo - fo) * Un)), + (Qn = x(eo + x(x(mo - eo) * Tn))), + x(x(io - eo) * Un)) + : ((Qn = x(x(1) - Tn)), + (Rn = x(x(1) - Un)), + (u[(Nn + oo) >> 2] = + x(ho + x(x(jo - ho) * Qn)) + + x(x(no - ho) * Rn)), + (Qn = x(go + x(x(io - go) * Qn))), + x(x(mo - go) * Rn)))) + : ((Pn = + x(y((ao = Rn))) < x(2147483648) + ? ~~Rn + : -2147483648), + (Un = x(ao - x(0 | Pn))), + (Sn = + x(y((Rn = Qn))) < x(2147483648) + ? ~~Qn + : -2147483648), + (Tn = x(Rn - x(0 | Sn))), + (Pn = (Sn + w(Pn, lo)) | 0), + Io + ? ((Qn = x(x(1) - Un)), + (Rn = x(x(1) - Tn)), + (Sn = (Wn + (Pn << 3)) | 0), + (Pn = (Wn + ((Pn + lo) << 3)) | 0), + (u[(Nn + oo) >> 2] = + x( + x( + x(Qn * x(Rn * u[Sn >> 2])) + + x(Qn * x(Tn * u[(Sn + 8) >> 2])) + ) + x(Un * x(Rn * u[Pn >> 2])) + ) + x(Un * x(Tn * u[(Pn + 8) >> 2]))), + (Qn = x( + x( + x(Qn * x(Rn * u[(Sn + 4) >> 2])) + + x(Qn * x(Tn * u[(Sn + 12) >> 2])) + ) + x(Un * x(Rn * u[(Pn + 4) >> 2])) + )), + x(Un * x(Tn * u[(Pn + 12) >> 2]))) + : x(Tn + Un) <= x(1) + ? ((Qn = x(x(x(1) - Tn) - Un)), + (Sn = (Wn + (Pn << 3)) | 0), + (Pn = (Wn + ((Pn + lo) << 3)) | 0), + (u[(Nn + oo) >> 2] = + x( + x(Qn * u[Sn >> 2]) + + x(Tn * u[(Sn + 8) >> 2]) + ) + x(Un * u[Pn >> 2])), + (Qn = x( + x(Qn * u[(Sn + 4) >> 2]) + + x(Tn * u[(Sn + 12) >> 2]) + )), + x(Un * u[(Pn + 4) >> 2])) + : ((Qn = x(x(Tn + x(-1)) + Un)), + (Sn = (Wn + ((Pn + lo) << 3)) | 0), + (Rn = x(x(1) - Tn)), + (Vn = x(x(1) - Un)), + (Pn = (Wn + (Pn << 3)) | 0), + (u[(Nn + oo) >> 2] = + x( + x(Qn * u[(Sn + 8) >> 2]) + + x(Rn * u[Sn >> 2]) + ) + x(Vn * u[(Pn + 8) >> 2])), + (Qn = x( + x(Qn * u[(Sn + 12) >> 2]) + + x(Rn * u[(Sn + 4) >> 2]) + )), + x(Vn * u[(Pn + 12) >> 2])))), + (u[(4 + ((Nn + oo) | 0)) >> 2] = Qn + Rn), + (0 | On) != (0 | (a = (a + 1) | 0)); + + ); + L = (32 + po) | 0 + }), + (n[2] = function (a, mh) { + ;(a |= 0), (mh |= 0) + var Dh = 0, + Eh = 0, + Fh = 0, + Gh = 0, + Hh = 0, + Ih = x(0), + Jh = 0, + Kh = 0, + Mh = (x(0), 0), + Nh = 0, + Gh = q[(a + 320) >> 2], + Dh = q[(a + 316) >> 2], + Hh = q[(a + 308) >> 2] + ;-1 == (0 | (Eh = q[(8 + (Fh = (Hh + (mh << 5)) | 0)) >> 2])) + ? ((q[((Nh = Dh) + (Dh = mh << 2)) >> 2] = + q[(q[(a + 148) >> 2] + (q[(Fh + 16) >> 2] << 2)) >> 2]), + (q[(Dh + Gh) >> 2] = 1065353216)) + : ((Jh = q[(Fh + 16) >> 2]), + (Kh = q[(q[(a + 152) >> 2] + (Jh << 2)) >> 2]), + n[q[(24 + ((Hh + (Eh << 5)) | 0)) >> 2]]( + a, + Eh, + Kh, + Kh, + q[(16 + ((q[(a + 60) >> 2] + w(Jh, 24)) | 0)) >> 2] + ), + (Ih = + u[(q[(a + 148) >> 2] + (q[(Fh + 16) >> 2] << 2)) >> 2]), + (Fh = q[(Fh + 8) >> 2] << 2), + (u[((Eh = mh << 2) + Dh) >> 2] = Ih * u[(Fh + Dh) >> 2]), + (q[(Eh + Gh) >> 2] = q[(Fh + Gh) >> 2])), + 4 <= r[(q[a >> 2] + 4) | 0] && + ((Gh = mh << 2), + (Dh = (q[(a + 308) >> 2] + (mh << 5)) | 0), + (Eh = q[(Dh + 16) >> 2] << 2), + (Fh = q[(a + 328) >> 2]), + (mh = q[(a + 324) >> 2]), + -1 == (0 | (Hh = q[(Dh + 8) >> 2])) + ? ((Hh = q[(a + 156) >> 2]), + (q[((Dh = Gh << 2) + mh) >> 2] = + q[(Hh + (Eh <<= 2)) >> 2]), + (q[((Jh = 4 | Dh) + mh) >> 2] = + q[((Kh = 4 | Eh) + Hh) >> 2]), + (q[((Mh = 8 | Dh) + mh) >> 2] = + q[(Hh + (Nh = 8 | Eh)) >> 2]), + (q[(mh + ((Gh |= 3) << 2)) >> 2] = 1065353216), + (a = q[(a + 160) >> 2]), + (q[(Dh + Fh) >> 2] = q[(a + Eh) >> 2]), + (q[(Fh + Jh) >> 2] = q[(a + Kh) >> 2]), + (q[(Fh + Mh) >> 2] = q[(a + Nh) >> 2])) + : ((Eh = ((Kh = Eh << 2) + q[(a + 156) >> 2]) | 0), + (u[(Dh = ((Jh = Gh << 2) + mh) | 0) >> 2] = + u[Eh >> 2] * + u[(Hh = ((Mh = Hh << 4) + mh) | 0) >> 2]), + (u[(Dh + 4) >> 2] = + u[(Eh + 4) >> 2] * u[(Hh + 4) >> 2]), + (u[(Dh + 8) >> 2] = + u[(Eh + 8) >> 2] * u[(Hh + 8) >> 2]), + (q[(mh + ((Gh |= 3) << 2)) >> 2] = 1065353216), + (a = (Kh + q[(a + 160) >> 2]) | 0), + (Nh = u[a >> 2]), + (Ih = u[(Dh = (Fh + Mh) | 0) >> 2]), + (u[(mh = (Fh + Jh) | 0) >> 2] = + x(Nh + Ih) - x(Nh * Ih)), + (Nh = u[(a + 4) >> 2]), + (Ih = u[(Dh + 4) >> 2]), + (u[(mh + 4) >> 2] = x(Nh + Ih) - x(Nh * Ih)), + (Nh = u[(a + 8) >> 2]), + (Ih = u[(Dh + 8) >> 2]), + (u[(mh + 8) >> 2] = x(Nh + Ih) - x(Nh * Ih))), + (q[(Fh + (Gh << 2)) >> 2] = 1065353216)) + }), + (n[3] = function (a, Sm, un, xn, yn) { + ;(a |= 0), (Sm |= 0), (un |= 0), (xn |= 0), (yn |= 0) + var Dn, + En, + Fn, + Hn, + In, + zn = 0, + zn = + (x(0), + x(0), + x(0), + x(0), + x(0), + x(0), + x(0), + x(0), + (Sm = + q[(16 + ((q[(a + 308) >> 2] + (Sm << 5)) | 0)) >> 2]) << + 2), + Bn = (function (a) { + var El, + Hl, + Fl, + Gl, + Dl = x(0) + ;(L = Fl = (L - 16) | 0), j(a) + a: if ( + (El = 2147483647 & (Gl = b[0])) >>> 0 <= + 1061752794 + ) + (Dl = x(1)), El >>> 0 < 964689920 || (Dl = ba(+a)) + else if (El >>> 0 <= 1081824209) + (Hl = +a), + (Dl = + 1075235812 <= El >>> 0 + ? x( + -ba( + ((0 | Gl) < 0 + ? 3.141592653589793 + : -3.141592653589793) + Hl + ) + ) + : aa( + (0 | Gl) <= -1 + ? 1.5707963267948966 + Hl + : 1.5707963267948966 - Hl + )) + else if (El >>> 0 <= 1088565717) + Dl = + 1085271520 <= El >>> 0 + ? ba( + +a + + ((0 | Gl) < 0 + ? 6.283185307179586 + : -6.283185307179586) + ) + : aa( + (0 | Gl) <= -1 + ? -4.71238898038469 - +a + : +a - 4.71238898038469 + ) + else if (((Dl = x(a - a)), !(2139095040 <= El >>> 0))) + if ((El = 3 & Da(a, (8 + Fl) | 0)) >>> 0 <= 2) { + switch ((El - 1) | 0) { + default: + Dl = ba(v[(8 + Fl) >> 3]) + break a + case 0: + Dl = aa(-v[(8 + Fl) >> 3]) + break a + case 1: + } + Dl = x(-ba(v[(8 + Fl) >> 3])) + } else Dl = aa(v[(8 + Fl) >> 3]) + return (L = (16 + Fl) | 0), Dl + })( + (An = x( + x( + x( + u[ + (4 + ((q[(a + 168) >> 2] + w(Sm, 12)) | 0)) >> 2 + ] + u[(zn + q[(a + 284) >> 2]) >> 2] + ) * x(3.1415927410125732) + ) / x(180) + )) + ), + Cn = u[(zn + q[(a + 272) >> 2]) >> 2], + Gn = q[(zn + q[(a + 292) >> 2]) >> 2], + An = (function (a) { + var Vk, + Al, + Cl, + Bl = 0 + ;(L = Al = (L - 16) | 0), j(a) + a: if ( + (Vk = 2147483647 & (Cl = b[0])) >>> 0 <= + 1061752794 + ) + Vk >>> 0 < 964689920 || (a = aa(+a)) + else if (Vk >>> 0 <= 1081824209) + (Bl = +a), + (a = + Vk >>> 0 <= 1075235811 + ? (0 | Cl) <= -1 + ? x(-ba(Bl + 1.5707963267948966)) + : ba(Bl + -1.5707963267948966) + : aa( + -( + ((0 | Cl) < 0 + ? 3.141592653589793 + : -3.141592653589793) + Bl + ) + )) + else if (Vk >>> 0 <= 1088565717) + (Bl = +a), + (a = + Vk >>> 0 <= 1085271519 + ? (0 | Cl) <= -1 + ? ba(Bl + 4.71238898038469) + : x(-ba(Bl + -4.71238898038469)) + : aa( + ((0 | Cl) < 0 + ? 6.283185307179586 + : -6.283185307179586) + Bl + )) + else if (2139095040 <= Vk >>> 0) a = x(a - a) + else if ((Vk = 3 & Da(a, (8 + Al) | 0)) >>> 0 <= 2) { + switch ((Vk - 1) | 0) { + default: + a = aa(v[(8 + Al) >> 3]) + break a + case 0: + a = ba(v[(8 + Al) >> 3]) + break a + case 1: + } + a = aa(-v[(8 + Al) >> 3]) + } else a = x(-ba(v[(8 + Al) >> 3])) + return (L = (16 + Al) | 0), a + })(An) + if ((Sm = 0) < (0 | yn)) + for ( + Bn = x(Cn * Bn), + En = x(Gn ? -1 : 1), + Hn = x(Bn * En), + Dn = q[(zn + q[(a + 288) >> 2]) >> 2] ? x(-1) : x(1), + In = x(x(Cn * An) * Dn), + Bn = x(Bn * Dn), + Cn = x(x(Cn * x(-An)) * En), + An = u[(zn + q[(a + 280) >> 2]) >> 2], + En = u[(zn + q[(a + 276) >> 2]) >> 2]; + (zn = ((a = Sm << 3) + xn) | 0), + (Dn = u[(a = (a + un) | 0) >> 2]), + (Fn = u[(a + 4) >> 2]), + (u[(zn + 4) >> 2] = An + x(x(In * Dn) + x(Hn * Fn))), + (u[zn >> 2] = En + x(x(Bn * Dn) + x(Cn * Fn))), + (0 | yn) != (0 | (Sm = (Sm + 1) | 0)); + + ); + }), + (n[4] = function (a, mh) { + ;(a |= 0), (mh |= 0) + var yh, + zh, + Ah, + Bh, + Ch, + nh, + oh = 0, + ph = 0, + qh = 0, + rh = x(0), + sh = 0, + th = 0, + uh = x(0), + vh = 0, + wh = 0, + xh = 0 + if ( + (x(0), + x(0), + x(0), + x(0), + (L = nh = (L + -64) | 0), + (vh = q[(a + 320) >> 2]), + (wh = q[(a + 316) >> 2]), + (ph = q[(a + 308) >> 2]), + -1 == + (0 | (sh = q[(8 + (qh = (ph + (mh << 5)) | 0)) >> 2]))) + ) + (oh = q[(qh + 16) >> 2] << 2), + (q[((ph = mh << 2) + wh) >> 2] = + q[(oh + q[(a + 268) >> 2]) >> 2]), + (q[(ph + vh) >> 2] = q[(oh + q[(a + 272) >> 2]) >> 2]) + else { + ;(oh = q[(qh + 16) >> 2] << 2), + (xh = q[(oh + q[(a + 276) >> 2]) >> 2]), + (q[(24 + nh) >> 2] = xh), + (oh = q[(oh + q[(a + 280) >> 2]) >> 2]), + (q[(28 + nh) >> 2] = oh), + (q[(16 + nh) >> 2] = 0), + (zh = + 1 == q[(12 + (th = (ph + (sh << 5)) | 0)) >> 2] + ? x(-10) + : x(-0.10000000149011612)), + (u[(20 + nh) >> 2] = zh), + (q[(60 + nh) >> 2] = oh), + (q[(56 + nh) >> 2] = xh), + n[q[(th + 24) >> 2]]( + a, + sh, + (56 + nh) | 0, + (48 + nh) | 0, + 1 + ), + (rh = x(1)), + (ph = 9) + b: { + for (;;) { + if ( + ((oh = ph), + (uh = x(rh * x(0))), + (u[(32 + nh) >> 2] = uh + u[(56 + nh) >> 2]), + (yh = x(zh * rh)), + (u[(36 + nh) >> 2] = yh + u[(60 + nh) >> 2]), + n[q[(th + 24) >> 2]]( + a, + sh, + (32 + nh) | 0, + (40 + nh) | 0, + 1 + ), + (Ah = x(u[(44 + nh) >> 2] - u[(52 + nh) >> 2])), + (u[(44 + nh) >> 2] = Ah), + (Bh = x(u[(40 + nh) >> 2] - u[(48 + nh) >> 2])), + (u[(40 + nh) >> 2] = Bh), + Ah != x(0) || Bh != x(0)) + ) { + ;(ph = q[(44 + nh) >> 2]), + (q[(8 + nh) >> 2] = q[(40 + nh) >> 2]), + (q[(12 + nh) >> 2] = ph) + break b + } + if ( + ((u[(32 + nh) >> 2] = u[(56 + nh) >> 2] - uh), + (u[(36 + nh) >> 2] = u[(60 + nh) >> 2] - yh), + n[q[(th + 24) >> 2]]( + a, + sh, + (32 + nh) | 0, + (40 + nh) | 0, + 1 + ), + (uh = x(u[(40 + nh) >> 2] - u[(48 + nh) >> 2])), + (u[(40 + nh) >> 2] = uh), + (yh = x(u[(44 + nh) >> 2] - u[(52 + nh) >> 2])), + (u[(44 + nh) >> 2] = yh) != x(0) || uh != x(0)) + ) { + ;(u[(12 + nh) >> 2] = -yh), (u[(8 + nh) >> 2] = -uh) + break b + } + if ( + ((ph = (oh + -1) | 0), + (rh = x(rh * x(0.10000000149011612))), + !oh) + ) + break + } + Y(3, 1311, 0) + } + ;(rh = (function (a, ji) { + var ki = x(0) + if ( + (ki = x( + Ba(u[(4 + a) >> 2], u[a >> 2]) - + Ba(u[(4 + ji) >> 2], u[ji >> 2]) + )) < x(-3.1415927410125732) + ) + for ( + ; + (ki = x(ki + x(6.2831854820251465))) < + x(-3.1415927410125732); + + ); + if (ki > x(3.1415927410125732)) + for ( + ; + (ki = x(ki + x(-6.2831854820251465))) > + x(3.1415927410125732); + + ); + return ki + })((16 + nh) | 0, (8 + nh) | 0)), + n[q[(th + 24) >> 2]]( + a, + q[(qh + 8) >> 2], + (24 + nh) | 0, + (24 + nh) | 0, + 1 + ), + (ph = q[(qh + 16) >> 2] << 2), + (q[(ph + q[(a + 276) >> 2]) >> 2] = q[(24 + nh) >> 2]), + (q[(ph + q[(a + 280) >> 2]) >> 2] = q[(28 + nh) >> 2]), + (oh = (ph + q[(a + 284) >> 2]) | 0), + (u[oh >> 2] = + u[oh >> 2] + + x(x(rh * x(-180)) / x(3.1415927410125732))), + (qh = q[(qh + 8) >> 2] << 2), + (u[((oh = mh << 2) + wh) >> 2] = + u[(ph + q[(a + 268) >> 2]) >> 2] * u[(qh + wh) >> 2]), + (ph = (ph + q[(a + 272) >> 2]) | 0), + (rh = x(u[ph >> 2] * u[(qh + vh) >> 2])), + (u[(oh + vh) >> 2] = rh), + (u[ph >> 2] = rh) + } + 4 <= r[(q[a >> 2] + 4) | 0] && + ((oh = mh << 2), + (qh = (q[(a + 308) >> 2] + (mh << 5)) | 0), + (sh = q[(qh + 16) >> 2] << 2), + (ph = q[(a + 328) >> 2]), + (mh = q[(a + 324) >> 2]), + -1 == (0 | (th = q[(qh + 8) >> 2])) + ? ((th = q[(a + 296) >> 2]), + (q[((qh = oh << 2) + mh) >> 2] = + q[(th + (sh <<= 2)) >> 2]), + (q[((vh = 4 | qh) + mh) >> 2] = + q[((wh = 4 | sh) + th) >> 2]), + (q[((xh = 8 | qh) + mh) >> 2] = + q[(th + (Ch = 8 | sh)) >> 2]), + (q[(mh + ((oh |= 3) << 2)) >> 2] = 1065353216), + (a = q[(a + 300) >> 2]), + (q[(ph + qh) >> 2] = q[(a + sh) >> 2]), + (q[(ph + vh) >> 2] = q[(a + wh) >> 2]), + (q[(ph + xh) >> 2] = q[(a + Ch) >> 2])) + : ((sh = ((wh = sh << 2) + q[(a + 296) >> 2]) | 0), + (u[(qh = ((vh = oh << 2) + mh) | 0) >> 2] = + u[sh >> 2] * + u[(th = ((xh = th << 4) + mh) | 0) >> 2]), + (u[(qh + 4) >> 2] = + u[(sh + 4) >> 2] * u[(th + 4) >> 2]), + (u[(qh + 8) >> 2] = + u[(sh + 8) >> 2] * u[(th + 8) >> 2]), + (q[(mh + ((oh |= 3) << 2)) >> 2] = 1065353216), + (a = (wh + q[(a + 300) >> 2]) | 0), + (rh = u[a >> 2]), + (uh = u[(qh = (ph + xh) | 0) >> 2]), + (u[(mh = (ph + vh) | 0) >> 2] = + x(rh + uh) - x(rh * uh)), + (rh = u[(a + 4) >> 2]), + (uh = u[(qh + 4) >> 2]), + (u[(mh + 4) >> 2] = x(rh + uh) - x(rh * uh)), + (rh = u[(a + 8) >> 2]), + (uh = u[(qh + 8) >> 2]), + (u[(mh + 8) >> 2] = x(rh + uh) - x(rh * uh))), + (q[(ph + (oh << 2)) >> 2] = 1065353216)), + (L = (64 + nh) | 0) + }), + (n[5] = function (a, Vk) { + return ( + (a |= 0), + (Vk |= 0), + x(0), + x(0), + 0 | ((a = u[a >> 2]) < (Vk = u[Vk >> 2]) ? -1 : Vk < a) + ) + }), + (n[6] = function (a, vj, xj, yj) { + ;(a |= 0), (vj |= 0), (xj |= 0), (yj |= 0) + var Vj = 0, + Wj = 0, + Xj = x(0), + Yj = 0, + Zj = 0, + _j = 0, + $j = 0, + ak = 0 + if (1 <= (0 | (Yj = q[(a + 8) >> 2]))) + for ( + _j = q[(a + 12) >> 2], Zj = q[(a + 20) >> 2]; + (u[((Wj = Vj << 2) + _j) >> 2] = + u[(vj + Wj) >> 2] * u[(Wj + Zj) >> 2]), + (0 | (Vj = (Vj + 1) | 0)) < (0 | Yj); + + ); + if (!((0 | (Yj = q[a >> 2])) < 1)) + if (((_j = q[(a + 4) >> 2]), yj)) + for (Wj = vj = 0; ; ) { + if (q[yj >> 2]) { + if ( + (0 | + (Vj = + q[((Zj = vj << 2) + q[(a + 16) >> 2]) >> 2])) < + 1 + ) + Xj = x(0) + else + for ( + $j = (Vj + Wj) | 0, + ak = q[(a + 12) >> 2], + Xj = x(0), + Vj = Wj; + (Xj = x(Xj + u[(ak + (Vj << 2)) >> 2])), + (0 | (Vj = (Vj + 1) | 0)) < (0 | $j); + + ); + u[(xj + Zj) >> 2] = Xj + } + if ( + ((yj = (yj + 4) | 0), + (Wj = (q[(_j + (vj << 2)) >> 2] + Wj) | 0), + !((0 | (vj = (vj + 1) | 0)) < (0 | Yj))) + ) + break + } + else + for (Zj = q[(a + 16) >> 2], vj = yj = 0; ; ) { + if ((0 | (Vj = q[((Wj = yj << 2) + Zj) >> 2])) <= 0) + Xj = x(0) + else + for ( + $j = (vj + Vj) | 0, + ak = q[(a + 12) >> 2], + Xj = x(0), + Vj = vj; + (Xj = x(Xj + u[(ak + (Vj << 2)) >> 2])), + (0 | (Vj = (Vj + 1) | 0)) < (0 | $j); + + ); + if ( + ((u[(xj + Wj) >> 2] = Xj), + (vj = (q[(Wj + _j) >> 2] + vj) | 0), + !((0 | (yj = (yj + 1) | 0)) < (0 | Yj))) + ) + break + } + }), + (n[7] = function (a, vj, xj, yj) { + ;(a |= 0), (vj |= 0), (xj |= 0), (yj |= 0) + var zj = 0, + Aj = x(0), + Qj = 0, + Rj = 0, + Sj = 0, + Tj = 0, + Uj = 0 + if (1 <= (0 | (Tj = q[(a + 8) >> 2]))) + for ( + Rj = q[(a + 12) >> 2], Sj = q[(a + 20) >> 2]; + (u[((Qj = zj << 2) + Rj) >> 2] = + u[(vj + Qj) >> 2] * u[(Qj + Sj) >> 2]), + (0 | (zj = (zj + 1) | 0)) < (0 | Tj); + + ); + if (!((0 | (zj = q[a >> 2])) < 1)) + if (((Tj = q[(a + 4) >> 2]), yj)) + for (Qj = vj = 0; ; ) { + if (q[yj >> 2]) { + if ( + (0 | + (zj = + q[((Rj = vj << 2) + q[(a + 16) >> 2]) >> 2])) < + 1 + ) + Aj = x(0) + else + for ( + Sj = (zj + Qj) | 0, + Uj = q[(a + 12) >> 2], + Aj = x(0), + zj = Qj; + (Aj = x(Aj + u[(Uj + (zj << 2)) >> 2])), + (0 | (zj = (zj + 1) | 0)) < (0 | Sj); + + ); + ;(zj = (xj + Rj) | 0), + (Aj = x(Aj + x(0.0010000000474974513))), + (Rj = + x(y(Aj)) < x(2147483648) ? ~~Aj : -2147483648), + (q[zj >> 2] = Rj), + (zj = q[a >> 2]) + } + if ( + ((yj = (yj + 4) | 0), + (Qj = (q[(Tj + (vj << 2)) >> 2] + Qj) | 0), + !((0 | (vj = (vj + 1) | 0)) < (0 | zj))) + ) + break + } + else + for (Rj = q[(a + 16) >> 2], vj = yj = 0; ; ) { + if ((0 | (zj = q[((Qj = yj << 2) + Rj) >> 2])) <= 0) + Aj = x(0) + else + for ( + Sj = (vj + zj) | 0, + Uj = q[(a + 12) >> 2], + Aj = x(0), + zj = vj; + (Aj = x(Aj + u[(Uj + (zj << 2)) >> 2])), + (0 | (zj = (zj + 1) | 0)) < (0 | Sj); + + ); + if ( + ((zj = (xj + Qj) | 0), + (Aj = x(Aj + x(0.0010000000474974513))), + (Sj = x(y(Aj)) < x(2147483648) ? ~~Aj : -2147483648), + (q[zj >> 2] = Sj), + (vj = (q[(Qj + Tj) >> 2] + vj) | 0), + !((0 | (yj = (yj + 1) | 0)) < q[a >> 2])) + ) + break + } + }), + (n[8] = function (a, vj, xj, yj, zj, Aj) { + ;(a |= 0), + (vj |= 0), + (xj |= 0), + (yj |= 0), + (zj |= 0), + (Aj |= 0) + var Oj, + Pj, + Bj = 0, + Cj = 0, + Dj = 0, + Ej = 0, + Fj = 0, + Gj = 0, + Hj = 0, + Ij = 0, + Kj = 0, + Lj = 0, + Mj = x(0), + Nj = 0, + Jj = q[a >> 2] + if (!((0 | Jj) < 1)) + if (((Oj = zj << 2), (Pj = q[(a + 4) >> 2]), Aj)) + for (;;) { + if ( + q[Aj >> 2] && + ((Dj = q[((Bj = Ej << 2) + q[(a + 16) >> 2]) >> 2]), + (Hj = q[(xj + Bj) >> 2]), + (Cj = q[(yj + Bj) >> 2]), + (Bj = (0 | (Ij = w(Cj, zj))) < 1) || + ca(Hj, 0, w(Cj, Oj)), + !(Bj | ((0 | Dj) < 1))) + ) + for ( + Kj = (Dj + Gj) | 0, Lj = q[(a + 20) >> 2], Bj = Gj; + ; + + ) { + for ( + Mj = u[((Cj = Bj << 2) + Lj) >> 2], + Nj = q[(vj + Cj) >> 2], + Fj = 0; + (u[(Cj = ((Dj = Fj << 2) + Hj) | 0) >> 2] = + u[Cj >> 2] + x(Mj * u[(Dj + Nj) >> 2])), + (0 | Ij) != (0 | (Fj = (Fj + 1) | 0)); + + ); + if (!((0 | (Bj = (Bj + 1) | 0)) < (0 | Kj))) break + } + if ( + ((Aj = (Aj + 4) | 0), + (Gj = (q[((Ej << 2) + Pj) >> 2] + Gj) | 0), + !((0 | (Ej = (Ej + 1) | 0)) < (0 | Jj))) + ) + break + } + else + for (Aj = 0; ; ) { + if ( + ((Dj = q[((Ej = Aj << 2) + q[(a + 16) >> 2]) >> 2]), + (Hj = q[(xj + Ej) >> 2]), + (Cj = q[(yj + Ej) >> 2]), + (Bj = (0 | (Ij = w(Cj, zj))) < 1) || + ca(Hj, 0, w(Cj, Oj)), + !(Bj | ((0 | Dj) <= 0))) + ) + for ( + Kj = (Dj + Gj) | 0, Lj = q[(a + 20) >> 2], Bj = Gj; + ; + + ) { + for ( + Mj = u[((Cj = Bj << 2) + Lj) >> 2], + Nj = q[(vj + Cj) >> 2], + Fj = 0; + (u[(Cj = ((Dj = Fj << 2) + Hj) | 0) >> 2] = + u[Cj >> 2] + x(Mj * u[(Dj + Nj) >> 2])), + (0 | Ij) != (0 | (Fj = (Fj + 1) | 0)); + + ); + if (!((0 | (Bj = (Bj + 1) | 0)) < (0 | Kj))) break + } + if ( + ((Gj = (q[(Ej + Pj) >> 2] + Gj) | 0), + !((0 | (Aj = (Aj + 1) | 0)) < (0 | Jj))) + ) + break + } + }), + (n[9] = function (a) { + var Me, + Ne, + Oe, + Ie = 0, + Je = 0, + Ke = 0, + Le = 0 + if ( + !( + q[((a |= 0) + 648) >> 2] || + (0 | (Ie = q[(a + 332) >> 2])) < 1 + ) + ) + for ( + Ne = ((Je = q[(a + 336) >> 2]) + w(Ie, 20)) | 0, + Ie = q[(a + 424) >> 2], + Le = q[(a + 444) >> 2]; + ; + + ) { + if ( + q[Ie >> 2] && + !((0 | (Ke = q[(Je + 16) >> 2])) < (a = 1)) + ) + for ( + Ke <<= 1, Oe = q[Le >> 2]; + (u[(Me = ((a << 2) + Oe) | 0) >> 2] = -u[Me >> 2]), + (0 | (a = (a + 2) | 0)) < (0 | Ke); + + ); + if ( + ((Le = (Le + 4) | 0), + (Ie = (Ie + 4) | 0), + !((Je = (Je + 20) | 0) >>> 0 < Ne >>> 0)) + ) + break + } + }), + (n[10] = function (a, Sm, un) { + var wn + return ( + $( + (wn = q[(20 + (a |= 0)) >> 2]), + (Sm |= 0), + (Sm = + (un |= 0) >>> 0 < + (Sm = (q[(a + 16) >> 2] - wn) | 0) >>> 0 + ? un + : Sm) + ), + (q[(a + 20) >> 2] = Sm + q[(a + 20) >> 2]), + 0 | un + ) + }), + (n[11] = function (a, Il, Rm, Sm, Tm, Um) { + ;(a |= 0), + (Il = +Il), + (Rm |= 0), + (Sm |= 0), + (Tm |= 0), + (Um |= 0) + var fn, + qn, + Zm, + kn, + Vm = 0, + Wm = 0, + Xm = 0, + Ym = 0, + _m = 0, + $m = 0, + an = 0, + bn = 0, + cn = 0, + dn = 0, + en = 0, + gn = 0, + hn = 0, + jn = 0, + mn = 0 + if ( + ((q[(44 + (L = Zm = (L - 560) | 0)) >> 2] = 0), + h(+Il), + (Vm = 0 | b[1]), + (qn = 4294967295 < b[0] >>> 0 ? 0 : 1), + (kn = + (0 | Vm) < -1 || ((0 | Vm) <= -1 && qn) + ? (h((Il = -Il)), (Vm = 0 | b[1]), b[0], (jn = 1), 3840) + : 2048 & Tm + ? ((jn = 1), 3843) + : (jn = 1 & Tm) + ? 3846 + : 3841), + 2146435072 == (2146435072 & Vm)) + ) + _(a, 32, Rm, ($m = (jn + 3) | 0), -65537 & Tm), + Z(a, kn, jn), + (Sm = (Um >>> 5) & 1), + Z(a, Il != Il ? (Sm ? 3867 : 3871) : Sm ? 3859 : 3863, 3) + else if ( + ((Il = (function Ja(a, ic) { + var kc, + lc, + jc = 0 + if ( + (h(+a), + (jc = 0 | b[1]), + (kc = 0 | b[0]), + 2047 != (0 | (jc = ((lc = jc) >>> 20) & 2047))) + ) { + if (!jc) + return ( + (jc = ic), + (ic = + 0 == a + ? 0 + : ((a = Ja(0x10000000000000000 * a, ic)), + (q[ic >> 2] + -64) | 0)), + (q[jc >> 2] = ic), + a + ) + ;(q[ic >> 2] = jc + -1022), + f(0, 0 | kc), + f(1, (-2146435073 & lc) | 1071644672), + (a = +g()) + } + return a + })(Il, (44 + Zm) | 0)), + 0 != (Il += Il) && + (q[(44 + Zm) >> 2] = q[(44 + Zm) >> 2] + -1), + (fn = (16 + Zm) | 0), + 97 == (0 | (qn = 32 | Um))) + ) { + if ( + ((en = (dn = 32 & Um) ? (9 + kn) | 0 : kn), + !(11 < Sm >>> 0) && (Vm = (12 - Sm) | 0)) + ) { + for (gn = 8; (gn *= 16), (Vm = (Vm + -1) | 0); ); + Il = 45 == r[0 | en] ? -(gn + (-Il - gn)) : Il + gn - gn + } + for ( + (0 | fn) == + (0 | + (Vm = ga( + (Xm = (Vm = q[(44 + Zm) >> 2]) >> 31) ^ (Vm + Xm), + 0, + fn + ))) && + ((o[(15 + Zm) | 0] = 48), (Vm = (15 + Zm) | 0)), + _m = 2 | jn, + Xm = q[(44 + Zm) >> 2], + o[0 | (cn = (Vm + -2) | 0)] = Um + 15, + o[(Vm + -1) | 0] = (0 | Xm) < 0 ? 45 : 43, + Vm = 8 & Tm, + Wm = (16 + Zm) | 0; + (Um = Wm), + (bn = dn), + (Xm = y(Il) < 2147483648 ? ~~Il : -2147483648), + (o[0 | Wm] = bn | r[(Xm + 3824) | 0]), + (1 != (((Wm = (Um + 1) | 0) - ((16 + Zm) | 0)) | 0)) | + (0 == (Il = 16 * (Il - (0 | Xm))) + ? !(Vm | (0 < (0 | Sm))) + : 0) || + ((o[(Um + 1) | 0] = 46), (Wm = (Um + 2) | 0)), + 0 != Il; + + ); + _( + a, + 32, + Rm, + ($m = + ((Um = + !Sm | ((0 | Sm) <= ((((Wm - Zm) | 0) - 18) | 0)) + ? (((((fn - ((16 + Zm) | 0)) | 0) - cn) | 0) + Wm) | + 0 + : (2 + ((((Sm + fn) | 0) - cn) | 0)) | 0) + + _m) | + 0), + Tm + ), + Z(a, en, _m), + _(a, 48, Rm, $m, 65536 ^ Tm), + Z(a, (16 + Zm) | 0, (Sm = (Wm - ((16 + Zm) | 0)) | 0)), + _( + a, + 48, + (Um - (((Vm = Sm) + (Sm = (fn - cn) | 0)) | 0)) | 0, + 0, + 0 + ), + Z(a, cn, Sm) + } else { + for ( + Vm = (0 | Sm) < 0, + 0 == Il + ? (Ym = q[(44 + Zm) >> 2]) + : ((Ym = (q[(44 + Zm) >> 2] + -28) | 0), + (q[(44 + Zm) >> 2] = Ym), + (Il *= 268435456)), + an = Vm ? 6 : Sm, + Xm = dn = (0 | Ym) < 0 ? (48 + Zm) | 0 : (336 + Zm) | 0; + (Xm = ((Sm = Xm) + 4) | 0), + 0 != + (Il = + 1e9 * + (Il - + ((q[Sm >> 2] = Vm = + (Il < 4294967296) & (0 <= Il) + ? ~~Il >>> 0 + : 0) >>> + 0))); + + ); + if ((0 | Ym) < 1) (Vm = Xm), (Wm = dn) + else + for (Wm = dn; ; ) { + if ( + ((cn = (0 | Ym) < 29 ? Ym : 29), + !((Vm = (Xm + -4) | 0) >>> 0 < Wm >>> 0)) + ) { + for ( + Sm = cn, bn = 0; + (mn = bn), + (bn = q[(en = Vm) >> 2]), + (_m = 31 & Sm), + (_m = + 32 <= (63 & Sm) >>> ($m = 0) + ? ((Ym = bn << _m), 0) + : ((Ym = + ((1 << _m) - 1) & (bn >>> (32 - _m))), + bn << _m)), + ($m = (Ym + $m) | 0), + ($m = + (bn = (mn + _m) | 0) >>> 0 < _m >>> 0 + ? ($m + 1) | 0 + : $m), + (mn = en), + (en = bd((bn = cd((_m = bn), $m, 1e9)), M, 1e9)), + (q[mn >> 2] = _m - en), + Wm >>> 0 <= (Vm = (Vm + -4) | 0) >>> 0; + + ); + ;(Sm = bn) && (q[(Wm = (Wm + -4) | 0) >> 2] = Sm) + } + for ( + ; + Wm >>> 0 < (Vm = Xm) >>> 0 && + !q[(Xm = (Vm + -4) | 0) >> 2]; + + ); + if ( + ((Ym = (q[(44 + Zm) >> 2] - cn) | 0), + (Xm = Vm), + !(0 < (0 | (q[(44 + Zm) >> 2] = Ym)))) + ) + break + } + if ((0 | Ym) <= -1) + for ( + hn = (1 + ((((an + 25) | 0) / 9) | 0)) | 0, + cn = 102 == (0 | qn); + ; + + ) { + if ( + ((bn = (0 | Ym) < -9 ? 9 : (0 - Ym) | 0), + Vm >>> 0 <= Wm >>> 0) + ) + Wm = q[Wm >> 2] ? Wm : (Wm + 4) | 0 + else { + for ( + en = 1e9 >>> bn, + _m = (-1 << bn) ^ -1, + Ym = 0, + Xm = Wm; + (Sm = q[Xm >> 2]), + (q[Xm >> 2] = (Sm >>> bn) + Ym), + (Ym = w(en, Sm & _m)), + (Xm = (Xm + 4) | 0) >>> 0 < Vm >>> 0; + + ); + ;(Wm = q[Wm >> 2] ? Wm : (Wm + 4) | 0), + Ym && ((q[Vm >> 2] = Ym), (Vm = (Vm + 4) | 0)) + } + if ( + ((Ym = (bn + q[(44 + Zm) >> 2]) | 0), + (Vm = + (0 | hn) < (Vm - (Sm = cn ? dn : Wm)) >> 2 + ? (Sm + (hn << 2)) | 0 + : Vm), + !((0 | (q[(44 + Zm) >> 2] = Ym)) < 0)) + ) + break + } + if ( + !( + Vm >>> (Xm = 0) <= Wm >>> 0 || + ((Xm = w((dn - Wm) >> 2, 9)), + (Sm = q[Wm >> 2]) >>> 0 < (Ym = 10)) + ) + ) + for ( + ; + (Xm = (Xm + 1) | 0), (Ym = w(Ym, 10)) >>> 0 <= Sm >>> 0; + + ); + if ( + (0 | + (Sm = + (((an - (102 == (0 | qn) ? 0 : Xm)) | 0) - + ((103 == (0 | qn)) & (0 != (0 | an)))) | + 0)) < + ((w((Vm - dn) >> 2, 9) + -9) | 0) + ) { + if ( + (($m = + (((dn + + ((Sm = ((0 | (_m = (Sm + 9216) | 0)) / 9) | 0) << + 2)) | + 0) - + 4092) | + 0), + (Ym = 10), + (0 | (Sm = (1 + ((_m - w(Sm, 9)) | 0)) | 0)) <= 8) + ) + for ( + ; + (Ym = w(Ym, 10)), 9 != (0 | (Sm = (Sm + 1) | 0)); + + ); + if ( + ((hn = ($m + 4) | 0), + ((cn = + ((en = q[$m >> 2]) - + w(Ym, (_m = ((en >>> 0) / (Ym >>> 0)) | 0))) | + 0) || + (0 | hn) != (0 | Vm)) && + ((gn = + cn >>> 0 < (Sm = Ym >>> 1) >>> 0 + ? 0.5 + : (0 | Vm) == (0 | hn) && (0 | Sm) == (0 | cn) + ? 1 + : 1.5), + (Il = 1 & _m ? 9007199254740994 : 9007199254740992), + !jn | (45 != r[0 | kn]) || ((gn = -gn), (Il = -Il)), + (q[$m >> 2] = Sm = (en - cn) | 0), + Il + gn != Il)) + ) { + if (1e9 <= (q[$m >> 2] = Sm = (Sm + Ym) | 0) >>> 0) + for ( + ; + ($m = ($m + -4) | (q[$m >> 2] = 0)) >>> 0 < + Wm >>> 0 && (q[(Wm = (Wm + -4) | 0) >> 2] = 0), + (Sm = (q[$m >> 2] + 1) | 0), + 999999999 < (q[$m >> 2] = Sm) >>> 0; + + ); + if ( + ((Xm = w((dn - Wm) >> 2, 9)), + !((Sm = q[Wm >> 2]) >>> 0 < (Ym = 10))) + ) + for ( + ; + (Xm = (Xm + 1) | 0), + (Ym = w(Ym, 10)) >>> 0 <= Sm >>> 0; + + ); + } + Vm = (Sm = ($m + 4) | 0) >>> 0 < Vm >>> 0 ? Sm : Vm + } + j: { + for (;;) { + if ((cn = Vm) >>> (en = 0) <= Wm >>> 0) break j + if (q[(Vm = (cn + -4) | 0) >> 2]) break + } + en = 1 + } + if (103 != (0 | qn)) _m = 8 & Tm + else if ( + ((an = + (((Sm = + ((0 | Xm) < (0 | (Vm = an || 1))) & (-5 < (0 | Xm))) + ? -1 ^ Xm + : -1) + + Vm) | + 0), + (Um = ((Sm ? -1 : -2) + Um) | 0), + !(_m = 8 & Tm)) + ) { + if ( + ((Vm = 9), + en && + (_m = q[(cn + -4) >> 2]) && + !((_m >>> (Vm = 0)) % (Sm = 10))) + ) + for ( + ; + (Vm = (Vm + 1) | 0), + !((_m >>> 0) % ((Sm = w(Sm, 10)) >>> 0)); + + ); + ;(Sm = (w((cn - dn) >> 2, 9) + -9) | 0), + (an = + 102 == (32 | Um) + ? ((_m = 0) | an) < + (0 | + (Sm = 0 < (0 | (Sm = (Sm - Vm) | 0)) ? Sm : 0)) + ? an + : Sm + : ((_m = 0) | an) < + (0 | + (Sm = + 0 < (0 | (Sm = (((Sm + Xm) | 0) - Vm) | 0)) + ? Sm + : 0)) + ? an + : Sm) + } + if ( + (($m = 0 != (0 | (Ym = an | _m))), + (Sm = a), + (mn = Rm), + (Vm = 0 < (0 | Xm) ? Xm : 0), + 102 != (0 | (bn = 32 | Um))) + ) { + if ( + ((fn - (Vm = ga(((Vm = Xm >> 31) + Xm) ^ Vm, 0, fn))) | + 0) <= + 1 + ) + for ( + ; + (o[0 | (Vm = (Vm + -1) | 0)] = 48), + ((fn - Vm) | 0) < 2; + + ); + ;(o[0 | (hn = (Vm + -2) | 0)] = Um), + (o[(Vm + -1) | 0] = (0 | Xm) < 0 ? 45 : 43), + (Vm = (fn - hn) | 0) + } + if ( + (_( + Sm, + 32, + mn, + ($m = + (1 + ((Vm + (($m + ((an + jn) | 0)) | 0)) | 0)) | 0), + Tm + ), + Z(a, kn, jn), + _(a, 48, Rm, $m, 65536 ^ Tm), + 102 == (0 | bn)) + ) { + for ( + Sm = (16 + Zm) | 8, + Xm = (16 + Zm) | 9, + Wm = Um = dn >>> 0 < Wm >>> 0 ? dn : Wm; + ; + + ) { + if ( + ((Vm = ga(q[Wm >> 2], 0, Xm)), (0 | Um) != (0 | Wm)) + ) { + if (!(Vm >>> 0 <= (16 + Zm) >>> 0)) + for ( + ; + (o[0 | (Vm = (Vm + -1) | 0)] = 48), + (16 + Zm) >>> 0 < Vm >>> 0; + + ); + } else + (0 | Vm) == (0 | Xm) && + ((o[(24 + Zm) | 0] = 48), (Vm = Sm)) + if ( + (Z(a, Vm, (Xm - Vm) | 0), + !((Wm = (Wm + 4) | 0) >>> 0 <= dn >>> 0)) + ) + break + } + Ym && Z(a, 3875, 1) + p: if (!(((0 | an) < 1) | (cn >>> 0 <= Wm >>> 0))) + for (;;) { + if ( + (16 + Zm) >>> 0 < + (Vm = ga(q[Wm >> 2], 0, Xm)) >>> 0 + ) + for ( + ; + (o[0 | (Vm = (Vm + -1) | 0)] = 48), + (16 + Zm) >>> 0 < Vm >>> 0; + + ); + if ( + (Z(a, Vm, (0 | an) < 9 ? an : 9), + (an = (an + -9) | 0), + cn >>> 0 <= (Wm = (Wm + 4) | 0) >>> 0) + ) + break p + if (!(0 < (0 | an))) break + } + _(a, 48, (an + 9) | 0, 9, 0) + } else { + q: if (!((0 | an) < 0)) + for ( + Um = en ? cn : (Wm + 4) | 0, + Sm = (16 + Zm) | 8, + dn = (16 + Zm) | 9, + Xm = Wm; + ; + + ) { + if ( + ((0 | dn) == (0 | (Vm = ga(q[Xm >> 2], 0, dn))) && + ((o[(24 + Zm) | 0] = 48), (Vm = Sm)), + (0 | Wm) != (0 | Xm)) + ) { + if (!(Vm >>> 0 <= (16 + Zm) >>> 0)) + for ( + ; + (o[0 | (Vm = (Vm + -1) | 0)] = 48), + (16 + Zm) >>> 0 < Vm >>> 0; + + ); + } else + Z(a, Vm, 1), + (Vm = (Vm + 1) | 0), + ((0 | an) < 1 && !_m) || Z(a, 3875, 1) + if ( + (Z( + a, + (bn = Vm), + (0 | (Vm = (dn - Vm) | 0)) < (0 | an) ? Vm : an + ), + (an = (an - Vm) | 0), + Um >>> 0 <= (Xm = (Xm + 4) | 0) >>> 0) + ) + break q + if (!(-1 < (0 | an))) break + } + _(a, 48, (an + 18) | 0, 18, 0), Z(a, hn, (fn - hn) | 0) + } + } + return ( + _(a, 32, Rm, $m, 8192 ^ Tm), + (L = (560 + Zm) | 0), + 0 | ((0 | $m) < (0 | Rm) ? Rm : $m) + ) + }), + (n[12] = function (a, Il) { + a |= 0 + var Am = (Il |= 0) + ;(Il = (q[Il >> 2] + 15) & -16), + (q[Am >> 2] = Il + 16), + (Am = a), + (a = (function (a, Il, Jl, $l) { + var fm, + cm, + am = 0, + bm = 0, + dm = 0, + em = 0 + return ( + (L = cm = (L - 32) | 0), + (am = ((em = am = 2147483647 & $l) - 1006698496) | 0), + (bm = am = + (fm = bm = dm = Jl) >>> 0 < 0 ? (am + 1) | 0 : am), + (am = (em - 1140785152) | 0), + (((0 | (am = dm >>> 0 < 0 ? (am + 1) | 0 : am)) == + (0 | bm)) & + (fm >>> 0 < dm >>> 0)) | + (bm >>> 0 < am >>> 0) + ? ((am = ($l << 4) | (Jl >>> 28)), + (Jl = (Jl << 4) | (Il >>> 28)), + ((134217728 == (0 | (dm = Il &= 268435455))) & + (1 <= a >>> 0)) | + (134217728 < Il >>> 0) + ? ((am = (am + 1073741824) | 0), + (a = (Jl + 1) | 0) >>> 0 < 1 && + (am = (am + 1) | 0), + (bm = a)) + : ((am = + (am - + ((((bm = Jl) >>> 0 < 0) + -1073741824) | + 0)) | + 0), + a | (134217728 ^ dm) || + ((a = (bm + (1 & bm)) | 0) >>> 0 < bm >>> 0 && + (am = (am + 1) | 0), + (bm = a)))) + : ( + !dm & (2147418112 == (0 | em)) + ? !(a | Il) + : ((2147418112 == (0 | em)) & + (dm >>> 0 < 0)) | + (em >>> 0 < 2147418112) + ) + ? ((am = 2146435072), + ((1140785151 == ((bm = 0) | em)) & + (4294967295 < dm >>> 0)) | + (1140785151 < em >>> 0) || + (dm = em >>> 16) >>> (am = 0) < 15249 || + ((function (a, Il, Jl, Am, Bm, Cm) { + var Jm, + Km, + Hm = 0, + Im = 0 + 64 & Cm + ? ((Il = 31 & (Jl = (Cm - 64) | 0)), + (Il = + 32 <= (63 & Jl) >>> 0 + ? ((Jl = 0), Bm >>> Il) + : ((Jl = Bm >>> Il), + ((((1 << Il) - 1) & Bm) << + (32 - Il)) | + (Am >>> Il))), + (Bm = Am = 0)) + : Cm && + ((Im = Bm), + (Hm = 31 & (Km = (64 - Cm) | 0)), + (Km = + 32 <= (63 & Km) >>> 0 + ? ((Im = Am << Hm), 0) + : ((Im = + (((1 << Hm) - 1) & + (Am >>> (32 - Hm))) | + (Im << Hm)), + Am << Hm)), + (Jm = Il), + (Il = 31 & (Hm = Cm)), + (Il = + 32 <= (63 & Hm) >>> 0 + ? ((Hm = 0), Jl >>> Il) + : ((Hm = Jl >>> Il), + ((((1 << Il) - 1) & Jl) << + (32 - Il)) | + (Jm >>> Il))), + (Il |= Km), + (Jl = Hm | Im), + (Hm = Am), + (Am = 31 & Cm), + (Am = + 32 <= (63 & Cm) >>> 0 + ? ((Im = 0), Bm >>> Am) + : ((Im = Bm >>> Am), + ((((1 << Am) - 1) & Bm) << + (32 - Am)) | + (Hm >>> Am))), + (Bm = Im)), + (q[a >> 2] = Il), + (q[(4 + a) >> 2] = Jl), + (q[(8 + a) >> 2] = Am), + (q[(12 + a) >> 2] = Bm) + })( + cm, + a, + Il, + Jl, + (am = (65535 & $l) | 65536), + (15361 - dm) | 0 + ), + (function (a, Il, Jl, Am, Bm, Cm) { + var Fm, + Dm, + Em = 0 + 64 & Cm + ? ((Am = Il), + (Il = 31 & (Bm = (Cm + -64) | 0)), + 32 <= (63 & Bm) >>> 0 + ? ((Bm = Am << Il), (Am = 0)) + : ((Bm = + (((1 << Il) - 1) & + (Am >>> (32 - Il))) | + (Jl << Il)), + (Am <<= Il)), + (Jl = Il = 0)) + : Cm && + ((Dm = Am), + (Am = 31 & (Fm = Cm)), + (Dm = + 32 <= (63 & Cm) >>> 0 + ? ((Em = Dm << Am), 0) + : ((Em = + (((1 << Am) - 1) & + (Dm >>> (32 - Am))) | + (Bm << Am)), + Dm << Am)), + (Am = Jl), + (Bm = 31 & (Cm = (64 - Cm) | 0)), + 32 <= (63 & Cm) >>> 0 + ? ((Cm = 0), (Am >>>= Bm)) + : ((Cm = Am >>> Bm), + (Am = + ((((1 << Bm) - 1) & Am) << + (32 - Bm)) | + (Il >>> Bm))), + (Am |= Dm), + (Bm = Cm | Em), + (Cm = Il), + (Il = 31 & Fm), + (Il = + 32 <= (63 & Fm) >>> 0 + ? ((Em = Cm << Il), 0) + : ((Em = + (((1 << Il) - 1) & + (Cm >>> (32 - Il))) | + (Jl << Il)), + Cm << Il)), + (Jl = Em)), + (q[a >> 2] = Il), + (q[(4 + a) >> 2] = Jl), + (q[(8 + a) >> 2] = Am), + (q[(12 + a) >> 2] = Bm) + })( + (16 + cm) | 0, + a, + Il, + Jl, + am, + (dm + -15233) | 0 + ), + (Jl = q[(4 + cm) >> 2]), + (a = q[(8 + cm) >> 2]), + (am = (q[(12 + cm) >> 2] << 4) | (a >>> 28)), + (bm = (a << 4) | (Jl >>> 28)), + ((134217728 == + (0 | (Jl = a = 268435455 & Jl))) & + (1 <= + (Il = + q[cm >> 2] | + ((0 != + (q[(16 + cm) >> 2] | + q[(24 + cm) >> 2])) | + (0 != + (q[(20 + cm) >> 2] | + q[(28 + cm) >> 2])))) >>> + 0)) | + (134217728 < a >>> 0) + ? ((a = (bm + 1) | 0) >>> 0 < 1 && + (am = (am + 1) | 0), + (bm = a)) + : Il | (134217728 ^ Jl) || + ((a = (bm + (1 & bm)) | 0) >>> 0 < + bm >>> 0 && (am = (am + 1) | 0), + (bm = a)))) + : ((bm = (Jl << 4) | (Il >>> 28)), + (am = + (524287 & (am = ($l << 4) | (Jl >>> 28))) | + 2146959360)), + (L = (32 + cm) | 0), + f(0, 0 | bm), + f(1, (-2147483648 & $l) | am), + +g() + ) + })( + q[Il >> 2], + q[(Il + 4) >> 2], + q[(Il + 8) >> 2], + q[(Il + 12) >> 2] + )), + (v[Am >> 3] = a) + }), + (n[13] = function (a) { + return 0 + }), + (n[14] = function (a, Il, Am) { + ;(Il |= 0), (Am |= 0) + var Om, + Cm, + Bm = 0, + Lm = 0, + Mm = 0, + Nm = 0 + for ( + L = Cm = (L - 32) | 0, + Bm = q[(28 + (a |= 0)) >> 2], + q[(16 + Cm) >> 2] = Bm, + Mm = q[(a + 20) >> 2], + q[(28 + Cm) >> 2] = Am, + q[(24 + Cm) >> 2] = Il, + Mm = ((q[(20 + Cm) >> 2] = Il = (Mm - Bm) | 0) + Am) | 0, + Nm = 2, + Il = (16 + Cm) | 0; + ; + + ) { + a: { + if ( + ((Lm = + (Bm = 0) | + K(q[(a + 60) >> 2], 0 | Il, 0 | Nm, (12 + Cm) | 0)) && + ((q[2086] = Lm), (Bm = -1)), + (0 | + (Bm = Bm + ? (q[(12 + Cm) >> 2] = -1) + : q[(12 + Cm) >> 2])) == + (0 | Mm)) + ) + (Il = q[(a + 44) >> 2]), + (q[(a + 28) >> 2] = Il), + (q[(a + 20) >> 2] = Il), + (q[(a + 16) >> 2] = Il + q[(a + 48) >> 2]), + (a = Am) + else { + if (-1 < (0 | Bm)) break a + ;(q[(a + 28) >> 2] = 0), + (q[(a + 16) >> 2] = 0), + (q[(a + 20) >> 2] = 0), + (q[a >> 2] = 32 | q[a >> 2]), + 2 != ((a = 0) | Nm) && + (a = (Am - q[(Il + 4) >> 2]) | 0) + } + return (L = (32 + Cm) | 0), 0 | a + } + ;(Lm = q[(Il + 4) >> 2]), + (q[ + (Il = (Om = Lm >>> 0 < Bm >>> 0) ? (Il + 8) | 0 : Il) >> + 2 + ] = (Lm = (Bm - (Om ? Lm : 0)) | 0) + q[Il >> 2]), + (q[(Il + 4) >> 2] = q[(Il + 4) >> 2] - Lm), + (Mm = (Mm - Bm) | 0), + (Nm = (Nm - Om) | 0) + } + }), + (n[15] = function (a, Il, Am, Bm) { + return (M = 0) + }), + { + d: function () {}, + e: function () { + return q[1805] + }, + f: function () { + return 83886080 + }, + g: function () { + return 5 + }, + h: function (a, vj) { + return ( + (vj |= 0), + (L = vj = (L - 16) | 0), + (a = (a |= 0) + ? sa(a) + ? (Y(4, 2150, 0), 0) + : r[(a + 4) | 0] + : ((q[(vj + 4) >> 2] = 1444), + (q[vj >> 2] = 2267), + Y(4, 1294, vj), + 0)), + (L = (vj + 16) | 0), + 0 | a + ) + }, + i: function (a, vj) { + var wj + return ( + (vj |= 0), + (L = wj = (L - 48) | 0), + (a = (a |= 0) + ? ((a + 63) & -64) != (0 | a) + ? ((q[(36 + wj) >> 2] = 1522), + (q[(32 + wj) >> 2] = 2284), + Y(4, 1294, (32 + wj) | 0), + 0) + : ((vj + 63) & -64) == (0 | vj) && vj + ? (function (a, Vk) { + var pl, + Wk = 0, + Xk = 0, + Yk = 0, + Zk = 0, + _k = 0, + $k = 0, + al = 0, + bl = 0, + cl = 0, + dl = 0, + el = 0, + fl = 0, + gl = 0, + hl = 0, + il = 0, + jl = 0, + kl = 0, + ll = 0, + ml = 0, + nl = 0, + ol = 0 + L = _k = ((pl = Xk = L) - 704) & -64 + a: if (Vk >>> 0 <= 1343) Y(4, 1235, 0) + else if (sa(a)) Y(4, 1469, 0) + else if ((Xk = r[0 | (nl = (a + 4) | 0)])) { + if (!(6 <= Xk >>> 0)) { + ;(jl = 1 == (0 | !r[(a + 5) | 0])) || + (da(nl, 1), X((a - -64) | 0, 4, 160)), + ca((_k - -64) | 0, 0, 640), + na(a, (_k - -64) | 0), + (Xk = (a + Vk) | 0), + (Vk = q[(_k + 64) >> 2]) + b: { + c: { + d: { + if ( + 5 <= + (il = r[(a + 4) | 0]) >>> 0 + ) { + if ( + (Vk >>> 0 < a >>> 0) | + (Xk >>> 0 < Vk >>> 0) + ) + break c + if ( + (Zk = (Vk + 256) | 0) >>> 0 < + a >>> 0 + ) + break c + if (Zk >>> 0 <= Xk >>> 0) break d + break c + } + if ( + (Vk >>> 0 < a >>> 0) | + (Xk >>> 0 < Vk >>> 0) + ) + break c + if ( + ((Zk = (Vk + 128) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) + ) + break c + } + if ( + !( + ((Yk = q[(_k + 68) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Zk >>> 0) || + ((Yk = (Yk - -64) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + (0 | (dl = q[Vk >> 2])) < 0 || + ((Zk = q[(_k + 72) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = + ((Wk = Zk) + (Zk = dl << 2)) | + 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((al = q[(_k + 76) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < al >>> 0) | + (al >>> 0 < Yk >>> 0) || + ((Wk = ((dl << 6) + al) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 80) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 84) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 88) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 92) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 96) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 100) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + (0 | (Wk = q[(Vk + 4) >> 2])) < 0 || + ((Zk = q[(_k + 104) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + (($k = + ((Yk = Zk) + (Zk = Wk << 2)) | + 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Yk = q[(_k + 108) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < $k >>> 0) || + ((Wk = (Yk + (Wk << 6)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 112) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 116) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 120) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 124) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 128) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 132) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 136) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + (0 | (Wk = q[(Vk + 8) >> 2])) < 0 || + ((Zk = q[(_k + 140) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = + ((el = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 144) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + el) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 148) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + el) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 156) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + el) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 160) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + el) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 164) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + el) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + (0 | (Wk = q[(Vk + 12) >> 2])) < + 0 || + ((Zk = q[(_k + 172) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = + ((fl = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 176) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + fl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 180) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + fl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 188) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Wk = (Zk + fl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + (0 | (Yk = q[(Vk + 16) >> 2])) < + 0 || + ((Zk = q[(_k + 192) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) || + (($k = + ((Wk = Zk) + (Zk = Yk << 2)) | + 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 196) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 200) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 204) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 208) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + (Yk << 6)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 212) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 216) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 220) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 228) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 232) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 236) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 240) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 244) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 248) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + ((Wk = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 252) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 256) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 260) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 264) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 268) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Yk = q[(_k + 272) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + (0 | ($k = q[(Vk + 20) >> 2])) < + 0 || + ((Yk = q[(_k + 276) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) || + ((gl = + ((Wk = Yk) + (Yk = $k << 2)) | + 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < gl >>> 0) || + ((Wk = q[(_k + 280) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < gl >>> 0) || + (($k = (Wk + ($k << 6)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 284) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 288) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 292) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 296) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 300) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 308) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 312) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + (0 | (gl = q[(Vk + 24) >> 2])) < + 0 || + ((Wk = q[(_k + 336) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + (gl << 2)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + (0 | (gl = q[(Vk + 28) >> 2])) < + 0 || + ((Wk = q[(_k + 340) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = + ((ll = gl << 2) + Wk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + ((Wk = q[(_k + 344) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + (($k = (Wk + ll) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < $k >>> 0) || + (0 | (gl = q[(Vk + 32) >> 2])) < + 0 || + ((Wk = q[(_k + 356) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < $k >>> 0) || + ((gl = + (($k = gl << 2) + Wk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < gl >>> 0) || + ((Wk = q[(_k + 360) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < gl >>> 0) || + ((gl = (Wk + $k) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < gl >>> 0) || + ((Wk = q[(_k + 364) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < gl >>> 0) || + ((gl = (Wk + $k) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < gl >>> 0) || + ((Wk = q[(_k + 368) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < gl >>> 0) || + ((gl = (Wk + $k) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < gl >>> 0) || + ((Wk = q[(_k + 372) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < gl >>> 0) || + ((gl = (Wk + $k) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < gl >>> 0) || + ((Wk = q[(_k + 376) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < gl >>> 0) || + ((gl = (Wk + $k) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < gl >>> 0) || + ((Wk = q[(_k + 380) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < gl >>> 0) || + ((gl = (Wk + $k) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < gl >>> 0) || + (0 | (bl = q[(Vk + 36) >> 2])) < + 0 || + ((Wk = q[(_k + 392) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < gl >>> 0) || + ((bl = + ((gl = bl << 2) + Wk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + ((Wk = q[(_k + 396) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + gl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + ((Wk = q[(_k + 400) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + gl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 40) >> 2])) < + 0 || + ((Wk = q[(_k + 412) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + (cl << 2)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 44) >> 2])) < + 0 || + ((Wk = q[(_k + 424) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + (cl << 2)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 48) >> 2])) < + 0 || + ((Wk = q[(_k + 428) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = ((cl <<= 2) + Wk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + ((Wk = q[(_k + 432) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + cl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 52) >> 2])) < + 0 || + ((Wk = q[(_k + 416) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = ((cl <<= 2) + Wk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + ((Wk = q[(_k + 420) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + cl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 56) >> 2])) < + 0 || + ((Wk = q[(_k + 552) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + (cl << 2)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 60) >> 2])) < + 0 || + ((Wk = q[(_k + 556) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + (cl << 2)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 64) >> 2])) < + 0 || + ((Wk = q[(_k + 560) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + (cl << 1)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 68) >> 2])) < + 0 || + ((Wk = q[(_k + 564) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + (cl << 2)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 72) >> 2])) < + 0 || + ((Wk = q[(_k + 568) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((cl = + ((bl = Wk) + (Wk = cl << 2)) | + 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 572) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 576) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 580) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 584) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((bl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 76) >> 2])) < + 0 || + ((Wk = q[(_k + 588) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((cl = + ((bl = cl << 2) + Wk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((Wk = q[(_k + 592) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((Wk = q[(_k + 596) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < cl >>> 0) || + ((bl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 80) >> 2])) < + 0 || + ((Wk = q[(_k + 600) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((hl = + ((bl = Wk) + (Wk = cl << 2)) | + 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < hl >>> 0) || + ((bl = q[(_k + 604) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < hl >>> 0) || + ((cl = (bl + (cl << 6)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 608) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 612) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 616) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 620) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 624) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 628) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((cl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < cl >>> 0) || + ((bl = q[(_k + 632) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < cl >>> 0) || + ((bl = (Wk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 84) >> 2])) < + 0 || + ((Wk = q[(_k + 636) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + (cl << 2)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + ((Wk = q[(_k + 640) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((bl = (Wk + (cl << 1)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) || + (0 | (cl = q[(Vk + 88) >> 2])) < + 0 || + ((Wk = q[(_k + 644) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) || + ((Wk = (Wk + (cl << 2)) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + ) { + if (!(il >>> 0 < 2)) { + if ( + ((bl = q[(_k + 168) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (bl + el) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if (!(il >>> 0 < 4)) { + if ( + ((bl = q[(_k + 324) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) | + (bl >>> 0 < Wk >>> 0) + ) + break c + if ( + ((bl = (Yk + bl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) + ) + break c + if ( + ((Wk = q[(_k + 328) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) + ) + break c + if ( + ((bl = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) + ) + break c + if ( + ((Wk = q[(_k + 332) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) + ) + break c + if ( + ((bl = (Wk + Yk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < bl >>> 0) + ) + break c + if ( + ((Wk = q[(_k + 152) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < bl >>> 0) + ) + break c + if ( + ((el = (Wk + el) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < el >>> 0) + ) + break c + if ( + ((Wk = q[(_k + 184) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < el >>> 0) + ) + break c + if ( + ((el = (Wk + fl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < el >>> 0) + ) + break c + if ( + ((Wk = q[(_k + 224) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) | + (Wk >>> 0 < el >>> 0) + ) + break c + if ( + ((Wk = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + (0 | (el = q[(Vk + 92) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 648) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((el = + ((Wk = el << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < el >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 652) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < el >>> 0) + ) + break c + if ( + ((el = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < el >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 656) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < el >>> 0) + ) + break c + if ( + ((Wk = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + (0 | (el = q[(Vk + 96) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 660) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((el = + ((Wk = el << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < el >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 664) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < el >>> 0) + ) + break c + if ( + ((el = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < el >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 668) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < el >>> 0) + ) + break c + if ( + ((Wk = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 304) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 316) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 320) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) + ) + break c + if ( + (0 | + (Wk = q[(Vk + 100) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 436) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Wk = + ((Yk = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 440) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 444) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) + ) + break c + if ( + (0 | + (Wk = q[(Vk + 104) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 448) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Wk = + ((Yk = Zk) + (Zk = Wk << 2)) | + 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = q[(_k + 452) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = q[(_k + 456) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = q[(_k + 460) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = q[(_k + 464) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) | + (Yk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) + ) + break c + if ( + (0 | + (Wk = q[(Vk + 108) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 480) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Wk = + ((Yk = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 484) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 488) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) + ) + break c + if ( + (0 | + (Wk = q[(Vk + 112) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 504) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Wk = + ((Yk = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 508) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 512) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) + ) + break c + if ( + (0 | + (Wk = q[(Vk + 116) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 528) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Yk = (Zk + (Wk << 2)) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) + ) + break c + if ( + (0 | + (Wk = q[(Vk + 120) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 532) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Wk = + ((Yk = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 536) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 540) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) + ) + break c + if ( + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) + ) + break c + if ( + (0 | + (Wk = q[(Vk + 124) >> 2])) < + 0 + ) + break c + if ( + ((Zk = q[(_k + 544) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Yk = + ((Wk <<= 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Zk = q[(_k + 548) >> 2]) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) + ) + break c + if ( + ((Wk = (Wk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) + ) + break c + } + } + if (il >>> 0 < 5) break b + if ( + !( + ((Zk = q[(_k + 348) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) || + ((Yk = (Zk + ll) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 352) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + ll) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 384) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + $k) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 388) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + $k) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 404) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + gl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + ((Zk = q[(_k + 408) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Yk = (Zk + gl) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + (0 | (Wk = q[(Vk + 128) >> 2])) < + 0 || + ((Zk = q[(_k + 468) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Wk = + ((Yk = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Zk = q[(_k + 472) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Zk = q[(_k + 476) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) || + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + (0 | (Wk = q[(Vk + 132) >> 2])) < + 0 || + ((Zk = q[(_k + 492) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Wk = + ((Yk = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Zk = q[(_k + 496) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Zk = q[(_k + 500) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) || + ((Yk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Yk >>> 0) || + (0 | (Wk = q[(Vk + 136) >> 2])) < + 0 || + ((Zk = q[(_k + 516) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Yk >>> 0) || + ((Wk = + ((Yk = Wk << 2) + Zk) | 0) >>> + 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Zk = q[(_k + 520) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) || + ((Wk = (Yk + Zk) | 0) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Wk >>> 0) || + ((Zk = q[(_k + 524) >> 2]) >>> 0 < + a >>> 0) | + (Xk >>> 0 < Zk >>> 0) | + (Zk >>> 0 < Wk >>> 0) || + (Zk = (Yk + Zk) | 0) >>> 0 < + a >>> 0 + ) && + Zk >>> 0 <= Xk >>> 0 + ) + break b + } + } + Y(4, 1760, 0), + da(nl, 1), + X((a - -64) | 0, 4, 160) + break a + } + jl || + (ya(a), + (o[(a + 5) | 0] = 0), + (Vk = q[(_k + 64) >> 2]), + (dl = q[Vk >> 2]), + (al = q[(_k + 76) >> 2]), + (il = r[(a + 4) | 0])) + f: { + if ((a = 0) < (0 | dl)) { + for (;;) { + if ( + 63 < + ia(((a << 6) + al) | 0) >>> 0 + ) + break f + if ( + (0 | dl) == + (0 | (a = (a + 1) | 0)) + ) + break + } + if ( + ((Wk = (Vk + 48) | 0), + (Xk = 0) < (0 | (a = q[Vk >> 2]))) + ) { + for ( + Zk = q[(Vk + 48) >> 2], + Yk = q[(_k + 80) >> 2]; + ; + + ) { + if ( + ((0 | + (al = + q[(Yk + (Xk << 2)) >> 2])) < + 0) | + ((0 | Zk) <= (0 | al)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + gl = (Vk + 24) | 0, + Zk = q[(Vk + 24) >> 2], + $k = q[(_k + 88) >> 2], + dl = q[(_k + 84) >> 2], + Xk = 0; + ; + + ) { + if ( + (Yk = + q[((al = Xk << 2) + $k) >> 2]) + ) { + if ( + ((0 | Yk) < 0) | + ((0 | Zk) < (0 | Yk)) + ) + break f + if ( + ((0 | + (al = q[(al + dl) >> 2])) < + 0) | + ((0 | Zk) <= (0 | al)) + ) + break f + if ( + ((Yk = (Yk + al) | 0) >>> 31) | + ((0 | Zk) < (0 | Yk)) + ) + break f + } + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Zk = q[(_k + 92) >> 2]; + ; + + ) { + if (1 < t[(Zk + (Xk << 2)) >> 2]) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Zk = q[(_k + 96) >> 2]; + ; + + ) { + if (1 < t[(Zk + (Xk << 2)) >> 2]) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Zk = q[(_k + 100) >> 2]; + ; + + ) { + if ( + ((0 | + (Yk = + q[(Zk + (Xk << 2)) >> 2])) < + -1) | + ((0 | a) <= (0 | Yk)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + } else gl = (Vk + 24) | 0 + } else + (gl = (Vk + 24) | 0), + (Wk = (Vk + 48) | 0) + if ( + (a = 0) < + (0 | (Xk = q[(Vk + 4) >> 2])) + ) { + for (Zk = q[(_k + 108) >> 2]; ; ) { + if ( + 63 < + ia((Zk + (a << 6)) | 0) >>> 0 + ) + break f + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + if ( + (($k = + ((Zk = q[(Vk + 48) >> 2]) + -1) | + 0), + !( + ((Xk = 0) | + (a = q[(Vk + 4) >> 2])) <= + 0 + )) + ) { + for (Yk = q[(_k + 112) >> 2]; ; ) { + if ( + ((0 | + (al = + q[(Yk + (Xk << 2)) >> 2])) < + 0) | + ((0 | Zk) <= (0 | al)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Zk = q[(_k + 116) >> 2]; + ; + + ) { + if (1 < t[(Zk + (Xk << 2)) >> 2]) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Zk = q[(_k + 120) >> 2]; + ; + + ) { + if (1 < t[(Zk + (Xk << 2)) >> 2]) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Zk = q[Vk >> 2], + Xk = 0, + Yk = q[(_k + 124) >> 2]; + ; + + ) { + if ( + ((0 | + (al = + q[(Yk + (Xk << 2)) >> 2])) < + -1) | + ((0 | Zk) <= (0 | al)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Zk = q[(_k + 128) >> 2]; + ; + + ) { + if ( + ((0 | + (Yk = + q[(Zk + (Xk << 2)) >> 2])) < + -1) | + ((0 | a) <= (0 | Yk)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Zk = q[(_k + 132) >> 2]; + ; + + ) { + if (1 < t[(Zk + (Xk << 2)) >> 2]) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Yk = (Vk + 8) | 0, + al = (Vk + 12) | 0, + dl = q[(_k + 136) >> 2], + Xk = 0; + ; + + ) { + if ( + 1 < + (fl = + q[ + ((el = Xk << 2) + Zk) >> 2 + ]) >>> + 0 + ) + break f + if ( + ((0 | (el = q[(dl + el) >> 2])) < + 0) | + ((0 | el) >= + q[ + ((fl - 1) | 0 ? Yk : al) >> 2 + ]) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + } + } else $k = (q[Wk >> 2] + -1) | 0 + if ( + (a = 0) < + (0 | (Xk = q[(Vk + 8) >> 2])) + ) { + for (Zk = q[(_k + 140) >> 2]; ; ) { + if ( + ((0 | + (Yk = q[(Zk + (a << 2)) >> 2])) < + 0) | + ((0 | $k) < (0 | Yk)) + ) + break f + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + ll = (Vk + 28) | 0, + Zk = q[(Vk + 28) >> 2], + dl = q[(_k + 148) >> 2], + el = q[(_k + 144) >> 2], + a = 0; + ; + + ) { + if ( + (Yk = q[((al = a << 2) + dl) >> 2]) + ) { + if ( + ((0 | Yk) < 0) | + ((0 | Zk) < (0 | Yk)) + ) + break f + if ( + ((0 | (al = q[(al + el) >> 2])) < + 0) | + ((0 | Zk) <= (0 | al)) + ) + break f + if ( + ((Yk = (Yk + al) | 0) >>> 31) | + ((0 | Zk) < (0 | Yk)) + ) + break f + } + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + a = 0, + Yk = q[(_k + 156) >> 2], + al = q[(_k + 164) >> 2], + dl = q[(_k + 160) >> 2]; + ; + + ) { + if ( + (0 | + (el = + q[((Zk = a << 2) + dl) >> 2])) < + 1 + ) + break f + if ( + (0 | (fl = q[(Zk + al) >> 2])) < + 1 + ) + break f + if ( + ((0 | (Zk = q[(Yk + Zk) >> 2])) < + 1) | + ((0 | Zk) != + (0 | + w((fl + 1) | 0, (el + 1) | 0))) + ) + break f + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + } else ll = (Vk + 28) | 0 + if ( + (a = 0) < + (0 | (Yk = q[(Vk + 12) >> 2])) + ) { + for (Xk = q[(_k + 172) >> 2]; ; ) { + if ( + ((0 | + (Zk = q[(Xk + (a << 2)) >> 2])) < + 0) | + ((0 | $k) < (0 | Zk)) + ) + break f + if ( + (0 | Yk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + bl = (Vk + 32) | 0, + Xk = q[(Vk + 32) >> 2], + $k = q[(_k + 180) >> 2], + dl = q[(_k + 176) >> 2], + a = 0; + ; + + ) { + if ( + (Zk = q[((al = a << 2) + $k) >> 2]) + ) { + if ( + ((0 | Zk) < 0) | + ((0 | Xk) < (0 | Zk)) + ) + break f + if ( + ((0 | (al = q[(al + dl) >> 2])) < + 0) | + ((0 | Xk) <= (0 | al)) + ) + break f + if ( + ((Zk = (Zk + al) | 0) >>> 31) | + ((0 | Xk) < (0 | Zk)) + ) + break f + } + if ( + (0 | Yk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + } else bl = (Vk + 32) | 0 + Zk = (Vk + 16) | 0 + m: { + n: { + if ( + !( + ((a = 0) | + (Xk = q[(Vk + 16) >> 2])) <= + 0 + ) + ) { + for (Yk = q[(_k + 208) >> 2]; ; ) { + if ( + 63 < + ia((Yk + (a << 6)) | 0) >>> 0 + ) + break f + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + if ( + !( + ((Xk = 0) | (a = q[Zk >> 2])) <= + 0 + ) + ) { + for ( + Yk = q[Wk >> 2], + al = q[(_k + 212) >> 2]; + ; + + ) { + if ( + ((0 | + ($k = + q[ + (al + (Xk << 2)) >> 2 + ])) < + 0) | + ((0 | Yk) <= (0 | $k)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + nl = (Vk + 36) | 0, + Yk = q[(Vk + 36) >> 2], + dl = q[(_k + 220) >> 2], + el = q[(_k + 216) >> 2], + Xk = 0; + ; + + ) { + if ( + (al = + q[ + (($k = Xk << 2) + dl) >> 2 + ]) + ) { + if ( + ((0 | al) < 0) | + ((0 | Yk) < (0 | al)) + ) + break f + if ( + ((0 | + ($k = + q[($k + el) >> 2])) < + 0) | + ((0 | Yk) <= (0 | $k)) + ) + break f + if ( + ((al = (al + $k) | 0) >>> + 31) | + ((0 | Yk) < (0 | al)) + ) + break f + } + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Yk = q[(_k + 228) >> 2]; + ; + + ) { + if ( + 1 < t[(Yk + (Xk << 2)) >> 2] + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Yk = q[(_k + 232) >> 2]; + ; + + ) { + if ( + 1 < t[(Yk + (Xk << 2)) >> 2] + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Yk = q[Vk >> 2], + Xk = 0, + al = q[(_k + 236) >> 2]; + ; + + ) { + if ( + ((0 | + ($k = + q[ + (al + (Xk << 2)) >> 2 + ])) < + -1) | + ((0 | Yk) <= (0 | $k)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Yk = q[(Vk + 4) >> 2], + Xk = 0, + al = q[(_k + 240) >> 2]; + ; + + ) { + if ( + ((0 | + ($k = + q[ + (al + (Xk << 2)) >> 2 + ])) < + -1) | + ((0 | Yk) <= (0 | $k)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Yk = q[(_k + 244) >> 2], Xk = 0; + ; + + ) { + if ( + q[(Yk + (Xk << 2)) >> 2] < 0 + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + break n + } + } + ;(al = (Vk + 68) | 0), + (nl = (Vk + 36) | 0) + break m + } + for ( + Yk = q[(_k + 252) >> 2], Xk = 0; + ; + + ) { + if (q[(Yk + (Xk << 2)) >> 2] < 0) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + al = q[(Vk + 60) >> 2], + Xk = 0, + $k = q[(_k + 256) >> 2]; + ; + + ) { + if ( + ((dl = + (q[((dl = Xk << 2) + $k) >> 2] + + (q[(Yk + dl) >> 2] << 1)) | + 0) >>> + 31) | + ((0 | al) < (0 | dl)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Yk = q[(Vk + 64) >> 2], + dl = q[(_k + 264) >> 2], + el = q[(_k + 260) >> 2], + Xk = 0; + ; + + ) { + if ( + (al = q[(($k = Xk << 2) + dl) >> 2]) + ) { + if ( + ((0 | al) < 0) | + ((0 | Yk) < (0 | al)) + ) + break f + if ( + ((0 | ($k = q[($k + el) >> 2])) < + 0) | + ((0 | Yk) <= (0 | $k)) + ) + break f + if ( + ((al = (al + $k) | 0) >>> 31) | + ((0 | Yk) < (0 | al)) + ) + break f + } + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + al = (Vk + 68) | 0, + Yk = q[(Vk + 68) >> 2], + el = q[(_k + 272) >> 2], + fl = q[(_k + 268) >> 2], + Xk = 0; + ; + + ) { + if ( + ($k = q[((dl = Xk << 2) + el) >> 2]) + ) { + if ( + ((0 | $k) < 0) | + ((0 | Yk) < (0 | $k)) + ) + break f + if ( + ((0 | (dl = q[(dl + fl) >> 2])) < + 0) | + ((0 | Yk) <= (0 | dl)) + ) + break f + if ( + (($k = ($k + dl) | 0) >>> 31) | + ((0 | Yk) < (0 | $k)) + ) + break f + } + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + } + p: { + q: { + if ( + !( + ((a = 0) | + (Xk = q[(Vk + 20) >> 2])) <= + 0 + ) + ) { + for (Yk = q[(_k + 280) >> 2]; ; ) { + if ( + 63 < + ia((Yk + (a << 6)) | 0) >>> 0 + ) + break f + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + if ( + !( + ((a = 0) | + (Xk = q[(Vk + 20) >> 2])) <= + 0 + ) + ) { + for ( + Yk = q[(_k + 296) >> 2]; + ; + + ) { + if (1 < t[(Yk + (a << 2)) >> 2]) + break f + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + Yk = q[(_k + 300) >> 2], a = 0; + ; + + ) { + if (q[(Yk + (a << 2)) >> 2] < 0) + break f + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + break q + } + } + a = q[(Vk + 52) >> 2] + break p + } + for ( + a = q[(Vk + 52) >> 2], + el = q[(_k + 312) >> 2], + fl = q[(_k + 308) >> 2], + $k = 0; + ; + + ) { + if ( + (Yk = q[((dl = $k << 2) + el) >> 2]) + ) { + if ( + ((0 | Yk) < 0) | + ((0 | a) < (0 | Yk)) + ) + break f + if ( + ((0 | (dl = q[(dl + fl) >> 2])) < + 0) | + ((0 | a) <= (0 | dl)) + ) + break f + if ( + ((Yk = (Yk + dl) | 0) >>> 31) | + ((0 | a) < (0 | Yk)) + ) + break f + } + if ( + (0 | Xk) == + (0 | ($k = ($k + 1) | 0)) + ) + break + } + } + if ( + ((Yk = q[(Vk + 40) >> 2]), + (Xk = 0) < + (0 | ($k = q[(Vk + 8) >> 2]))) + ) + for ( + dl = q[(_k + 344) >> 2], + el = q[(_k + 156) >> 2]; + ; + + ) { + if ( + ((fl = + (q[((fl = Xk << 2) + dl) >> 2] + + (q[(el + fl) >> 2] << 1)) | + 0) >>> + 31) | + ((0 | Yk) < (0 | fl)) + ) + break f + if ( + (0 | $k) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + if ((Xk = 0) < (0 | ($k = q[bl >> 2]))) { + for (dl = q[(_k + 376) >> 2]; ; ) { + if (1 < t[(dl + (Xk << 2)) >> 2]) + break f + if ( + (0 | $k) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, dl = q[(_k + 380) >> 2]; + ; + + ) { + if (1 < t[(dl + (Xk << 2)) >> 2]) + break f + if ( + (0 | $k) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + } + if ((Xk = 0) < (0 | ($k = q[Zk >> 2]))) + for ( + dl = q[(_k + 400) >> 2], + el = q[(_k + 252) >> 2]; + ; + + ) { + if ( + ((fl = + (q[((fl = Xk << 2) + dl) >> 2] + + (q[(el + fl) >> 2] << 1)) | + 0) >>> + 31) | + ((0 | Yk) < (0 | fl)) + ) + break f + if ( + (0 | $k) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + if ( + (Xk = 0) < + (0 | (Yk = q[(Vk + 44) >> 2])) + ) + for (dl = q[(_k + 424) >> 2]; ; ) { + if ( + ((0 | + (el = q[(dl + (Xk << 2)) >> 2])) < + 0) | + ((0 | a) <= (0 | el)) + ) + break f + if ( + (0 | Yk) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + if (1 <= (0 | (el = q[Wk >> 2]))) + for ( + Xk = 0, + fl = q[(_k + 432) >> 2], + cl = q[(_k + 428) >> 2]; + ; + + ) { + if ( + (Wk = q[((dl = Xk << 2) + fl) >> 2]) + ) { + if ( + ((0 | Wk) < 0) | + ((0 | Yk) < (0 | Wk)) + ) + break f + if ( + ((0 | (dl = q[(cl + dl) >> 2])) < + 0) | + ((0 | Yk) <= (0 | dl)) + ) + break f + if ( + ((Wk = (Wk + dl) | 0) >>> 31) | + ((0 | Yk) < (0 | Wk)) + ) + break f + } + if ( + (0 | el) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + if (1 <= (0 | a)) + for ( + Yk = q[(Vk + 56) >> 2], + Xk = 0, + el = q[(_k + 420) >> 2], + fl = q[(_k + 416) >> 2]; + ; + + ) { + if ( + (Wk = q[((dl = Xk << 2) + el) >> 2]) + ) { + if ( + ((0 | Wk) < 0) | + ((0 | Yk) < (0 | Wk)) + ) + break f + if ( + ((0 | (dl = q[(dl + fl) >> 2])) < + 0) | + ((0 | Yk) <= (0 | dl)) + ) + break f + if ( + ((Wk = (Wk + dl) | 0) >>> 31) | + ((0 | Yk) < (0 | Wk)) + ) + break f + } + if ( + (0 | (Xk = (Xk + 1) | 0)) == + (0 | a) + ) + break + } + if ((a = 0) < (0 | (Xk = q[al >> 2]))) + for (Yk = q[(_k + 564) >> 2]; ; ) { + if ( + ((0 | + (al = q[(Yk + (a << 2)) >> 2])) < + -1) | + ((0 | $k) <= (0 | al)) + ) + break f + if ( + (0 | Xk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + if ( + ((a = q[(Vk + 76) >> 2]), + 1 <= (0 | (al = q[(Vk + 72) >> 2]))) + ) + for ( + Xk = 0, + $k = q[(_k + 572) >> 2], + dl = q[(_k + 568) >> 2]; + ; + + ) { + if ( + (Yk = q[((Wk = Xk << 2) + $k) >> 2]) + ) { + if ( + ((0 | Yk) < 0) | + ((0 | a) < (0 | Yk)) + ) + break f + if ( + ((0 | (Wk = q[(Wk + dl) >> 2])) < + 0) | + ((0 | a) <= (0 | Wk)) + ) + break f + if ( + ((Yk = (Wk + Yk) | 0) >>> 31) | + ((0 | a) < (0 | Yk)) + ) + break f + } + if ( + (0 | al) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + if ((Xk = 0) < (0 | a)) { + for (Yk = q[(_k + 588) >> 2]; ; ) { + if (1 < t[(Yk + (Xk << 2)) >> 2]) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Wk = q[(_k + 592) >> 2], Xk = 0; + ; + + ) { + if ( + 1 < + (dl = + q[(($k = Xk << 2) + Yk) >> 2]) >>> + 0 + ) + break f + if ( + ((0 | ($k = q[(Wk + $k) >> 2])) < + 0) | + ((0 | $k) >= + q[((dl - 1) | 0 ? Zk : Vk) >> 2]) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Xk = 0, Yk = q[(_k + 596) >> 2]; + ; + + ) { + if ( + ((0 | + (Wk = q[(Yk + (Xk << 2)) >> 2])) < + -1) | + ((0 | al) <= (0 | Wk)) + ) + break f + if ( + (0 | a) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + } + s: { + if ( + !( + ((a = 0) | + ($k = q[(Vk + 80) >> 2])) <= + 0 + ) + ) { + for (Xk = q[(_k + 604) >> 2]; ; ) { + if ( + 63 < + ia((Xk + (a << 6)) | 0) >>> 0 + ) + break f + if ( + (0 | $k) == + (0 | (a = (a + 1) | 0)) + ) + break + } + if ( + !( + ((a = 0) | + ($k = q[(Vk + 80) >> 2])) <= + 0 + ) + ) { + for ( + Xk = q[(Vk + 48) >> 2], + Yk = q[(_k + 608) >> 2]; + ; + + ) { + if ( + ((0 | + (al = + q[(Yk + (a << 2)) >> 2])) < + 0) | + ((0 | Xk) <= (0 | al)) + ) + break f + if ( + (0 | $k) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + el = q[(Vk + 88) >> 2], + al = q[(_k + 616) >> 2], + Wk = q[(_k + 612) >> 2], + a = 0; + ; + + ) { + if ( + (Xk = + q[((Yk = a << 2) + al) >> 2]) + ) { + if ( + ((0 | Xk) < 0) | + ((0 | el) < (0 | Xk)) + ) + break f + if ( + ((0 | + (Yk = q[(Wk + Yk) >> 2])) < + 0) | + ((0 | el) <= (0 | Yk)) + ) + break f + if ( + ((Xk = (Xk + Yk) | 0) >>> + 31) | + ((0 | el) < (0 | Xk)) + ) + break f + } + if ( + (0 | $k) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + Zk = q[Zk >> 2], + al = q[(_k + 620) >> 2], + a = 0; + ; + + ) { + if ( + ((0 | + (Xk = + q[(al + (a << 2)) >> 2])) < + 0) | + ((0 | Zk) <= (0 | Xk)) + ) + break f + if ( + (0 | $k) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + Wk = q[(_k + 624) >> 2], a = 0; + ; + + ) { + if ( + ((0 | + (Xk = + q[(Wk + (a << 2)) >> 2])) < + 0) | + ((0 | Zk) <= (0 | Xk)) + ) + break f + if ( + (0 | $k) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + Xk = q[(Vk + 84) >> 2], + dl = q[(_k + 632) >> 2], + fl = q[(_k + 628) >> 2], + a = 0; + ; + + ) { + if ( + (Yk = + q[((cl = a << 2) + dl) >> 2]) + ) { + if ( + ((0 | Yk) < 0) | + ((0 | Xk) < (0 | Yk)) + ) + break f + if ( + ((0 | + (cl = q[(cl + fl) >> 2])) < + 0) | + ((0 | Xk) <= (0 | cl)) + ) + break f + if ( + ((Yk = (Yk + cl) | 0) >>> + 31) | + ((0 | Xk) < (0 | Yk)) + ) + break f + } + if ( + (0 | $k) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + hl = q[(_k + 640) >> 2], + Xk = q[(_k + 252) >> 2], + Yk = 0; + ; + + ) { + if ( + 0 < + (0 | + (jl = + q[ + ((a = Yk << 2) + dl) >> 2 + ])) + ) + for ( + cl = + (hl + + (q[(a + fl) >> 2] << 1)) | + 0, + ol = + q[ + (Xk + + (q[(a + Wk) >> 2] << + 2)) >> + 2 + ], + kl = + q[ + (Xk + + (q[(a + al) >> 2] << + 2)) >> + 2 + ], + a = 0; + ; + + ) { + if ( + ((0 | ol) <= + s[ + (cl + + (2 | + (ml = a << 1))) >> + 1 + ]) | + ((0 | kl) <= + s[(cl + ml) >> 1]) + ) + break f + if ( + !( + (0 | (a = (a + 2) | 0)) < + (0 | jl) + ) + ) + break + } + if ( + (0 | $k) == + (0 | (Yk = (Yk + 1) | 0)) + ) + break + } + break s + } + } + ;(Zk = q[(Vk + 16) >> 2]), + (el = q[(Vk + 88) >> 2]) + } + if (!((255 & il) >>> 0 < 2)) { + if ( + (a = 0) < + (0 | (dl = q[(Vk + 8) >> 2])) + ) + for (Xk = q[(_k + 168) >> 2]; ; ) { + if (1 < t[(Xk + (a << 2)) >> 2]) + break f + if ( + (0 | dl) == + (0 | (a = (a + 1) | 0)) + ) + break + } + if (!((255 & il) >>> 0 < 4)) { + if ( + ((al = q[(Vk + 56) >> 2]), + 1 <= (0 | (fl = q[(Vk + 20) >> 2]))) + ) + for ( + Wk = q[(_k + 332) >> 2], + cl = q[(_k + 328) >> 2], + a = 0; + ; + + ) { + if ( + (Xk = + q[((Yk = a << 2) + Wk) >> 2]) + ) { + if ( + ((0 | Xk) < 0) | + ((0 | al) < (0 | Xk)) + ) + break f + if ( + ((0 | + (Yk = q[(Yk + cl) >> 2])) < + 0) | + ((0 | al) <= (0 | Yk)) + ) + break f + if ( + ((Xk = (Xk + Yk) | 0) >>> + 31) | + ((0 | al) < (0 | Xk)) + ) + break f + } + if ( + (0 | fl) == + (0 | (a = (a + 1) | 0)) + ) + break + } + if ( + (0 | (a = q[(Vk + 92) >> 2])) != + q[(Vk + 96) >> 2] + ) + break f + if (1 <= (0 | dl)) + for ( + cl = q[(_k + 152) >> 2], + Xk = 0, + hl = q[(_k + 148) >> 2]; + ; + + ) { + if ( + (Yk = + q[((Wk = Xk << 2) + hl) >> 2]) + ) { + if ( + ((0 | Yk) < 0) | + ((0 | a) < (0 | Yk)) + ) + break f + if ( + ((0 | + (Wk = q[(Wk + cl) >> 2])) < + 0) | + ((0 | a) <= (0 | Wk)) + ) + break f + if ( + ((Yk = (Wk + Yk) | 0) >>> + 31) | + ((0 | a) < (0 | Yk)) + ) + break f + } + if ( + (0 | dl) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + if ( + 1 <= + (0 | (ol = q[(Vk + 12) >> 2])) + ) + for ( + cl = q[(_k + 184) >> 2], + Xk = 0, + hl = q[(_k + 180) >> 2]; + ; + + ) { + if ( + (Yk = + q[((Wk = Xk << 2) + hl) >> 2]) + ) { + if ( + ((0 | Yk) < 0) | + ((0 | a) < (0 | Yk)) + ) + break f + if ( + ((0 | + (Wk = q[(Wk + cl) >> 2])) < + 0) | + ((0 | a) <= (0 | Wk)) + ) + break f + if ( + ((Yk = (Wk + Yk) | 0) >>> + 31) | + ((0 | a) < (0 | Yk)) + ) + break f + } + if ( + (0 | ol) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + if (1 <= (0 | Zk)) + for ( + cl = q[(_k + 224) >> 2], + Xk = 0, + hl = q[(_k + 220) >> 2]; + ; + + ) { + if ( + (Yk = + q[((Wk = Xk << 2) + hl) >> 2]) + ) { + if ( + ((0 | Yk) < 0) | + ((0 | a) < (0 | Yk)) + ) + break f + if ( + ((0 | + (Wk = q[(Wk + cl) >> 2])) < + 0) | + ((0 | a) <= (0 | Wk)) + ) + break f + if ( + ((Yk = (Wk + Yk) | 0) >>> + 31) | + ((0 | a) < (0 | Yk)) + ) + break f + } + if ( + (0 | Zk) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + if ((Xk = 0) < (0 | fl)) { + for (Yk = q[(_k + 304) >> 2]; ; ) { + if (1 < t[(Yk + (Xk << 2)) >> 2]) + break f + if ( + (0 | fl) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + Yk = q[(Vk + 100) >> 2], + hl = q[(_k + 320) >> 2], + jl = q[(_k + 316) >> 2], + Xk = 0; + ; + + ) { + if ( + (Wk = + q[((cl = Xk << 2) + hl) >> 2]) + ) { + if ( + ((0 | Wk) < 0) | + ((0 | Yk) < (0 | Wk)) + ) + break f + if ( + ((0 | + (cl = q[(cl + jl) >> 2])) < + 0) | + ((0 | Yk) <= (0 | cl)) + ) + break f + if ( + ((Wk = (Wk + cl) | 0) >>> + 31) | + ((0 | Yk) < (0 | Wk)) + ) + break f + } + if ( + (0 | fl) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + } else Yk = q[(Vk + 100) >> 2] + if (1 <= (0 | Yk)) { + for ( + cl = q[(_k + 440) >> 2], + Xk = 0, + jl = q[(_k + 436) >> 2]; + ; + + ) { + if ( + (Wk = + q[((hl = Xk << 2) + cl) >> 2]) + ) { + if ( + ((0 | Wk) < 0) | + ((0 | al) < (0 | Wk)) + ) + break f + if ( + ((0 | + (hl = q[(hl + jl) >> 2])) < + 0) | + ((0 | al) <= (0 | hl)) + ) + break f + if ( + ((Wk = (Wk + hl) | 0) >>> + 31) | + ((0 | al) < (0 | Wk)) + ) + break f + } + if ( + (0 | Yk) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + for ( + al = q[(_k + 444) >> 2], Xk = 0; + ; + + ) { + if ( + ((0 | + (hl = + q[ + ((Wk = Xk << 2) + al) >> 2 + ])) < + 0) | + ((0 | hl) >= q[(Wk + cl) >> 2]) + ) + break f + if ( + (0 | Yk) == + (0 | (Xk = (Xk + 1) | 0)) + ) + break + } + } + if ( + (al = 0) < + (0 | (Xk = q[(Vk + 104) >> 2])) + ) { + for (Wk = q[(_k + 448) >> 2]; ; ) { + if ( + ((0 | + (cl = + q[(Wk + (al << 2)) >> 2])) < + 0) | + ((0 | Yk) <= (0 | cl)) + ) + break f + if ( + (0 | Xk) == + (0 | (al = (al + 1) | 0)) + ) + break + } + for ( + Wk = q[(Vk + 116) >> 2], + hl = q[(_k + 464) >> 2], + jl = q[(_k + 460) >> 2], + Yk = 0; + ; + + ) { + if ( + (al = + q[((cl = Yk << 2) + hl) >> 2]) + ) { + if ( + ((0 | al) < 0) | + ((0 | Wk) < (0 | al)) + ) + break f + if ( + ((0 | + (cl = q[(cl + jl) >> 2])) < + 0) | + ((0 | Wk) <= (0 | cl)) + ) + break f + if ( + ((al = (al + cl) | 0) >>> + 31) | + ((0 | Wk) < (0 | al)) + ) + break f + } + if ( + (0 | Xk) == + (0 | (Yk = (Yk + 1) | 0)) + ) + break + } + } else Wk = q[(Vk + 116) >> 2] + if ( + (Yk = 0) < + (0 | (cl = q[(Vk + 108) >> 2])) + ) { + for (al = q[(_k + 480) >> 2]; ; ) { + if ( + ((0 | + (hl = + q[(al + (Yk << 2)) >> 2])) < + 0) | + ((0 | dl) <= (0 | hl)) + ) + break f + if ( + (0 | cl) == + (0 | (Yk = (Yk + 1) | 0)) + ) + break + } + for ( + hl = q[(_k + 488) >> 2], + kl = q[(_k + 484) >> 2], + Yk = 0; + ; + + ) { + if ( + (al = + q[((dl = Yk << 2) + hl) >> 2]) + ) { + if ( + ((0 | al) < 0) | + ((0 | Xk) < (0 | al)) + ) + break f + if ( + ((0 | + (dl = q[(dl + kl) >> 2])) < + 0) | + ((0 | Xk) <= (0 | dl)) + ) + break f + if ( + ((al = (al + dl) | 0) >>> + 31) | + ((0 | Xk) < (0 | al)) + ) + break f + } + if ( + (0 | cl) == + (0 | (Yk = (Yk + 1) | 0)) + ) + break + } + for ( + hl = q[ll >> 2], + Yk = q[(_k + 456) >> 2], + dl = q[(_k + 452) >> 2], + al = 0; + ; + + ) { + if ( + ((ml = + q[(kl + (al << 2)) >> 2] << + 2), + (jl = q[(ml + Yk) >> 2])) + ) { + if ( + ((0 | jl) < 0) | + ((0 | hl) < (0 | jl)) + ) + break f + if ( + ((0 | + (ml = q[(dl + ml) >> 2])) < + 0) | + ((0 | hl) <= (0 | ml)) + ) + break f + if ( + ((0 | (jl = (jl + ml) | 0)) < + 0) | + ((0 | hl) < (0 | jl)) + ) + break f + } + if ( + (0 | cl) == + (0 | (al = (al + 1) | 0)) + ) + break + } + } else + (Yk = q[(_k + 456) >> 2]), + (dl = q[(_k + 452) >> 2]) + if ( + (al = 0) < + (0 | (cl = q[(Vk + 112) >> 2])) + ) { + for (hl = q[(_k + 504) >> 2]; ; ) { + if ( + ((0 | + (jl = + q[(hl + (al << 2)) >> 2])) < + 0) | + ((0 | Zk) <= (0 | jl)) + ) + break f + if ( + (0 | cl) == + (0 | (al = (al + 1) | 0)) + ) + break + } + for ( + kl = q[(_k + 512) >> 2], + jl = q[(_k + 508) >> 2], + Zk = 0; + ; + + ) { + if ( + (al = + q[((hl = Zk << 2) + kl) >> 2]) + ) { + if ( + ((0 | al) < 0) | + ((0 | Xk) < (0 | al)) + ) + break f + if ( + ((0 | + (hl = q[(hl + jl) >> 2])) < + 0) | + ((0 | Xk) <= (0 | hl)) + ) + break f + if ( + ((al = (al + hl) | 0) >>> + 31) | + ((0 | Xk) < (0 | al)) + ) + break f + } + if ( + (0 | cl) == + (0 | (Zk = (Zk + 1) | 0)) + ) + break + } + for (al = q[nl >> 2], Zk = 0; ; ) { + if ( + ((kl = + q[(jl + (Zk << 2)) >> 2] << + 2), + (hl = q[(kl + Yk) >> 2])) + ) { + if ( + ((0 | hl) < 0) | + ((0 | al) < (0 | hl)) + ) + break f + if ( + ((0 | + (kl = q[(dl + kl) >> 2])) < + 0) | + ((0 | al) <= (0 | kl)) + ) + break f + if ( + ((0 | (hl = (hl + kl) | 0)) < + 0) | + ((0 | al) < (0 | hl)) + ) + break f + } + if ( + (0 | cl) == + (0 | (Zk = (Zk + 1) | 0)) + ) + break + } + } + if ( + ((al = q[(Vk + 120) >> 2]), + (Zk = 0) < (0 | Wk)) + ) + for (cl = q[(_k + 528) >> 2]; ; ) { + if ( + ((0 | + (hl = + q[(cl + (Zk << 2)) >> 2])) < + 0) | + ((0 | al) <= (0 | hl)) + ) + break f + if ( + (0 | (Zk = (Zk + 1) | 0)) == + (0 | Wk) + ) + break + } + if ((Zk = 0) < (0 | al)) { + for (Wk = q[(_k + 532) >> 2]; ; ) { + if ( + ((0 | + (cl = + q[(Wk + (Zk << 2)) >> 2])) < + -1) | + ((0 | fl) <= (0 | cl)) + ) + break f + if ( + (0 | al) == + (0 | (Zk = (Zk + 1) | 0)) + ) + break + } + for ( + Wk = q[(Vk + 124) >> 2], + hl = q[(_k + 540) >> 2], + jl = q[(_k + 536) >> 2], + Zk = 0; + ; + + ) { + if ( + (fl = + q[((cl = Zk << 2) + hl) >> 2]) + ) { + if ( + ((0 | fl) < 0) | + ((0 | Wk) < (0 | fl)) + ) + break f + if ( + ((0 | + (cl = q[(cl + jl) >> 2])) < + 0) | + ((0 | Wk) <= (0 | cl)) + ) + break f + if ( + ((fl = (cl + fl) | 0) >>> + 31) | + ((0 | Wk) < (0 | fl)) + ) + break f + } + if ( + (0 | al) == + (0 | (Zk = (Zk + 1) | 0)) + ) + break + } + } + if (!((255 & il) >>> 0 < 5)) { + if ( + (Zk = 0) < + (0 | (il = q[ll >> 2])) + ) { + for ( + al = q[(_k + 348) >> 2]; + ; + + ) { + if ( + ((0 | + (Wk = + q[ + (al + (Zk << 2)) >> 2 + ])) < + 0) | + ((0 | a) < (0 | Wk)) + ) + break f + if ( + (0 | il) == + (0 | (Zk = (Zk + 1) | 0)) + ) + break + } + for ( + al = q[(_k + 352) >> 2], Zk = 0; + ; + + ) { + if ( + ((0 | + (Wk = + q[ + (al + (Zk << 2)) >> 2 + ])) < + 0) | + ((0 | a) < (0 | Wk)) + ) + break f + if ( + (0 | il) == + (0 | (Zk = (Zk + 1) | 0)) + ) + break + } + } + if ( + (il = 0) < + (0 | (Zk = q[bl >> 2])) + ) { + for ( + al = q[(_k + 384) >> 2]; + ; + + ) { + if ( + ((0 | + (Wk = + q[ + (al + (il << 2)) >> 2 + ])) < + 0) | + ((0 | a) < (0 | Wk)) + ) + break f + if ( + (0 | Zk) == + (0 | (il = (il + 1) | 0)) + ) + break + } + for ( + al = q[(_k + 388) >> 2], il = 0; + ; + + ) { + if ( + ((0 | + (Wk = + q[ + (al + (il << 2)) >> 2 + ])) < + 0) | + ((0 | a) < (0 | Wk)) + ) + break f + if ( + (0 | Zk) == + (0 | (il = (il + 1) | 0)) + ) + break + } + } + if ( + (il = 0) < + (0 | (al = q[nl >> 2])) + ) { + for ( + Wk = q[(_k + 404) >> 2]; + ; + + ) { + if ( + ((0 | + (fl = + q[ + (Wk + (il << 2)) >> 2 + ])) < + 0) | + ((0 | a) < (0 | fl)) + ) + break f + if ( + (0 | al) == + (0 | (il = (il + 1) | 0)) + ) + break + } + for ( + Wk = q[(_k + 408) >> 2], il = 0; + ; + + ) { + if ( + ((0 | + (fl = + q[ + (Wk + (il << 2)) >> 2 + ])) < + 0) | + ((0 | a) < (0 | fl)) + ) + break f + if ( + (0 | al) == + (0 | (il = (il + 1) | 0)) + ) + break + } + } + if ( + (a = 0) < + (0 | (il = q[(Vk + 128) >> 2])) + ) { + for ( + al = q[Vk >> 2], + Wk = q[(_k + 468) >> 2]; + ; + + ) { + if ( + ((0 | + (fl = + q[ + (Wk + (a << 2)) >> 2 + ])) < + 0) | + ((0 | al) <= (0 | fl)) + ) + break f + if ( + (0 | il) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + ll = q[(_k + 476) >> 2], + fl = q[(_k + 472) >> 2], + a = 0; + ; + + ) { + if ( + (al = + q[ + ((Wk = a << 2) + ll) >> 2 + ]) + ) { + if ( + ((0 | al) < 0) | + ((0 | Xk) < (0 | al)) + ) + break f + if ( + ((0 | + (Wk = + q[(Wk + fl) >> 2])) < + 0) | + ((0 | Xk) <= (0 | Wk)) + ) + break f + if ( + ((al = (Wk + al) | 0) >>> + 31) | + ((0 | Xk) < (0 | al)) + ) + break f + } + if ( + (0 | il) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for (al = q[gl >> 2], a = 0; ; ) { + if ( + ((gl = + q[(fl + (a << 2)) >> 2] << + 2), + (Wk = q[(gl + Yk) >> 2])) + ) { + if ( + ((0 | Wk) < 0) | + ((0 | al) < (0 | Wk)) + ) + break f + if ( + ((0 | + (gl = + q[(dl + gl) >> 2])) < + 0) | + ((0 | al) <= (0 | gl)) + ) + break f + if ( + ((0 | + (Wk = (Wk + gl) | 0)) < + 0) | + ((0 | al) < (0 | Wk)) + ) + break f + } + if ( + (0 | il) == + (0 | (a = (a + 1) | 0)) + ) + break + } + } + if ( + (a = 0) < + (0 | (il = q[(Vk + 132) >> 2])) + ) { + for ( + al = q[(_k + 492) >> 2]; + ; + + ) { + if ( + ((0 | + (Wk = + q[ + (al + (a << 2)) >> 2 + ])) < + 0) | + ((0 | ol) <= (0 | Wk)) + ) + break f + if ( + (0 | il) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + gl = q[(_k + 500) >> 2], + Wk = q[(_k + 496) >> 2], + a = 0; + ; + + ) { + if ( + (al = + q[ + ((fl = a << 2) + gl) >> 2 + ]) + ) { + if ( + ((0 | al) < 0) | + ((0 | Xk) < (0 | al)) + ) + break f + if ( + ((0 | + (fl = + q[(Wk + fl) >> 2])) < + 0) | + ((0 | Xk) <= (0 | fl)) + ) + break f + if ( + ((al = (al + fl) | 0) >>> + 31) | + ((0 | Xk) < (0 | al)) + ) + break f + } + if ( + (0 | il) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for (a = 0; ; ) { + if ( + ((fl = + q[(Wk + (a << 2)) >> 2] << + 2), + (al = q[(fl + Yk) >> 2])) + ) { + if ( + ((0 | al) < 0) | + ((0 | Zk) < (0 | al)) + ) + break f + if ( + ((0 | + (fl = + q[(dl + fl) >> 2])) < + 0) | + ((0 | Zk) <= (0 | fl)) + ) + break f + if ( + ((0 | + (al = (al + fl) | 0)) < + 0) | + ((0 | Zk) < (0 | al)) + ) + break f + } + if ( + (0 | il) == + (0 | (a = (a + 1) | 0)) + ) + break + } + } + if ( + !( + ((a = 0) | + (Vk = q[(Vk + 136) >> 2])) <= + 0 + ) + ) { + for ( + Zk = q[(_k + 516) >> 2]; + ; + + ) { + if ( + ((0 | + (il = + q[ + (Zk + (a << 2)) >> 2 + ])) < + 0) | + ((0 | $k) <= (0 | il)) + ) + break f + if ( + (0 | Vk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for ( + al = q[(_k + 524) >> 2], + Zk = q[(_k + 520) >> 2], + a = 0; + ; + + ) { + if ( + (_k = + q[ + ((il = a << 2) + al) >> 2 + ]) + ) { + if ( + ((0 | _k) < 0) | + ((0 | Xk) < (0 | _k)) + ) + break f + if ( + ((0 | + (il = + q[(Zk + il) >> 2])) < + 0) | + ((0 | Xk) <= (0 | il)) + ) + break f + if ( + ((_k = (_k + il) | 0) >>> + 31) | + ((0 | Xk) < (0 | _k)) + ) + break f + } + if ( + (0 | Vk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + for (a = 0; ; ) { + if ( + ((_k = + q[(Zk + (a << 2)) >> 2] << + 2), + (Xk = q[(_k + Yk) >> 2])) + ) { + if ( + ((0 | Xk) < 0) | + ((0 | el) < (0 | Xk)) + ) + break f + if ( + ((0 | + (_k = + q[(_k + dl) >> 2])) < + 0) | + ((0 | el) <= (0 | _k)) + ) + break f + if ( + ((0 | + (Xk = (Xk + _k) | 0)) < + 0) | + ((0 | el) < (0 | Xk)) + ) + break f + } + if ( + (0 | Vk) == + (0 | (a = (a + 1) | 0)) + ) + break + } + } + } + } + } + return (L = pl), 1 + } + return Y(4, 1846, 0), (L = pl), 0 + } + ;(q[(_k + 52) >> 2] = Xk), + (q[(_k + 48) >> 2] = 5), + Y(4, 1640, (_k + 48) | 0) + } else + (q[(_k + 32) >> 2] = Xk), + Y(4, 1554, (_k + 32) | 0) + return (L = pl), 0 + })(a, vj) + : ((q[(20 + wj) >> 2] = 1621), + (q[(16 + wj) >> 2] = 2284), + Y(4, 1294, (16 + wj) | 0), + 0) + : ((q[(4 + wj) >> 2] = 1444), + (q[wj >> 2] = 2284), + Y(4, 1294, wj), + 0)), + (L = (48 + wj) | 0), + 0 | a + ) + }, + j: function (a) { + q[1805] = a |= 0 + }, + k: function (a, ej) { + var fj + return ( + (ej |= 0), + (L = fj = (L - 48) | 0), + (a = (a |= 0) + ? ((a + 63) & -64) != (0 | a) + ? ((q[(36 + fj) >> 2] = 1522), + (q[(32 + fj) >> 2] = 2305), + Y(4, 1294, (32 + fj) | 0), + 0) + : ((ej + 63) & -64) == (0 | ej) && ej + ? (function (a) { + var Qk, + Tk, + Uk, + Uh, + Kk = 0, + Lk = 0, + Mk = 0, + Nk = 0, + Ok = 0, + Pk = 0, + Rk = 0, + Sk = 0 + ;(q[(24 + (L = Qk = (L - 32) | 0)) >> 2] = 0), + (q[(16 + Qk) >> 2] = 5), + (q[(20 + Qk) >> 2] = 0), + Ka( + (16 + (L = Uh = (L - 272) | 0)) | 0, + 2227, + (q[(12 + Uh) >> 2] = (16 + Qk) | 0) + ), + (function (a) { + var Hc + ;(q[(L = Hc = (L - 16) | 0) >> 2] = a), + (function (a, Il) { + var Jl + ;(q[ + (12 + (L = Jl = (L - 16) | 0)) >> 2 + ] = Il), + Ia(a, 1432, Il, 0, 0), + (L = (16 + Jl) | 0) + })(q[970], Hc), + (L = (16 + Hc) | 0) + })((16 + Uh) | 0), + (L = (272 + Uh) | 0) + a: { + if (sa(a)) Y(4, 1932, 0) + else { + if (!(6 <= (Mk = r[(a + 4) | 0]) >>> 0)) { + if ( + (1 != (0 | !r[(a + 5) | 0]) + ? (da((a + 4) | 0, 1), + X((a - -64) | 0, 4, 160), + na( + a, + (a + 704) | (o[(a + 5) | 0] = 0) + ), + ya(a)) + : na(a, (a + 704) | 0), + r[7224] || + ((q[1807] = 6), + (o[7224] = 1), + (q[1808] = 7), + (q[1809] = 8), + (q[1810] = 9)), + (Lk = q[(a + 704) >> 2]), + 1 <= (0 | (Mk = q[(Lk + 16) >> 2]))) + ) { + for ( + Sk = + ((Nk = q[(a + 912) >> 2]) + + (Mk << 2)) | + 0, + Ok = q[(a + 908) >> 2]; + ; + + ) { + Rk = + (q[(a + 1204) >> 2] + + (q[Ok >> 2] << 2)) | + 0 + d: if ( + !( + ((Lk = 0) | + (Kk = + ((Mk = q[Nk >> 2]) + -1) | + 0)) < + 1 + ) + ) + e: for (;;) { + for (;;) { + if ( + q[ + (Pk = + (Rk + (Lk << 2)) | 0) >> 2 + ] <= -1 + ) { + if ( + ((function (a, Vk, ql) { + var rl = 0, + sl = 0 + a: if ( + (0 | a) != + (0 | Vk) + ) { + if ( + !( + a >>> 0 < + (Vk + ql) >>> 0 && + Vk >>> 0 < + (sl = + (a + ql) | + 0) >>> + 0 + ) + ) + return $(a, Vk, ql) + if ( + ((rl = 3 & (a ^ Vk)), + a >>> 0 < Vk >>> 0) + ) { + if (!rl) { + if (3 & a) + for (;;) { + if (!ql) break a + if ( + ((o[0 | a] = + r[0 | Vk]), + (Vk = + (Vk + 1) | + 0), + (ql = + (ql + -1) | + 0), + !( + 3 & + (a = + (a + 1) | + 0) + )) + ) + break + } + if ( + !(ql >>> 0 <= 3) + ) { + for ( + rl = ql; + (q[a >> 2] = + q[Vk >> 2]), + (Vk = + (Vk + 4) | + 0), + (a = + (a + 4) | + 0), + 3 < + (rl = + (rl + + -4) | + 0) >>> + 0; + + ); + ql &= 3 + } + } + if (ql) + for ( + ; + (o[0 | a] = + r[0 | Vk]), + (a = + (a + 1) | 0), + (Vk = + (Vk + 1) | 0), + (ql = + (ql + -1) | + 0); + + ); + } else { + if (!rl) { + if (3 & sl) + for (;;) { + if (!ql) break a + if ( + ((o[ + 0 | + (rl = + ((ql = + (ql + + -1) | + 0) + + a) | + 0) + ] = + r[ + (Vk + + ql) | + 0 + ]), + !(3 & rl)) + ) + break + } + if ( + !(ql >>> 0 <= 3) + ) + for ( + ; + (q[ + ((ql = + (ql + -4) | + 0) + + a) >> + 2 + ] = + q[ + (Vk + ql) >> + 2 + ]), + 3 < ql >>> 0; + + ); + } + if (ql) + for ( + ; + (o[ + ((ql = + (ql + -1) | + 0) + + a) | + 0 + ] = + r[ + (Vk + ql) | 0 + ]), + ql; + + ); + } + } + })( + Pk, + (Pk + 4) | 0, + ((-1 ^ Lk) + Mk) << 2 + ), + (0 | Lk) < + (0 | + (Kk = + ((Mk = Kk) + -1) | + 0))) + ) + continue e + break d + } + if ( + !( + (0 | (Lk = (Lk + 1) | 0)) < + (0 | Kk) + ) + ) + break + } + break + } + if ( + ((Lk = Nk), + 0 < (0 | Mk) && + (Mk = + q[(Rk + (Kk << 2)) >> 2] < 0 + ? Kk + : Mk), + (q[Lk >> 2] = Mk), + (Ok = (Ok + 4) | 0), + !( + (Nk = (Nk + 4) | 0) >>> 0 < + Sk >>> 0 + )) + ) + break + } + Lk = q[(a + 704) >> 2] + } + if (1 <= q[Lk >> 2]) + for ( + Kk = 0; + (q[ + (q[(a + 712) >> 2] + (Kk << 2)) >> 2 + ] = q[(a + 716) >> 2] + (Kk << 6)), + (Lk = q[(a + 704) >> 2]), + (0 | (Kk = (Kk + 1) | 0)) < + q[Lk >> 2]; + + ); + if (1 <= q[(Lk + 4) >> 2]) + for ( + Kk = 0; + (q[ + (q[(a + 744) >> 2] + (Kk << 2)) >> 2 + ] = q[(a + 748) >> 2] + (Kk << 6)), + (Lk = q[(a + 704) >> 2]), + (0 | (Kk = (Kk + 1) | 0)) < + q[(Lk + 4) >> 2]; + + ); + if (1 <= q[(Lk + 16) >> 2]) + for ( + Kk = 0; + (q[ + ((Mk = Kk << 2) + + q[(a + 832) >> 2]) >> + 2 + ] = q[(a + 848) >> 2] + (Kk << 6)), + (q[(Mk + q[(a + 836) >> 2]) >> 2] = + q[(a + 1196) >> 2] + + (q[ + (Mk + q[(a + 896) >> 2]) >> 2 + ] << + 2)), + (q[(Mk + q[(a + 840) >> 2]) >> 2] = + q[(a + 1200) >> 2] + + (q[ + (Mk + q[(a + 900) >> 2]) >> 2 + ] << + 1)), + (q[(Mk + q[(a + 844) >> 2]) >> 2] = + q[(a + 1204) >> 2] + + (q[ + (Mk + q[(a + 908) >> 2]) >> 2 + ] << + 2)), + (Lk = q[(a + 704) >> 2]), + (0 | (Kk = (Kk + 1) | 0)) < + q[(Lk + 16) >> 2]; + + ); + if (1 <= q[(Lk + 20) >> 2]) + for ( + Kk = 0; + (q[ + (q[(a + 916) >> 2] + (Kk << 2)) >> 2 + ] = q[(a + 920) >> 2] + (Kk << 6)), + (Lk = q[(a + 704) >> 2]), + (0 | (Kk = (Kk + 1) | 0)) < + q[(Lk + 20) >> 2]; + + ); + if (1 <= q[(Lk + 80) >> 2]) + for ( + Kk = 0; + (q[ + (q[(a + 1240) >> 2] + (Kk << 2)) >> + 2 + ] = q[(a + 1244) >> 2] + (Kk << 6)), + (Lk = q[(a + 704) >> 2]), + (0 | (Kk = (Kk + 1) | 0)) < + q[(Lk + 80) >> 2]; + + ); + if (1 & o[(q[(a + 708) >> 2] + 20) | 0]) + break a + if ((0 | (Nk = q[(Lk + 16) >> 2])) < 1) + break a + for ( + Kk = q[(a + 904) >> 2], + Rk = q[(a + 900) >> 2], + Pk = q[(a + 1200) >> 2], + Ok = 0; + ; + + ) { + if ( + 0 < + (0 | + (Sk = + (q[((Mk = Ok << 2) + Kk) >> 2] + + -1) | + 0)) + ) + for ( + Tk = + (Pk + (q[(Mk + Rk) >> 2] << 1)) | + 0, + Lk = 0; + (Uk = + s[ + (Mk = (Tk + (Lk << 1)) | 0) >> 1 + ]), + (p[Mk >> 1] = s[(Mk + 4) >> 1]), + (p[(Mk + 4) >> 1] = Uk), + (0 | (Lk = (Lk + 3) | 0)) < + (0 | Sk); + + ); + if ( + (0 | Nk) == + (0 | (Ok = (Ok + 1) | 0)) + ) + break + } + for ( + Mk = q[(a + 892) >> 2], + Ok = q[(a + 896) >> 2], + Rk = q[(a + 1196) >> 2], + Kk = 0; + ; + + ) { + if ( + 1 <= + (0 | + (Pk = + q[((Lk = Kk << 2) + Mk) >> 2])) + ) + for ( + Pk = + ((Lk = + (Rk + + (q[(Lk + Ok) >> 2] << 2)) | + 0) + + (Pk << 3)) | + 0, + Lk = (Lk + 4) | 0; + (u[Lk >> 2] = x(1) - u[Lk >> 2]), + (Lk = (Lk + 8) | 0) >>> 0 < + Pk >>> 0; + + ); + if ( + (0 | Nk) == + (0 | (Kk = (Kk + 1) | 0)) + ) + break + } + break a + } + ;(q[(4 + Qk) >> 2] = Mk), + (q[Qk >> 2] = 5), + Y(4, 2023, Qk) + } + a = 0 + } + return (L = (32 + Qk) | 0), a + })(a) + : ((q[(20 + fj) >> 2] = 1621), + (q[(16 + fj) >> 2] = 2305), + Y(4, 1294, (16 + fj) | 0), + 0) + : ((q[(4 + fj) >> 2] = 1444), + (q[fj >> 2] = 2305), + Y(4, 1294, fj), + 0)), + (L = (48 + fj) | 0), + 0 | a + ) + }, + l: function (a, ej, fj, gj) { + var hj + ;(ej |= 0), + (fj |= 0), + (gj |= 0), + (L = hj = (L + -64) | 0), + (a |= 0) + ? ej + ? fj + ? gj + ? ((a = q[(q[a >> 2] + 708) >> 2]), + (q[ej >> 2] = q[(a + 12) >> 2]), + (q[(ej + 4) >> 2] = q[(a + 16) >> 2]), + (q[fj >> 2] = q[(a + 4) >> 2]), + (q[(fj + 4) >> 2] = q[(a + 8) >> 2]), + (q[gj >> 2] = q[a >> 2])) + : ((q[(52 + hj) >> 2] = 1995), + (q[(48 + hj) >> 2] = 2325), + Y(4, 1294, (48 + hj) | 0)) + : ((q[(36 + hj) >> 2] = 1903), + (q[(32 + hj) >> 2] = 2325), + Y(4, 1294, (32 + hj) | 0)) + : ((q[(20 + hj) >> 2] = 1819), + (q[(16 + hj) >> 2] = 2325), + Y(4, 1294, (16 + hj) | 0)) + : ((q[(4 + hj) >> 2] = 1740), + (q[hj >> 2] = 2325), + Y(4, 1294, hj)), + (L = (64 + hj) | 0) + }, + m: xa, + n: wa, + o: function (a) { + var dj + ;(L = dj = (L - 16) | 0), + (a |= 0) + ? ua(a) + : ((q[(4 + dj) >> 2] = 1740), + (q[dj >> 2] = 2387), + Y(4, 1294, dj)), + (L = (16 + dj) | 0) + }, + p: function (a) { + var cj + return ( + (L = cj = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 540) >> 2] + : ((q[(4 + cj) >> 2] = 1740), + (q[cj >> 2] = 2402), + Y(4, 1294, cj), + -1)), + (L = (16 + cj) | 0), + 0 | a + ) + }, + q: function (a) { + var bj + return ( + (L = bj = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 916) >> 2] + : ((q[(4 + bj) >> 2] = 1740), + (q[bj >> 2] = 2423), + Y(4, 1294, bj), + 0)), + (L = (16 + bj) | 0), + 0 | a + ) + }, + r: function (a) { + var aj + return ( + (L = aj = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 548) >> 2] + : ((q[(4 + aj) >> 2] = 1740), + (q[aj >> 2] = 2442), + Y(4, 1294, aj), + 0)), + (L = (16 + aj) | 0), + 0 | a + ) + }, + s: function (a) { + var $i + return ( + (L = $i = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 928) >> 2] + : ((q[(4 + $i) >> 2] = 1740), + (q[$i >> 2] = 2463), + Y(4, 1294, $i), + 0)), + (L = (16 + $i) | 0), + 0 | a + ) + }, + t: function (a) { + var _i + return ( + (L = _i = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 924) >> 2] + : ((q[(4 + _i) >> 2] = 1740), + (q[_i >> 2] = 2492), + Y(4, 1294, _i), + 0)), + (L = (16 + _i) | 0), + 0 | a + ) + }, + u: function (a) { + var Zi + return ( + (L = Zi = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 932) >> 2] + : ((q[(4 + Zi) >> 2] = 1740), + (q[Zi >> 2] = 2521), + Y(4, 1294, Zi), + 0)), + (L = (16 + Zi) | 0), + 0 | a + ) + }, + v: function (a) { + var Yi + return ( + (L = Yi = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 552) >> 2] + : ((q[(4 + Yi) >> 2] = 1740), + (q[Yi >> 2] = 2550), + Y(4, 1294, Yi), + 0)), + (L = (16 + Yi) | 0), + 0 | a + ) + }, + w: function (a) { + var Xi + return ( + (L = Xi = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 4) >> 2] + : ((q[(4 + Xi) >> 2] = 1740), + (q[Xi >> 2] = 2572), + Y(4, 1294, Xi), + -1)), + (L = (16 + Xi) | 0), + 0 | a + ) + }, + x: function (a) { + var Wi + return ( + (L = Wi = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 712) >> 2] + : ((q[(4 + Wi) >> 2] = 1740), + (q[Wi >> 2] = 2588), + Y(4, 1294, Wi), + 0)), + (L = (16 + Wi) | 0), + 0 | a + ) + }, + y: function (a) { + var Vi + return ( + (L = Vi = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 52) >> 2] + : ((q[(4 + Vi) >> 2] = 1740), + (q[Vi >> 2] = 2602), + Y(4, 1294, Vi), + 0)), + (L = (16 + Vi) | 0), + 0 | a + ) + }, + z: function (a) { + var Ui + return ( + (L = Ui = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 740) >> 2] + : ((q[(4 + Ui) >> 2] = 1740), + (q[Ui >> 2] = 2622), + Y(4, 1294, Ui), + 0)), + (L = (16 + Ui) | 0), + 0 | a + ) + }, + A: function (a) { + var Ti + return ( + (L = Ti = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 332) >> 2] + : ((q[(4 + Ti) >> 2] = 1740), + (q[Ti >> 2] = 2650), + Y(4, 1294, Ti), + -1)), + (L = (16 + Ti) | 0), + 0 | a + ) + }, + B: function (a) { + var Si + return ( + (L = Si = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 832) >> 2] + : ((q[(4 + Si) >> 2] = 1740), + (q[Si >> 2] = 2670), + Y(4, 1294, Si), + 0)), + (L = (16 + Si) | 0), + 0 | a + ) + }, + C: function (a) { + var Ri + return ( + (L = Ri = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 888) >> 2] + : ((q[(4 + Ri) >> 2] = 1740), + (q[Ri >> 2] = 2688), + Y(4, 1294, Ri), + 0)), + (L = (16 + Ri) | 0), + 0 | a + ) + }, + D: function (a) { + var Qi + return ( + (L = Qi = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 432) >> 2] + : ((q[(4 + Qi) >> 2] = 1740), + (q[Qi >> 2] = 2716), + Y(4, 1294, Qi), + 0)), + (L = (16 + Qi) | 0), + 0 | a + ) + }, + E: function (a) { + var Pi + return ( + (L = Pi = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 884) >> 2] + : ((q[(4 + Pi) >> 2] = 1740), + (q[Pi >> 2] = 2743), + Y(4, 1294, Pi), + 0)), + (L = (16 + Pi) | 0), + 0 | a + ) + }, + F: function (a) { + var Oi + return ( + (L = Oi = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 440) >> 2] + : ((q[(4 + Oi) >> 2] = 1740), + (q[Oi >> 2] = 2772), + Y(4, 1294, Oi), + 0)), + (L = (16 + Oi) | 0), + 0 | a + ) + }, + G: function (a) { + var Ni + return ( + (L = Ni = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 436) >> 2] + : ((q[(4 + Ni) >> 2] = 1740), + (q[Ni >> 2] = 2797), + Y(4, 1294, Ni), + 0)), + (L = (16 + Ni) | 0), + 0 | a + ) + }, + H: function (a) { + var Mi + return ( + (L = Mi = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 448) >> 2] + : ((q[(4 + Mi) >> 2] = 1740), + (q[Mi >> 2] = 2824), + Y(4, 1294, Mi), + 0)), + (L = (16 + Mi) | 0), + 0 | a + ) + }, + I: function (a) { + var Li + return ( + (L = Li = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 912) >> 2] + : ((q[(4 + Li) >> 2] = 1740), + (q[Li >> 2] = 2848), + Y(4, 1294, Li), + 0)), + (L = (16 + Li) | 0), + 0 | a + ) + }, + J: function (a) { + var Ki + return ( + (L = Ki = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 844) >> 2] + : ((q[(4 + Ki) >> 2] = 1740), + (q[Ki >> 2] = 2873), + Y(4, 1294, Ki), + 0)), + (L = (16 + Ki) | 0), + 0 | a + ) + }, + K: function (a) { + var Ji + return ( + (L = Ji = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 892) >> 2] + : ((q[(4 + Ji) >> 2] = 1740), + (q[Ji >> 2] = 2893), + Y(4, 1294, Ji), + 0)), + (L = (16 + Ji) | 0), + 0 | a + ) + }, + L: function (a) { + var Ii + return ( + (L = Ii = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 444) >> 2] + : ((q[(4 + Ii) >> 2] = 1740), + (q[Ii >> 2] = 2920), + Y(4, 1294, Ii), + 0)), + (L = (16 + Ii) | 0), + 0 | a + ) + }, + M: function (a) { + var si + return ( + (L = si = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 836) >> 2] + : ((q[(4 + si) >> 2] = 1740), + (q[si >> 2] = 2950), + Y(4, 1294, si), + 0)), + (L = (16 + si) | 0), + 0 | a + ) + }, + N: function (a) { + var ri + return ( + (L = ri = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 904) >> 2] + : ((q[(4 + ri) >> 2] = 1740), + (q[ri >> 2] = 2974), + Y(4, 1294, ri), + 0)), + (L = (16 + ri) | 0), + 0 | a + ) + }, + O: function (a) { + var qi + return ( + (L = qi = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 840) >> 2] + : ((q[(4 + qi) >> 2] = 1740), + (q[qi >> 2] = 3e3), + Y(4, 1294, qi), + 0)), + (L = (16 + qi) | 0), + 0 | a + ) + }, + P: function (a) { + var pi + return ( + (L = pi = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 452) >> 2] + : ((q[(4 + pi) >> 2] = 1740), + (q[pi >> 2] = 3022), + Y(4, 1294, pi), + 0)), + (L = (16 + pi) | 0), + 0 | a + ) + }, + Q: function (a) { + var oi + return ( + (L = oi = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 456) >> 2] + : ((q[(4 + oi) >> 2] = 1740), + (q[oi >> 2] = 3051), + Y(4, 1294, oi), + 0)), + (L = (16 + oi) | 0), + 0 | a + ) + }, + R: function (a) { + var ni + return ( + (L = ni = (L - 16) | 0), + (a = (a |= 0) + ? q[(q[a >> 2] + 876) >> 2] + : ((q[(4 + ni) >> 2] = 1740), + (q[ni >> 2] = 3078), + Y(4, 1294, ni), + 0)), + (L = (16 + ni) | 0), + 0 | a + ) + }, + S: function (a) { + var mi + ;(L = mi = (L - 16) | 0), + (a |= 0) + ? (q[(a + 428) >> 2] = 1) + : ((q[(4 + mi) >> 2] = 1740), + (q[mi >> 2] = 3110), + Y(4, 1294, mi)), + (L = (16 + mi) | 0) + }, + T: function (a) { + var li + return ( + (L = li = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 640) >> 2] + : ((q[(4 + li) >> 2] = 1740), + (q[li >> 2] = 3139), + Y(4, 1294, li), + 0)), + (L = (16 + li) | 0), + 0 | a + ) + }, + U: function (a) { + var ji + return ( + (L = ji = (L - 16) | 0), + (a = (a |= 0) + ? q[(a + 636) >> 2] + : ((q[(4 + ji) >> 2] = 1740), + (q[ji >> 2] = 3164), + Y(4, 1294, ji), + 0)), + (L = (16 + ji) | 0), + 0 | a + ) + }, + V: function (a) { + var Fc + return ( + oa((12 + (L = Fc = (L - 16) | 0)) | 0, 64, (a |= 0)), + (L = (16 + Fc) | 0), + q[(12 + Fc) >> 2] + ) + }, + W: function (a) { + var Ec, + Cc, + Dc = 0 + return ( + (L = Cc = (L - 16) | 0), + !(a |= 0) || + oa((12 + Cc) | 0, 16, (Ec = xa(a))) || + (Dc = wa(a, q[(12 + Cc) >> 2], Ec)) || + (pa(q[(12 + Cc) >> 2]), (Dc = 0)), + (L = (16 + Cc) | 0), + 0 | Dc + ) + }, + X: function (a) { + return 0 | qa((a |= 0)) + }, + Y: function (a) { + pa((a |= 0)) + }, + Z: function (a) { + var Sm + oa((12 + (L = Sm = (L - 16) | 0)) | 0, 64, (a |= 0)), + pa(q[(12 + Sm) >> 2]), + (L = (16 + Sm) | 0) + }, + _: function () { + return 0 | L + }, + $: function (a) { + return 0 | (L = (L - (0 | a)) & -16) + }, + aa: function (a) { + L = 0 | a + }, + ba: function (a) { + return ( + 0 | + ((a = 0 | (a |= 0)), + (P = 0 | N()) < (a = (P + (a |= 0)) | 0) && + a < 65536 && + ((a = new ArrayBuffer(w(a, 65536))), + (S = new global.Int8Array(a)).set(o), + (o = S), + (o = new global.Int8Array(a)), + (p = new global.Int16Array(a)), + (q = new global.Int32Array(a)), + (r = new global.Uint8Array(a)), + (s = new global.Uint16Array(a)), + (t = new global.Uint32Array(a)), + (u = new global.Float32Array(a)), + (v = new global.Float64Array(a)), + (buffer = a), + (m.buffer = a)), + P) + ) + var S, P + }, + ca: function (a, Vk) { + n[(a |= 0)]((Vk |= 0)) + }, + } + ) + function X(a, b, c) { + var e, + f, + d = 0 + if (c) + for (;;) { + if ( + ((c = (c + -1) | 0), + a >>> 0 < (d = ((e = (a + b) | 0) - 1) | 0) >>> 0) + ) + for ( + ; + (f = r[0 | a]), + (o[0 | a] = r[0 | d]), + (o[0 | d] = f), + (a = (a + 1) | 0) >>> 0 < (d = (d + -1) | 0) >>> 0; + + ); + if (((a = e), !c)) break + } + } + function Y(a, b, c) { + var g + ;(L = g = (L - 272) | 0), + t[1804] > a >>> 0 || + ((a = q[1805]) && + (Ka((16 + g) | 0, b, (q[(12 + g) >> 2] = c)), + n[a]((16 + g) | 0))), + (L = (272 + g) | 0) + } + function Z(a, b, c) { + 32 & r[0 | a] || + !(function (a, Rm, Sm) { + var Tm = 0, + Um = 0, + tn = 0 + a: { + if (!(Tm = q[(Sm + 16) >> 2])) { + if ( + (function (a) { + var Rm + return ( + (Rm = r[(a + 74) | 0]), + (o[(a + 74) | 0] = (Rm + -1) | Rm), + 8 & (Rm = q[a >> 2]) + ? ((q[a >> 2] = 32 | Rm), 1) + : ((q[(a + 4) >> 2] = 0), + (q[(a + 8) >> 2] = 0), + (Rm = q[(a + 44) >> 2]), + (q[(a + 28) >> 2] = Rm), + (q[(a + 20) >> 2] = Rm), + (q[(a + 16) >> 2] = Rm + q[(a + 48) >> 2]), + 0) + ) + })(Sm) + ) + break a + Tm = q[(Sm + 16) >> 2] + } + if ((Tm - (tn = q[(Sm + 20) >> 2])) >>> 0 < Rm >>> 0) + return n[q[(Sm + 36) >> 2]](Sm, a, Rm) + b: if (!(o[(Sm + 75) | 0] < 0)) { + for (Tm = Rm; ; ) { + if (!(Um = Tm)) break b + if (10 == r[((Tm = (Um + -1) | 0) + a) | 0]) break + } + if (n[q[(Sm + 36) >> 2]](Sm, a, Um) >>> 0 < Um >>> 0) + break a + ;(Rm = (Rm - Um) | 0), + (a = (a + Um) | 0), + (tn = q[(Sm + 20) >> 2]) + } + $(tn, a, Rm), (q[(Sm + 20) >> 2] = q[(Sm + 20) >> 2] + Rm) + } + })(b, c, a) + } + function _(a, b, c, h, i) { + var k, l, j + if ( + ((L = j = (L - 256) | 0), + !((73728 & i) | ((0 | c) <= (0 | h)))) + ) { + if ( + (ca(j, b, (k = (i = (c - h) | 0) >>> 0 < 256) ? i : 256), + (b = a), + (l = j), + !k) + ) { + for ( + c = (c - h) | 0; + Z(a, j, 256), 255 < (i = (i + -256) | 0) >>> 0; + + ); + i = 255 & c + } + Z(b, l, i) + } + L = (256 + j) | 0 + } + function $(a, b, c) { + var h, + i = 0 + if (8192 <= c >>> 0) I(0 | a, 0 | b, 0 | c) + else { + if (((h = (a + c) | 0), 3 & (a ^ b))) + if (h >>> 0 < 4) c = a + else if ((i = (h - 4) | 0) >>> 0 < a >>> 0) c = a + else + for ( + c = a; + (o[0 | c] = r[0 | b]), + (o[(c + 1) | 0] = r[(b + 1) | 0]), + (o[(c + 2) | 0] = r[(b + 2) | 0]), + (o[(c + 3) | 0] = r[(b + 3) | 0]), + (b = (b + 4) | 0), + (c = (c + 4) | 0) >>> 0 <= i >>> 0; + + ); + else { + b: if ((0 | c) < 1) c = a + else if (3 & a) + for (c = a; ; ) { + if ( + ((o[0 | c] = r[0 | b]), + (b = (b + 1) | 0), + h >>> 0 <= (c = (c + 1) | 0) >>> 0) + ) + break b + if (!(3 & c)) break + } + else c = a + if ( + !( + (a = -4 & h) >>> 0 < 64 || + (i = (a + -64) | 0) >>> 0 < c >>> 0 + ) + ) + for ( + ; + (q[c >> 2] = q[b >> 2]), + (q[(c + 4) >> 2] = q[(b + 4) >> 2]), + (q[(c + 8) >> 2] = q[(b + 8) >> 2]), + (q[(c + 12) >> 2] = q[(b + 12) >> 2]), + (q[(c + 16) >> 2] = q[(b + 16) >> 2]), + (q[(c + 20) >> 2] = q[(b + 20) >> 2]), + (q[(c + 24) >> 2] = q[(b + 24) >> 2]), + (q[(c + 28) >> 2] = q[(b + 28) >> 2]), + (q[(c + 32) >> 2] = q[(b + 32) >> 2]), + (q[(c + 36) >> 2] = q[(b + 36) >> 2]), + (q[(c + 40) >> 2] = q[(b + 40) >> 2]), + (q[(c + 44) >> 2] = q[(b + 44) >> 2]), + (q[(c + 48) >> 2] = q[(b + 48) >> 2]), + (q[(c + 52) >> 2] = q[(b + 52) >> 2]), + (q[(c + 56) >> 2] = q[(b + 56) >> 2]), + (q[(c + 60) >> 2] = q[(b + 60) >> 2]), + (b = (b - -64) | 0), + (c = (c - -64) | 0) >>> 0 <= i >>> 0; + + ); + if (!(a >>> 0 <= c >>> 0)) + for ( + ; + (q[c >> 2] = q[b >> 2]), + (b = (b + 4) | 0), + (c = (c + 4) | 0) >>> 0 < a >>> 0; + + ); + } + if (c >>> 0 < h >>> 0) + for ( + ; + (o[0 | c] = r[0 | b]), + (b = (b + 1) | 0), + (0 | h) != (0 | (c = (c + 1) | 0)); + + ); + } + } + function aa(a) { + var b, c + return x( + (b = a * a) * + b * + (c = b * a) * + (2718311493989822e-21 * b - 0.00019839334836096632) + + (c * (0.008333329385889463 * b - 0.16666666641626524) + a) + ) + } + function ba(a) { + var m + return x( + -0.499999997251031 * (a *= a) + + 1 + + 0.04166662332373906 * (m = a * a) + + a * m * (2439044879627741e-20 * a - 0.001388676377460993) + ) + } + function ca(a, n, p) { + var r, s, t, u + if ( + p && + ((o[((r = (a + p) | 0) - 1) | 0] = n), + (o[0 | a] = n), + !( + p >>> 0 < 3 || + ((o[(r - 2) | 0] = n), + (o[(a + 1) | 0] = n), + (o[(r - 3) | 0] = n), + (o[(a + 2) | 0] = n), + p >>> 0 < 7) || + ((o[(r - 4) | 0] = n), (o[(a + 3) | 0] = n), p >>> 0 < 9) || + ((s = ((r = (0 - a) & 3) + a) | 0), + (n = w(255 & n, 16843009)), + (q[s >> 2] = n), + (q[((r = ((p = (p - r) & -4) + s) | 0) - 4) >> 2] = n), + p >>> 0 < 9) || + ((q[(8 + s) >> 2] = n), + (q[(4 + s) >> 2] = n), + (q[(r - 8) >> 2] = n), + (q[(r - 12) >> 2] = n), + p >>> 0 < 25) || + ((q[(24 + s) >> 2] = n), + (q[(20 + s) >> 2] = n), + (q[(16 + s) >> 2] = n), + (q[(12 + s) >> 2] = n), + (q[(r - 16) >> 2] = n), + (q[(r - 20) >> 2] = n), + (q[(r - 24) >> 2] = n), + (q[(r - 28) >> 2] = n), + (p = (p - (u = (4 & s) | 24)) | 0) >>> 0 < 32) + )) + ) + for ( + t = r = n, n = (s + u) | 0; + (q[(n + 24) >> 2] = t), + (q[(n + 28) >> 2] = r), + (q[(n + 16) >> 2] = t), + (q[(n + 20) >> 2] = r), + (q[(n + 8) >> 2] = t), + (q[(n + 12) >> 2] = r), + (q[n >> 2] = t), + (q[(n + 4) >> 2] = r), + (n = (n + 32) | 0), + 31 < (p = (p + -32) | 0) >>> 0; + + ); + return a + } + function da(a, n) { + var p + if (a >>> 0 < (n = (((a + n) | 0) - 1) | 0) >>> 0) + for ( + ; + (p = r[0 | a]), + (o[0 | a] = r[0 | n]), + (o[0 | n] = p), + (a = (a + 1) | 0) >>> 0 < (n = (n + -1) | 0) >>> 0; + + ); + } + function ea(a) { + var n, + o = N() + return (a = ((n = q[2216]) + a) | 0) >>> 0 <= (o << 16) >>> 0 || + J(0 | a) + ? ((q[2216] = a), n) + : ((q[2086] = 48), -1) + } + function fa(a, v, y, z, B, C, D) { + var H, + I, + K, + N, + Q, + R, + S, + O, + P, + J, + E = 0, + F = x(0), + G = x(0), + M = x(0) + if ( + (x(0), x(0), x(0), x(0), (L = J = (L - 16) | 0), 1 <= (0 | a)) + ) + for (R = (w(a, 12) + v) | 0; ; ) { + if (1 <= (0 | (I = q[(v + 4) >> 2]))) + for ( + S = ((a = q[(v + 8) >> 2]) + w(I, 48)) | 0, + I = ((H = q[v >> 2] << 4) + D) | 0, + K = ((8 | H) + D) | 0, + H = ((4 | H) + D) | 0; + (E = q[(a + 8) >> 2]) && + ((O = (E + -1) | 0) >>> 0 <= 1 + ? ((P = ((q[(a + 4) >> 2] << 2) + y) | 0), + (E = q[(P + (q[(a + 12) >> 2] << 2)) >> 2] << 2), + (F = u[(E + C) >> 2]), + (Q = u[(B + E) >> 2]), + (G = u[(z + E) >> 2]), + O - 1 + ? ((M = G), + (G = u[(a + 20) >> 2]), + (u[I >> 2] = + u[I >> 2] + x(u[(a + 44) >> 2] * x(M * G))), + (u[H >> 2] = + u[H >> 2] + x(x(Q * G) * u[(a + 44) >> 2])), + (u[K >> 2] = + u[K >> 2] + x(x(F * G) * u[(a + 44) >> 2]))) + : ((E = + q[((q[(a + 16) >> 2] << 2) + P) >> 2] << 2), + (O = u[(E + C) >> 2]), + (P = u[(B + E) >> 2]), + (M = G), + (G = u[(a + 20) >> 2]), + (N = u[(a + 24) >> 2]), + (u[I >> 2] = + u[I >> 2] + + x( + u[(a + 44) >> 2] * + x(x(M * G) + x(u[(z + E) >> 2] * N)) + )), + (u[H >> 2] = + u[H >> 2] + + x( + x(x(Q * G) + x(P * N)) * u[(a + 44) >> 2] + )), + (u[K >> 2] = + u[K >> 2] + + x( + x(x(F * G) + x(O * N)) * u[(a + 44) >> 2] + )))) + : ((q[J >> 2] = E), Y(4, 1024, J))), + (a = (a + 48) | 0) >>> 0 < S >>> 0; + + ); + if ( + ((a = ((q[v >> 2] << 4) + D) | 0), + (F = u[a >> 2]), + (u[a >> 2] = F < x(0) ? x(0) : x(A(F, x(1)))), + (F = u[(a + 4) >> 2]), + (u[(a + 4) >> 2] = F < x(0) ? x(0) : x(A(F, x(1)))), + (F = u[(a + 8) >> 2]), + (u[(a + 8) >> 2] = F < x(0) ? x(0) : x(A(F, x(1)))), + !((v = (v + 12) | 0) >>> 0 < R >>> 0)) + ) + break + } + L = (16 + J) | 0 + } + function ga(a, q, v) { + var y, + z, + x = 0 + if (((1 == (0 | q)) & (a >>> 0 < 0)) | (q >>> 0 < 1)) x = a + else + for ( + ; + (y = bd((x = cd(a, q, 10)), (z = M), 10)), + (o[0 | (v = (v + -1) | 0)] = (a - y) | 48), + (y = + ((9 == (0 | q)) & (4294967295 < a >>> 0)) | + (9 < q >>> 0)), + (a = x), + (q = z), + y; + + ); + if (x) + for ( + ; + (o[0 | (v = (v + -1) | 0)] = + (x - w((a = ((x >>> 0) / 10) | 0), 10)) | 48), + (q = 9 < x >>> 0), + (x = a), + q; + + ); + return v + } + function ha(a) { + return (a + -48) >>> 0 < 10 + } + function ia(a) { + var q + return (q = La(a, 64)) ? (q - a) | 0 : 64 + } + function ja(a, v) { + var w = 0 + return ( + 1024 <= (0 | v) + ? ((a *= 898846567431158e293), + (v = + (0 | (w = (v + -1023) | 0)) < 1024 + ? w + : ((a *= 898846567431158e293), + (((0 | v) < 3069 ? v : 3069) + -2046) | 0))) + : -1023 < (0 | v) || + ((a *= 22250738585072014e-324), + (v = + -1023 < (0 | (w = (v + 1022) | 0)) + ? w + : ((a *= 22250738585072014e-324), + ((-3066 < (0 | v) ? v : -3066) + 2044) | 0))), + f(0, 0), + f(1, (v + 1023) << 20), + a * +g() + ) + } + function ka(a, v) { + var A = 0, + C = a, + B = + v >>> 0 <= 31 + ? ((A = q[(a + 4) >> 2]), q[a >> 2]) + : ((A = q[a >> 2]), + (q[(a + 4) >> 2] = A), + (v = (v + -32) | (q[a >> 2] = 0)), + 0) + ;(q[C >> 2] = B << v), + (q[(a + 4) >> 2] = (A << v) | (B >>> (32 - v))) + } + function la(a, v, D, V, W) { + var X, + Y = 0, + Z = 0, + _ = 0 + ;(L = X = (L - 240) | 0), + (Y = q[v >> 2]), + (q[(232 + X) >> 2] = Y), + (v = q[(v + 4) >> 2]), + (q[X >> 2] = a), + (Z = 1) + a: { + b: { + c: { + if ( + ((q[(236 + X) >> 2] = v) || 1 != (0 | Y)) && + ((Y = (a - q[((D << 2) + W) >> 2]) | 0), + !((0 | n[5](Y, a)) < 1)) + ) { + for (_ = !V; ; ) { + e: { + if (((v = Y), !(!_ | ((0 | D) < 2)))) { + if ( + ((V = q[((((D << 2) + W) | 0) - 8) >> 2]), + -1 < (0 | n[5]((Y = (a + -4) | 0), v))) + ) + break e + if (-1 < (0 | n[5]((Y - V) | 0, v))) break e + } + if ( + ((q[((Z << 2) + X) >> 2] = v), + (Z = (Z + 1) | 0), + ma((232 + X) | 0, (a = Oa((232 + X) | 0))), + (D = (a + D) | 0), + !q[(236 + X) >> 2] && 1 == q[(232 + X) >> 2]) + ) + break b + if ( + ((_ = 1), + (Y = + ((a = v) - q[((D << 2) + W) >> 2]) | (V = 0)), + 0 < (0 | n[5](Y, q[X >> 2]))) + ) + continue + break c + } + break + } + v = a + break b + } + v = a + } + if (V) break a + } + Na(X, Z), ta(v, D, W) + } + L = (240 + X) | 0 + } + function ma(a, v) { + var D = 0, + V = a, + L = + v >>> 0 <= 31 + ? ((D = q[a >> 2]), q[(a + 4) >> 2]) + : ((D = q[(a + 4) >> 2]), + (q[(a + 4) >> 2] = 0), + (q[a >> 2] = D), + (v = (v + -32) | 0), + 0) + ;(q[(V + 4) >> 2] = L >>> v), + (q[a >> 2] = (L << (32 - v)) | (D >>> v)) + } + function na(a, v) { + var W = r[(a + 4) | 0] + ;(q[v >> 2] = q[(a + 64) >> 2] + a), + (q[(v + 4) >> 2] = q[(a + 68) >> 2] + a), + (q[(v + 8) >> 2] = q[(a + 72) >> 2] + a), + (q[(v + 12) >> 2] = q[(a + 76) >> 2] + a), + (q[(v + 16) >> 2] = q[(a + 80) >> 2] + a), + (q[(v + 20) >> 2] = q[(a + 84) >> 2] + a), + (q[(v + 24) >> 2] = q[(a + 88) >> 2] + a), + (q[(v + 28) >> 2] = q[(a + 92) >> 2] + a), + (q[(v + 32) >> 2] = q[(a + 96) >> 2] + a), + (q[(v + 36) >> 2] = q[(a + 100) >> 2] + a), + (q[(v + 40) >> 2] = q[(a + 104) >> 2] + a), + (q[(v + 44) >> 2] = q[(a + 108) >> 2] + a), + (q[(v + 48) >> 2] = q[(a + 112) >> 2] + a), + (q[(v + 52) >> 2] = q[(a + 116) >> 2] + a), + (q[(v + 56) >> 2] = q[(a + 120) >> 2] + a), + (q[(v + 60) >> 2] = q[(a + 124) >> 2] + a), + (q[(v - -64) >> 2] = q[(a + 128) >> 2] + a), + (q[(v + 68) >> 2] = q[(a + 132) >> 2] + a), + (q[(v + 72) >> 2] = q[(a + 136) >> 2] + a), + (q[(v + 76) >> 2] = q[(a + 140) >> 2] + a), + (q[(v + 80) >> 2] = q[(a + 144) >> 2] + a), + (q[(v + 84) >> 2] = q[(a + 148) >> 2] + a), + (q[(v + 92) >> 2] = q[(a + 152) >> 2] + a), + (q[(v + 96) >> 2] = q[(a + 156) >> 2] + a), + (q[(v + 100) >> 2] = q[(a + 160) >> 2] + a), + (q[(v + 108) >> 2] = q[(a + 164) >> 2] + a), + (q[(v + 112) >> 2] = q[(a + 168) >> 2] + a), + (q[(v + 116) >> 2] = q[(a + 172) >> 2] + a), + (q[(v + 124) >> 2] = q[(a + 176) >> 2] + a), + (q[(v + 128) >> 2] = q[(a + 180) >> 2] + a), + (q[(v + 132) >> 2] = q[(a + 184) >> 2] + a), + (q[(v + 136) >> 2] = q[(a + 188) >> 2] + a), + (q[(v + 140) >> 2] = q[(a + 192) >> 2] + a), + (q[(v + 144) >> 2] = q[(a + 196) >> 2] + a), + (q[(v + 148) >> 2] = q[(a + 200) >> 2] + a), + (q[(v + 152) >> 2] = q[(a + 204) >> 2] + a), + (q[(v + 156) >> 2] = q[(a + 208) >> 2] + a), + (q[(v + 164) >> 2] = q[(a + 212) >> 2] + a), + (q[(v + 168) >> 2] = q[(a + 216) >> 2] + a), + (q[(v + 172) >> 2] = q[(a + 220) >> 2] + a), + (q[(v + 176) >> 2] = q[(a + 224) >> 2] + a), + (q[(v + 180) >> 2] = q[(a + 228) >> 2] + a), + (q[(v + 184) >> 2] = q[(a + 232) >> 2] + a), + (q[(v + 188) >> 2] = q[(a + 236) >> 2] + a), + (q[(v + 192) >> 2] = q[(a + 240) >> 2] + a), + (q[(v + 196) >> 2] = q[(a + 244) >> 2] + a), + (q[(v + 200) >> 2] = q[(a + 248) >> 2] + a), + (q[(v + 204) >> 2] = q[(a + 252) >> 2] + a), + (q[(v + 208) >> 2] = q[(a + 256) >> 2] + a), + (q[(v + 212) >> 2] = q[(a + 260) >> 2] + a), + (q[(v + 216) >> 2] = q[(a + 264) >> 2] + a), + (q[(v + 220) >> 2] = q[(a + 268) >> 2] + a), + (q[(v + 224) >> 2] = q[(a + 272) >> 2] + a), + (q[(v + 228) >> 2] = q[(a + 276) >> 2] + a), + (q[(v + 232) >> 2] = q[(a + 280) >> 2] + a), + (q[(v + 236) >> 2] = q[(a + 284) >> 2] + a), + (q[(v + 244) >> 2] = q[(a + 288) >> 2] + a), + (q[(v + 248) >> 2] = q[(a + 292) >> 2] + a), + (q[(v + 272) >> 2] = q[(a + 296) >> 2] + a), + (q[(v + 276) >> 2] = q[(a + 300) >> 2] + a), + (q[(v + 280) >> 2] = q[(a + 304) >> 2] + a), + (q[(v + 292) >> 2] = q[(a + 308) >> 2] + a), + (q[(v + 296) >> 2] = q[(a + 312) >> 2] + a), + (q[(v + 300) >> 2] = q[(a + 316) >> 2] + a), + (q[(v + 304) >> 2] = q[(a + 320) >> 2] + a), + (q[(v + 308) >> 2] = q[(a + 324) >> 2] + a), + (q[(v + 312) >> 2] = q[(a + 328) >> 2] + a), + (q[(v + 316) >> 2] = q[(a + 332) >> 2] + a), + (q[(v + 328) >> 2] = q[(a + 336) >> 2] + a), + (q[(v + 332) >> 2] = q[(a + 340) >> 2] + a), + (q[(v + 336) >> 2] = q[(a + 344) >> 2] + a), + (q[(v + 348) >> 2] = q[(a + 348) >> 2] + a), + (q[(v + 360) >> 2] = q[(a + 352) >> 2] + a), + (q[(v + 364) >> 2] = q[(a + 356) >> 2] + a), + (q[(v + 368) >> 2] = q[(a + 360) >> 2] + a), + (q[(v + 352) >> 2] = q[(a + 364) >> 2] + a), + (q[(v + 356) >> 2] = q[(a + 368) >> 2] + a), + (q[(v + 488) >> 2] = q[(a + 372) >> 2] + a), + (q[(v + 492) >> 2] = q[(a + 376) >> 2] + a), + (q[(v + 496) >> 2] = q[(a + 380) >> 2] + a), + (q[(v + 500) >> 2] = q[(a + 384) >> 2] + a), + (q[(v + 504) >> 2] = q[(a + 388) >> 2] + a), + (q[(v + 508) >> 2] = q[(a + 392) >> 2] + a), + (q[(v + 512) >> 2] = q[(a + 396) >> 2] + a), + (q[(v + 516) >> 2] = q[(a + 400) >> 2] + a), + (q[(v + 520) >> 2] = q[(a + 404) >> 2] + a), + (q[(v + 524) >> 2] = q[(a + 408) >> 2] + a), + (q[(v + 528) >> 2] = q[(a + 412) >> 2] + a), + (q[(v + 532) >> 2] = q[(a + 416) >> 2] + a), + (q[(v + 536) >> 2] = q[(a + 420) >> 2] + a), + (q[(v + 540) >> 2] = q[(a + 424) >> 2] + a), + (q[(v + 544) >> 2] = q[(a + 428) >> 2] + a), + (q[(v + 548) >> 2] = q[(a + 432) >> 2] + a), + (q[(v + 552) >> 2] = q[(a + 436) >> 2] + a), + (q[(v + 556) >> 2] = q[(a + 440) >> 2] + a), + (q[(v + 560) >> 2] = q[(a + 444) >> 2] + a), + (q[(v + 564) >> 2] = q[(a + 448) >> 2] + a), + (q[(v + 568) >> 2] = q[(a + 452) >> 2] + a), + (q[(v + 572) >> 2] = q[(a + 456) >> 2] + a), + (q[(v + 576) >> 2] = q[(a + 460) >> 2] + a), + (q[(v + 580) >> 2] = q[(a + 464) >> 2] + a), + W >>> 0 < 2 || + ((q[(v + 104) >> 2] = q[(a + 468) >> 2] + a), + W >>> 0 < 4) || + ((q[(v + 260) >> 2] = q[(a + 472) >> 2] + a), + (q[(v + 264) >> 2] = q[(a + 476) >> 2] + a), + (q[(v + 268) >> 2] = q[(a + 480) >> 2] + a), + (q[(v + 88) >> 2] = q[(a + 484) >> 2] + a), + (q[(v + 120) >> 2] = q[(a + 488) >> 2] + a), + (q[(v + 160) >> 2] = q[(a + 492) >> 2] + a), + (q[(v + 584) >> 2] = q[(a + 496) >> 2] + a), + (q[(v + 588) >> 2] = q[(a + 500) >> 2] + a), + (q[(v + 592) >> 2] = q[(a + 504) >> 2] + a), + (q[(v + 596) >> 2] = q[(a + 508) >> 2] + a), + (q[(v + 600) >> 2] = q[(a + 512) >> 2] + a), + (q[(v + 604) >> 2] = q[(a + 516) >> 2] + a), + (q[(v + 240) >> 2] = q[(a + 520) >> 2] + a), + (q[(v + 252) >> 2] = q[(a + 524) >> 2] + a), + (q[(v + 256) >> 2] = q[(a + 528) >> 2] + a), + (q[(v + 372) >> 2] = q[(a + 532) >> 2] + a), + (q[(v + 376) >> 2] = q[(a + 536) >> 2] + a), + (q[(v + 380) >> 2] = q[(a + 540) >> 2] + a), + (q[(v + 384) >> 2] = q[(a + 544) >> 2] + a), + (q[(v + 388) >> 2] = q[(a + 548) >> 2] + a), + (q[(v + 392) >> 2] = q[(a + 552) >> 2] + a), + (q[(v + 396) >> 2] = q[(a + 556) >> 2] + a), + (q[(v + 400) >> 2] = q[(a + 560) >> 2] + a), + (q[(v + 416) >> 2] = q[(a + 564) >> 2] + a), + (q[(v + 420) >> 2] = q[(a + 568) >> 2] + a), + (q[(v + 424) >> 2] = q[(a + 572) >> 2] + a), + (q[(v + 440) >> 2] = q[(a + 576) >> 2] + a), + (q[(v + 444) >> 2] = q[(a + 580) >> 2] + a), + (q[(v + 448) >> 2] = q[(a + 584) >> 2] + a), + (q[(v + 464) >> 2] = q[(a + 588) >> 2] + a), + (q[(v + 468) >> 2] = q[(a + 592) >> 2] + a), + (q[(v + 472) >> 2] = q[(a + 596) >> 2] + a), + (q[(v + 476) >> 2] = q[(a + 600) >> 2] + a), + (q[(v + 480) >> 2] = q[(a + 604) >> 2] + a), + (q[(v + 484) >> 2] = q[(a + 608) >> 2] + a), + 4 != (0 | W) && + ((q[(v + 284) >> 2] = q[(a + 612) >> 2] + a), + (q[(v + 288) >> 2] = q[(a + 616) >> 2] + a), + (q[(v + 320) >> 2] = q[(a + 620) >> 2] + a), + (q[(v + 324) >> 2] = q[(a + 624) >> 2] + a), + (q[(v + 340) >> 2] = q[(a + 628) >> 2] + a), + (q[(v + 344) >> 2] = q[(a + 632) >> 2] + a), + (q[(v + 404) >> 2] = q[(a + 636) >> 2] + a), + (q[(v + 408) >> 2] = q[(a + 640) >> 2] + a), + (q[(v + 412) >> 2] = q[(a + 644) >> 2] + a), + (q[(v + 428) >> 2] = q[(a + 648) >> 2] + a), + (q[(v + 432) >> 2] = q[(a + 652) >> 2] + a), + (q[(v + 436) >> 2] = q[(a + 656) >> 2] + a), + (q[(v + 452) >> 2] = q[(a + 660) >> 2] + a), + (q[(v + 456) >> 2] = q[(a + 664) >> 2] + a), + (q[(v + 460) >> 2] = q[(a + 668) >> 2] + a))) + } + function oa(a, v, $) { + var aa = 0 + a: { + if (8 == (0 | v)) v = qa($) + else { + if ( + ((aa = 28), + (3 & v) | + (1 != + (0 | + (function (a) { + for (var $o = 0, ap = 0; (ap = $o), a; ) + (a &= a - 1), ($o = ($o + 1) | 0) + return ap + })(v >>> 2)))) + ) + break a + if (((aa = 48), (-64 - v) >>> 0 < $ >>> 0)) break a + v = (function (a, Vk) { + var vl, + wl, + ql = 0, + tl = 0, + ul = 0 + if (((tl = a >>> 0 > (ql = 16) ? a : 16) + -1) & tl) + for (; (ql = (a = ql) << 1), a >>> 0 < tl >>> 0; ); + else a = tl + return (-64 - a) >>> 0 <= Vk >>> 0 + ? ((q[2086] = 48), 0) + : (ql = qa( + (12 + + (((tl = Vk >>> 0 < 11 ? 16 : (Vk + 11) & -8) + + a) | + 0)) | + 0 + )) + ? ((Vk = (ql + -8) | 0), + ql & (a + -1) + ? ((ul = + ((-8 & (wl = q[(vl = (ql + -4) | 0) >> 2])) - + (ql = + ((a = + 15 < + ((ql = + (((((a + ql) | 0) - 1) & (0 - a)) - + 8) | + 0) - + Vk) >>> + 0 + ? ql + : (a + ql) | 0) - + Vk) | + 0)) | + 0), + 3 & wl + ? ((q[(a + 4) >> 2] = + ul | (1 & q[(a + 4) >> 2]) | 2), + (q[(4 + (ul = (a + ul) | 0)) >> 2] = + 1 | q[(4 + ul) >> 2]), + (q[vl >> 2] = ql | (1 & q[vl >> 2]) | 2), + (q[(a + 4) >> 2] = 1 | q[(a + 4) >> 2]), + za(Vk, ql)) + : ((Vk = q[Vk >> 2]), + (q[(a + 4) >> 2] = ul), + (q[a >> 2] = Vk + ql))) + : (a = Vk), + 3 & (Vk = q[(a + 4) >> 2]) && + ((ql = -8 & Vk) >>> 0 <= (tl + 16) >>> 0 || + ((q[(a + 4) >> 2] = tl | (1 & Vk) | 2), + (q[((Vk = (a + tl) | 0) + 4) >> 2] = + 3 | (tl = (ql - tl) | 0)), + (q[(4 + (ql = (a + ql) | 0)) >> 2] = + 1 | q[(ql + 4) >> 2]), + za(Vk, tl))), + (a + 8) | 0) + : 0 + })(16 < v >>> 0 ? v : 16, $) + } + if (!v) return 1 + ;(q[a >> 2] = v), (aa = 0) + } + return aa + } + function pa(a) { + var da, + v = 0, + $ = 0, + ba = 0, + ca = 0, + ea = 0, + fa = 0, + ha = 0 + a: if (a) { + da = + ((ba = (a + -8) | 0) + (a = -8 & ($ = q[(a + -4) >> 2]))) | + 0 + b: if (!(1 & $)) { + if (!(3 & $)) break a + if ((ba = (ba - ($ = q[ba >> 2])) | 0) >>> 0 < t[2091]) + break a + if (((a = (a + $) | 0), q[2092] != (0 | ba))) + if ($ >>> 0 <= 255) + (ca = q[(ba + 8) >> 2]), + ($ >>>= 3), + (0 | (v = q[(ba + 12) >> 2])) == (0 | ca) + ? ((ha = q[2087] & ed($)), (q[2087] = ha)) + : ((q[(ca + 12) >> 2] = v), (q[(v + 8) >> 2] = ca)) + else { + if ( + ((fa = q[(ba + 24) >> 2]), + (0 | ba) != (0 | ($ = q[(ba + 12) >> 2]))) + ) + (v = q[(ba + 8) >> 2]), + (q[(v + 12) >> 2] = $), + (q[($ + 8) >> 2] = v) + else if ( + (v = + (v = q[(ca = (ba + 20) | 0) >> 2]) || + q[(ca = (ba + 16) | 0) >> 2]) + ) { + for ( + ; + (ea = ca), + (v = q[(ca = (($ = v) + 20) | 0) >> 2]) || + ((ca = ($ + 16) | 0), (v = q[($ + 16) >> 2])); + + ); + q[ea >> 2] = 0 + } else $ = 0 + if (fa) { + ca = q[(ba + 28) >> 2] + e: { + if ( + q[(v = (8652 + (ca << 2)) | 0) >> 2] == + (0 | ba) + ) { + if ((q[v >> 2] = $)) break e + ;(ha = q[2088] & ed(ca)), (q[2088] = ha) + break b + } + if ( + !(q[ + (fa + + (q[(fa + 16) >> 2] == (0 | ba) ? 16 : 20)) >> + 2 + ] = $) + ) + break b + } + ;(q[($ + 24) >> 2] = fa), + (v = q[(ba + 16) >> 2]) && + ((q[($ + 16) >> 2] = v), (q[(v + 24) >> 2] = $)), + (v = q[(ba + 20) >> 2]) && + ((q[($ + 20) >> 2] = v), (q[(v + 24) >> 2] = $)) + } + } + else if (3 == (3 & ($ = q[(4 + da) >> 2]))) + return ( + (q[2089] = a), + (q[(4 + da) >> 2] = -2 & $), + (q[(ba + 4) >> 2] = 1 | a), + (q[(a + ba) >> 2] = a) + ) + } + if (!(da >>> 0 <= ba >>> 0) && 1 & ($ = q[(4 + da) >> 2])) { + f: { + if (!(2 & $)) { + if (q[2093] == (0 | da)) { + if ( + ((q[2093] = ba), + (a = (q[2090] + a) | 0), + (q[2090] = a), + (q[(ba + 4) >> 2] = 1 | a), + q[2092] != (0 | ba)) + ) + break a + return (q[2089] = 0), (q[2092] = 0) + } + if (q[2092] == (0 | da)) + return ( + (q[2092] = ba), + (a = (q[2089] + a) | 0), + (q[2089] = a), + (q[(ba + 4) >> 2] = 1 | a), + (q[(a + ba) >> 2] = a) + ) + a = ((-8 & $) + a) | 0 + g: if ($ >>> 0 <= 255) + ($ >>>= 3), + (0 | (v = q[(8 + da) >> 2])) == + (0 | (ca = q[(12 + da) >> 2])) + ? ((ha = q[2087] & ed($)), (q[2087] = ha)) + : ((q[(v + 12) >> 2] = ca), + (q[(ca + 8) >> 2] = v)) + else { + if ( + ((fa = q[(24 + da) >> 2]), + (0 | da) != (0 | ($ = q[(12 + da) >> 2]))) + ) + (v = q[(8 + da) >> 2]), + (q[(v + 12) >> 2] = $), + (q[($ + 8) >> 2] = v) + else if ( + (v = + (v = q[(ca = (20 + da) | 0) >> 2]) || + q[(ca = (16 + da) | 0) >> 2]) + ) { + for ( + ; + (ea = ca), + (v = q[(ca = (($ = v) + 20) | 0) >> 2]) || + ((ca = ($ + 16) | 0), (v = q[($ + 16) >> 2])); + + ); + q[ea >> 2] = 0 + } else $ = 0 + if (fa) { + ca = q[(28 + da) >> 2] + j: { + if ( + q[(v = (8652 + (ca << 2)) | 0) >> 2] == + (0 | da) + ) { + if ((q[v >> 2] = $)) break j + ;(ha = q[2088] & ed(ca)), (q[2088] = ha) + break g + } + if ( + !(q[ + (fa + + (q[(fa + 16) >> 2] == (0 | da) + ? 16 + : 20)) >> + 2 + ] = $) + ) + break g + } + ;(q[($ + 24) >> 2] = fa), + (v = q[(16 + da) >> 2]) && + ((q[($ + 16) >> 2] = v), + (q[(v + 24) >> 2] = $)), + (v = q[(20 + da) >> 2]) && + ((q[($ + 20) >> 2] = v), (q[(v + 24) >> 2] = $)) + } + } + if ( + ((q[(ba + 4) >> 2] = 1 | a), + (q[(a + ba) >> 2] = a), + q[2092] != (0 | ba)) + ) + break f + return (q[2089] = a) + } + ;(q[(4 + da) >> 2] = -2 & $), + (q[(ba + 4) >> 2] = 1 | a), + (q[(a + ba) >> 2] = a) + } + if (a >>> 0 <= 255) + return ( + ($ = (8388 + ((a >>>= 3) << 3)) | 0), + (a = + (v = q[2087]) & (a = 1 << a) + ? q[($ + 8) >> 2] + : ((q[2087] = a | v), $)), + (q[($ + 8) >> 2] = ba), + (q[(a + 12) >> 2] = ba), + (q[(ba + 12) >> 2] = $), + (q[(ba + 8) >> 2] = a) + ) + ;(q[(ba + 16) >> 2] = 0), + (v = q[(ba + 20) >> 2] = 0), + (ca = a >>> 8) && + ((v = 31), + 16777215 < a >>> 0 || + ((v = ca), + (v = + (28 + + (((v = + ((((v = + (v <<= ca = ((ca + 1048320) >>> 16) & 8) << + (fa = ((v + 520192) >>> 16) & 4)) << + (ea = ((v + 245760) >>> 16) & 2)) >>> + 15) - + (ea | ca | fa)) | + 0) << + 1) | + ((a >>> (v + 21)) & 1))) | + 0))), + (ea = (8652 + ((q[(($ = ba) + 28) >> 2] = v) << 2)) | 0) + m: if ((ca = q[2088]) & ($ = 1 << v)) { + ;(ca = a << (31 == (0 | v) ? 0 : (25 - (v >>> 1)) | 0)), + ($ = q[ea >> 2]) + n: { + for (;;) { + if ((-8 & q[((v = $) + 4) >> 2]) == (0 | a)) break n + if ( + (($ = ca >>> 29), + (ca <<= 1), + !($ = q[(16 + (ea = (v + (4 & $)) | 0)) >> 2])) + ) + break + } + ;(q[(ea + 16) >> 2] = ba), + (q[(ba + 12) >> 2] = ba), + (q[(ba + 24) >> 2] = v), + (q[(ba + 8) >> 2] = ba) + break m + } + ;(a = q[(v + 8) >> 2]), + (q[(a + 12) >> 2] = ba), + (q[(v + 8) >> 2] = ba), + (q[(ba + 24) >> 2] = 0), + (q[(ba + 12) >> 2] = v), + (q[(ba + 8) >> 2] = a) + } else + (q[2088] = $ | ca), + (q[ea >> 2] = ba), + (q[(ba + 12) >> 2] = ba), + (q[(ba + 24) >> 2] = ea), + (q[(ba + 8) >> 2] = ba) + if (((a = (q[2095] + -1) | 0), !(q[2095] = a))) { + for (ba = 8804; (ba = ((a = q[ba >> 2]) + 8) | 0), a; ); + q[2095] = -1 + } + } + } + } + function qa(a) { + var sa, + ia = 0, + ja = 0, + ka = 0, + la = 0, + ma = 0, + na = 0, + oa = 0, + pa = 0, + qa = 0, + ra = 0, + ua = 0 + L = sa = (L - 16) | 0 + a: { + b: { + c: { + d: { + e: { + f: { + g: { + h: { + i: { + j: { + k: { + if (a >>> 0 <= 244) { + if ( + 3 & + (ia = + (ma = q[2087]) >>> + (a = + (na = + a >>> 0 < 11 + ? 16 + : (a + 11) & -8) >>> 3)) + ) { + ;(a = + ((ia = + q[ + (8396 + + (la = + (ja = + (a + (1 & (-1 ^ ia))) | + 0) << 3)) >> + 2 + ]) + + 8) | + 0), + (0 | (ka = q[(ia + 8) >> 2])) == + (0 | (la = (la + 8388) | 0)) + ? ((ua = ed(ja) & ma), + (q[2087] = ua)) + : ((q[(ka + 12) >> 2] = la), + (q[(la + 8) >> 2] = ka)), + (q[(ia + 4) >> 2] = 3 | (ja <<= 3)), + (q[ + (4 + (ia = (ia + ja) | 0)) >> 2 + ] = 1 | q[(ia + 4) >> 2]) + break a + } + if (na >>> 0 <= (pa = q[2089]) >>> 0) + break k + if (ia) { + ;(ja = ia = + ((a = + (((0 - + (a = + ((0 - (ja = 2 << a)) | ja) & + (ia << a))) & + a) - + 1) | + 0) >>> + 12) & + 16), + (ia = + q[ + (8396 + + (ka = + (ja = + (((ja = + (ja |= ia = + ((a >>>= ia) >>> 5) & + 8) | + (ia = + ((a >>>= ia) >>> 2) & + 4) | + (ia = + ((a >>>= ia) >>> 1) & + 2)) | + (ia = + ((a >>>= ia) >>> 1) & + 1)) + + (a >>> ia)) | + 0) << 3)) >> + 2 + ]), + (0 | (a = q[(ia + 8) >> 2])) == + (0 | (ka = (ka + 8388) | 0)) + ? ((ma = ed(ja) & ma), + (q[2087] = ma)) + : ((q[(a + 12) >> 2] = ka), + (q[(ka + 8) >> 2] = a)), + (a = (ia + 8) | 0), + (q[(ia + 4) >> 2] = 3 | na), + (q[ + (4 + (oa = (ia + na) | 0)) >> 2 + ] = + 1 | (la = ((ja <<= 3) - na) | 0)), + (q[(ia + ja) >> 2] = la), + pa && + ((ia = + (8388 + + ((ja = pa >>> 3) << 3)) | + 0), + (ka = q[2092]), + (ja = + (ja = 1 << ja) & ma + ? q[(ia + 8) >> 2] + : ((q[2087] = ja | ma), ia)), + (q[(ia + 8) >> 2] = ka), + (q[(ja + 12) >> 2] = ka), + (q[(ka + 12) >> 2] = ia), + (q[(ka + 8) >> 2] = ja)), + (q[2092] = oa), + (q[2089] = la) + break a + } + if (!(ra = q[2088])) break k + for ( + ja = ia = + ((a = ((ra & (0 - ra)) - 1) | 0) >>> + 12) & + 16, + ia = + q[ + (8652 + + ((((ja = + (ja |= ia = + ((a >>>= ia) >>> 5) & 8) | + (ia = + ((a >>>= ia) >>> 2) & 4) | + (ia = + ((a >>>= ia) >>> 1) & + 2)) | + (ia = + ((a >>>= ia) >>> 1) & + 1)) + + (a >>> ia)) << + 2)) >> + 2 + ], + ka = + ((-8 & q[(ia + 4) >> 2]) - na) | + 0, + ja = ia; + (a = + (a = q[(ja + 16) >> 2]) || + q[(ja + 20) >> 2]); + + ) + (ka = (ja = + (la = + ((-8 & q[(a + 4) >> 2]) - na) | + 0) >>> + 0 < + ka >>> 0) + ? la + : ka), + (ia = ja ? a : ia), + (ja = a) + if ( + ((qa = q[(ia + 24) >> 2]), + (0 | (la = q[(ia + 12) >> 2])) != + (0 | ia)) + ) { + ;(a = q[(ia + 8) >> 2]), + (q[(a + 12) >> 2] = la), + (q[(la + 8) >> 2] = a) + break b + } + if ( + !(a = q[(ja = (ia + 20) | 0) >> 2]) + ) { + if (!(a = q[(ia + 16) >> 2])) break j + ja = (ia + 16) | 0 + } + for ( + ; + (oa = ja), + (a = + q[ + (ja = ((la = a) + 20) | 0) >> 2 + ]) || + ((ja = (la + 16) | 0), + (a = q[(la + 16) >> 2])); + + ); + q[oa >> 2] = 0 + break b + } + if ( + ((na = -1), + !(4294967231 < a >>> 0) && + ((na = -8 & (ia = (a + 11) | 0)), + (pa = q[2088]))) + ) { + ;(ja = (0 - na) | 0), + (ma = 0), + (ia >>>= 8) && + ((ma = 31), + 16777215 < na >>> 0 || + (ma = + (28 + + (((a = + ((((ma = + (ia <<= ka = + ((ia + 1048320) >>> + 16) & + 8) << + (a = + ((ia + 520192) >>> 16) & + 4)) << + (ia = + ((ma + 245760) >>> 16) & + 2)) >>> + 15) - + (ia | a | ka)) | + 0) << + 1) | + ((na >>> (a + 21)) & 1))) | + 0)) + q: { + r: { + if ( + (ka = q[(8652 + (ma << 2)) >> 2]) + ) + for ( + ia = + na << + (31 == (0 | ma) + ? 0 + : (25 - (ma >>> 1)) | 0), + a = 0; + ; + + ) { + if ( + !( + ja >>> 0 <= + (oa = + ((-8 & + q[(ka + 4) >> 2]) - + na) | + 0) >>> + 0 || + ((la = ka), (ja = oa)) + ) + ) { + ;(ja = 0), (a = ka) + break r + } + if ( + ((oa = q[(ka + 20) >> 2]), + (ka = + q[ + (16 + + ((((ia >>> 29) & 4) + + ka) | + 0)) >> + 2 + ]), + (a = + oa && (0 | oa) != (0 | ka) + ? oa + : a), + (ia <<= 0 != (0 | ka)), + !ka) + ) + break + } + else a = 0 + if (!(a | la)) { + if ( + !(a = + ((0 - (a = 2 << ma)) | a) & + pa) + ) + break k + ;(ka = ia = + ((a = + ((a & (0 - a)) - 1) | 0) >>> + 12) & + 16), + (a = + q[ + (8652 + + ((((ka = + (ka |= ia = + ((a >>>= ia) >>> 5) & + 8) | + (ia = + ((a >>>= ia) >>> 2) & + 4) | + (ia = + ((a >>>= ia) >>> 1) & + 2)) | + (ia = + ((a >>>= ia) >>> 1) & + 1)) + + (a >>> ia)) << + 2)) >> + 2 + ]) + } + if (!a) break q + } + for ( + ; + (ja = (ia = + (ka = + ((-8 & q[(a + 4) >> 2]) - na) | + 0) >>> + 0 < + ja >>> 0) + ? ka + : ja), + (la = ia ? a : la), + (a = + (ia = q[(a + 16) >> 2]) || + q[(a + 20) >> 2]); + + ); + } + if ( + !( + !la | + (ja >>> 0 >= (q[2089] - na) >>> 0) + ) + ) { + if ( + ((oa = q[(la + 24) >> 2]), + (0 | la) != + (0 | (ia = q[(la + 12) >> 2]))) + ) { + ;(a = q[(la + 8) >> 2]), + (q[(a + 12) >> 2] = ia), + (q[(ia + 8) >> 2] = a) + break c + } + if ( + !(a = q[(ka = (la + 20) | 0) >> 2]) + ) { + if (!(a = q[(la + 16) >> 2])) + break i + ka = (la + 16) | 0 + } + for ( + ; + (ma = ka), + (a = + q[ + (ka = ((ia = a) + 20) | 0) >> + 2 + ]) || + ((ka = (ia + 16) | 0), + (a = q[(ia + 16) >> 2])); + + ); + q[ma >> 2] = 0 + break c + } + } + } + if (na >>> 0 <= (ia = q[2089]) >>> 0) { + ;(a = q[2092]), + 16 <= (ja = (ia - na) | 0) >>> 0 + ? ((q[2089] = ja), + (q[2092] = ka = (a + na) | 0), + (q[(ka + 4) >> 2] = 1 | ja), + (q[(a + ia) >> 2] = ja), + (q[(a + 4) >> 2] = 3 | na)) + : ((q[2092] = 0), + (q[2089] = 0), + (q[(a + 4) >> 2] = 3 | ia), + (q[(4 + (ia = (a + ia) | 0)) >> 2] = + 1 | q[(ia + 4) >> 2])), + (a = (a + 8) | 0) + break a + } + if (na >>> 0 < (ka = q[2090]) >>> 0) { + ;(q[2090] = ia = (ka - na) | 0), + (a = q[2093]), + (q[2093] = ja = (a + na) | 0), + (q[(ja + 4) >> 2] = 1 | ia), + (q[(a + 4) >> 2] = 3 | na), + (a = (a + 8) | 0) + break a + } + if ( + (ja = + (ma = + ((ja = la = (na + 47) | (a = 0)) + + (ia = q[2205] + ? q[2207] + : ((q[2208] = -1), + (q[2209] = -1), + (q[2206] = 4096), + (q[2207] = 4096), + (q[2205] = + ((12 + sa) & -16) ^ + 1431655768), + (q[2210] = 0), + (q[2198] = 0), + 4096))) | + 0) & (oa = (0 - ia) | 0)) >>> + 0 <= + na >>> 0 + ) + break a + if ( + (ia = q[2197]) && + ((qa = ((pa = q[2195]) + ja) | 0) >>> 0 <= + pa >>> 0) | + (ia >>> 0 < qa >>> 0) + ) + break a + if (4 & r[8792]) break f + v: { + w: { + if ((ia = q[2093])) + for (a = 8796; ; ) { + if ( + ((pa = q[a >> 2]) + + q[(a + 4) >> 2]) >>> + 0 > + ia >>> 0 && + pa >>> 0 <= ia >>> 0 + ) + break w + if (!(a = q[(a + 8) >> 2])) break + } + if (-1 == (0 | (ia = ea(0)))) break g + if ( + ((ma = ja), + ((ma = + (ka = ((a = q[2206]) + -1) | 0) & ia + ? (((ja - ia) | 0) + + ((ia + ka) & (0 - a))) | + 0 + : ma) >>> + 0 <= + na >>> 0) | + (2147483646 < ma >>> 0)) + ) + break g + if ( + (a = q[2197]) && + ((oa = ((ka = q[2195]) + ma) | 0) >>> + 0 <= + ka >>> 0) | + (a >>> 0 < oa >>> 0) + ) + break g + if ((0 | ia) != (0 | (a = ea(ma)))) + break v + break e + } + if ( + 2147483646 < + (ma = oa & (ma - ka)) >>> 0 + ) + break g + if ( + (0 | (ia = ea(ma))) == + ((q[a >> 2] + q[(a + 4) >> 2]) | 0) + ) + break h + a = ia + } + if ( + !( + ((na + 48) >>> 0 <= ma >>> 0) | + (2147483646 < ma >>> 0) | + (-1 == (0 | (ia = a))) + ) + ) { + if ( + 2147483646 < + (a = + ((a = q[2207]) + ((la - ma) | 0)) & + (0 - a)) >>> + 0 + ) + break e + if (-1 != (0 | ea(a))) { + ma = (a + ma) | 0 + break e + } + ea((0 - ma) | 0) + break g + } + if (-1 != (0 | ia)) break e + break g + } + la = 0 + break b + } + ia = 0 + break c + } + if (-1 != (0 | ia)) break e + } + q[2198] = 4 | q[2198] + } + if (2147483646 < ja >>> 0) break d + if ( + ((ia = ea(ja)), + ((a = ea(0)) >>> 0 <= ia >>> 0) | + (-1 == (0 | ia)) | + (-1 == (0 | a))) + ) + break d + if ((ma = (a - ia) | 0) >>> 0 <= (na + 40) >>> 0) + break d + } + ;(a = (q[2195] + ma) | 0), + (q[2195] = a) >>> 0 > t[2196] && (q[2196] = a) + x: { + y: { + z: { + if ((ja = q[2093])) { + for (a = 8796; ; ) { + if ( + (((ka = q[a >> 2]) + + (la = q[(a + 4) >> 2])) | + 0) == + (0 | ia) + ) + break z + if (!(a = q[(a + 8) >> 2])) break + } + break y + } + for ( + ((a = q[2091]) >>> 0 <= ia >>> 0 && a) || + (q[2091] = ia), + a = 0, + q[2200] = ma, + q[2199] = ia, + q[2095] = -1, + q[2096] = q[2205], + q[2202] = 0; + (q[(8396 + (ja = a << 3)) >> 2] = ka = + (ja + 8388) | 0), + (q[(ja + 8400) >> 2] = ka), + 32 != (0 | (a = (a + 1) | 0)); + + ); + ;(q[2090] = ka = + ((a = (ma + -40) | 0) - + (ja = (ia + 8) & 7 ? (-8 - ia) & 7 : 0)) | + 0), + (q[2093] = ja = (ia + ja) | 0), + (q[(ja + 4) >> 2] = 1 | ka), + (q[(4 + ((a + ia) | 0)) >> 2] = 40), + (q[2094] = q[2209]) + break x + } + if ( + !( + (8 & r[(a + 12) | 0]) | + (ia >>> 0 <= ja >>> 0) | + (ja >>> 0 < ka >>> 0) + ) + ) { + ;(q[(a + 4) >> 2] = la + ma), + (q[2093] = ia = + ((a = (ja + 8) & 7 ? (-8 - ja) & 7 : 0) + + ja) | + 0), + (ka = (q[2090] + ma) | 0), + (q[2090] = a = (ka - a) | 0), + (q[(ia + 4) >> 2] = 1 | a), + (q[(4 + ((ja + ka) | 0)) >> 2] = 40), + (q[2094] = q[2209]) + break x + } + } + ia >>> 0 < (la = q[2091]) >>> 0 && + ((q[2091] = ia), (la = 0)), + (ka = (ia + ma) | 0), + (a = 8796) + A: { + B: { + C: { + D: { + E: { + F: { + for (; (0 | ka) != q[a >> 2]; ) + if (!(a = q[(a + 8) >> 2])) break F + if (!(8 & r[(a + 12) | 0])) break E + } + for (a = 8796; ; ) { + if ( + (ka = q[a >> 2]) >>> 0 <= ja >>> 0 && + ja >>> 0 < + (la = (ka + q[(a + 4) >> 2]) | 0) >>> + 0 + ) + break D + a = q[(a + 8) >> 2] + } + } + if ( + ((q[a >> 2] = ia), + (q[(a + 4) >> 2] = q[(a + 4) >> 2] + ma), + (q[ + (4 + + (qa = + (((ia + 8) & 7 ? (-8 - ia) & 7 : 0) + + ia) | + 0)) >> + 2 + ] = 3 | na), + (a = + ((((ia = + (ka + + ((ka + 8) & 7 ? (-8 - ka) & 7 : 0)) | + 0) - + qa) | + 0) - + na) | + 0), + (oa = (na + qa) | 0), + (0 | ia) == (0 | ja)) + ) { + ;(q[2093] = oa), + (a = (q[2090] + a) | 0), + (q[2090] = a), + (q[(oa + 4) >> 2] = 1 | a) + break B + } + if (q[2092] == (0 | ia)) { + ;(q[2092] = oa), + (a = (q[2089] + a) | 0), + (q[2089] = a), + (q[(oa + 4) >> 2] = 1 | a), + (q[(a + oa) >> 2] = a) + break B + } + if (1 == (3 & (ja = q[(ia + 4) >> 2]))) { + ra = -8 & ja + G: if (ja >>> 0 <= 255) + (la = ja >>> 3), + (ja = q[(ia + 8) >> 2]), + (0 | (ka = q[(ia + 12) >> 2])) == + (0 | ja) + ? ((ua = q[2087] & ed(la)), + (q[2087] = ua)) + : ((q[(ja + 12) >> 2] = ka), + (q[(ka + 8) >> 2] = ja)) + else { + if ( + ((pa = q[(ia + 24) >> 2]), + (0 | (ma = q[(ia + 12) >> 2])) != + (0 | ia)) + ) + (ja = q[(ia + 8) >> 2]), + (q[(ja + 12) >> 2] = ma), + (q[(ma + 8) >> 2] = ja) + else if ( + (na = + (na = q[(ka = (ia + 20) | 0) >> 2]) || + q[(ka = (ia + 16) | 0) >> 2]) + ) { + for ( + ; + (ja = ka), + (na = + q[ + (ka = ((ma = na) + 20) | 0) >> 2 + ]) || + ((ka = (ma + 16) | 0), + (na = q[(ma + 16) >> 2])); + + ); + q[ja >> 2] = 0 + } else ma = 0 + if (pa) { + ja = q[(ia + 28) >> 2] + J: { + if ( + q[ + (ka = (8652 + (ja << 2)) | 0) >> 2 + ] == + (0 | ia) + ) { + if ((q[ka >> 2] = ma)) break J + ;(ua = q[2088] & ed(ja)), + (q[2088] = ua) + break G + } + if ( + !(q[ + (pa + + (q[(pa + 16) >> 2] == (0 | ia) + ? 16 + : 20)) >> + 2 + ] = ma) + ) + break G + } + ;(q[(ma + 24) >> 2] = pa), + (ja = q[(ia + 16) >> 2]) && + ((q[(ma + 16) >> 2] = ja), + (q[(ja + 24) >> 2] = ma)), + (ja = q[(ia + 20) >> 2]) && + ((q[(ma + 20) >> 2] = ja), + (q[(ja + 24) >> 2] = ma)) + } + } + ;(ia = (ia + ra) | 0), (a = (a + ra) | 0) + } + if ( + ((q[(ia + 4) >> 2] = -2 & q[(ia + 4) >> 2]), + (q[(oa + 4) >> 2] = 1 | a), + (q[(a + oa) >> 2] = a) >>> 0 <= 255) + ) { + ;(a = (8388 + ((ia = a >>> 3) << 3)) | 0), + (ia = + (ja = q[2087]) & (ia = 1 << ia) + ? q[(a + 8) >> 2] + : ((q[2087] = ia | ja), a)), + (q[(a + 8) >> 2] = oa), + (q[(ia + 12) >> 2] = oa), + (q[(oa + 12) >> 2] = a), + (q[(oa + 8) >> 2] = ia) + break B + } + if ( + ((ia = 0), + (ka = a >>> 8) && + ((ia = 31), + 16777215 < a >>> 0 || + (ia = + (28 + + (((ia = + ((((na = + (ka <<= la = + ((ka + 1048320) >>> 16) & + 8) << + (ia = + ((ka + 520192) >>> 16) & + 4)) << + (ka = + ((na + 245760) >>> 16) & + 2)) >>> + 15) - + (ka | ia | la)) | + 0) << + 1) | + ((a >>> (ia + 21)) & 1))) | + 0)), + (q[((ja = oa) + 28) >> 2] = ia), + (q[(oa + 16) >> 2] = 0), + (ja = + (8652 + (ia << 2)) | + (q[(oa + 20) >> 2] = 0)), + (ka = q[2088]) & (la = 1 << ia)) + ) { + for ( + ka = + a << + (31 == (0 | ia) + ? 0 + : (25 - (ia >>> 1)) | 0), + ia = q[ja >> 2]; + ; + + ) { + if ( + (-8 & q[((ja = ia) + 4) >> 2]) == + (0 | a) + ) + break C + if ( + ((ia = ka >>> 29), + (ka <<= 1), + !(ia = + q[ + (16 + (la = ((4 & ia) + ja) | 0)) >> + 2 + ])) + ) + break + } + q[(la + 16) >> 2] = oa + } else (q[2088] = ka | la), (q[ja >> 2] = oa) + ;(q[(oa + 24) >> 2] = ja), + (q[(oa + 12) >> 2] = oa), + (q[(oa + 8) >> 2] = oa) + break B + } + for ( + q[2090] = oa = + ((a = (ma + -40) | 0) - + (ka = (ia + 8) & 7 ? (-8 - ia) & 7 : 0)) | + 0, + q[2093] = ka = (ia + ka) | 0, + q[(ka + 4) >> 2] = 1 | oa, + q[(4 + ((a + ia) | 0)) >> 2] = 40, + q[2094] = q[2209], + q[ + ((ka = + (a = + (((la + + ((la + -39) & 7 + ? (39 - la) & 7 + : 0)) | + 0) - + 47) | + 0) >>> + 0 < + (ja + 16) >>> 0 + ? ja + : a) + + 4) >> + 2 + ] = 27, + a = q[2202], + q[(ka + 16) >> 2] = q[2201], + q[(ka + 20) >> 2] = a, + a = q[2200], + q[(ka + 8) >> 2] = q[2199], + q[(ka + 12) >> 2] = a, + q[2201] = ka + 8, + q[2200] = ma, + q[2199] = ia, + a = (ka + 24) | (q[2202] = 0); + (q[(a + 4) >> 2] = 7), + (ia = (a + 8) | 0), + (a = (a + 4) | 0), + ia >>> 0 < la >>> 0; + + ); + if ((0 | ja) == (0 | ka)) break x + if ( + ((q[(ka + 4) >> 2] = -2 & q[(ka + 4) >> 2]), + (q[(ja + 4) >> 2] = 1 | (la = (ka - ja) | 0)), + (q[ka >> 2] = la) >>> 0 <= 255) + ) { + ;(a = (8388 + ((ia = la >>> 3) << 3)) | 0), + (ia = + (ka = q[2087]) & (ia = 1 << ia) + ? q[(a + 8) >> 2] + : ((q[2087] = ia | ka), a)), + (q[(a + 8) >> 2] = ja), + (q[(ia + 12) >> 2] = ja), + (q[(ja + 12) >> 2] = a), + (q[(ja + 8) >> 2] = ia) + break x + } + if ( + ((q[(ja + 16) >> 2] = 0), + (a = q[(ja + 20) >> 2] = 0), + (ka = la >>> 8) && + ((a = 31), + 16777215 < la >>> 0 || + (a = + (28 + + (((a = + ((((oa = + (ka <<= ma = + ((ka + 1048320) >>> 16) & 8) << + (a = + ((ka + 520192) >>> 16) & 4)) << + (ka = + ((oa + 245760) >>> 16) & 2)) >>> + 15) - + (ka | a | ma)) | + 0) << + 1) | + ((la >>> (a + 21)) & 1))) | + 0)), + (ia = + (8652 + + ((q[((ia = ja) + 28) >> 2] = a) << 2)) | + 0), + (ka = q[2088]) & (ma = 1 << a)) + ) { + for ( + a = + la << + (31 == (0 | a) + ? 0 + : (25 - (a >>> 1)) | 0), + ia = q[ia >> 2]; + ; + + ) { + if ( + (0 | la) == + (-8 & q[((ka = ia) + 4) >> 2]) + ) + break A + if ( + ((ia = a >>> 29), + (a <<= 1), + !(ia = + q[ + (16 + (ma = (ka + (4 & ia)) | 0)) >> 2 + ])) + ) + break + } + ;(q[(ma + 16) >> 2] = ja), + (q[(ja + 24) >> 2] = ka) + } else + (q[2088] = ka | ma), + (q[ia >> 2] = ja), + (q[(ja + 24) >> 2] = ia) + ;(q[(ja + 12) >> 2] = ja), + (q[(ja + 8) >> 2] = ja) + break x + } + ;(a = q[(ja + 8) >> 2]), + (q[(a + 12) >> 2] = oa), + (q[(ja + 8) >> 2] = oa), + (q[(oa + 24) >> 2] = 0), + (q[(oa + 12) >> 2] = ja), + (q[(oa + 8) >> 2] = a) + } + a = (qa + 8) | 0 + break a + } + ;(a = q[(ka + 8) >> 2]), + (q[(a + 12) >> 2] = ja), + (q[(ka + 8) >> 2] = ja), + (q[(ja + 24) >> 2] = 0), + (q[(ja + 12) >> 2] = ka), + (q[(ja + 8) >> 2] = a) + } + if (!((a = q[2090]) >>> 0 <= na >>> 0)) { + ;(q[2090] = ia = (a - na) | 0), + (a = q[2093]), + (q[2093] = ja = (a + na) | 0), + (q[(ja + 4) >> 2] = 1 | ia), + (q[(a + 4) >> 2] = 3 | na), + (a = (a + 8) | 0) + break a + } + } + ;(q[2086] = 48), (a = 0) + break a + } + Q: if (oa) { + a = q[(la + 28) >> 2] + R: { + if (q[(ka = (8652 + (a << 2)) | 0) >> 2] == (0 | la)) { + if ((q[ka >> 2] = ia)) break R + ;(pa = ed(a) & pa), (q[2088] = pa) + break Q + } + if ( + !(q[ + (oa + (q[(oa + 16) >> 2] == (0 | la) ? 16 : 20)) >> + 2 + ] = ia) + ) + break Q + } + ;(q[(ia + 24) >> 2] = oa), + (a = q[(la + 16) >> 2]) && + ((q[(ia + 16) >> 2] = a), (q[(a + 24) >> 2] = ia)), + (a = q[(la + 20) >> 2]) && + ((q[(ia + 20) >> 2] = a), (q[(a + 24) >> 2] = ia)) + } + S: if (ja >>> 0 <= 15) + (q[(la + 4) >> 2] = 3 | (a = (ja + na) | 0)), + (q[(4 + (a = (a + la) | 0)) >> 2] = 1 | q[(a + 4) >> 2]) + else if ( + ((q[(la + 4) >> 2] = 3 | na), + (q[(4 + (ka = (la + na) | 0)) >> 2] = 1 | ja), + (q[(ja + ka) >> 2] = ja) >>> 0 <= 255) + ) + (a = (8388 + ((ia = ja >>> 3) << 3)) | 0), + (ia = + (ja = q[2087]) & (ia = 1 << ia) + ? q[(a + 8) >> 2] + : ((q[2087] = ia | ja), a)), + (q[(a + 8) >> 2] = ka), + (q[(ia + 12) >> 2] = ka), + (q[(ka + 12) >> 2] = a), + (q[(ka + 8) >> 2] = ia) + else { + ;(a = 0), + (na = ja >>> 8) && + ((a = 31), + 16777215 < ja >>> 0 || + (a = + (28 + + (((a = + ((((oa = + (na <<= ma = ((na + 1048320) >>> 16) & 8) << + (a = ((na + 520192) >>> 16) & 4)) << + (na = ((oa + 245760) >>> 16) & 2)) >>> + 15) - + (na | a | ma)) | + 0) << + 1) | + ((ja >>> (a + 21)) & 1))) | + 0)), + (q[((ia = ka) + 28) >> 2] = a), + (q[(ka + 16) >> 2] = 0), + (ia = (8652 + (a << 2)) | (q[(ka + 20) >> 2] = 0)) + V: { + if ((na = 1 << a) & pa) { + for ( + a = + ja << (31 == (0 | a) ? 0 : (25 - (a >>> 1)) | 0), + na = q[ia >> 2]; + ; + + ) { + if ((-8 & q[((ia = na) + 4) >> 2]) == (0 | ja)) + break V + if ( + ((na = a >>> 29), + (a <<= 1), + !(na = q[(16 + (ma = ((4 & na) + ia) | 0)) >> 2])) + ) + break + } + q[(ma + 16) >> 2] = ka + } else (q[2088] = na | pa), (q[ia >> 2] = ka) + ;(q[(ka + 24) >> 2] = ia), + (q[(ka + 12) >> 2] = ka), + (q[(ka + 8) >> 2] = ka) + break S + } + ;(a = q[(ia + 8) >> 2]), + (q[(a + 12) >> 2] = ka), + (q[(ia + 8) >> 2] = ka), + (q[(ka + 24) >> 2] = 0), + (q[(ka + 12) >> 2] = ia), + (q[(ka + 8) >> 2] = a) + } + a = (la + 8) | 0 + break a + } + X: if (qa) { + a = q[(ia + 28) >> 2] + Y: { + if (q[(ja = (8652 + (a << 2)) | 0) >> 2] == (0 | ia)) { + if ((q[ja >> 2] = la)) break Y + ;(ua = ed(a) & ra), (q[2088] = ua) + break X + } + if ( + !(q[ + (qa + (q[(qa + 16) >> 2] == (0 | ia) ? 16 : 20)) >> 2 + ] = la) + ) + break X + } + ;(q[(la + 24) >> 2] = qa), + (a = q[(ia + 16) >> 2]) && + ((q[(la + 16) >> 2] = a), (q[(a + 24) >> 2] = la)), + (a = q[(ia + 20) >> 2]) && + ((q[(la + 20) >> 2] = a), (q[(a + 24) >> 2] = la)) + } + ka >>> 0 <= 15 + ? ((q[(ia + 4) >> 2] = 3 | (a = (ka + na) | 0)), + (q[(4 + (a = (a + ia) | 0)) >> 2] = 1 | q[(a + 4) >> 2])) + : ((q[(ia + 4) >> 2] = 3 | na), + (q[(4 + (na = (ia + na) | 0)) >> 2] = 1 | ka), + (q[(ka + na) >> 2] = ka), + pa && + ((a = (8388 + ((ja = pa >>> 3) << 3)) | 0), + (la = q[2092]), + (ja = + (ja = 1 << ja) & ma + ? q[(a + 8) >> 2] + : ((q[2087] = ja | ma), a)), + (q[(a + 8) >> 2] = la), + (q[(ja + 12) >> 2] = la), + (q[(la + 12) >> 2] = a), + (q[(la + 8) >> 2] = ja)), + (q[2092] = na), + (q[2089] = ka)), + (a = (ia + 8) | 0) + } + return (L = (16 + sa) | 0), a + } + function ra(a, va, wa, xa, ya, za, Aa) { + var Qa, + Ta, + Ba, + Ca = 0, + Da = 0, + Fa = 0, + Ia = 0, + Ja = 0, + Ka = 0, + Ma = 0, + Na = 0, + Oa = 0, + Pa = 0, + Ra = 0, + Sa = 0 + ;(q[(76 + (L = Ba = (L - 80) | 0)) >> 2] = va), + (Ta = (55 + Ba) | 0), + (Qa = (56 + Ba) | 0), + (va = 0) + a: { + b: { + c: for (;;) { + ;(0 | Oa) < 0 || + (Oa = + ((2147483647 - Oa) | 0) < (0 | va) + ? ((q[2086] = 61), -1) + : (va + Oa) | 0) + e: { + f: { + g: { + h: { + i: { + j: { + k: { + l: { + m: { + n: { + o: { + p: { + q: { + if ( + ((Ia = q[(76 + Ba) >> 2]), + (Fa = r[0 | (va = Ia)])) + ) { + for (;;) { + r: { + s: { + t: if ( + (Ca = 255 & Fa) + ) { + if (37 != (0 | Ca)) + break s + for (Fa = va; ; ) { + if ( + 37 != + r[(va + 1) | 0] + ) + break t + if ( + ((q[ + (76 + Ba) >> 2 + ] = Ca = + (va + 2) | 0), + (Fa = + (Fa + 1) | 0), + (Da = + r[ + (va + 2) | 0 + ]), + (va = Ca), + 37 != (0 | Da)) + ) + break + } + } else Fa = va + if ( + ((va = (Fa - Ia) | 0), + a && Z(a, Ia, va), + va) + ) + continue c + ;(Pa = -1), + (Ja = !ha( + o[ + (q[ + (76 + + (Ca = Ba)) >> + 2 + ] + + (Fa = 1)) | + 0 + ] + )), + (va = + q[(76 + Ba) >> 2]), + Ja | + (36 != + r[ + (va + 2) | 0 + ]) || + ((Pa = + (o[(va + 1) | 0] + + -48) | + 0), + (Ra = 1), + (Fa = 3)), + (q[(Ca + 76) >> 2] = + va = + (Fa + va) | 0) + u: if ( + 31 < + (Da = + ((Ma = + o[ + (Fa = 0) | va + ]) + + -32) | + 0) >>> + 0 + ) + Ca = va + else if ( + ((Ca = va), + 75913 & + (Da = 1 << Da)) + ) + for (;;) { + if ( + ((q[ + (76 + Ba) >> 2 + ] = Ca = + (va + 1) | 0), + (Fa |= Da), + 31 < + (Da = + ((Ma = + o[ + (va + 1) | + 0 + ]) + + -32) | + 0) >>> + 0) + ) + break u + if ( + ((va = Ca), + !( + 75913 & + (Da = 1 << Da) + )) + ) + break + } + if (42 == (0 | Ma)) { + if ( + ((Ja = Ba), + ha( + o[(Ca + 1) | 0] + ) && + ((va = + q[ + (76 + Ba) >> 2 + ]), + 36 == + r[ + (va + 2) | 0 + ])) + ) + (q[ + ((((o[ + (va + 1) | 0 + ] << + 2) + + ya) | + 0) - + 192) >> + 2 + ] = 10), + (Na = + q[ + ((((o[ + (va + 1) | 0 + ] << + 3) + + xa) | + 0) - + 384) >> + 2 + ]), + (Ra = 1), + (va = + (va + 3) | 0) + else { + if (Ra) break b + ;(Na = Ra = 0), + a && + ((va = + q[wa >> 2]), + (q[wa >> 2] = + va + 4), + (Na = + q[va >> 2])), + (va = + (q[ + (76 + Ba) >> 2 + ] + + 1) | + 0) + } + ;(q[(Ja + 76) >> 2] = + va), + -1 < (0 | Na) || + ((Na = + (0 - Na) | 0), + (Fa |= 8192)) + } else { + if ( + (0 | + (Na = Ha( + (76 + Ba) | 0 + ))) < + 0 + ) + break b + va = q[(76 + Ba) >> 2] + } + if ( + ((Da = -1), + 46 == r[0 | va]) + ) + if ( + 42 == + r[(va + 1) | 0] + ) + if ( + ha( + o[(va + 2) | 0] + ) && + ((va = + q[ + (76 + Ba) >> 2 + ]), + 36 == + r[(va + 3) | 0]) + ) + (q[ + ((((o[ + (va + 2) | 0 + ] << + 2) + + ya) | + 0) - + 192) >> + 2 + ] = 10), + (Da = + q[ + ((((o[ + (va + 2) | + 0 + ] << + 3) + + xa) | + 0) - + 384) >> + 2 + ]), + (q[ + (76 + Ba) >> 2 + ] = va = + (va + 4) | 0) + else { + if (Ra) break b + ;(Da = a + ? ((va = + q[wa >> 2]), + (q[wa >> 2] = + va + 4), + q[va >> 2]) + : 0), + (va = + (q[ + (76 + Ba) >> + 2 + ] + + 2) | + 0), + (q[ + (76 + Ba) >> 2 + ] = va) + } + else + (q[(76 + Ba) >> 2] = + va + 1), + (Da = Ha( + (76 + Ba) | 0 + )), + (va = + q[ + (76 + Ba) >> 2 + ]) + for (Ca = 0; ; ) { + if ( + ((Sa = Ca), + (Ka = -1), + 57 < + (o[0 | va] + + -65) >>> + 0) + ) + break a + if ( + ((q[ + (76 + Ba) >> 2 + ] = Ma = + (va + 1) | 0), + (Ca = o[0 | va]), + (va = Ma), + !( + ((Ca = + r[ + (3295 + + ((Ca + + w( + Sa, + 58 + )) | + 0)) | + 0 + ]) + + -1) >>> + 0 < + 8 + )) + ) + break + } + if (!Ca) break a + A: { + B: { + C: { + if ( + 19 == + (0 | Ca) + ) { + if ( + (0 | Pa) <= + -1 + ) + break C + break a + } + if ((0 | Pa) < 0) + break B + ;(q[ + ((Pa << 2) + + ya) >> + 2 + ] = Ca), + (Ca = + q[ + (4 + + (va = + ((Pa << + 3) + + xa) | + 0)) >> + 2 + ]), + (q[ + (64 + Ba) >> 2 + ] = q[va >> 2]), + (q[ + (68 + Ba) >> 2 + ] = Ca) + } + if (((va = 0), a)) + break A + continue c + } + if (!a) break e + Ga( + (64 + Ba) | 0, + Ca, + wa, + Aa + ), + (Ma = + q[(76 + Ba) >> 2]) + } + if ( + ((Ja = -65537 & Fa), + (Fa = + 8192 & Fa + ? Ja + : Fa), + (Pa = 3336), + (Ca = Qa), + (va = + o[ + (Ma + -1) | + (Ka = 0) + ]), + (Ma = + ((va = + Sa && + 3 == (15 & va) + ? -33 & va + : va) + + -88) | + 0) >>> + 0 <= + 32) + ) + break r + D: { + E: { + F: { + G: { + if ( + 6 < + (Ja = + (va + -65) | + 0) >>> + 0 + ) { + if ( + 83 != + (0 | va) + ) + break f + if (!Da) + break G + Ca = + q[ + (64 + + Ba) >> + 2 + ] + break E + } + switch ( + (Ja - 1) | + 0 + ) { + case 1: + break F + case 0: + case 2: + break f + default: + break q + } + } + _( + a, + 32, + Na, + (va = 0), + Fa + ) + break D + } + ;(q[ + (12 + Ba) >> 2 + ] = 0), + (q[ + (8 + Ba) >> 2 + ] = + q[ + (64 + Ba) >> 2 + ]), + (q[ + (64 + Ba) >> 2 + ] = 8 + Ba), + (Da = -1), + (Ca = + (8 + Ba) | 0) + } + va = 0 + H: { + for (;;) { + if ( + !(Ia = + q[Ca >> 2]) + ) + break H + if ( + (Ja = + (0 | + (Ia = Ea( + (4 + Ba) | + 0, + Ia + ))) < + 0) | + ((Da - va) >>> + 0 < + Ia >>> 0) + ) + break + if ( + ((Ca = + (Ca + 4) | 0), + !( + (va = + (va + Ia) | + 0) >>> + 0 < + Da >>> 0 + )) + ) + break H + } + if (((Ka = -1), Ja)) + break a + } + if ( + (_( + a, + 32, + Na, + va, + Fa + ), + va) + ) + for ( + Da = 0, + Ca = + q[ + (64 + Ba) >> + 2 + ]; + ; + + ) { + if ( + !(Ia = + q[Ca >> 2]) + ) + break D + if ( + (0 | va) < + (0 | + (Da = + ((Ia = Ea( + (4 + Ba) | + 0, + Ia + )) + + Da) | + 0)) + ) + break D + if ( + (Z( + a, + (4 + Ba) | 0, + Ia + ), + (Ca = + (Ca + 4) | 0), + !( + Da >>> 0 < + va >>> 0 + )) + ) + break + } + else va = 0 + } + _( + a, + 32, + Na, + va, + 8192 ^ Fa + ), + (va = + (0 | va) < (0 | Na) + ? Na + : va) + continue c + } + ;(q[(76 + Ba) >> 2] = Ca = + (va + 1) | 0), + (Fa = r[(va + 1) | 0]), + (va = Ca) + continue + } + break + } + switch ((Ma - 1) | 0) { + case 28: + break i + case 21: + break j + case 23: + break l + case 22: + break m + case 11: + case 16: + break n + case 10: + break o + case 26: + break p + case 8: + case 12: + case 13: + case 14: + break q + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 9: + case 15: + case 17: + case 18: + case 19: + case 20: + case 24: + case 25: + case 27: + case 29: + case 30: + break f + default: + break k + } + } + if (((Ka = Oa), a)) break a + if (!Ra) break e + for (va = 1; ; ) { + if ( + (a = + q[((va << 2) + ya) >> 2]) + ) { + if ( + (Ga( + ((va << 3) + xa) | 0, + a, + wa, + Aa + ), + 10 != + (0 | + (va = + (va + (Ka = 1)) | + 0))) + ) + continue + break a + } + break + } + if (((Ka = 1), 9 < va >>> 0)) + break a + if ( + ((Ka = -1), + q[((va << 2) + ya) >> 2]) + ) + break a + for ( + ; + !q[ + (((va = (va + 1) | 0) << + 2) + + ya) >> + 2 + ] && 10 != (0 | va); + + ); + Ka = va >>> 0 < 10 ? -1 : 1 + break a + } + va = + 0 | + n[za]( + a, + v[(64 + Ba) >> 3], + Na, + Da, + Fa, + va + ) + continue + } + ;(Ca = + (va = La( + (Ia = + (va = q[(64 + Ba) >> 2]) || + 3346), + Da + )) || (Da + Ia) | 0), + (Fa = Ja), + (Da = va ? (va - Ia) | 0 : Da) + break f + } + ;(o[(55 + Ba) | 0] = + q[(64 + Ba) >> 2]), + (Da = 1), + (Ia = Ta), + (Fa = Ja) + break f + } + if ( + ((va = Ja = q[(68 + Ba) >> 2]), + (Ia = q[(64 + Ba) >> 2]), + (0 | va) < -1 || + ((0 | va) <= -1 && + !(4294967295 < Ia >>> 0))) + ) { + ;(va = + (0 - ((va + (0 < Ia >>> 0)) | 0)) | + 0), + (q[(64 + Ba) >> 2] = Ia = + (0 - Ia) | 0), + (q[(68 + Ba) >> 2] = va), + (Ka = 1), + (Pa = 3336) + break h + } + if (2048 & Fa) { + ;(Ka = 1), (Pa = 3337) + break h + } + Pa = (Ka = 1 & Fa) ? 3338 : 3336 + break h + } + if ( + ((Ia = (function (a, Il, Rm) { + if (a | Il) + for ( + ; + (o[0 | (Rm = (Rm + -1) | 0)] = + (7 & a) | 48), + (a = + ((7 & Il) << 29) | + (a >>> 3)) | (Il >>>= 3); + + ); + return Rm + })( + q[(64 + Ba) >> 2], + q[(68 + Ba) >> 2], + Qa + )), + !(8 & Fa)) + ) + break g + Da = + (0 | (va = (Qa - Ia) | 0)) < (0 | Da) + ? Da + : (va + 1) | 0 + break g + } + ;(Da = 8 < Da >>> 0 ? Da : 8), + (Fa |= 8), + (va = 120) + } + if ( + ((Ia = (function (a, Il, Rm, Sm) { + if (a | Il) + for ( + ; + (o[0 | (Rm = (Rm + -1) | 0)] = + r[(3824 + (15 & a)) | 0] | Sm), + (a = + ((15 & Il) << 28) | (a >>> 4)) | + (Il >>>= 4); + + ); + return Rm + })( + q[(64 + Ba) >> 2], + q[(68 + Ba) >> 2], + Qa, + 32 & va + )), + !(8 & Fa) | + !(q[(64 + Ba) >> 2] | q[(68 + Ba) >> 2])) + ) + break g + ;(Pa = (3336 + (va >>> 4)) | 0), (Ka = 2) + break g + } + if (7 < (Ca = 255 & Sa) >>> (va = 0)) continue + switch ((Ca - 1) | 0) { + default: + case 0: + q[q[(64 + Ba) >> 2] >> 2] = Oa + continue + case 1: + ;(Ca = q[(64 + Ba) >> 2]), + (q[Ca >> 2] = Oa), + (q[(Ca + 4) >> 2] = Oa >> 31) + continue + case 2: + p[q[(64 + Ba) >> 2] >> 1] = Oa + continue + case 3: + o[q[(64 + Ba) >> 2]] = Oa + continue + case 5: + q[q[(64 + Ba) >> 2] >> 2] = Oa + continue + case 4: + continue + case 6: + } + ;(Ca = q[(64 + Ba) >> 2]), + (q[Ca >> 2] = Oa), + (q[(Ca + 4) >> 2] = Oa >> 31) + continue + } + ;(Ia = q[(64 + Ba) >> 2]), + (va = q[(68 + Ba) >> 2]), + (Pa = 3336) + } + Ia = ga(Ia, va, Qa) + } + ;(Fa = -1 < (0 | Da) ? -65537 & Fa : Fa), + (Da = + !!( + (Ja = va = q[(68 + Ba) >> 2]) | + (Ma = q[(64 + Ba) >> 2]) + ) | Da + ? (0 | + (va = (!(Ja | Ma) + ((Qa - Ia) | 0)) | 0)) < + (0 | Da) + ? Da + : va + : ((Ia = Qa), 0)) + } + _( + a, + 32, + (va = + (0 | Na) < + (0 | + (Ca = + ((Da = + (0 | Da) < (0 | (Ja = (Ca - Ia) | 0)) + ? Ja + : Da) + + Ka) | + 0)) + ? Ca + : Na), + Ca, + Fa + ), + Z(a, Pa, Ka), + _(a, 48, va, Ca, 65536 ^ Fa), + _(a, 48, Da, Ja, 0), + Z(a, Ia, Ja), + _(a, 32, va, Ca, 8192 ^ Fa) + continue + } + break + } + Ka = 0 + break a + } + Ka = -1 + } + return (L = (80 + Ba) | 0), Ka + } + function sa(a) { + var ya, + va = 0, + wa = 0, + xa = 0, + za = 0, + xa = 4, + wa = 1439 + a: if ((va = r[0 | a])) { + for ( + ; + !( + (0 | (ya = r[0 | wa])) != (0 | va) || + !(xa = (xa + -1) | 0) | !ya + ); + + ) + if ( + ((wa = (wa + 1) | 0), + (va = r[(a + 1) | 0]), + (a = (a + 1) | 0), + !va) + ) + break a + za = va + } + return ((255 & za) - r[0 | wa]) | 0 + } + function ta(a, Aa, Ea) { + var La, + Ga, + Ha = 0, + Ua = 0, + Va = 0 + ;(q[(L = Ga = (L - 240) | 0) >> 2] = a), (Ua = 1) + a: if (!((0 | Aa) < 2)) + for (Ha = a; ; ) { + if ( + ((Ha = + ((La = (Ha + -4) | 0) - + q[(((Va = (Aa + -2) | 0) << 2) + Ea) >> 2]) | + 0), + 0 <= (0 | n[5](a, Ha)) && -1 < (0 | n[5](a, La))) + ) + break a + if ( + ((a = ((Ua << 2) + Ga) | 0), + 0 <= (0 | n[5](Ha, La)) + ? ((q[a >> 2] = Ha), (Va = (Aa + -1) | 0)) + : (Ha = q[a >> 2] = La), + (Ua = (Ua + 1) | 0), + (0 | Va) < 2) + ) + break a + ;(a = q[Ga >> 2]), (Aa = Va) + } + Na(Ga, Ua), (L = (240 + Ga) | 0) + } + function ua(a) { + var Ea, + $a, + Aa = 0 + if ( + (x(0), + (function (a) { + var Vg, Wg + q[(a + 428) >> 2] && + ((Wg = q[(a + 332) >> 2]), + $(q[(a + 460) >> 2], q[(a + 436) >> 2], (Vg = Wg << 2)), + $(q[(a + 464) >> 2], q[(a + 440) >> 2], Vg), + $(q[(a + 468) >> 2], q[(a + 448) >> 2], Vg), + r[(q[a >> 2] + 4) | 0] < 4 || + ($( + q[(a + 472) >> 2], + q[(a + 452) >> 2], + (Vg = Wg << 4) + ), + $(q[(a + 476) >> 2], q[(a + 456) >> 2], Vg))) + })(a), + (function (a) { + var ke, + le, + me, + fe = 0, + ge = x(0), + he = x(0), + ie = 0, + je = x(0) + x(0), x(0) + if (1 <= (0 | (ie = q[a >> 2]))) + for ( + me = ((fe = q[(a + 4) >> 2]) + w(ie, 52)) | 0, + a = q[(a + 12) >> 2]; + (ge = u[a >> 2]), + u[(fe + 44) >> 2] != + (ge = (ke = q[(fe + 16) >> 2]) + ? ((he = ge), + (ge = u[(fe + 4) >> 2]), + (je = u[(fe + 12) >> 2]), + (he = x(x(he - ge) / je)), + (le = x(C(he))), + (ie = + x(y(le)) < x(2147483648) ? ~~le : -2147483648), + x(ge + x(je * x(he - x(0 | ie))))) + : ((je = u[(fe + 4) >> 2]), + (he = u[(fe + 8) >> 2]), + ge < je ? je : he < ge ? he : ge)) + ? ((u[(fe + 44) >> 2] = ge), + (q[(fe + 48) >> 2] = 1)) + : (q[(fe + 48) >> 2] = 0), + ke || (u[a >> 2] = ge), + (a = (a + 4) | 0), + (fe = (fe + 52) | 0) >>> 0 < me >>> 0; + + ); + })((a + 540) | 0), + (function (a) { + var Wd, + Xd, + ae, + ce, + de, + ee, + Rd = 0, + Sd = 0, + Td = x(0), + Ud = 0, + Vd = x(0), + Yd = (x(0), x(0), 0), + Zd = x(0), + _d = 0, + $d = 0, + be = 0 + x(0) + if (1 <= (0 | (Ud = q[(a + 540) >> 2]))) + for ( + de = ((Yd = q[(a + 544) >> 2]) + w(Ud, 52)) | 0, + ee = q[(a + 644) >> 2]; + ; + + ) { + a: if ( + !(q[Yd >> 2] || (0 | (Ud = q[(Yd + 32) >> 2])) < 1) + ) + if ( + ((ae = ((a = q[(Yd + 28) >> 2]) + w(Ud, 28)) | 0), + (ce = u[(Yd + 24) >> 2]), + (Xd = u[(Yd + 20) >> 2]), + (Wd = u[(Yd + 44) >> 2]), + ee) + ) + for (;;) { + Zd = x(($d = 0)) + h: { + i: { + j: { + if ((0 | (Sd = q[a >> 2])) < 1) Rd = Ud = 0 + else if ( + ((_d = q[(a + 4) >> 2]), + (Vd = u[_d >> 2]), + (Td = x(Vd - Xd)), + 1 == (0 | Sd)) + ) + (Ud = + ((Wd < x(Xd + Vd)) ^ 1) | + ((Td < Wd) ^ 1)), + (Rd = 0) + else { + if (Wd < Td) { + ;(Ud = 1), (Rd = 0) + break i + } + if (((Ud = 0), Wd < x(Xd + Vd))) Rd = 0 + else { + if ( + ((Rd = 1), + (Td = u[(_d + 4) >> 2]), + !(Wd < x(Xd + Td))) + ) + for (;;) { + if ( + (0 | Sd) == + (0 | (Rd = (Rd + 1) | 0)) + ) + break j + if ( + ((Vd = Td), + (Td = u[(_d + (Rd << 2)) >> 2]), + Wd < x(Xd + Td)) + ) + break + } + x(Td - Xd) < Wd || + ((Rd = (Rd + -1) | 0), + (Td = x(Td - Vd)) < ce) || + (Zd = x(x(Wd - Vd) / Td)) + } + } + if (Ud) break i + if (((_d = Sd = 1), q[(a + 16) >> 2])) + break h + break i + } + ;(Rd = (Sd + -1) | 0), (Ud = 1) + } + ;(_d = + ((Sd = (Vd = u[(a + 12) >> 2]) != Zd) & + ((Zd == x(0)) | (Vd == x(0)))) | + (q[(a + 8) >> 2] != (0 | Rd))), + ($d = Ud) + } + if ( + ((q[(a + 20) >> 2] = _d), + (q[(a + 24) >> 2] = Sd), + (u[(a + 12) >> 2] = Zd), + (q[(a + 16) >> 2] = $d), + (q[(a + 8) >> 2] = Rd), + !((a = (a + 28) | 0) >>> 0 < ae >>> 0)) + ) + break + } + else { + if (!q[(Yd + 48) >> 2]) + for (;;) + if ( + ((q[(a + 20) >> 2] = 0), + !( + (a = (a + 28) | (q[(a + 24) >> 2] = 0)) >>> + 0 < + ae >>> 0 + )) + ) + break a + for (;;) { + Zd = x(($d = 0)) + b: { + c: { + d: { + e: if ( + !( + ((Sd = 0) | (Rd = q[(_d = a) >> 2])) < + 1 + ) + ) { + if ( + ((Ud = q[(a + 4) >> 2]), + (Vd = u[Ud >> 2]), + (Td = x(Vd - Xd)), + 1 != (0 | Rd)) + ) { + if (!(Wd < Td)) { + if (((Sd = 0), Wd < x(Xd + Vd))) + break e + Sd = 1 + f: if ( + ((Td = u[(Ud + 4) >> 2]), + !(Wd < x(Xd + Td))) + ) { + for ( + Rd = (Rd + -1) | 0; + (Vd = Td), (0 | Rd) != (0 | Sd); + + ) + if ( + ((Td = + u[ + (Ud + + ((Sd = (Sd + 1) | 0) << + 2)) >> + 2 + ]), + Wd < x(Xd + Td)) + ) + break f + Ud = 1 + break c + } + if (((Ud = 0), x(Td - Xd) < Wd)) { + Rd = Sd + break d + } + if ( + ((Rd = (Sd + -1) | 0), + (Td = x(Td - Vd)) < ce) + ) + break d + Zd = x(x(Wd - Vd) / Td) + break d + } + ;(Ud = 1), (Rd = 0) + break c + } + Sd = + ((Wd < x(Xd + Vd)) ^ 1) | + ((Td < Wd) ^ 1) + } + ;(Ud = Sd), (Rd = 0) + } + if (!Ud && ((be = Sd = 1), q[(a + 16) >> 2])) + break b + } + ;($d = Ud), + (be = + ((Sd = (Vd = u[(a + 12) >> 2]) != Zd) & + ((Zd == x(0)) | (Vd == x(0)))) | + (q[(a + 8) >> 2] != (0 | Rd))) + } + if ( + ((q[(_d + 20) >> 2] = be), + (q[(a + 24) >> 2] = Sd), + (u[(a + 12) >> 2] = Zd), + (q[(a + 16) >> 2] = $d), + (q[(a + 8) >> 2] = Rd), + !((a = (a + 28) | 0) >>> 0 < ae >>> 0)) + ) + break + } + } + if (!((Yd = (Yd + 52) | 0) >>> 0 < de >>> 0)) break + } + })(a), + (function (a) { + var rd, + sd, + td, + ud, + vd, + kd = 0, + ld = x(0), + md = 0, + nd = 0, + od = x(0), + pd = 0, + qd = x(0) + x(0) + if ( + !( + r[(q[a >> 2] + 4) | 0] < 4 || + (0 | (kd = q[(a + 540) >> 2])) < 1 + ) + ) + for ( + ud = ((pd = q[(a + 544) >> 2]) + w(kd, 52)) | 0, + vd = q[(a + 644) >> 2]; + ; + + ) { + b: if ( + 1 == q[pd >> 2] && + !((0 | (kd = q[(pd + 40) >> 2])) < 1) + ) + if ( + ((sd = ((a = q[(pd + 36) >> 2]) + w(kd, 28)) | 0), + (rd = u[(pd + 44) >> 2]), + vd) + ) + for (;;) { + qd = x((kd = 0)) + d: if ( + !( + (0 | (nd = q[a >> 2])) < 2 || + ((md = q[(a + 4) >> 2]), + rd <= (ld = u[md >> 2])) + ) + ) { + kd = 1 + e: if (!(rd < (od = u[(md + 4) >> 2]))) { + for ( + ; + (ld = od), + (0 | nd) != (0 | (kd = (kd + 1) | 0)); + + ) + if (rd < (od = u[(md + (kd << 2)) >> 2])) + break e + kd = (nd + -1) | 0 + break d + } + ;(qd = x(x(rd - ld) / x(od - ld))), + (kd = (kd + -1) | 0) + } + if ( + ((ld = u[(a + 16) >> 2]), + (u[(a + 16) >> 2] = qd), + (nd = q[(a + 12) >> 2]), + (q[(a + 12) >> 2] = kd), + (q[(a + 24) >> 2] = md = ld != qd), + (q[(a + 20) >> 2] = + (md & ((qd == x(0)) | (ld == x(0)))) | + ((0 | kd) != (0 | nd))), + !((a = (a + 28) | 0) >>> 0 < sd >>> 0)) + ) + break + } + else { + if (!q[(pd + 48) >> 2]) + for (;;) + if ( + ((q[(a + 20) >> 2] = 0), + !( + (a = (a + 28) | (q[(a + 24) >> 2] = 0)) >>> + 0 < + sd >>> 0 + )) + ) + break b + for (;;) { + qd = x((nd = 0)) + c: if ( + !( + (0 | (td = q[a >> 2])) < 2 || + ((md = q[(a + 4) >> 2]), + rd <= (ld = u[md >> 2])) + ) + ) { + if (((kd = 1), !(rd < (od = u[(md + 4) >> 2])))) + for (nd = (td + -1) | 0; ; ) { + if (((ld = od), (0 | kd) == (0 | nd))) + break c + if ( + rd < + (od = + u[ + (md + ((kd = (kd + 1) | 0) << 2)) >> 2 + ]) + ) + break + } + ;(qd = x(x(rd - ld) / x(od - ld))), + (nd = (kd + -1) | 0) + } + if ( + ((ld = u[(a + 16) >> 2]), + (u[(a + 16) >> 2] = qd), + (kd = q[(a + 12) >> 2]), + (q[(a + 12) >> 2] = nd), + (q[(a + 24) >> 2] = md = ld != qd), + (q[(a + 20) >> 2] = + (md & ((qd == x(0)) | (ld == x(0)))) | + ((0 | kd) != (0 | nd))), + !((a = (a + 28) | 0) >>> 0 < sd >>> 0)) + ) + break + } + } + if (!((pd = (pd + 52) | 0) >>> 0 < ud >>> 0)) break + } + })(a), + (function (a) { + var Id, + Jd, + Md, + Nd, + Od, + Pd, + Qd, + wd = 0, + xd = 0, + yd = 0, + zd = 0, + Ad = 0, + Bd = 0, + Cd = 0, + Dd = x(0), + Ed = 0, + Gd = 0, + Hd = 0, + Kd = 0, + Ld = 0 + if (1 <= (0 | (xd = q[(a + 564) >> 2]))) + for ( + Pd = ((Ad = q[(a + 568) >> 2]) + w(xd, 36)) | 0, + Nd = q[(a + 644) >> 2]; + ; + + ) { + a: { + if ( + !(Bd = + ((yd = zd = xd = 0) | (Jd = q[(Ad + 4) >> 2])) < + 1) + ) + for (Ed = q[Ad >> 2], a = Kd = 0; ; ) { + if ( + ((wd = q[(Ed + (a << 2)) >> 2]), + q[(wd + 16) >> 2]) + ) { + ;(wd = 1), (Ld = 0) + break a + } + if ( + ((yd = yd || q[(wd + 24) >> 2]), + (xd = xd || q[(wd + 20) >> 2]), + (zd = ((u[(wd + 12) >> 2] != x(0)) + zd) | 0), + (0 | Jd) == (0 | (a = (a + 1) | 0))) + ) + break + } + if ( + ((wd = 0), + (Kd = Nd ? 1 : yd) | (Ld = Nd ? 1 : xd) && + ((q[(Ad + 12) >> 2] = Ed = 1 << zd), + 31 != (0 | zd))) + ) { + for ( + xd = q[(Ad + 20) >> 2], + Od = q[Ad >> 2], + yd = + ((a = q[(Ad + 16) >> 2]) + (Cd = Ed << 2)) | + 0, + yd = ca( + a, + 0, + (4 + + (((-1 ^ a) + + ((a = (a + 4) | 0) >>> 0 < yd >>> 0 + ? yd + : a)) | + 0)) & + -4 + ), + Cd = (xd + Cd) | 0, + a = xd; + (q[a >> 2] = 1065353216), + (a = (a + 4) | 0) >>> 0 < Cd >>> 0; + + ); + if (!Bd) { + if (((Bd = 0), (Cd = wd = 1), zd)) + for (;;) { + if ( + ((zd = q[((Bd << 2) + Od) >> 2]), + (Gd = q[(zd + 8) >> 2]), + (Hd = w(Gd, wd)), + (Dd = u[(zd + 12) >> 2]) != x((a = 0))) + ) { + for ( + q[yd >> 2] = Hd + q[yd >> 2], + u[xd >> 2] = x(x(1) - Dd) * u[xd >> 2], + Gd = w((Gd + (a = 1)) | 0, wd); + (Dd = u[(zd + 12) >> 2]), + (Qd = + q[ + (Md = ((Id = a << 2) + yd) | 0) >> 2 + ]), + (q[Md >> 2] = + Qd + ((Md = a & Cd) ? Gd : Hd)), + (u[(Id = (xd + Id) | 0) >> 2] = + (Md ? Dd : x(x(1) - Dd)) * + u[Id >> 2]), + (0 | Ed) != (0 | (a = (a + 1) | 0)); + + ); + Cd <<= 1 + } else + for ( + ; + (q[(Gd = (yd + (a << 2)) | 0) >> 2] = + Hd + q[Gd >> 2]), + (0 | Ed) != (0 | (a = (a + 1) | 0)); + + ); + if ( + ((wd = w(q[zd >> 2], wd)), + (0 | Jd) == (0 | (Bd = (Bd + 1) | 0))) + ) + break + } + else + for (;;) { + if ( + ((zd = q[((Bd << 2) + Od) >> 2]), + (Cd = w(q[(zd + 8) >> 2], wd)), + (Dd = u[(zd + 12) >> 2]) != x((a = 0))) + ) + (q[yd >> 2] = Cd + q[yd >> 2]), + (u[xd >> 2] = x(x(1) - Dd) * u[xd >> 2]) + else + for ( + ; + (q[(Hd = (yd + (a << 2)) | 0) >> 2] = + Cd + q[Hd >> 2]), + (0 | Ed) != (0 | (a = (a + 1) | 0)); + + ); + if ( + ((wd = w(q[zd >> 2], wd)), + (0 | Jd) == (0 | (Bd = (Bd + 1) | 0))) + ) + break + } + wd = 0 + } + } + } + if ( + ((q[(Ad + 32) >> 2] = wd), + (q[(Ad + 24) >> 2] = Ld), + (q[(Ad + 28) >> 2] = Kd), + !((Ad = (Ad + 36) | 0) >>> 0 < Pd >>> 0)) + ) + break + } + })(a), + (function (a) { + var gd, + hd, + id, + jd, + Wc = x(0), + Xc = 0, + Yc = 0, + Zc = 0, + _c = 0, + $c = 0, + ad = x(0), + bd = x(0), + cd = x(0), + dd = 0, + ed = 0, + fd = 0 + if ( + !( + r[(q[a >> 2] + 4) | 0] < 4 || + (0 | (Xc = q[(a + 588) >> 2])) < 1 + ) + ) + for ( + jd = ((Zc = q[(a + 592) >> 2]) + w(Xc, 48)) | 0, + gd = q[(a + 644) >> 2]; + ; + + ) { + if ( + ((a = q[Zc >> 2]), + (ed = gd ? 1 : q[(a + 20) >> 2]) | + (fd = gd ? 1 : q[(a + 24) >> 2])) + ) { + c: { + d: { + ;($c = Zc), + (_c = q[(a + 8) >> 2]), + (Xc = q[(a + 12) >> 2]), + (Wc = u[(a + 16) >> 2]), + (a = (0 | _c) != (0 | Xc)) + e: { + if (Wc != x(0)) { + if ( + ((a = (Xc + 1) | 0), (0 | Xc) == (0 | _c)) + ) { + ;(q[(Zc + 8) >> 2] = ed = 1), + (Wc = x(x(1) - Wc)), + (fd = 1) + break e + } + a = (0 | a) == (0 | _c) ? 1 : 2 + } + if (((q[($c + 8) >> 2] = a), !fd)) break d + a = Xc + } + ;(u[(Zc + 24) >> 2] = Wc), + (u[(Zc + 20) >> 2] = x(1) - Wc) + break c + } + ;(fd = 0), (a = Xc) + } + ed + ? ((q[(Zc + 12) >> 2] = a), + (q[(Zc + 16) >> 2] = a + 1)) + : (ed = 0) + } else ed = fd = 0 + g: if ((0 | (hd = q[(Zc + 36) >> 2])) < 1) cd = x(1) + else { + if ( + ((id = q[(Zc + 40) >> 2]), + (a = 0), + (cd = x(1)), + !gd) + ) + for (;;) { + h: { + i: { + if ( + ((Xc = q[((a << 2) + id) >> 2]), + (Yc = q[Xc >> 2])) + ) { + if (!q[(Yc + 48) >> 2]) { + Wc = u[(Xc + 16) >> 2] + break h + } + if ((0 | (_c = q[(Xc + 12) >> 2])) < 1) { + ;(Wc = x(1)), (u[(Xc + 16) >> 2] = 1) + break h + } + if ( + ((dd = q[(Xc + 8) >> 2]), + 1 != (0 | _c) && + ((ad = u[(Yc + 44) >> 2]), + ($c = q[(Xc + 4) >> 2]), + !(ad <= (bd = u[$c >> 2])))) + ) + break i + ;(Wc = u[dd >> 2]), (u[(Xc + 16) >> 2] = Wc) + break h + } + ;(q[(Xc + 16) >> 2] = 1065353216), (Wc = x(1)) + break h + } + Yc = 1 + j: if (!(ad < (Wc = u[($c + 4) >> 2]))) { + for ( + ; + (bd = Wc), + (0 | _c) != (0 | (Yc = (Yc + 1) | 0)); + + ) + if (ad < (Wc = u[($c + (Yc << 2)) >> 2])) + break j + ;(Wc = u[(((dd + (_c << 2)) | 0) - 4) >> 2]), + (u[(Xc + 16) >> 2] = Wc) + break h + } + ;($c = Xc), + (Wc = x(x(ad - bd) / x(Wc - bd))), + (Wc = x( + x( + Wc * u[(Xc = (dd + (Yc << 2)) | 0) >> 2] + ) + x(u[(Xc + -4) >> 2] * x(x(1) - Wc)) + )), + (u[($c + 16) >> 2] = Wc) + } + if ( + ((cd = cd < Wc ? cd : Wc), + (0 | hd) == (0 | (a = (a + 1) | 0))) + ) + break g + } + for (;;) { + ;(Xc = q[((a << 2) + id) >> 2]), + (Yc = q[Xc >> 2]), + (Wc = x(1)) + l: if ( + Yc && + ((dd = q[(Xc + 12) >> 2]), + (Wc = x(1)), + !((0 | dd) < 1)) && + ((_c = q[(Xc + 8) >> 2]), + (Wc = u[_c >> 2]), + 1 != (0 | dd)) + ) { + m: { + if ( + ((ad = u[(Yc + 44) >> 2]), + ($c = q[(Xc + 4) >> 2]), + ad <= (bd = u[$c >> 2])) + ) { + Wc = u[_c >> 2] + break l + } + if ( + ((Yc = 1), !(ad < (Wc = u[($c + 4) >> 2]))) + ) { + for ( + ; + (bd = Wc), + (0 | dd) != (0 | (Yc = (Yc + 1) | 0)); + + ) + if (ad < (Wc = u[($c + (Yc << 2)) >> 2])) + break m + Wc = u[(((_c + (dd << 2)) | 0) - 4) >> 2] + break l + } + } + ;(Wc = x(x(ad - bd) / x(Wc - bd))), + (Wc = x( + x(Wc * u[(Yc = (_c + (Yc << 2)) | 0) >> 2]) + + x(u[(Yc + -4) >> 2] * x(x(1) - Wc)) + )) + } + if ( + ((cd = cd < (u[(Xc + 16) >> 2] = Wc) ? cd : Wc), + (0 | hd) == (0 | (a = (a + 1) | 0))) + ) + break + } + } + if ( + ((q[(Zc + 32) >> 2] = fd), + (q[(Zc + 28) >> 2] = ed), + (u[(Zc + 44) >> 2] = cd), + !((Zc = (Zc + 48) | 0) >>> 0 < jd >>> 0)) + ) + break + } + })(a), + 1 <= (0 | (Ea = q[(a + 4) >> 2]))) + ) + for ( + Ea = ((Aa = q[(a + 52) >> 2]) + (Ea << 2)) | 0; + ($a = u[Aa >> 2]), + (u[Aa >> 2] = $a < x(0) ? x(0) : x(A($a, x(1)))), + (Aa = (Aa + 4) | 0) >>> 0 < Ea >>> 0; + + ); + !(function (a) { + var Fe, + Ge, + He, + De = 0, + Ee = 0 + if (1 <= (0 | (Ee = q[(a + 4) >> 2]))) + for ( + He = ((De = q[(a + 8) >> 2]) + w(Ee, 12)) | 0, + a = Fe = q[(a + 40) >> 2]; + (Ee = 0), + q[(De + 8) >> 2] && + ((Ge = q[(De + 4) >> 2]), + (!q[((Ge << 2) + Fe) >> 2] && -1 != (0 | Ge)) || + (Ee = !q[(q[De >> 2] + 32) >> 2])), + (q[a >> 2] = Ee), + (a = (a + 4) | 0), + (De = (De + 12) | 0) >>> 0 < He >>> 0; + + ); + })(a), + (function (a) { + var rg, + vg, + wg, + xg, + yg, + zg, + Ag, + pg = 0, + qg = 0, + sg = 0, + tg = 0, + ug = 0 + if (1 <= (0 | (vg = q[(a + 4) >> 2]))) + for ( + xg = q[(a + 8) >> 2], + wg = q[a >> 2], + yg = q[(wg + 724) >> 2]; + ; + + ) { + if ( + ((rg = q[(w(tg, 12) + xg) >> 2]), + (q[(rg + 28) >> 2] || q[(rg + 24) >> 2]) && + ((q[((pg = tg << 2) + q[(a + 28) >> 2]) >> 2] = + q[(rg + 12) >> 2]), + q[(rg + 24) >> 2]) && + !((0 | (sg = q[(rg + 12) >> 2])) < 1)) + ) + for ( + sg = ((qg = q[(rg + 16) >> 2]) + (sg << 2)) | 0, + zg = q[(pg + yg) >> 2], + pg = (q[(a + 36) >> 2] + (ug << 2)) | 0, + Ag = q[(wg + 976) >> 2]; + (q[pg >> 2] = + q[(((q[qg >> 2] + zg) << 2) + Ag) >> 2]), + (pg = (pg + 4) | 0), + (qg = (qg + 4) | 0) >>> 0 < sg >>> 0; + + ); + if ( + q[(rg + 28) >> 2] && + !((0 | (pg = q[(rg + 12) >> 2])) < 1) + ) + for ( + sg = ((qg = q[(rg + 20) >> 2]) + (pg << 2)) | 0, + pg = (q[(a + 32) >> 2] + (ug << 2)) | 0; + (q[pg >> 2] = q[qg >> 2]), + (pg = (pg + 4) | 0), + (qg = (qg + 4) | 0) >>> 0 < sg >>> 0; + + ); + if ( + ((ug = (q[(rg + 8) >> 2] + ug) | 0), + (0 | vg) == (0 | (tg = (tg + 1) | 0))) + ) + break + } + })(a), + n[q[1808]]( + (a + 12) | 0, + q[(a + 36) >> 2], + q[(a + 44) >> 2], + q[(a + 40) >> 2] + ), + (function (a) { + var xe, + ye, + ze, + Ae, + Be, + Ce, + ue = 0, + ve = 0, + we = 0 + if (1 <= (0 | (we = q[(a + 304) >> 2]))) + for ( + ze = ((ue = q[(a + 308) >> 2]) + (we << 5)) | 0, + Ae = q[(a + 264) >> 2], + Be = q[(a + 144) >> 2], + Ce = q[(a + 40) >> 2], + we = ye = q[(a + 312) >> 2]; + (xe = we), + (ve = 0), + (a = ve = + !q[(ue + 28) >> 2] || + (-1 != (0 | (a = q[(ue + 4) >> 2])) && + ((ve = 0), !q[((a << 2) + Ce) >> 2])) || + (-1 != (0 | (a = q[(ue + 8) >> 2])) && + ((ve = 0), !q[((a << 2) + ye) >> 2])) + ? ve + : !q[(q[ue >> 2] + 32) >> 2]), + (q[xe >> 2] = a), + (xe = q[(ue + 12) >> 2]) >>> 0 <= 1 + ? xe - 1 + ? (q[((q[(ue + 16) >> 2] << 2) + Be) >> 2] = a) + : (q[((q[(ue + 16) >> 2] << 2) + Ae) >> 2] = a) + : Y(4, 1372, 0), + (we = (we + 4) | 0), + (ue = (ue + 32) | 0) >>> 0 < ze >>> 0; + + ); + })(a), + (function (a) { + var gg, + hg, + ig, + jg, + kg, + lg, + mg, + ng, + og, + Uf = 0, + Vf = 0, + Wf = 0, + Xf = 0, + Yf = 0, + Zf = 0, + _f = 0, + $f = 0, + ag = 0, + bg = 0, + cg = 0, + dg = 0, + eg = 0, + fg = 0, + Yf = q[a >> 2] + if (1 <= (0 | ($f = q[(a + 56) >> 2]))) { + for ( + ag = q[(a + 60) >> 2], + bg = q[(Yf + 1052) >> 2], + cg = q[(Yf + 784) >> 2]; + ; + + ) { + if ( + ((Uf = q[(ag + w(Zf, 24)) >> 2]), + (q[(Uf + 28) >> 2] || q[(Uf + 24) >> 2]) && + ((q[((Vf = Zf << 2) + q[(a + 80) >> 2]) >> 2] = + q[(Uf + 12) >> 2]), + q[(Uf + 24) >> 2]) && + !((0 | (Xf = q[(Uf + 12) >> 2])) < 1)) + ) + for ( + dg = ((Wf = q[(Uf + 16) >> 2]) + (Xf << 2)) | 0, + eg = q[(Vf + cg) >> 2], + Vf = ((Xf = _f << 2) + q[(a + 92) >> 2]) | 0, + Xf = (Xf + q[(a + 88) >> 2]) | 0; + (fg = (eg + q[Wf >> 2]) << 2), + (q[Vf >> 2] = + bg + (q[(fg + q[(Yf + 984) >> 2]) >> 2] << 2)), + (q[Xf >> 2] = q[(fg + q[(Yf + 980) >> 2]) >> 2]), + (Xf = (Xf + 4) | 0), + (Vf = (Vf + 4) | 0), + (Wf = (Wf + 4) | 0) >>> 0 < dg >>> 0; + + ); + if ( + q[(Uf + 28) >> 2] && + !((0 | (Vf = q[(Uf + 12) >> 2])) < 1) + ) + for ( + Xf = ((Wf = q[(Uf + 20) >> 2]) + (Vf << 2)) | 0, + Vf = (q[(a + 84) >> 2] + (_f << 2)) | 0; + (q[Vf >> 2] = q[Wf >> 2]), + (Vf = (Vf + 4) | 0), + (Wf = (Wf + 4) | 0) >>> 0 < Xf >>> 0; + + ); + if ( + ((_f = (q[(Uf + 8) >> 2] + _f) | 0), + (0 | $f) == (0 | (Zf = (Zf + 1) | 0))) + ) + break + } + Yf = q[a >> 2] + } + if ( + !( + r[(Yf + 4) | 0] < 4 || (0 | (eg = q[(a + 56) >> 2])) < 1 + ) + ) + for ( + fg = q[(Yf + 792) >> 2], + gg = q[(a + 60) >> 2], + Wf = _f = 0; + ; + + ) { + if ( + ((Zf = q[(w(Wf, 24) + gg) >> 2]), + q[(Zf + 24) >> 2] && + !((0 | (Uf = q[(Zf + 12) >> 2])) < 1)) + ) + for ( + hg = ((Vf = q[(Zf + 16) >> 2]) + (Uf << 2)) | 0, + ig = q[(fg + (Wf << 2)) >> 2], + Xf = ((Uf = _f << 2) + q[(a + 96) >> 2]) | 0, + $f = (Uf + q[(a + 100) >> 2]) | 0, + ag = (Uf + q[(a + 104) >> 2]) | 0, + bg = (Uf + q[(a + 108) >> 2]) | 0, + cg = (Uf + q[(a + 112) >> 2]) | 0, + dg = (Uf + q[(a + 116) >> 2]) | 0, + jg = q[(Yf + 1308) >> 2], + kg = q[(Yf + 1304) >> 2], + lg = q[(Yf + 1300) >> 2], + mg = q[(Yf + 1296) >> 2], + ng = q[(Yf + 1292) >> 2], + og = q[(Yf + 1288) >> 2]; + (Uf = (q[Vf >> 2] + ig) << 2), + (q[Xf >> 2] = q[(Uf + og) >> 2]), + (q[$f >> 2] = q[(Uf + ng) >> 2]), + (q[ag >> 2] = q[(Uf + mg) >> 2]), + (q[bg >> 2] = q[(Uf + lg) >> 2]), + (q[cg >> 2] = q[(Uf + kg) >> 2]), + (q[dg >> 2] = q[(Uf + jg) >> 2]), + (dg = (dg + 4) | 0), + (cg = (cg + 4) | 0), + (bg = (bg + 4) | 0), + (ag = (ag + 4) | 0), + ($f = ($f + 4) | 0), + (Xf = (Xf + 4) | 0), + (Vf = (Vf + 4) | 0) >>> 0 < hg >>> 0; + + ); + if ( + ((_f = (q[(Zf + 8) >> 2] + _f) | 0), + (0 | eg) == (0 | (Wf = (Wf + 1) | 0))) + ) + break + } + })(a), + (function (a) { + var xf = 0, + yf = 0, + Af = 0, + Bf = 0, + Cf = 0, + Df = 0, + Ef = 0, + Ff = 0, + Gf = 0, + Hf = 0, + If = 0, + Jf = 0, + Kf = 0, + Lf = 0, + Mf = 0, + Nf = 0, + Of = 0, + Pf = 0, + Qf = 0, + Rf = 0, + Sf = 0, + Tf = q[(a + 168) >> 2], + zf = q[a >> 2] + if (1 <= (0 | (Kf = q[(a + 164) >> 2]))) + for (Mf = q[(zf + 816) >> 2]; ; ) { + if ( + ((Af = q[(w(Ef, 12) + Tf) >> 2]), + (q[(Af + 28) >> 2] || q[(Af + 24) >> 2]) && + ((q[((Ff = Ef << 2) + q[(a + 188) >> 2]) >> 2] = + q[(Af + 12) >> 2]), + q[(Af + 24) >> 2])) + ) { + if ( + ((yf = q[(Af + 16) >> 2]), + (Lf = q[(Ff + Mf) >> 2]), + 1 <= (0 | (xf = q[(Af + 12) >> 2]))) + ) + for ( + Nf = (yf + (xf << 2)) | 0, + Bf = ((xf = Df << 2) + q[(a + 200) >> 2]) | 0, + Gf = (xf + q[(a + 204) >> 2]) | 0, + Hf = (xf + q[(a + 208) >> 2]) | 0, + If = (xf + q[(a + 212) >> 2]) | 0, + Jf = (xf + q[(a + 196) >> 2]) | 0, + Of = q[(zf + 996) >> 2], + Pf = q[(zf + 1012) >> 2], + Qf = q[(zf + 1008) >> 2], + Rf = q[(zf + 1004) >> 2], + Sf = q[(zf + 1e3) >> 2], + xf = yf; + (Cf = (Lf + q[xf >> 2]) << 2), + (q[Bf >> 2] = q[(Cf + Sf) >> 2]), + (q[Gf >> 2] = q[(Cf + Rf) >> 2]), + (q[Hf >> 2] = q[(Cf + Qf) >> 2]), + (q[If >> 2] = q[(Cf + Pf) >> 2]), + (q[Jf >> 2] = q[(Cf + Of) >> 2]), + (Jf = (Jf + 4) | 0), + (If = (If + 4) | 0), + (Hf = (Hf + 4) | 0), + (Gf = (Gf + 4) | 0), + (Bf = (Bf + 4) | 0), + (xf = (xf + 4) | 0) >>> 0 < Nf >>> 0; + + ); + ;(xf = (Lf + q[yf >> 2]) << 2), + (q[(Ff + q[(a + 288) >> 2]) >> 2] = + q[(xf + q[(zf + 1016) >> 2]) >> 2]), + (q[(Ff + q[(a + 292) >> 2]) >> 2] = + q[(xf + q[(zf + 1020) >> 2]) >> 2]) + } + if ( + q[(Af + 28) >> 2] && + !((0 | (yf = q[(Af + 12) >> 2])) < 1) + ) + for ( + yf = ((xf = q[(Af + 20) >> 2]) + (yf << 2)) | 0, + Bf = (q[(a + 192) >> 2] + (Df << 2)) | 0; + (q[Bf >> 2] = q[xf >> 2]), + (Bf = (Bf + 4) | 0), + (xf = (xf + 4) | 0) >>> 0 < yf >>> 0; + + ); + if ( + ((Df = (q[(Af + 8) >> 2] + Df) | 0), + (0 | Kf) == (0 | (Ef = (Ef + 1) | 0))) + ) + break + } + if ( + !( + r[(zf + 4) | 0] < 4 || + (0 | (Ff = q[(a + 164) >> 2])) < 1 + ) + ) + for (Lf = q[(zf + 824) >> 2], Df = Af = 0; ; ) { + if ( + ((Cf = q[(w(Df, 12) + Tf) >> 2]), + q[(Cf + 24) >> 2] && + !((0 | (xf = q[(Cf + 12) >> 2])) < 1)) + ) + for ( + Kf = ((Bf = q[(Cf + 16) >> 2]) + (xf << 2)) | 0, + Mf = q[(Lf + (Df << 2)) >> 2], + Gf = ((yf = Af << 2) + q[(a + 216) >> 2]) | 0, + Hf = (yf + q[(a + 220) >> 2]) | 0, + If = (yf + q[(a + 224) >> 2]) | 0, + Jf = (yf + q[(a + 228) >> 2]) | 0, + xf = (yf + q[(a + 232) >> 2]) | 0, + Ef = (yf + q[(a + 236) >> 2]) | 0, + Nf = q[(zf + 1308) >> 2], + Of = q[(zf + 1304) >> 2], + Pf = q[(zf + 1300) >> 2], + Qf = q[(zf + 1296) >> 2], + Rf = q[(zf + 1292) >> 2], + Sf = q[(zf + 1288) >> 2]; + (yf = (Mf + q[Bf >> 2]) << 2), + (q[Gf >> 2] = q[(yf + Sf) >> 2]), + (q[Hf >> 2] = q[(yf + Rf) >> 2]), + (q[If >> 2] = q[(yf + Qf) >> 2]), + (q[Jf >> 2] = q[(yf + Pf) >> 2]), + (q[xf >> 2] = q[(yf + Of) >> 2]), + (q[Ef >> 2] = q[(yf + Nf) >> 2]), + (Ef = (Ef + 4) | 0), + (xf = (xf + 4) | 0), + (Jf = (Jf + 4) | 0), + (If = (If + 4) | 0), + (Hf = (Hf + 4) | 0), + (Gf = (Gf + 4) | 0), + (Bf = (Bf + 4) | 0) >>> 0 < Kf >>> 0; + + ); + if ( + ((Af = (q[(Cf + 8) >> 2] + Af) | 0), + (0 | Ff) == (0 | (Df = (Df + 1) | 0))) + ) + break + } + })(a), + (function (a) { + var yk, + qk = 0, + rk = 0, + sk = 0, + tk = 0, + uk = 0, + vk = 0, + wk = 0, + xk = 0, + qk = (a - -64) | 0 + if ( + (n[q[1807]]( + qk, + q[(a + 88) >> 2], + q[(a + 148) >> 2], + q[(a + 144) >> 2] + ), + n[q[1809]]( + qk, + q[(a + 92) >> 2], + q[(a + 152) >> 2], + q[(q[a >> 2] + 796) >> 2], + 2, + q[(a + 144) >> 2] + ), + !( + r[(q[a >> 2] + 4) | 0] < 4 || + (n[q[1807]]( + qk, + q[(a + 96) >> 2], + q[(a + 120) >> 2], + q[(a + 144) >> 2] + ), + n[q[1807]]( + qk, + q[(a + 100) >> 2], + q[(a + 124) >> 2], + q[(a + 144) >> 2] + ), + n[q[1807]]( + qk, + q[(a + 104) >> 2], + q[(a + 128) >> 2], + q[(a + 144) >> 2] + ), + n[q[1807]]( + qk, + q[(a + 108) >> 2], + q[(a + 132) >> 2], + q[(a + 144) >> 2] + ), + n[q[1807]]( + qk, + q[(a + 112) >> 2], + q[(a + 136) >> 2], + q[(a + 144) >> 2] + ), + n[q[1807]]( + qk, + q[(a + 116) >> 2], + q[(a + 140) >> 2], + q[(a + 144) >> 2] + ), + (0 | (vk = q[(a + 56) >> 2])) < 1) + )) + ) { + for ( + wk = q[(a + 128) >> 2], + xk = q[(a + 124) >> 2], + yk = q[(a + 120) >> 2], + rk = q[(a + 156) >> 2], + qk = 0; + (q[((sk = tk << 2) + rk) >> 2] = + q[((uk = qk << 2) + yk) >> 2]), + (q[(rk + (4 | sk)) >> 2] = q[(uk + xk) >> 2]), + (q[(rk + (8 | sk)) >> 2] = q[(uk + wk) >> 2]), + (tk = (tk + 4) | 0), + (0 | vk) != (0 | (qk = (qk + 1) | 0)); + + ); + for ( + rk = q[(a + 160) >> 2], + uk = q[(a + 140) >> 2], + wk = q[(a + 136) >> 2], + xk = q[(a + 132) >> 2], + qk = a = 0; + (q[((tk = a << 2) + rk) >> 2] = + q[((sk = qk << 2) + xk) >> 2]), + (q[(rk + (4 | tk)) >> 2] = q[(sk + wk) >> 2]), + (q[(rk + (8 | tk)) >> 2] = q[(sk + uk) >> 2]), + (a = (a + 4) | 0), + (0 | vk) != (0 | (qk = (qk + 1) | 0)); + + ); + } + })(a), + (function (a) { + var pk, + hk = 0, + ik = 0, + jk = 0, + kk = 0, + lk = 0, + mk = 0, + nk = 0, + ok = 0, + hk = (a + 172) | 0 + if ( + (n[q[1807]]( + hk, + q[(a + 196) >> 2], + q[(a + 268) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 200) >> 2], + q[(a + 284) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 204) >> 2], + q[(a + 276) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 208) >> 2], + q[(a + 280) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 212) >> 2], + q[(a + 272) >> 2], + q[(a + 264) >> 2] + ), + !( + r[(q[a >> 2] + 4) | 0] < 4 || + (n[q[1807]]( + hk, + q[(a + 216) >> 2], + q[(a + 240) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 220) >> 2], + q[(a + 244) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 224) >> 2], + q[(a + 248) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 228) >> 2], + q[(a + 252) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 232) >> 2], + q[(a + 256) >> 2], + q[(a + 264) >> 2] + ), + n[q[1807]]( + hk, + q[(a + 236) >> 2], + q[(a + 260) >> 2], + q[(a + 264) >> 2] + ), + (0 | (mk = q[(a + 164) >> 2])) < 1) + )) + ) { + for ( + nk = q[(a + 248) >> 2], + ok = q[(a + 244) >> 2], + pk = q[(a + 240) >> 2], + ik = q[(a + 296) >> 2], + hk = 0; + (q[((jk = kk << 2) + ik) >> 2] = + q[((lk = hk << 2) + pk) >> 2]), + (q[(ik + (4 | jk)) >> 2] = q[(lk + ok) >> 2]), + (q[(ik + (8 | jk)) >> 2] = q[(lk + nk) >> 2]), + (kk = (kk + 4) | 0), + (0 | mk) != (0 | (hk = (hk + 1) | 0)); + + ); + for ( + ik = q[(a + 300) >> 2], + lk = q[(a + 260) >> 2], + nk = q[(a + 256) >> 2], + ok = q[(a + 252) >> 2], + hk = a = 0; + (q[((kk = a << 2) + ik) >> 2] = + q[((jk = hk << 2) + ok) >> 2]), + (q[(ik + (4 | kk)) >> 2] = q[(jk + nk) >> 2]), + (q[(ik + (8 | kk)) >> 2] = q[(jk + lk) >> 2]), + (a = (a + 4) | 0), + (0 | mk) != (0 | (hk = (hk + 1) | 0)); + + ); + } + })(a), + (function (a) { + var re, + se, + te, + oe = 0, + pe = 0, + qe = 0 + if (1 <= (0 | (pe = q[(a + 332) >> 2]))) + for ( + re = ((oe = q[(a + 336) >> 2]) + w(pe, 20)) | 0, + se = q[(a + 312) >> 2], + te = q[(a + 40) >> 2], + a = q[(a + 424) >> 2]; + (pe = 0), + q[(oe + 12) >> 2] && + ((qe = q[(oe + 4) >> 2]), + q[((qe << 2) + te) >> 2] || -1 == (0 | qe)) && + ((qe = q[(oe + 8) >> 2]), + q[((qe << 2) + se) >> 2] || -1 == (0 | qe)) && + (pe = !q[(q[oe >> 2] + 32) >> 2]), + (q[a >> 2] = pe), + (a = (a + 4) | 0), + (oe = (oe + 20) | 0) >>> 0 < re >>> 0; + + ); + })(a), + (function (a) { + var pf, + qf, + rf, + sf, + tf, + uf, + vf, + wf, + $e = 0, + af = 0, + bf = 0, + cf = 0, + df = 0, + ef = 0, + ff = 0, + gf = 0, + hf = 0, + jf = 0, + kf = 0, + lf = 0, + mf = 0, + nf = 0, + of = 0, + cf = q[a >> 2] + if (1 <= (0 | (jf = q[(a + 332) >> 2]))) { + for ( + kf = q[(a + 336) >> 2], + lf = q[(cf + 1052) >> 2], + mf = q[(cf + 856) >> 2]; + ; + + ) { + if ( + (($e = q[(kf + w(ff, 20)) >> 2]), + (q[($e + 28) >> 2] || q[($e + 24) >> 2]) && + ((q[((af = ff << 2) + q[(a + 356) >> 2]) >> 2] = + q[($e + 12) >> 2]), + q[($e + 24) >> 2]) && + !((0 | (df = q[($e + 12) >> 2])) < 1)) + ) + for ( + nf = ((bf = q[($e + 16) >> 2]) + (df << 2)) | 0, + of = q[(af + mf) >> 2], + af = ((ef = gf << 2) + q[(a + 372) >> 2]) | 0, + df = (ef + q[(a + 364) >> 2]) | 0, + ef = (ef + q[(a + 368) >> 2]) | 0; + (hf = (of + q[bf >> 2]) << 2), + (q[af >> 2] = + lf + (q[(hf + q[(cf + 1040) >> 2]) >> 2] << 2)), + (q[df >> 2] = q[(hf + q[(cf + 1032) >> 2]) >> 2]), + (q[ef >> 2] = q[(hf + q[(cf + 1036) >> 2]) >> 2]), + (ef = (ef + 4) | 0), + (df = (df + 4) | 0), + (af = (af + 4) | 0), + (bf = (bf + 4) | 0) >>> 0 < nf >>> 0; + + ); + if ( + q[($e + 28) >> 2] && + !((0 | (af = q[($e + 12) >> 2])) < 1) + ) + for ( + df = ((bf = q[($e + 20) >> 2]) + (af << 2)) | 0, + af = (q[(a + 360) >> 2] + (gf << 2)) | 0; + (q[af >> 2] = q[bf >> 2]), + (af = (af + 4) | 0), + (bf = (bf + 4) | 0) >>> 0 < df >>> 0; + + ); + if ( + ((gf = (q[($e + 8) >> 2] + gf) | 0), + (0 | jf) == (0 | (ff = (ff + 1) | 0))) + ) + break + } + cf = q[a >> 2] + } + if ( + !( + r[(cf + 4) | 0] < 4 || + (0 | (mf = q[(a + 332) >> 2])) < 1 + ) + ) + for ( + nf = q[(cf + 864) >> 2], + of = q[(a + 336) >> 2], + bf = gf = 0; + ; + + ) { + if ( + ((ff = q[(of + w(bf, 20)) >> 2]), + q[(ff + 24) >> 2] && + !((0 | ($e = q[(ff + 12) >> 2])) < 1)) + ) + for ( + pf = ((af = q[(ff + 16) >> 2]) + ($e << 2)) | 0, + qf = q[(nf + (bf << 2)) >> 2], + df = (($e = gf << 2) + q[(a + 376) >> 2]) | 0, + ef = ($e + q[(a + 380) >> 2]) | 0, + hf = ($e + q[(a + 384) >> 2]) | 0, + jf = ($e + q[(a + 388) >> 2]) | 0, + kf = ($e + q[(a + 392) >> 2]) | 0, + lf = ($e + q[(a + 396) >> 2]) | 0, + rf = q[(cf + 1308) >> 2], + sf = q[(cf + 1304) >> 2], + tf = q[(cf + 1300) >> 2], + uf = q[(cf + 1296) >> 2], + vf = q[(cf + 1292) >> 2], + wf = q[(cf + 1288) >> 2]; + ($e = (q[af >> 2] + qf) << 2), + (q[df >> 2] = q[($e + wf) >> 2]), + (q[ef >> 2] = q[($e + vf) >> 2]), + (q[hf >> 2] = q[($e + uf) >> 2]), + (q[jf >> 2] = q[($e + tf) >> 2]), + (q[kf >> 2] = q[($e + sf) >> 2]), + (q[lf >> 2] = q[($e + rf) >> 2]), + (lf = (lf + 4) | 0), + (kf = (kf + 4) | 0), + (jf = (jf + 4) | 0), + (hf = (hf + 4) | 0), + (ef = (ef + 4) | 0), + (df = (df + 4) | 0), + (af = (af + 4) | 0) >>> 0 < pf >>> 0; + + ); + if ( + ((gf = (q[(ff + 8) >> 2] + gf) | 0), + (0 | mf) == (0 | (bf = (bf + 1) | 0))) + ) + break + } + })(a), + (function (a) { + var gk, + vj = 0, + xj = 0, + yj = 0, + bk = 0, + ck = 0, + dk = 0, + ek = 0, + fk = 0, + vj = (a + 340) | 0 + if ( + (n[q[1807]]( + vj, + q[(a + 364) >> 2], + q[(a + 448) >> 2], + q[(a + 424) >> 2] + ), + n[q[1808]]( + vj, + q[(a + 368) >> 2], + q[(a + 440) >> 2], + q[(a + 424) >> 2] + ), + n[q[1809]]( + vj, + q[(a + 372) >> 2], + q[(a + 444) >> 2], + q[(q[a >> 2] + 892) >> 2], + 2, + q[(a + 424) >> 2] + ), + !( + r[(q[a >> 2] + 4) | 0] < 4 || + (n[q[1807]]( + vj, + q[(a + 376) >> 2], + q[(a + 400) >> 2], + q[(a + 424) >> 2] + ), + n[q[1807]]( + vj, + q[(a + 380) >> 2], + q[(a + 404) >> 2], + q[(a + 424) >> 2] + ), + n[q[1807]]( + vj, + q[(a + 384) >> 2], + q[(a + 408) >> 2], + q[(a + 424) >> 2] + ), + n[q[1807]]( + vj, + q[(a + 388) >> 2], + q[(a + 412) >> 2], + q[(a + 424) >> 2] + ), + n[q[1807]]( + vj, + q[(a + 392) >> 2], + q[(a + 416) >> 2], + q[(a + 424) >> 2] + ), + n[q[1807]]( + vj, + q[(a + 396) >> 2], + q[(a + 420) >> 2], + q[(a + 424) >> 2] + ), + (0 | (dk = q[(a + 332) >> 2])) < 1) + )) + ) { + for ( + ek = q[(a + 408) >> 2], + fk = q[(a + 404) >> 2], + gk = q[(a + 400) >> 2], + xj = q[(a + 452) >> 2], + vj = 0; + (q[((yj = bk << 2) + xj) >> 2] = + q[((ck = vj << 2) + gk) >> 2]), + (q[(xj + (4 | yj)) >> 2] = q[(ck + fk) >> 2]), + (q[(xj + (8 | yj)) >> 2] = q[(ck + ek) >> 2]), + (bk = (bk + 4) | 0), + (0 | dk) != (0 | (vj = (vj + 1) | 0)); + + ); + for ( + xj = q[(a + 456) >> 2], + ck = q[(a + 420) >> 2], + ek = q[(a + 416) >> 2], + fk = q[(a + 412) >> 2], + vj = a = 0; + (q[((bk = a << 2) + xj) >> 2] = + q[((yj = vj << 2) + fk) >> 2]), + (q[(xj + (4 | bk)) >> 2] = q[(yj + ek) >> 2]), + (q[(xj + (8 | bk)) >> 2] = q[(yj + ck) >> 2]), + (a = (a + 4) | 0), + (0 | dk) != (0 | (vj = (vj + 1) | 0)); + + ); + } + })(a), + (function (a) { + var Re, + Ve, + We, + Xe, + Ye, + Ze, + _e, + Pe = 0, + Qe = 0, + Se = 0, + Te = 0, + Ue = 0 + if (1 <= (0 | (Ve = q[(a + 500) >> 2]))) + for ( + Xe = q[(a + 504) >> 2], + We = q[a >> 2], + Ye = q[(We + 1252) >> 2]; + ; + + ) { + if ( + ((Re = q[(w(Te, 24) + Xe) >> 2]), + (q[(Re + 28) >> 2] || q[(Re + 24) >> 2]) && + ((q[((Pe = Te << 2) + q[(a + 524) >> 2]) >> 2] = + q[(Re + 12) >> 2]), + q[(Re + 24) >> 2]) && + !((0 | (Se = q[(Re + 12) >> 2])) < 1)) + ) + for ( + Se = ((Qe = q[(Re + 16) >> 2]) + (Se << 2)) | 0, + Ze = q[(Pe + Ye) >> 2], + Pe = (q[(a + 532) >> 2] + (Ue << 2)) | 0, + _e = q[(We + 1284) >> 2]; + (q[Pe >> 2] = + q[(((q[Qe >> 2] + Ze) << 2) + _e) >> 2]), + (Pe = (Pe + 4) | 0), + (Qe = (Qe + 4) | 0) >>> 0 < Se >>> 0; + + ); + if ( + q[(Re + 28) >> 2] && + !((0 | (Pe = q[(Re + 12) >> 2])) < 1) + ) + for ( + Se = ((Qe = q[(Re + 20) >> 2]) + (Pe << 2)) | 0, + Pe = (q[(a + 528) >> 2] + (Ue << 2)) | 0; + (q[Pe >> 2] = q[Qe >> 2]), + (Pe = (Pe + 4) | 0), + (Qe = (Qe + 4) | 0) >>> 0 < Se >>> 0; + + ); + if ( + ((Ue = (q[(Re + 8) >> 2] + Ue) | 0), + (0 | Ve) == (0 | (Te = (Te + 1) | 0))) + ) + break + } + })(a), + n[q[1807]]( + (a + 508) | 0, + q[(a + 532) >> 2], + q[(a + 536) >> 2], + 0 + ), + (function (a) { + var Ek, + Fk, + Gk, + Hk, + Ik, + Jk, + zk = x(0), + Ak = 0, + Bk = 0, + Ck = 0, + Dk = 0 + x(0) + if ( + ((L = Ek = (L - 16) | 0), + (Ck = q[a >> 2]), + !( + r[(Ck + 4) | 0] < 5 || + (0 | (Dk = q[(a + 596) >> 2])) < 1 + )) + ) + for ( + Hk = ((Bk = q[(a + 600) >> 2]) + w(Dk, 12)) | 0, + Ik = q[(a + 44) >> 2], + Dk = q[(Ck + 976) >> 2]; + ; + + ) { + if ( + ((Ck = ((q[Bk >> 2] << 2) + Ik) | 0), + (zk = x(q[Ck >> 2])), + 1 <= (0 | (Ak = q[(Bk + 4) >> 2]))) + ) + for ( + Jk = ((a = q[(Bk + 8) >> 2]) + w(Ak, 48)) | 0; + (Ak = q[(a + 8) >> 2]) && + ((Fk = (Ak + -1) | 0) >>> 0 <= 1 + ? ((Ak = q[(a + 4) >> 2]), + (Gk = + u[ + (Dk + ((Ak + q[(a + 12) >> 2]) << 2)) >> 2 + ]), + (zk = x( + Fk - 1 + ? zk + + x( + u[(a + 44) >> 2] * + x(Gk * u[(a + 20) >> 2]) + ) + : zk + + x( + u[(a + 44) >> 2] * + x( + x(Gk * u[(a + 20) >> 2]) + + x( + u[ + (Dk + + ((Ak + + q[(a + 16) >> 2]) << + 2)) >> + 2 + ] * u[(a + 24) >> 2] + ) + ) + ) + ))) + : ((q[Ek >> 2] = Ak), Y(4, 1024, Ek))), + (a = (a + 48) | 0) >>> 0 < Jk >>> 0; + + ); + if ( + ((zk = + (zk = x(zk + x(0.0010000000474974513))) < x(0) + ? x(0) + : x(A(zk, x(1e3)))), + (a = x(y(zk)) < x(2147483648) ? ~~zk : -2147483648), + (q[Ck >> 2] = a), + !((Bk = (Bk + 12) | 0) >>> 0 < Hk >>> 0)) + ) + break + } + L = (16 + Ek) | 0 + })(a), + (function (a) { + var mj, + nj, + oj, + pj, + qj, + rj, + sj, + tj, + uj, + ej = 0, + gj = 0, + ij = 0, + jj = 0, + kj = 0, + lj = x(0) + if ( + ((L = mj = (L - 16) | 0), + (ej = q[a >> 2]), + !( + r[(ej + 4) | 0] < 4 || + (va( + a, + q[(a + 604) >> 2], + q[(a + 608) >> 2], + q[(ej + 984) >> 2], + q[(a + 152) >> 2], + q[(ej + 796) >> 2] + ), + (gj = q[a >> 2]), + r[(gj + 4) | 0] < 5) + )) + ) { + if ( + ((ij = q[(a + 608) >> 2]), + (qj = q[(gj + 992) >> 2]), + (rj = q[(gj + 988) >> 2]), + 1 <= (0 | (ej = q[(a + 604) >> 2]))) + ) { + for ( + sj = (w(ej, 12) + ij) | 0, + tj = q[(a + 148) >> 2], + nj = q[(gj + 980) >> 2]; + ; + + ) { + if ( + ((oj = ((q[ij >> 2] << 2) + tj) | 0), + (kj = q[oj >> 2]), + 1 <= (0 | (jj = q[(ij + 4) >> 2]))) + ) + for ( + uj = ((ej = q[(ij + 8) >> 2]) + w(jj, 48)) | 0; + (jj = q[(ej + 8) >> 2]) && + ((pj = (jj + -1) | 0) >>> 0 <= 1 + ? ((jj = q[(ej + 4) >> 2]), + (lj = + u[ + (((jj + q[(ej + 12) >> 2]) << 2) + + nj) >> + 2 + ]), + j( + x( + pj - 1 + ? x( + u[(ej + 44) >> 2] * + x(lj * u[(ej + 20) >> 2]) + ) + (f(0, kj), k()) + : x( + u[(ej + 44) >> 2] * + x( + x(lj * u[(ej + 20) >> 2]) + + x( + u[ + (((jj + + q[(ej + 16) >> 2]) << + 2) + + nj) >> + 2 + ] * u[(ej + 24) >> 2] + ) + ) + ) + (f(0, kj), k()) + ) + ), + (kj = b[0])) + : ((q[mj >> 2] = jj), Y(4, 1024, mj))), + (ej = (ej + 48) | 0) >>> 0 < uj >>> 0; + + ); + if ( + (f(0, kj), + (lj = k()), + (u[oj >> 2] = lj < x(0) ? x(0) : x(A(lj, x(1)))), + !((ij = (ij + 12) | 0) >>> 0 < sj >>> 0)) + ) + break + } + ;(ij = q[(a + 608) >> 2]), (ej = q[(a + 604) >> 2]) + } + fa( + ej, + ij, + rj, + q[(gj + 1288) >> 2], + q[(gj + 1292) >> 2], + q[(gj + 1296) >> 2], + q[(a + 156) >> 2] + ), + fa( + q[(a + 604) >> 2], + q[(a + 608) >> 2], + qj, + q[(gj + 1300) >> 2], + q[(gj + 1304) >> 2], + q[(gj + 1308) >> 2], + q[(a + 160) >> 2] + ) + } + L = (16 + mj) | 0 + })(a), + (function (a) { + var Ai, + ti = 0, + ui = 0, + vi = 0, + wi = 0, + xi = 0, + yi = x(0), + zi = 0, + Bi = 0, + Ci = 0, + Di = 0, + Ei = 0, + Fi = 0, + Gi = 0, + Hi = 0 + if ( + ((L = Ai = (L - 80) | 0), + (xi = q[a >> 2]), + !(r[(xi + 4) | 0] < 5)) + ) { + if ( + ((Fi = q[(xi + 1028) >> 2]), + (Gi = q[(xi + 1024) >> 2]), + (vi = ui = q[(a + 616) >> 2]), + !((0 | (ti = q[(a + 612) >> 2])) < 1)) + ) { + for ( + Bi = (w(ti, 12) + ui) | 0, + Ci = q[(a + 276) >> 2], + zi = q[(xi + 1004) >> 2]; + ; + + ) { + if ( + ((Di = (Ci + (q[ui >> 2] << 2)) | 0), + (vi = q[Di >> 2]), + 1 <= (0 | (wi = q[(ui + 4) >> 2]))) + ) + for ( + Hi = ((ti = q[(ui + 8) >> 2]) + w(wi, 48)) | 0; + (wi = q[(ti + 8) >> 2]) && + ((Ei = (wi + -1) | 0) >>> 0 <= 1 + ? ((wi = q[(ti + 4) >> 2]), + (yi = + u[ + (zi + + ((wi + q[(ti + 12) >> 2]) << 2)) >> + 2 + ]), + j( + x( + Ei - 1 + ? x( + u[(ti + 44) >> 2] * + x(yi * u[(ti + 20) >> 2]) + ) + (f(0, vi), k()) + : x( + u[(ti + 44) >> 2] * + x( + x(yi * u[(ti + 20) >> 2]) + + x( + u[ + (zi + + ((wi + + q[ + (ti + 16) >> 2 + ]) << + 2)) >> + 2 + ] * u[(ti + 24) >> 2] + ) + ) + ) + (f(0, vi), k()) + ) + ), + (vi = b[0])) + : ((q[(64 + Ai) >> 2] = wi), + Y(4, 1024, (64 + Ai) | 0))), + (ti = (ti + 48) | 0) >>> 0 < Hi >>> 0; + + ); + if ( + ((q[Di >> 2] = vi), + !((ui = (ui + 12) | 0) >>> 0 < Bi >>> 0)) + ) + break + } + if ( + ((vi = ui = q[(a + 616) >> 2]), + !((0 | (ti = q[(a + 612) >> 2])) < 1)) + ) { + for ( + Bi = (w(ti, 12) + ui) | 0, + Ci = q[(a + 280) >> 2], + zi = q[(q[a >> 2] + 1008) >> 2]; + ; + + ) { + if ( + ((Di = (Ci + (q[ui >> 2] << 2)) | 0), + (vi = q[Di >> 2]), + 1 <= (0 | (wi = q[(ui + 4) >> 2]))) + ) + for ( + Hi = ((ti = q[(ui + 8) >> 2]) + w(wi, 48)) | 0; + (wi = q[(ti + 8) >> 2]) && + ((Ei = (wi + -1) | 0) >>> 0 <= 1 + ? ((wi = q[(ti + 4) >> 2]), + (yi = + u[ + (zi + + ((wi + q[(ti + 12) >> 2]) << 2)) >> + 2 + ]), + j( + x( + Ei - 1 + ? x( + u[(ti + 44) >> 2] * + x(yi * u[(ti + 20) >> 2]) + ) + (f(0, vi), k()) + : x( + u[(ti + 44) >> 2] * + x( + x(yi * u[(ti + 20) >> 2]) + + x( + u[ + (zi + + ((wi + + q[ + (ti + 16) >> 2 + ]) << + 2)) >> + 2 + ] * u[(ti + 24) >> 2] + ) + ) + ) + (f(0, vi), k()) + ) + ), + (vi = b[0])) + : ((q[(48 + Ai) >> 2] = wi), + Y(4, 1024, (48 + Ai) | 0))), + (ti = (ti + 48) | 0) >>> 0 < Hi >>> 0; + + ); + if ( + ((q[Di >> 2] = vi), + !((ui = (ui + 12) | 0) >>> 0 < Bi >>> 0)) + ) + break + } + if ( + ((vi = ui = q[(a + 616) >> 2]), + !((0 | (ti = q[(a + 612) >> 2])) < 1)) + ) { + for ( + Bi = (w(ti, 12) + ui) | 0, + Ci = q[(a + 268) >> 2], + zi = q[(q[a >> 2] + 996) >> 2]; + ; + + ) { + if ( + ((Di = (Ci + (q[ui >> 2] << 2)) | 0), + (vi = q[Di >> 2]), + 1 <= (0 | (wi = q[(ui + 4) >> 2]))) + ) + for ( + Hi = + ((ti = q[(ui + 8) >> 2]) + w(wi, 48)) | 0; + (wi = q[(ti + 8) >> 2]) && + ((Ei = (wi + -1) | 0) >>> 0 <= 1 + ? ((wi = q[(ti + 4) >> 2]), + (yi = + u[ + (zi + + ((wi + q[(ti + 12) >> 2]) << + 2)) >> + 2 + ]), + j( + x( + Ei - 1 + ? x( + u[(ti + 44) >> 2] * + x(yi * u[(ti + 20) >> 2]) + ) + (f(0, vi), k()) + : x( + u[(ti + 44) >> 2] * + x( + x( + yi * u[(ti + 20) >> 2] + ) + + x( + u[ + (zi + + ((wi + + q[ + (ti + 16) >> 2 + ]) << + 2)) >> + 2 + ] * u[(ti + 24) >> 2] + ) + ) + ) + (f(0, vi), k()) + ) + ), + (vi = b[0])) + : ((q[(32 + Ai) >> 2] = wi), + Y(4, 1024, (32 + Ai) | 0))), + (ti = (ti + 48) | 0) >>> 0 < Hi >>> 0; + + ); + if ( + (f(0, vi), + (yi = k()), + (u[Di >> 2] = + yi < x(0) ? x(0) : x(A(yi, x(1)))), + !((ui = (ui + 12) | 0) >>> 0 < Bi >>> 0)) + ) + break + } + ;(ti = q[(a + 612) >> 2]), (vi = q[(a + 616) >> 2]) + } + } + } + if ( + (fa( + ti, + vi, + Gi, + q[(xi + 1288) >> 2], + q[(xi + 1292) >> 2], + q[(xi + 1296) >> 2], + q[(a + 296) >> 2] + ), + fa( + q[(a + 612) >> 2], + q[(a + 616) >> 2], + Fi, + q[(xi + 1300) >> 2], + q[(xi + 1304) >> 2], + q[(xi + 1308) >> 2], + q[(a + 300) >> 2] + ), + !((0 | (ti = q[(a + 612) >> 2])) < 1)) + ) { + for ( + wi = ((ui = q[(a + 616) >> 2]) + w(ti, 12)) | 0, + Fi = q[(a + 284) >> 2], + xi = q[(q[a >> 2] + 1e3) >> 2]; + ; + + ) { + if ( + ((Gi = (Fi + (q[ui >> 2] << 2)) | 0), + (vi = q[Gi >> 2]), + 1 <= (0 | (zi = q[(ui + 4) >> 2]))) + ) + for ( + Bi = ((ti = q[(ui + 8) >> 2]) + w(zi, 48)) | 0; + (zi = q[(ti + 8) >> 2]) && + ((Ci = (zi + -1) | 0) >>> 0 <= 1 + ? ((zi = q[(ti + 4) >> 2]), + (yi = + u[ + (xi + + ((zi + q[(ti + 12) >> 2]) << 2)) >> + 2 + ]), + j( + x( + Ci - 1 + ? x( + u[(ti + 44) >> 2] * + x(yi * u[(ti + 20) >> 2]) + ) + (f(0, vi), k()) + : x( + u[(ti + 44) >> 2] * + x( + x(yi * u[(ti + 20) >> 2]) + + x( + u[ + (xi + + ((zi + + q[ + (ti + 16) >> 2 + ]) << + 2)) >> + 2 + ] * u[(ti + 24) >> 2] + ) + ) + ) + (f(0, vi), k()) + ) + ), + (vi = b[0])) + : ((q[(16 + Ai) >> 2] = zi), + Y(4, 1024, (16 + Ai) | 0))), + (ti = (ti + 48) | 0) >>> 0 < Bi >>> 0; + + ); + if ( + (f(0, vi), + (yi = k()), + (u[Gi >> 2] = + yi < x(-3600) ? x(-3600) : x(A(yi, x(3600)))), + !((ui = (ui + 12) | 0) >>> 0 < wi >>> 0)) + ) + break + } + if (!((0 | (ti = q[(a + 612) >> 2])) < 1)) + for ( + zi = ((ui = q[(a + 616) >> 2]) + w(ti, 12)) | 0, + wi = q[(a + 272) >> 2], + a = q[(q[a >> 2] + 1012) >> 2]; + ; + + ) { + if ( + ((Fi = (wi + (q[ui >> 2] << 2)) | 0), + (vi = q[Fi >> 2]), + 1 <= (0 | (xi = q[(ui + 4) >> 2]))) + ) + for ( + Gi = ((ti = q[(ui + 8) >> 2]) + w(xi, 48)) | 0; + (xi = q[(ti + 8) >> 2]) && + ((Bi = (xi + -1) | 0) >>> 0 <= 1 + ? ((xi = q[(ti + 4) >> 2]), + (yi = + u[ + (a + + ((xi + q[(ti + 12) >> 2]) << 2)) >> + 2 + ]), + j( + x( + Bi - 1 + ? x( + u[(ti + 44) >> 2] * + x(yi * u[(ti + 20) >> 2]) + ) + (f(0, vi), k()) + : x( + u[(ti + 44) >> 2] * + x( + x(yi * u[(ti + 20) >> 2]) + + x( + u[ + (a + + ((xi + + q[ + (ti + 16) >> 2 + ]) << + 2)) >> + 2 + ] * u[(ti + 24) >> 2] + ) + ) + ) + (f(0, vi), k()) + ) + ), + (vi = b[0])) + : ((q[Ai >> 2] = xi), Y(4, 1024, Ai))), + (ti = (ti + 48) | 0) >>> 0 < Gi >>> 0; + + ); + if ( + (f(0, vi), + (yi = k()), + (u[Fi >> 2] = + yi < x(9999999747378752e-20) + ? x(9999999747378752e-20) + : x(A(yi, x(100)))), + !((ui = (ui + 12) | 0) >>> 0 < zi >>> 0)) + ) + break + } + } + } + L = (80 + Ai) | 0 + })(a), + (function (a) { + var $h, + fi, + gi, + hi, + ii, + Vh = 0, + Wh = 0, + Xh = 0, + Yh = 0, + Zh = x(0), + _h = 0, + ai = 0, + bi = 0, + ci = 0, + di = 0, + ei = 0 + x(0) + if ( + ((L = $h = (L - 32) | 0), + (Xh = q[a >> 2]), + !( + r[(Xh + 4) | 0] < 4 || + (va( + a, + q[(a + 620) >> 2], + q[(a + 624) >> 2], + q[(Xh + 1040) >> 2], + q[(a + 444) >> 2], + q[(Xh + 892) >> 2] + ), + (_h = q[a >> 2]), + r[(_h + 4) | 0] < 5) + )) + ) { + if ( + ((hi = q[(_h + 1048) >> 2]), + (ii = q[(_h + 1044) >> 2]), + (Xh = Yh = q[(a + 624) >> 2]), + !((0 | (Vh = q[(a + 620) >> 2])) < 1)) + ) { + for ( + di = (w(Vh, 12) + Yh) | 0, + ei = q[(a + 440) >> 2], + ai = q[(_h + 1036) >> 2]; + ; + + ) { + if ( + ((Xh = (ei + (q[Yh >> 2] << 2)) | 0), + (Zh = x(q[Xh >> 2])), + 1 <= (0 | (Wh = q[(Yh + 4) >> 2]))) + ) + for ( + bi = ((Vh = q[(Yh + 8) >> 2]) + w(Wh, 48)) | 0; + (Wh = q[(Vh + 8) >> 2]) && + ((ci = (Wh + -1) | 0) >>> 0 <= 1 + ? ((Wh = q[(Vh + 4) >> 2]), + (fi = + u[ + (ai + + ((Wh + q[(Vh + 12) >> 2]) << 2)) >> + 2 + ]), + (Zh = x( + ci - 1 + ? Zh + + x( + u[(Vh + 44) >> 2] * + x(fi * u[(Vh + 20) >> 2]) + ) + : Zh + + x( + u[(Vh + 44) >> 2] * + x( + x(fi * u[(Vh + 20) >> 2]) + + x( + u[ + (ai + + ((Wh + + q[ + (Vh + 16) >> 2 + ]) << + 2)) >> + 2 + ] * u[(Vh + 24) >> 2] + ) + ) + ) + ))) + : ((q[(16 + $h) >> 2] = Wh), + Y(4, 1024, (16 + $h) | 0))), + (Vh = (Vh + 48) | 0) >>> 0 < bi >>> 0; + + ); + if ( + ((Zh = + (Zh = x(Zh + x(0.0010000000474974513))) < x(0) + ? x(0) + : x(A(Zh, x(1e3)))), + (Vh = + x(y(Zh)) < x(2147483648) ? ~~Zh : -2147483648), + (q[Xh >> 2] = Vh), + !((Yh = (Yh + 12) | 0) >>> 0 < di >>> 0)) + ) + break + } + if ( + ((Xh = Yh = q[(a + 624) >> 2]), + !((0 | (Vh = q[(a + 620) >> 2])) < 1)) + ) { + for ( + di = (w(Vh, 12) + Yh) | 0, + ei = q[(a + 448) >> 2], + ai = q[(q[a >> 2] + 1032) >> 2]; + ; + + ) { + if ( + ((bi = (ei + (q[Yh >> 2] << 2)) | 0), + (Xh = q[bi >> 2]), + 1 <= (0 | (Wh = q[(Yh + 4) >> 2]))) + ) + for ( + ci = ((Vh = q[(Yh + 8) >> 2]) + w(Wh, 48)) | 0; + (Wh = q[(Vh + 8) >> 2]) && + ((gi = (Wh + -1) | 0) >>> 0 <= 1 + ? ((Wh = q[(Vh + 4) >> 2]), + (Zh = + u[ + (ai + + ((Wh + q[(Vh + 12) >> 2]) << 2)) >> + 2 + ]), + j( + x( + gi - 1 + ? x( + u[(Vh + 44) >> 2] * + x(Zh * u[(Vh + 20) >> 2]) + ) + (f(0, Xh), k()) + : x( + u[(Vh + 44) >> 2] * + x( + x(Zh * u[(Vh + 20) >> 2]) + + x( + u[ + (ai + + ((Wh + + q[ + (Vh + 16) >> 2 + ]) << + 2)) >> + 2 + ] * u[(Vh + 24) >> 2] + ) + ) + ) + (f(0, Xh), k()) + ) + ), + (Xh = b[0])) + : ((q[$h >> 2] = Wh), Y(4, 1024, $h))), + (Vh = (Vh + 48) | 0) >>> 0 < ci >>> 0; + + ); + if ( + (f(0, Xh), + (Zh = k()), + (u[bi >> 2] = Zh < x(0) ? x(0) : x(A(Zh, x(1)))), + !((Yh = (Yh + 12) | 0) >>> 0 < di >>> 0)) + ) + break + } + ;(Vh = q[(a + 620) >> 2]), (Xh = q[(a + 624) >> 2]) + } + } + fa( + Vh, + Xh, + ii, + q[(_h + 1288) >> 2], + q[(_h + 1292) >> 2], + q[(_h + 1296) >> 2], + q[(a + 452) >> 2] + ), + fa( + q[(a + 620) >> 2], + q[(a + 624) >> 2], + hi, + q[(_h + 1300) >> 2], + q[(_h + 1304) >> 2], + q[(_h + 1308) >> 2], + q[(a + 456) >> 2] + ) + } + L = (32 + $h) | 0 + })(a), + (function (a) { + var Pg, + Qg, + Rg, + Sg, + Tg, + Ug, + Kg = 0, + Lg = 0, + Mg = 0, + Ng = 0, + Og = x(0) + if ( + ((L = Pg = (L - 16) | 0), + (Lg = q[a >> 2]), + !( + r[(Lg + 4) | 0] < 5 || + (0 | (Ng = q[(a + 628) >> 2])) < 1 + )) + ) + for ( + Sg = ((Mg = q[(a + 632) >> 2]) + w(Ng, 12)) | 0, + Tg = q[(a + 536) >> 2], + Ng = q[(Lg + 1284) >> 2]; + ; + + ) { + if ( + ((Qg = ((q[Mg >> 2] << 2) + Tg) | 0), + (Lg = q[Qg >> 2]), + 1 <= (0 | (Kg = q[(Mg + 4) >> 2]))) + ) + for ( + Ug = ((a = q[(Mg + 8) >> 2]) + w(Kg, 48)) | 0; + (Kg = q[(a + 8) >> 2]) && + ((Rg = (Kg + -1) | 0) >>> 0 <= 1 + ? ((Kg = q[(a + 4) >> 2]), + (Og = + u[ + (Ng + ((Kg + q[(a + 12) >> 2]) << 2)) >> 2 + ]), + j( + x( + Rg - 1 + ? x( + u[(a + 44) >> 2] * + x(Og * u[(a + 20) >> 2]) + ) + (f(0, Lg), k()) + : x( + u[(a + 44) >> 2] * + x( + x(Og * u[(a + 20) >> 2]) + + x( + u[ + (Ng + + ((Kg + + q[(a + 16) >> 2]) << + 2)) >> + 2 + ] * u[(a + 24) >> 2] + ) + ) + ) + (f(0, Lg), k()) + ) + ), + (Lg = b[0])) + : ((q[Pg >> 2] = Kg), Y(4, 1024, Pg))), + (a = (a + 48) | 0) >>> 0 < Ug >>> 0; + + ); + if ( + (f(0, Lg), + (Og = k()), + (u[Qg >> 2] = Og < x(0) ? x(0) : x(A(Og, x(1)))), + !((Mg = (Mg + 12) | 0) >>> 0 < Sg >>> 0)) + ) + break + } + L = (16 + Pg) | 0 + })(a), + (function (a) { + var Qh, + Th, + mh = 0, + Oh = 0, + Ph = 0, + Rh = x(0), + Sh = 0 + if (1 <= (0 | (mh = q[(a + 4) >> 2]))) + for ( + Th = ((Oh = q[(a + 8) >> 2]) + w(mh, 12)) | 0, + mh = q[(a + 40) >> 2], + Ph = q[(a + 52) >> 2], + a = Qh = q[(a + 48) >> 2]; + q[mh >> 2] && + ((Rh = u[Ph >> 2]), + (u[a >> 2] = Rh), + -1 != (0 | (Sh = q[(Oh + 4) >> 2]))) && + (u[a >> 2] = Rh * u[((Sh << 2) + Qh) >> 2]), + (a = (a + 4) | 0), + (Ph = (Ph + 4) | 0), + (mh = (mh + 4) | 0), + (Oh = (Oh + 12) | 0) >>> 0 < Th >>> 0; + + ); + })(a), + (function (a) { + var lh, + ih = 0, + jh = 0, + kh = 0 + if (1 <= (0 | (lh = q[(a + 304) >> 2]))) + for ( + ih = q[(a + 308) >> 2], jh = q[(a + 312) >> 2]; + q[jh >> 2] && n[q[(ih + 20) >> 2]](a, kh), + (jh = (jh + 4) | 0), + (ih = (ih + 32) | 0), + (0 | lh) != (0 | (kh = (kh + 1) | 0)); + + ); + })(a), + (function (a) { + var Zg, + _g, + ch, + gh, + hh, + Xg = 0, + Yg = 0, + $g = (x(0), x(0), 0), + ah = 0, + bh = 0, + dh = (x(0), 0), + eh = 0, + fh = 0 + if (1 <= (0 | (Xg = q[(a + 332) >> 2]))) + for ( + eh = ((Yg = q[(a + 336) >> 2]) + w(Xg, 20)) | 0, + fh = q[(a + 308) >> 2], + dh = q[(a + 316) >> 2], + hh = q[(a + 48) >> 2], + Xg = q[(a + 448) >> 2], + $g = q[(a + 444) >> 2], + bh = q[(a + 424) >> 2]; + q[bh >> 2] && + (-1 != (0 | (ah = q[(Yg + 4) >> 2])) && + (u[Xg >> 2] = + u[((ah << 2) + hh) >> 2] * u[Xg >> 2]), + -1 != (0 | (ah = q[(Yg + 8) >> 2]))) && + ((u[Xg >> 2] = u[(dh + (ah << 2)) >> 2] * u[Xg >> 2]), + (gh = q[$g >> 2]), + n[q[(24 + ((fh + (ah << 5)) | 0)) >> 2]]( + a, + ah, + gh, + gh, + q[(Yg + 16) >> 2] + )), + ($g = ($g + 4) | 0), + (Xg = (Xg + 4) | 0), + (bh = (bh + 4) | 0), + (Yg = (Yg + 20) | 0) >>> 0 < eh >>> 0; + + ); + if ( + !( + r[(q[a >> 2] + 4) | 0] < 4 || + (0 | (Xg = q[(a + 332) >> 2])) < 1 + ) + ) + for ( + ah = (($g = q[(a + 336) >> 2]) + w(Xg, 20)) | 0, + eh = q[(a + 328) >> 2], + fh = q[(a + 324) >> 2], + Yg = q[(a + 452) >> 2], + Xg = q[(a + 456) >> 2], + bh = q[(a + 424) >> 2]; + q[bh >> 2] && + -1 != (0 | (a = q[($g + 8) >> 2])) && + ((a = ((dh = a << 4) + fh) | 0), + (Zg = x(u[Yg >> 2] * u[a >> 2])), + (u[Yg >> 2] = Zg), + (_g = x(u[(Yg + 4) >> 2] * u[(a + 4) >> 2])), + (u[(Yg + 4) >> 2] = _g), + (ch = u[(a + 8) >> 2]), + (q[(Yg + 12) >> 2] = 1065353216), + (u[(Yg + 4) >> 2] = + _g < x(0) ? x(0) : x(A(_g, x(1)))), + (u[Yg >> 2] = Zg < x(0) ? x(0) : x(A(Zg, x(1)))), + (Zg = x(ch * u[(Yg + 8) >> 2])), + (u[(Yg + 8) >> 2] = + Zg < x(0) ? x(0) : x(A(Zg, x(1)))), + (Zg = u[Xg >> 2]), + (_g = u[(a = (eh + dh) | 0) >> 2]), + (Zg = x(x(Zg + _g) - x(Zg * _g))), + (u[Xg >> 2] = Zg), + (_g = u[(Xg + 4) >> 2]), + (ch = u[(a + 4) >> 2]), + (_g = x(x(_g + ch) - x(_g * ch))), + (u[(Xg + 4) >> 2] = _g), + (ch = u[(a + 8) >> 2]), + (q[(Xg + 12) >> 2] = 1065353216), + (u[(Xg + 4) >> 2] = + _g < x(0) ? x(0) : x(A(_g, x(1)))), + (u[Xg >> 2] = Zg < x(0) ? x(0) : x(A(Zg, x(1)))), + (Zg = u[(Xg + 8) >> 2]), + (Zg = x(x(ch + Zg) - x(Zg * ch))), + (u[(Xg + 8) >> 2] = + Zg < x(0) ? x(0) : x(A(Zg, x(1))))), + (Xg = (Xg + 16) | 0), + (Yg = (Yg + 16) | 0), + (bh = (bh + 4) | 0), + ($g = ($g + 20) | 0) >>> 0 < ah >>> 0; + + ); + })(a), + (function (a) { + var Ln, + Mn, + On, + Ko, + Lo, + Mo, + No, + Oo, + Po, + Qo, + Ro, + So, + To, + Uo, + Vo, + Wo, + Xo, + Yo, + Zo, + _o, + Nn = 0 + x(0), x(0), x(0), x(0), x(0), x(0), x(0) + if (1 <= (0 | (Oo = q[(a + 500) >> 2]))) + for ( + Zo = q[(a + 536) >> 2], + Po = q[(a + 444) >> 2], + _o = q[(a + 504) >> 2]; + ; + + ) { + if ( + ((a = (w(Nn, 24) + _o) | 0), + 0 < (0 | (Qo = q[(a + 12) >> 2]))) + ) + for ( + On = u[((Nn << 2) + Zo) >> 2], + Ro = q[(a + 20) >> 2], + So = q[(a + 16) >> 2], + To = q[((q[(a + 4) >> 2] << 2) + Po) >> 2], + Uo = q[((q[(a + 8) >> 2] << 2) + Po) >> 2], + a = 0; + (Vo = u[(((Ln = 1 | a) << 2) + So) >> 2]), + (Mn = (s[((a << 1) + Ro) >> 1] << 3) & 262136), + (Ko = u[(Wo = ((4 | Mn) + To) | 0) >> 2]), + (Ln = (s[((Ln << 1) + Ro) >> 1] << 3) & 262136), + (Lo = u[(Xo = ((4 | Ln) + Uo) | 0) >> 2]), + (Mo = u[(Mn = (Mn + To) | 0) >> 2]), + (Yo = u[((a << 2) + So) >> 2]), + (No = u[(Ln = (Ln + Uo) | 0) >> 2]), + (u[Mn >> 2] = Mo + x(On * x(Yo * x(No - Mo)))), + (u[Wo >> 2] = Ko + x(On * x(Yo * x(Lo - Ko)))), + (u[Ln >> 2] = No + x(On * x(Vo * x(Mo - No)))), + (u[Xo >> 2] = Lo + x(On * x(Vo * x(Ko - Lo)))), + (0 | (a = (a + 2) | 0)) < (0 | Qo); + + ); + if (!((0 | (Nn = (Nn + 1) | 0)) < (0 | Oo))) break + } + })(a), + n[q[1810]](a), + (function (a) { + var Rc, + Sc, + Uc, + Vc, + Gc = 0, + Ic = 0, + Jc = 0, + Kc = 0, + Lc = 0, + Mc = 0, + Nc = 0, + Oc = 0, + Pc = 0, + Qc = 0, + Tc = 0 + if (!((0 | (Rc = q[(a + 480) >> 2])) < 1)) { + for ( + Kc = ((Sc = q[(a + 484) >> 2]) + w(Rc, 28)) | 0, + Nc = q[(a + 424) >> 2], + Oc = q[(a + 40) >> 2], + Lc = q[(a + 44) >> 2], + Tc = q[(a + 440) >> 2], + Gc = Sc; + ; + + ) { + if (1 <= (0 | (Mc = q[(Gc + 4) >> 2]))) + for ( + Qc = (Gc + 20) | 0, Pc = q[(Gc + 12) >> 2], Ic = 0; + (Uc = + q[(4 + (Jc = (Pc + (Ic << 4)) | 0)) >> 2] << 2), + (Jc = 1 == q[(Vc = Jc) >> 2]), + (q[(Vc + 12) >> 2] = + q[ + (q[((Jc ? Oc : Nc) + Uc) >> 2] + ? ((Jc ? Lc : Tc) + Uc) | 0 + : Qc) >> 2 + ]), + (0 | (Ic = (Ic + 1) | 0)) < (0 | Mc); + + ); + if (!((Gc = (Gc + 28) | 0) >>> 0 < Kc >>> 0)) break + } + if (!((0 | Rc) < 1)) + for (Tc = q[(a + 436) >> 2], Oc = 0; ; ) { + if ( + ((Kc = (w(Oc, 28) + Sc) | 0), + !(q[((Nc = Kc) + 24) >> 2] < 1)) + ) { + for ( + Jc = q[(a + 488) >> 2], Ic = 0; + (q[(Jc + (Ic << 2)) >> 2] = -1), + (0 | (Ic = (Ic + 1) | 0)) < + (0 | (Gc = q[(Nc + 24) >> 2])); + + ); + if (!((0 | Gc) < 1)) + for ( + Gc = q[(a + 496) >> 2], Ic = 0; + (q[(Gc + (Ic << 2)) >> 2] = -1), + (0 | (Ic = (Ic + 1) | 0)) < q[(Nc + 24) >> 2]; + + ); + } + if (!(q[(Kc + 4) >> 2] < 1)) { + for ( + Lc = q[(a + 492) >> 2], Ic = 0; + (q[(Lc + (Ic << 2)) >> 2] = -1), + (0 | (Ic = (Ic + 1) | 0)) < + (0 | (Gc = q[(Kc + 4) >> 2])); + + ); + if (!((0 | Gc) < 1)) + for ( + Mc = q[(Kc + 12) >> 2], + Qc = q[(a + 496) >> 2], + Ic = 0; + (Pc = + (q[(12 + ((Mc + (Ic << 4)) | 0)) >> 2] - + q[(Kc + 20) >> 2]) << + 2), + (Gc = + -1 == + (0 | (Gc = q[(Jc = (Pc + Qc) | 0) >> 2])) + ? (Pc + q[(a + 488) >> 2]) | 0 + : (Lc + (Gc << 2)) | 0), + (q[Gc >> 2] = Ic), + (0 | (Ic = ((q[Jc >> 2] = Ic) + 1) | 0)) < + q[(Kc + 4) >> 2]; + + ); + } + if (1 <= (0 | (Gc = q[(Nc + 24) >> 2]))) + for ( + Lc = q[(Kc + 8) >> 2], + Qc = q[(a + 488) >> 2], + Mc = 0; + ; + + ) { + if (-1 != (0 | (Ic = q[(Qc + (Mc << 2)) >> 2]))) { + for ( + Pc = q[(a + 492) >> 2], + Jc = q[(Kc + 12) >> 2]; + (Lc = + ((Gc = + 1 == q[(Gc = (Jc + (Ic << 4)) | 0) >> 2] + ? ((Gc = + (w(q[(Gc + 8) >> 2], 28) + Sc) | 0), + (q[(Gc + 8) >> 2] = Lc), + q[Gc >> 2]) + : ((q[ + (Tc + (q[(Gc + 4) >> 2] << 2)) >> 2 + ] = Lc), + 1)) + + Lc) | + 0), + (0 | Ic) < + (0 | (Gc = q[(Pc + (Ic << 2)) >> 2])) && + -1 != (0 | (Ic = Gc)); + + ); + Gc = q[(Nc + 24) >> 2] + } + if (!((0 | (Mc = (Mc + 1) | 0)) < (0 | Gc))) break + } + if ((0 | Rc) == (0 | (Oc = (Oc + 1) | 0))) break + } + } + })(a), + (function (a) { + var Bg = 0, + Cg = 0, + Dg = 0, + Eg = 0, + Gg = 0, + Hg = x(0), + Ig = 0, + Jg = 0, + Fg = q[(a + 332) >> 2] + if (q[(a + 644) >> 2]) { + if (!(((q[(a + 428) >> 2] = 0) | Fg) < 1)) + for ( + ; + (Bg = 126), + (Ig = (q[(a + 432) >> 2] + Dg) | 0), + !q[((Cg = Dg << 2) + q[(a + 424) >> 2]) >> 2] | + (u[(Cg + q[(a + 448) >> 2]) >> 2] == x(0)) || + (Bg = 127), + (o[0 | Ig] = Bg), + (0 | Fg) != (0 | (Dg = (Dg + 1) | 0)); + + ); + } else if (q[(a + 428) >> 2]) { + if ( + ((Bg = r[(q[a >> 2] + 4) | 0]), + !(((q[(a + 428) >> 2] = 0) | Fg) < 1)) + ) + if (4 <= Bg >>> 0) + for ( + ; + (Hg = u[((Bg = Dg << 2) + q[(a + 448) >> 2]) >> 2]), + (Eg = q[(Bg + q[(a + 424) >> 2]) >> 2]), + (Cg = (Hg != x(0)) & (0 != (0 | Eg))), + (Ig = (q[(a + 432) >> 2] + Dg) | 0), + (Cg = (0 | Cg) == (1 & o[0 | Ig]) ? Cg : 2 | Cg), + (Cg = + Hg != u[(Bg + q[(a + 468) >> 2]) >> 2] + ? 4 | Cg + : Cg), + (Cg = + q[(Bg + q[(a + 440) >> 2]) >> 2] == + q[(Bg + q[(a + 464) >> 2]) >> 2] + ? Cg + : 8 | Cg), + (Bg = + q[(Bg + q[(a + 436) >> 2]) >> 2] == + q[(Bg + q[(a + 460) >> 2]) >> 2] + ? Cg + : 16 | Cg), + (Bg = Eg ? 32 | Bg : Bg), + (Eg = ((Cg = Jg << 2) + q[(a + 452) >> 2]) | 0), + (Gg = (Cg + q[(a + 472) >> 2]) | 0), + ((u[Eg >> 2] != u[Gg >> 2]) | + (u[(Eg + 4) >> 2] != u[(Gg + 4) >> 2]) | + ((u[(Eg + 8) >> 2] != u[(Gg + 8) >> 2]) | + (u[(Eg + 12) >> 2] != u[(Gg + 12) >> 2])) || + ((Eg = (Cg + q[(a + 456) >> 2]) | 0), + (Cg = (Cg + q[(a + 476) >> 2]) | 0), + (u[Eg >> 2] != u[Cg >> 2]) | + (u[(Eg + 4) >> 2] != u[(Cg + 4) >> 2]) | + (u[(Eg + 8) >> 2] != u[(Cg + 8) >> 2])) || + u[(Eg + 12) >> 2] != u[(Cg + 12) >> 2]) && + (Bg |= 64), + (o[0 | Ig] = Bg), + (Jg = (Jg + 4) | 0), + (0 | Fg) != (0 | (Dg = (Dg + 1) | 0)); + + ); + else + for ( + ; + (Hg = u[((Bg = Dg << 2) + q[(a + 448) >> 2]) >> 2]), + (Eg = q[(Bg + q[(a + 424) >> 2]) >> 2]), + (Cg = (Hg != x(0)) & (0 != (0 | Eg))), + (Gg = (q[(a + 432) >> 2] + Dg) | 0), + (Cg = (0 | Cg) == (1 & o[0 | Gg]) ? Cg : 2 | Cg), + (Cg = + Hg != u[(Bg + q[(a + 468) >> 2]) >> 2] + ? 4 | Cg + : Cg), + (Cg = + q[(Bg + q[(a + 440) >> 2]) >> 2] == + q[(Bg + q[(a + 464) >> 2]) >> 2] + ? Cg + : 8 | Cg), + (Bg = + q[(Bg + q[(a + 436) >> 2]) >> 2] == + q[(Bg + q[(a + 460) >> 2]) >> 2] + ? Cg + : 16 | Cg), + (o[0 | Gg] = Eg ? 32 | Bg : Bg), + (0 | Fg) != (0 | (Dg = (Dg + 1) | 0)); + + ); + } else if (!((0 | Fg) < 1)) + for ( + ; + !q[((Bg = Dg << 2) + q[(a + 424) >> 2]) >> 2] | + (u[(Bg + q[(a + 448) >> 2]) >> 2] == x(0)) + ? ((Bg = (q[(a + 432) >> 2] + Dg) | 0), + (o[0 | Bg] = 254 & r[0 | Bg])) + : ((Bg = (q[(a + 432) >> 2] + Dg) | 0), + (o[0 | Bg] = 1 | r[0 | Bg])), + (0 | Fg) != (0 | (Dg = (Dg + 1) | 0)); + + ); + })(a), + (q[(a + 644) >> 2] = 0) + } + function va(a, Wa, Xa, Ya, Za, _a) { + var fb, + gb, + hb, + jb, + kb, + cb, + db, + ab = 0, + bb = 0, + eb = 0, + ib = 0 + if (((L = cb = (L - 32) | 0), 1 <= (0 | Wa))) + for (kb = (w(Wa, 12) + Xa) | 0; ; ) { + if (!((0 | (ab = q[(Xa + 4) >> 2])) < 1)) + if ( + ((fb = ((Wa = q[(Xa + 8) >> 2]) + w(ab, 48)) | 0), + (ab = q[Xa >> 2] << 2), + 1 <= (0 | (db = q[(ab + _a) >> 2]))) + ) + for ( + db <<= 1, + gb = q[(q[a >> 2] + 1052) >> 2], + hb = q[(Za + ab) >> 2]; + ; + + ) { + b: if ((ab = q[(Wa + 8) >> 2])) { + c: { + if ((bb = (ab + -1) | 0) >>> 0 <= 1) { + if ( + ((ab = ((q[(Wa + 4) >> 2] << 2) + Ya) | 0), + (ib = + ((q[(ab + (q[(Wa + 12) >> 2] << 2)) >> 2] << + 2) + + gb) | + 0), + bb - 1) + ) + break c + for ( + eb = + ((q[(ab + (q[(Wa + 16) >> 2] << 2)) >> 2] << + 2) + + gb) | + 0, + ab = 0; + (u[(jb = ((bb = ab << 2) + hb) | 0) >> 2] = + u[jb >> 2] + + x( + u[(Wa + 44) >> 2] * + x( + x( + u[(bb + ib) >> 2] * + u[(Wa + 20) >> 2] + ) + + x( + u[(bb + eb) >> 2] * + u[(Wa + 24) >> 2] + ) + ) + )), + (0 | db) != (0 | (ab = (ab + 1) | 0)); + + ); + break b + } + ;(q[cb >> 2] = ab), Y(4, 1024, cb) + break b + } + for ( + ab = 0; + (u[(eb = ((bb = ab << 2) + hb) | 0) >> 2] = + u[eb >> 2] + + x( + u[(Wa + 44) >> 2] * + x(u[(bb + ib) >> 2] * u[(Wa + 20) >> 2]) + )), + (0 | db) != (0 | (ab = (ab + 1) | 0)); + + ); + } + if (!((Wa = (Wa + 48) | 0) >>> 0 < fb >>> 0)) break + } + else + for ( + ; + 3 <= (ab = q[(Wa + 8) >> 2]) >>> 0 && + ((q[(16 + cb) >> 2] = ab), + Y(4, 1024, (16 + cb) | 0)), + (Wa = (Wa + 48) | 0) >>> 0 < fb >>> 0; + + ); + if (!((Xa = (Xa + 12) | 0) >>> 0 < kb >>> 0)) break + } + L = (32 + cb) | 0 + } + function wa(a, Wa, Xa) { + var Ya + ;(Wa |= 0), (Xa |= 0), (L = Ya = (L + -64) | 0) + a: { + if ((a |= 0)) + if (Wa) + if (((Wa + 15) & -16) != (0 | Wa)) + (q[(52 + Ya) >> 2] = 1522), + (q[(48 + Ya) >> 2] = 2361), + Y(4, 1294, (48 + Ya) | 0) + else { + if ( + (Wa = (function (a, Il, Jl) { + var jm, + $l = 0, + hm = 0, + im = 0, + km = 0, + lm = 0, + mm = 0, + nm = 0, + om = 0, + pm = 0, + qm = 0, + rm = 0, + sm = 0, + tm = 0, + um = x(0), + vm = 0, + wm = 0, + xm = 0, + ym = 0, + zm = 0 + if ( + (ca((16 + (L = jm = (L - 576) | 0)) | 0, 0, 560), + Fa(a, (16 + jm) | 0, (12 + jm) | 0), + (km = q[(12 + jm) >> 2]) >>> 0 <= Jl >>> 0) + ) { + if ( + (($l = + ((hm = ca(Il, 0, km)) + q[(16 + jm) >> 2]) | + 0), + (q[($l + 8) >> 2] = hm + q[(20 + jm) >> 2]), + (q[($l + 40) >> 2] = hm + q[(24 + jm) >> 2]), + (q[($l + 44) >> 2] = hm + q[(28 + jm) >> 2]), + (q[($l + 48) >> 2] = hm + q[(32 + jm) >> 2]), + (q[($l + 52) >> 2] = hm + q[(36 + jm) >> 2]), + (q[($l + 16) >> 2] = hm + q[(40 + jm) >> 2]), + (q[($l + 24) >> 2] = hm + q[(44 + jm) >> 2]), + (q[($l + 28) >> 2] = hm + q[(48 + jm) >> 2]), + (q[($l + 32) >> 2] = hm + q[(52 + jm) >> 2]), + (q[($l + 36) >> 2] = hm + q[(56 + jm) >> 2]), + (Il = q[(a + 704) >> 2]), + (q[($l + 308) >> 2] = hm + q[(60 + jm) >> 2]), + (q[($l + 312) >> 2] = hm + q[(64 + jm) >> 2]), + (q[($l + 316) >> 2] = hm + q[(68 + jm) >> 2]), + (q[($l + 320) >> 2] = hm + q[(72 + jm) >> 2]), + (q[($l + 324) >> 2] = hm + q[(76 + jm) >> 2]), + (q[($l + 328) >> 2] = hm + q[(80 + jm) >> 2]), + (q[($l + 60) >> 2] = hm + q[(84 + jm) >> 2]), + (q[($l + 144) >> 2] = hm + q[(88 + jm) >> 2]), + (q[($l + 148) >> 2] = hm + q[(92 + jm) >> 2]), + (Jl = (hm + q[(96 + jm) >> 2]) | 0), + (q[($l + 152) >> 2] = Jl), + !((0 | (km = q[(Il + 8) >> 2])) < 1) && + ((Il = (hm + q[(100 + jm) >> 2]) | 0), + (q[Jl >> 2] = Il), + 1 != (0 | km))) + ) + for ( + Jl = 1; + (Il = + (((15 + + (q[ + (q[(a + 796) >> 2] + (im << 2)) >> 2 + ] << + 3)) & + -16) + + Il) | + 0), + (q[(q[($l + 152) >> 2] + (Jl << 2)) >> 2] = + Il), + (0 | km) != + (0 | (Jl = ((im = Jl) + 1) | 0)); + + ); + if ( + ((q[($l + 156) >> 2] = hm + q[(104 + jm) >> 2]), + (q[($l + 160) >> 2] = hm + q[(108 + jm) >> 2]), + (q[($l + 68) >> 2] = hm + q[(112 + jm) >> 2]), + (q[($l + 76) >> 2] = hm + q[(116 + jm) >> 2]), + (q[($l + 80) >> 2] = hm + q[(120 + jm) >> 2]), + (q[($l + 84) >> 2] = hm + q[(124 + jm) >> 2]), + (q[($l + 88) >> 2] = hm + q[(128 + jm) >> 2]), + (q[($l + 92) >> 2] = hm + q[(132 + jm) >> 2]), + (q[($l + 96) >> 2] = hm + q[(136 + jm) >> 2]), + (q[($l + 100) >> 2] = hm + q[(140 + jm) >> 2]), + (q[($l + 104) >> 2] = hm + q[(144 + jm) >> 2]), + (q[($l + 108) >> 2] = hm + q[(148 + jm) >> 2]), + (q[($l + 112) >> 2] = hm + q[(152 + jm) >> 2]), + (q[($l + 116) >> 2] = hm + q[(156 + jm) >> 2]), + (q[($l + 120) >> 2] = hm + q[(160 + jm) >> 2]), + (q[($l + 124) >> 2] = hm + q[(164 + jm) >> 2]), + (q[($l + 128) >> 2] = hm + q[(168 + jm) >> 2]), + (q[($l + 132) >> 2] = hm + q[(172 + jm) >> 2]), + (q[($l + 136) >> 2] = hm + q[(176 + jm) >> 2]), + (q[($l + 140) >> 2] = hm + q[(180 + jm) >> 2]), + (q[($l + 168) >> 2] = hm + q[(184 + jm) >> 2]), + (q[($l + 264) >> 2] = hm + q[(188 + jm) >> 2]), + (q[($l + 268) >> 2] = hm + q[(192 + jm) >> 2]), + (q[($l + 272) >> 2] = hm + q[(196 + jm) >> 2]), + (q[($l + 276) >> 2] = hm + q[(200 + jm) >> 2]), + (q[($l + 280) >> 2] = hm + q[(204 + jm) >> 2]), + (q[($l + 284) >> 2] = hm + q[(208 + jm) >> 2]), + (q[($l + 288) >> 2] = hm + q[(212 + jm) >> 2]), + (q[($l + 292) >> 2] = hm + q[(216 + jm) >> 2]), + (q[($l + 296) >> 2] = hm + q[(220 + jm) >> 2]), + (q[($l + 300) >> 2] = hm + q[(224 + jm) >> 2]), + (q[($l + 176) >> 2] = hm + q[(228 + jm) >> 2]), + (q[($l + 184) >> 2] = hm + q[(232 + jm) >> 2]), + (q[($l + 188) >> 2] = hm + q[(236 + jm) >> 2]), + (q[($l + 192) >> 2] = hm + q[(240 + jm) >> 2]), + (q[($l + 196) >> 2] = hm + q[(244 + jm) >> 2]), + (q[($l + 200) >> 2] = hm + q[(248 + jm) >> 2]), + (q[($l + 204) >> 2] = hm + q[(252 + jm) >> 2]), + (q[($l + 208) >> 2] = hm + q[(256 + jm) >> 2]), + (q[($l + 212) >> 2] = hm + q[(260 + jm) >> 2]), + (q[($l + 216) >> 2] = hm + q[(264 + jm) >> 2]), + (q[($l + 220) >> 2] = hm + q[(268 + jm) >> 2]), + (q[($l + 224) >> 2] = hm + q[(272 + jm) >> 2]), + (q[($l + 228) >> 2] = hm + q[(276 + jm) >> 2]), + (q[($l + 232) >> 2] = hm + q[(280 + jm) >> 2]), + (q[($l + 236) >> 2] = hm + q[(284 + jm) >> 2]), + (q[($l + 240) >> 2] = hm + q[(288 + jm) >> 2]), + (q[($l + 244) >> 2] = hm + q[(292 + jm) >> 2]), + (q[($l + 248) >> 2] = hm + q[(296 + jm) >> 2]), + (q[($l + 252) >> 2] = hm + q[(300 + jm) >> 2]), + (q[($l + 256) >> 2] = hm + q[(304 + jm) >> 2]), + (q[($l + 260) >> 2] = hm + q[(308 + jm) >> 2]), + (Il = q[(a + 704) >> 2]), + (q[($l + 336) >> 2] = hm + q[(312 + jm) >> 2]), + (q[($l + 424) >> 2] = hm + q[(316 + jm) >> 2]), + (q[($l + 432) >> 2] = hm + q[(320 + jm) >> 2]), + (q[($l + 436) >> 2] = hm + q[(324 + jm) >> 2]), + (q[($l + 440) >> 2] = hm + q[(328 + jm) >> 2]), + (Jl = (hm + q[(332 + jm) >> 2]) | 0), + (q[($l + 444) >> 2] = Jl), + !((0 | (km = q[(Il + 16) >> 2])) < 1) && + ((im = (hm + q[(336 + jm) >> 2]) | 0), + (q[Jl >> 2] = im), + (Jl = 1) != (0 | km))) + ) + for ( + Il = 0; + (im = + (((15 + + (q[ + (q[(a + 892) >> 2] + (Il << 2)) >> 2 + ] << + 3)) & + -16) + + im) | + 0), + (q[(q[($l + 444) >> 2] + (Jl << 2)) >> 2] = + im), + (0 | km) != + (0 | (Jl = ((Il = Jl) + 1) | 0)); + + ); + if ( + ((q[($l + 448) >> 2] = hm + q[(340 + jm) >> 2]), + (q[($l + 452) >> 2] = hm + q[(344 + jm) >> 2]), + (q[($l + 456) >> 2] = hm + q[(348 + jm) >> 2]), + (q[($l + 460) >> 2] = hm + q[(352 + jm) >> 2]), + (q[($l + 464) >> 2] = hm + q[(356 + jm) >> 2]), + (q[($l + 468) >> 2] = hm + q[(360 + jm) >> 2]), + (q[($l + 472) >> 2] = hm + q[(364 + jm) >> 2]), + (q[($l + 476) >> 2] = hm + q[(368 + jm) >> 2]), + (q[($l + 344) >> 2] = hm + q[(372 + jm) >> 2]), + (q[($l + 352) >> 2] = hm + q[(376 + jm) >> 2]), + (q[($l + 356) >> 2] = hm + q[(380 + jm) >> 2]), + (q[($l + 360) >> 2] = hm + q[(384 + jm) >> 2]), + (q[($l + 364) >> 2] = hm + q[(388 + jm) >> 2]), + (q[($l + 368) >> 2] = hm + q[(392 + jm) >> 2]), + (q[($l + 372) >> 2] = hm + q[(396 + jm) >> 2]), + (q[($l + 376) >> 2] = hm + q[(400 + jm) >> 2]), + (q[($l + 380) >> 2] = hm + q[(404 + jm) >> 2]), + (q[($l + 384) >> 2] = hm + q[(408 + jm) >> 2]), + (q[($l + 388) >> 2] = hm + q[(412 + jm) >> 2]), + (q[($l + 392) >> 2] = hm + q[(416 + jm) >> 2]), + (q[($l + 396) >> 2] = hm + q[(420 + jm) >> 2]), + (q[($l + 400) >> 2] = hm + q[(424 + jm) >> 2]), + (q[($l + 404) >> 2] = hm + q[(428 + jm) >> 2]), + (q[($l + 408) >> 2] = hm + q[(432 + jm) >> 2]), + (q[($l + 412) >> 2] = hm + q[(436 + jm) >> 2]), + (q[($l + 416) >> 2] = hm + q[(440 + jm) >> 2]), + (q[($l + 420) >> 2] = hm + q[(444 + jm) >> 2]), + (Il = q[(448 + jm) >> 2]), + (Jl = q[(452 + jm) >> 2]), + (q[($l + 552) >> 2] = hm + q[(456 + jm) >> 2]), + (q[($l + 548) >> 2] = Jl + hm), + (q[($l + 544) >> 2] = Il + hm), + (q[($l + 560) >> 2] = hm + q[(460 + jm) >> 2]), + (Il = q[(a + 704) >> 2]), + (nm = (hm + q[(464 + jm) >> 2]) | 0), + (q[($l + 568) >> 2] = nm), + 1 <= (0 | (mm = q[(Il + 48) >> 2]))) + ) + for ( + im = (hm + q[(468 + jm) >> 2]) | 0, + Il = (hm + q[(472 + jm) >> 2]) | 0, + lm = (hm + q[(476 + jm) >> 2]) | 0, + om = q[(a + 1072) >> 2], + Jl = 0; + (km = (nm + w(Jl, 36)) | 0), + (q[(km + 20) >> 2] = lm), + (q[(km + 16) >> 2] = Il), + (q[km >> 2] = im), + (im = + (((km = q[(om + (Jl << 2)) >> 2]) << 2) + + im) | + 0), + (lm = ((km = (1 << km) << 2) + lm) | 0), + (Il = (Il + km) | 0), + (0 | mm) != (0 | (Jl = (Jl + 1) | 0)); + + ); + if ( + ((Il = q[(a + 704) >> 2]), + (km = (hm + q[(516 + jm) >> 2]) | 0), + (q[($l + 484) >> 2] = km), + 1 <= (0 | (Il = q[(Il + 72) >> 2]))) + ) + for ( + im = (hm + q[(520 + jm) >> 2]) | 0, + lm = q[(a + 1212) >> 2], + Jl = 0; + (q[(12 + ((km + w(Jl, 28)) | 0)) >> 2] = im), + (im = + ((q[(lm + (Jl << 2)) >> 2] << 4) + im) | + 0), + (0 | Il) != (0 | (Jl = (Jl + 1) | 0)); + + ); + ;(q[($l + 488) >> 2] = hm + q[(524 + jm) >> 2]), + (q[($l + 492) >> 2] = hm + q[(528 + jm) >> 2]), + (q[($l + 496) >> 2] = hm + q[(532 + jm) >> 2]), + (q[($l + 504) >> 2] = hm + q[(536 + jm) >> 2]), + (q[($l + 536) >> 2] = hm + q[(540 + jm) >> 2]), + (q[($l + 512) >> 2] = hm + q[(544 + jm) >> 2]), + (q[($l + 520) >> 2] = hm + q[(548 + jm) >> 2]), + (q[($l + 524) >> 2] = hm + q[(552 + jm) >> 2]), + (q[($l + 528) >> 2] = hm + q[(556 + jm) >> 2]), + (q[($l + 532) >> 2] = hm + q[(560 + jm) >> 2]) + c: { + if (4 <= (mm = r[(a + 4) | 0]) >>> 0) { + if ( + ((q[($l + 576) >> 2] = + hm + q[(480 + jm) >> 2]), + (q[($l + 584) >> 2] = + hm + q[(484 + jm) >> 2]), + (Il = q[(a + 704) >> 2]), + (Jl = q[(492 + jm) >> 2]), + (km = (hm + q[(488 + jm) >> 2]) | 0), + (q[($l + 592) >> 2] = km), + 1 <= (0 | (Il = q[(Il + 104) >> 2]))) + ) + for ( + im = (Jl + hm) | 0, + lm = q[(a + 1104) >> 2], + Jl = 0; + (q[(40 + ((km + w(Jl, 48)) | 0)) >> 2] = + im), + (im = + ((q[(lm + (Jl << 2)) >> 2] << 2) + + im) | + 0), + (0 | Il) != (0 | (Jl = (Jl + 1) | 0)); + + ); + ;(q[($l + 608) >> 2] = + hm + q[(500 + jm) >> 2]), + (q[($l + 624) >> 2] = + hm + q[(508 + jm) >> 2]) + } else { + if ( + ((Il = q[(572 + jm) >> 2]), + (Jl = q[(568 + jm) >> 2]), + (q[($l + 636) >> 2] = + hm + q[(564 + jm) >> 2]), + (q[($l + 640) >> 2] = Jl + hm), + q[(q[(a + 704) >> 2] + 20) >> 2] < 1) + ) + break c + for (km = (Il + hm) | 0, nm = 0; ; ) { + e: { + if ( + (0 | + (im = + q[ + ((Il = nm << 2) + + q[(a + 952) >> 2]) >> + 2 + ])) <= + 0 + ) + Il = (Il + q[($l + 636) >> 2]) | 0 + else { + for ( + lm = + (im + + (Jl = + q[ + (Il + q[(a + 948) >> 2]) >> 2 + ])) | + 0, + om = q[(a + 1060) >> 2], + im = 0; + (im = + (q[(om + (Jl << 2)) >> 2] + im) | + 0), + (0 | (Jl = (Jl + 1) | 0)) < + (0 | lm); + + ); + if ( + ((Il = (Il + q[($l + 636) >> 2]) | 0), + (Jl = km), + im) + ) + break e + } + Jl = im = 0 + } + if ( + ((q[Il >> 2] = Jl), + (km = ((im << 2) + km) | 0), + !( + (0 | (nm = (nm + 1) | 0)) < + q[(q[(a + 704) >> 2] + 20) >> 2] + )) + ) + break + } + } + mm >>> 0 < 5 || + ((q[($l + 600) >> 2] = + hm + q[(496 + jm) >> 2]), + (q[($l + 616) >> 2] = + hm + q[(504 + jm) >> 2]), + (q[($l + 632) >> 2] = + hm + q[(512 + jm) >> 2])) + } + ;(q[($l + 644) >> 2] = 1), + (q[$l >> 2] = a), + (q[($l + 648) >> 2] = + 1 & o[(q[(a + 708) >> 2] + 20) | 0]), + (hm = q[(a + 704) >> 2]), + (nm = q[(hm + 20) >> 2]) + g: if (!((0 | (q[($l + 540) >> 2] = nm)) < 1)) { + if ( + ((Il = (nm + -1) | 0), + (om = q[(a + 952) >> 2]), + (pm = q[(a + 940) >> 2]), + (qm = q[(a + 932) >> 2]), + (rm = q[(a + 936) >> 2]), + (sm = q[(a + 924) >> 2]), + (tm = q[(a + 928) >> 2]), + (vm = q[($l + 552) >> 2]), + (xm = q[($l + 544) >> 2]), + mm >>> 0 < 4) + ) + for (;;) + if ( + ((Jl = (xm + w(Il, 52)) | 0), + (im = + ((km = Il << 2) + tm) | + (q[Jl >> 2] = 0)), + (q[(Jl + 4) >> 2] = q[im >> 2]), + (q[(Jl + 8) >> 2] = + q[(lm = (km + sm) | 0) >> 2]), + (u[(Jl + 12) >> 2] = + u[lm >> 2] - u[im >> 2]), + (q[(Jl + 16) >> 2] = q[(km + rm) >> 2]), + (q[(Jl + 44) >> 2] = + q[(im = (km + qm) | 0) >> 2]), + (um = Aa(x(q[(km + pm) >> 2]))), + (u[(Jl + 20) >> 2] = um), + (u[(Jl + 24) >> 2] = um * x(1.5)), + (wm = q[(km + om) >> 2]), + (lm = 0), + (lm = (q[(Jl + 32) >> 2] = wm) + ? (q[($l + 560) >> 2] + + w( + q[(km + q[(a + 948) >> 2]) >> 2], + 28 + )) | + 0 + : lm), + (q[(Jl + 48) >> 2] = 1), + (q[(Jl + 28) >> 2] = lm), + (q[(km + vm) >> 2] = q[im >> 2]), + (Jl = 0 < (0 | Il)), + (Il = (Il + -1) | 0), + !Jl) + ) + break g + for ( + wm = q[(a + 960) >> 2], + zm = q[(a + 944) >> 2]; + (Jl = (xm + w(Il, 52)) | 0), + (q[Jl >> 2] = + q[((im = Il << 2) + zm) >> 2]), + (q[(Jl + 4) >> 2] = + q[(km = (im + tm) | 0) >> 2]), + (q[(Jl + 8) >> 2] = + q[(lm = (im + sm) | 0) >> 2]), + (u[(Jl + 12) >> 2] = + u[lm >> 2] - u[km >> 2]), + (q[(Jl + 16) >> 2] = q[(im + rm) >> 2]), + (q[(Jl + 44) >> 2] = + q[(ym = (im + qm) | 0) >> 2]), + (um = Aa(x(q[(im + pm) >> 2]))), + (u[(Jl + 20) >> 2] = um), + (u[(Jl + 24) >> 2] = um * x(1.5)), + (lm = q[(im + om) >> 2]), + (q[(Jl + 32) >> 2] = lm), + (q[(Jl + 28) >> 2] = lm + ? (q[($l + 560) >> 2] + + w( + q[(im + q[(a + 948) >> 2]) >> 2], + 28 + )) | + 0 + : 0), + (km = q[(im + wm) >> 2]), + (km = (q[(Jl + 40) >> 2] = km) + ? (q[($l + 584) >> 2] + + w( + q[(im + q[(a + 956) >> 2]) >> 2], + 28 + )) | + 0 + : 0), + (q[(Jl + 48) >> 2] = 1), + (q[(Jl + 36) >> 2] = km), + (q[(im + vm) >> 2] = q[ym >> 2]), + (Jl = 0 < (0 | Il)), + (Il = (Il + -1) | 0), + Jl; + + ); + } + if ( + (4 <= mm >>> 0 + ? ((q[($l + 548) >> 2] = q[(a + 944) >> 2]), + (km = a)) + : (ca(q[($l + 548) >> 2], 0, nm << 2), + (km = q[$l >> 2]), + (hm = q[(km + 704) >> 2])), + (im = q[(hm + 52) >> 2]), + 1 <= (0 | (q[($l + 556) >> 2] = im))) + ) + for ( + Jl = q[(km + 1056) >> 2], + lm = q[(km + 1192) >> 2], + nm = q[(km + 1060) >> 2], + mm = q[($l + 560) >> 2]; + (Il = (mm + w((im = (im + -1) | 0), 28)) | 0), + (q[Il >> 2] = + q[((om = im << 2) + nm) >> 2]), + (om = q[(Jl + om) >> 2]), + (q[(Il + 24) >> 2] = 1), + (q[(Il + 16) >> 2] = 0), + (q[(Il + 20) >> 2] = 1), + (q[(Il + 8) >> 2] = 0), + (q[(Il + 12) >> 2] = 0), + (q[(Il + 4) >> 2] = lm + (om << 2)), + 0 < (0 | im); + + ); + if ( + ((im = q[(hm + 48) >> 2]), + 1 <= (0 | (q[($l + 564) >> 2] = im))) + ) { + for (;;) { + if ( + ((Il = + (q[($l + 568) >> 2] + + w((im = (im + -1) | 0), 36)) | + 0), + (lm = + q[ + ((hm = im << 2) + + q[(km + 1072) >> 2]) >> + 2 + ]), + 1 <= (0 | (q[(Il + 4) >> 2] = lm))) + ) + for ( + Jl = 0; + (q[(q[Il >> 2] + (Jl << 2)) >> 2] = + q[($l + 560) >> 2] + + w( + q[ + (q[(km + 1064) >> 2] + + ((q[ + (hm + q[(km + 1068) >> 2]) >> 2 + ] + + Jl) << + 2)) >> + 2 + ], + 28 + )), + (0 | lm) != (0 | (Jl = (Jl + 1) | 0)); + + ); + if ( + ((q[(Il + 24) >> 2] = 1), + (q[(Il + 28) >> 2] = 1), + (q[(Il + 8) >> 2] = 1 << lm), + !(0 < (0 | im))) + ) + break + } + ;(km = q[$l >> 2]), (hm = q[(km + 704) >> 2]) + } + if ( + ((Il = q[hm >> 2]), + (0 | (q[($l + 4) >> 2] = Il)) < 1) + ) + Jl = 0 + else { + for ( + om = q[(km + 732) >> 2], + pm = q[(km + 736) >> 2], + qm = q[(km + 740) >> 2], + lm = q[(km + 720) >> 2], + rm = q[($l + 52) >> 2], + nm = q[($l + 568) >> 2], + sm = q[($l + 8) >> 2], + im = Il; + (mm = (sm + w((im = (im + -1) | 0), 12)) | 0), + (q[mm >> 2] = + nm + + w(q[((Jl = im << 2) + lm) >> 2], 36)), + (q[(mm + 4) >> 2] = q[(Jl + qm) >> 2]), + (q[(mm + 8) >> 2] = q[(Jl + pm) >> 2]), + (u[(Jl + rm) >> 2] = q[(Jl + om) >> 2] + ? x(1) + : x(0)), + 0 < (0 | im); + + ); + for ( + mm = q[($l + 16) >> 2], Jl = 0; + (im = + q[ + (8 + + ((nm + + w( + q[ + ((om = + (Il = (Il + -1) | 0) << 2) + + lm) >> + 2 + ], + 36 + )) | + 0)) >> + 2 + ]), + (Jl = (Jl + (q[(mm + om) >> 2] = im)) | 0), + 0 < (0 | Il); + + ); + Il = q[($l + 4) >> 2] + } + if ( + ((q[($l + 12) >> 2] = Il), + (q[($l + 20) >> 2] = Jl), + (Il = q[(hm + 4) >> 2]), + 1 <= (0 | (q[($l + 304) >> 2] = Il))) + ) { + for ( + ; + (Jl = + (q[($l + 308) >> 2] + + ((Il = (Il + -1) | 0) << 5)) | + 0), + (q[Jl >> 2] = + q[($l + 568) >> 2] + + w( + q[ + ((im = Il << 2) + + q[(km + 752) >> 2]) >> + 2 + ], + 36 + )), + (q[(Jl + 4) >> 2] = + q[(im + q[(km + 764) >> 2]) >> 2]), + (q[(Jl + 8) >> 2] = + q[(im + q[(km + 768) >> 2]) >> 2]), + (lm = q[(im + q[(km + 772) >> 2]) >> 2]), + (q[(Jl + 12) >> 2] = lm), + (hm = q[(im + q[(km + 776) >> 2]) >> 2]), + (q[(Jl + 16) >> 2] = hm), + (q[(Jl + 28) >> 2] = + q[(im + q[(km + 760) >> 2]) >> 2]), + lm >>> 0 <= 1 + ? lm - 1 + ? ((q[ + (20 + + ((q[($l + 60) >> 2] + w(hm, 24)) | + 0)) >> + 2 + ] = Il), + (q[(Jl + 24) >> 2] = 1), + (q[(Jl + 20) >> 2] = 2)) + : ((q[ + (8 + + ((q[($l + 168) >> 2] + + w(hm, 12)) | + 0)) >> + 2 + ] = Il), + (q[(Jl + 24) >> 2] = 3), + (q[(Jl + 20) >> 2] = 4)) + : Y(4, 1179, 0), + 0 < (0 | Il); + + ); + ;(km = q[$l >> 2]), (hm = q[(km + 704) >> 2]) + } + im = q[(hm + 8) >> 2] + k: if (!((0 | (q[($l + 56) >> 2] = im)) < 1)) { + if ( + ((Jl = (im + -1) | 0), + (nm = q[(km + 796) >> 2]), + (mm = q[(km + 804) >> 2]), + (om = q[(km + 800) >> 2]), + (pm = q[(km + 780) >> 2]), + (qm = q[($l + 568) >> 2]), + (rm = q[($l + 60) >> 2]), + r[(km + 4) | 0] < 2) + ) + for (;;) + if ( + ((Il = (rm + w(Jl, 24)) | 0), + (q[Il >> 2] = + qm + + w(q[((lm = Jl << 2) + pm) >> 2], 36)), + (q[(Il + 4) >> 2] = q[(lm + om) >> 2]), + (q[(Il + 8) >> 2] = q[(lm + mm) >> 2]), + (lm = q[(lm + nm) >> 2]), + (q[(Il + 12) >> 2] = 0), + (q[(Il + 16) >> 2] = lm), + (Il = 0 < (0 | Jl)), + (Jl = (Jl + -1) | 0), + !Il) + ) + break k + for ( + sm = q[(km + 808) >> 2]; + (Il = (rm + w(Jl, 24)) | 0), + (q[Il >> 2] = + qm + + w(q[((lm = Jl << 2) + pm) >> 2], 36)), + (q[(Il + 4) >> 2] = q[(lm + om) >> 2]), + (q[(Il + 8) >> 2] = q[(lm + mm) >> 2]), + (q[(Il + 16) >> 2] = q[(lm + nm) >> 2]), + (q[(Il + 12) >> 2] = q[(lm + sm) >> 2]), + (Il = 0 < (0 | Jl)), + (Jl = (Jl + -1) | 0), + Il; + + ); + } + if ( + ((Jl = q[(hm + 12) >> 2]), + 1 <= (0 | (q[($l + 164) >> 2] = Jl))) + ) + for ( + lm = q[(km + 828) >> 2], + nm = q[(km + 812) >> 2], + mm = q[($l + 568) >> 2], + om = q[($l + 168) >> 2], + Il = Jl; + (pm = (om + w((Il = (Il + -1) | 0), 12)) | 0), + (q[pm >> 2] = + mm + + w(q[((qm = Il << 2) + nm) >> 2], 36)), + (q[(pm + 4) >> 2] = q[(lm + qm) >> 2]), + 0 < (0 | Il); + + ); + if (((Il = 0) | im) < 1) lm = 0 + else { + for ( + nm = q[($l + 68) >> 2], + mm = q[($l + 60) >> 2], + lm = 0; + (Jl = + q[ + (q[ + (mm + w((im = (im + -1) | 0), 24)) >> 2 + ] + + 8) >> + 2 + ]), + (lm = + ((q[(nm + (im << 2)) >> 2] = Jl) + lm) | + 0), + 0 < (0 | im); + + ); + ;(Jl = q[($l + 164) >> 2]), + (im = q[($l + 56) >> 2]) + } + if ( + ((q[($l + 64) >> 2] = im), + (q[($l + 72) >> 2] = lm), + (im = $l), + 1 <= (0 | Jl)) + ) { + for ( + nm = q[($l + 176) >> 2], + mm = q[($l + 168) >> 2]; + (lm = + q[ + (q[ + (mm + w((Jl = (Jl + -1) | 0), 12)) >> 2 + ] + + 8) >> + 2 + ]), + (Il = + (Il + (q[(nm + (Jl << 2)) >> 2] = lm)) | + 0), + 0 < (0 | Jl); + + ); + Jl = q[($l + 164) >> 2] + } + if ( + ((q[(im + 172) >> 2] = Jl), + (q[($l + 180) >> 2] = Il), + (lm = q[(hm + 16) >> 2]), + 1 <= (0 | (q[($l + 332) >> 2] = lm))) + ) { + for ( + om = q[(km + 872) >> 2], + pm = q[(km + 892) >> 2], + qm = q[(km + 880) >> 2], + rm = q[(km + 876) >> 2], + nm = q[(km + 852) >> 2], + mm = q[($l + 568) >> 2], + sm = q[($l + 336) >> 2], + Il = lm; + (Jl = (sm + w((Il = (Il + -1) | 0), 20)) | 0), + (q[Jl >> 2] = + mm + + w(q[((im = Il << 2) + nm) >> 2], 36)), + (q[(Jl + 4) >> 2] = q[(im + rm) >> 2]), + (q[(Jl + 8) >> 2] = q[(im + qm) >> 2]), + (q[(Jl + 16) >> 2] = q[(im + pm) >> 2]), + (q[(Jl + 12) >> 2] = q[(im + om) >> 2]), + 0 < (0 | Il); + + ); + for ( + im = q[($l + 344) >> 2], Jl = 0; + (Il = + q[ + (8 + + ((mm + + w( + q[ + ((om = + (lm = (lm + -1) | 0) << 2) + + nm) >> + 2 + ], + 36 + )) | + 0)) >> + 2 + ]), + (Jl = ((q[(im + om) >> 2] = Il) + Jl) | 0), + 0 < (0 | lm); + + ); + if ( + ((q[($l + 348) >> 2] = Jl), + (lm = q[($l + 332) >> 2]), + !((0 | (q[($l + 340) >> 2] = lm)) < 1)) + ) + for ( + Jl = lm << 2, + im = q[($l + 456) >> 2], + nm = q[($l + 452) >> 2]; + (q[ + ((mm = (Il = (Jl + -4) | 0) << 2) + nm) >> + 2 + ] = 1065353216), + (q[ + ((om = ((Jl <<= 2) - 4) | 0) + nm) >> 2 + ] = 1065353216), + (q[ + (pm = + ((Jl = (Jl + -12) | 0) + nm) | 0) >> 2 + ] = 1065353216), + (q[(pm + 4) >> 2] = 1065353216), + (q[(im + mm) >> 2] = 0), + (q[(im + om) >> 2] = 1065353216), + (q[(Jl = (Jl + im) | 0) >> 2] = 0), + (q[(Jl + 4) >> 2] = 0), + (Jl = Il), + 0 < (0 | (lm = (lm + -1) | 0)); + + ); + } else + (q[($l + 340) >> 2] = lm), + (q[($l + 348) >> 2] = 0) + if ( + ((lm = q[(hm + 72) >> 2]), + 1 <= (0 | (q[($l + 480) >> 2] = lm))) + ) + for ( + om = q[(km + 1208) >> 2], + pm = q[(km + 1224) >> 2], + qm = q[(km + 1220) >> 2], + rm = q[(km + 1216) >> 2], + sm = q[(km + 1212) >> 2], + tm = q[($l + 484) >> 2], + im = 0; + ; + + ) { + if ( + ((Il = (tm + w(im, 28)) | 0), + (nm = q[((Jl = im << 2) + sm) >> 2]), + (q[(Il + 4) >> 2] = nm), + (q[Il >> 2] = q[(Jl + rm) >> 2]), + (mm = q[(Jl + qm) >> 2]), + (q[(Il + 16) >> 2] = mm), + (vm = q[(Jl + pm) >> 2]), + (q[(Il + 20) >> 2] = vm), + (q[(Il + 8) >> 2] = 0), + (q[(Il + 24) >> 2] = 1 + ((mm - vm) | 0)), + 1 <= (0 | nm)) + ) + for ( + vm = q[(Jl + om) >> 2], + xm = q[(Il + 12) >> 2], + wm = q[(km + 1236) >> 2], + zm = q[(km + 1228) >> 2], + ym = q[(km + 1232) >> 2], + Jl = 0; + (q[ + (4 + (Il = (xm + (Jl << 4)) | 0)) >> 2 + ] = q[((mm = (Jl + vm) << 2) + ym) >> 2]), + (q[Il >> 2] = q[(mm + zm) >> 2]), + (mm = q[(mm + wm) >> 2]), + (q[(Il + 12) >> 2] = 0), + (q[(Il + 8) >> 2] = mm), + (0 | nm) != (0 | (Jl = (Jl + 1) | 0)); + + ); + if ((0 | lm) == (0 | (im = (im + 1) | 0))) + break + } + if ( + ((Jl = q[(hm + 80) >> 2]), + (0 | (q[($l + 500) >> 2] = Jl)) < 1) + ) + im = 0 + else { + for ( + mm = q[(km + 1280) >> 2], + om = q[(km + 1268) >> 2], + pm = q[(km + 1276) >> 2], + qm = q[(km + 1272) >> 2], + rm = q[(km + 1264) >> 2], + sm = q[(km + 1260) >> 2], + lm = q[(km + 1248) >> 2], + nm = q[($l + 568) >> 2], + tm = q[($l + 504) >> 2]; + (Il = (tm + w((Jl = (Jl + -1) | 0), 24)) | 0), + (q[Il >> 2] = + nm + + w(q[((im = Jl << 2) + lm) >> 2], 36)), + (q[(Il + 4) >> 2] = q[(im + sm) >> 2]), + (q[(Il + 8) >> 2] = q[(im + rm) >> 2]), + (q[(Il + 12) >> 2] = q[(im + qm) >> 2]), + (im = q[(im + om) >> 2]), + (q[(Il + 20) >> 2] = mm + (im << 1)), + (q[(Il + 16) >> 2] = pm + (im << 2)), + 0 < (0 | Jl); + + ); + if ((0 | (Jl = q[($l + 500) >> 2])) < 1) im = 0 + else { + for ( + mm = q[($l + 512) >> 2], im = 0; + (Il = + q[ + (8 + + ((nm + + w( + q[ + ((om = + (Jl = (Jl + -1) | 0) << 2) + + lm) >> + 2 + ], + 36 + )) | + 0)) >> + 2 + ]), + (im = + ((q[(mm + om) >> 2] = Il) + im) | 0), + 0 < (0 | Jl); + + ); + Jl = q[($l + 500) >> 2] + } + } + ;(q[($l + 508) >> 2] = Jl), + (q[($l + 516) >> 2] = im) + o: if (4 <= r[(a + 4) | 0]) { + if (!((lm = r[(km + 4) | 0]) >>> 0 < 4)) { + if ( + ((Jl = q[(hm + 120) >> 2]), + 1 <= (0 | (q[($l + 572) >> 2] = Jl))) + ) { + for ( + mm = q[(km + 1172) >> 2], + om = q[($l + 576) >> 2]; + (lm = + (0 | + (hm = + q[ + ((Il = + (Jl = (Jl + -1) | 0) << 2) + + mm) >> + 2 + ])) < + 0 + ? (hm = nm = im = 0) + : ((im = + ((lm = + q[ + (Il + q[(km + 1176) >> 2]) >> + 2 + ] << 2) + + q[(km + 1188) >> 2]) | + 0), + (nm = + q[ + (Il + q[(km + 1180) >> 2]) >> 2 + ]), + (hm = + (q[($l + 544) >> 2] + w(hm, 52)) | + 0), + (lm + q[(km + 1184) >> 2]) | 0)), + (Il = (om + w(Jl, 20)) | 0), + (q[(Il + 12) >> 2] = nm), + (q[(Il + 8) >> 2] = im), + (q[(Il + 4) >> 2] = lm), + (q[Il >> 2] = hm), + 0 < (0 | Jl); + + ); + if ( + ((km = q[$l >> 2]), + (lm = r[(km + 4) | 0]) >>> 0 < 4) + ) + break o + } + if ( + ((hm = q[(km + 704) >> 2]), + (im = q[(hm + 100) >> 2]), + 1 <= (0 | (q[($l + 580) >> 2] = im))) + ) + for ( + nm = q[(km + 1084) >> 2], + mm = q[(km + 1076) >> 2], + om = q[(km + 1192) >> 2], + pm = q[(km + 1080) >> 2], + qm = q[($l + 584) >> 2]; + (Il = + (qm + w((im = (im + -1) | 0), 28)) | 0), + (q[Il >> 2] = + q[((Jl = im << 2) + pm) >> 2]), + (q[(Il + 4) >> 2] = + om + (q[(Jl + mm) >> 2] << 2)), + (Jl = q[(Jl + nm) >> 2]), + (q[(Il + 20) >> 2] = 1), + (q[(Il + 24) >> 2] = 1), + (q[(Il + 12) >> 2] = 0), + (q[(Il + 16) >> 2] = 0), + (q[(Il + 8) >> 2] = Jl), + 0 < (0 | im); + + ); + if ( + ((im = q[(hm + 104) >> 2]), + 1 <= (0 | (q[($l + 588) >> 2] = im))) + ) { + for (;;) { + if ( + ((Il = + (q[($l + 592) >> 2] + + w((im = (im + -1) | 0), 48)) | + 0), + (q[Il >> 2] = + q[($l + 584) >> 2] + + w( + q[ + ((lm = im << 2) + + q[(km + 1088) >> 2]) >> + 2 + ], + 28 + )), + (Jl = + q[(lm + q[(km + 1092) >> 2]) >> 2]), + (q[(Il + 28) >> 2] = 1), + (q[(Il + 32) >> 2] = 1), + (q[(Il + 8) >> 2] = 0), + (q[(Il + 4) >> 2] = Jl), + (hm = + q[(lm + q[(km + 1104) >> 2]) >> 2]), + 1 <= (0 | (q[(Il + 36) >> 2] = hm))) + ) + for ( + Jl = 0; + (q[ + (q[(Il + 40) >> 2] + (Jl << 2)) >> 2 + ] = + q[($l + 576) >> 2] + + w( + q[ + (q[(km + 1168) >> 2] + + ((q[ + (lm + + q[(km + 1100) >> 2]) >> + 2 + ] + + Jl) << + 2)) >> + 2 + ], + 20 + )), + (0 | hm) != + (0 | (Jl = (Jl + 1) | 0)); + + ); + if (!(1 <= (0 | im))) break + } + ;(km = q[$l >> 2]), (lm = r[(km + 4) | 0]) + } + if (!(lm >>> 0 < 4)) { + if ( + ((lm = q[(a + 704) >> 2]), + (Jl = q[(lm + 108) >> 2]), + 1 <= (0 | (q[($l + 604) >> 2] = Jl))) + ) + for ( + hm = q[(a + 1124) >> 2], + nm = q[(a + 1128) >> 2], + mm = q[(a + 1120) >> 2], + om = q[($l + 592) >> 2], + pm = q[($l + 608) >> 2]; + (Il = + (pm + w((Jl = (Jl + -1) | 0), 12)) | + 0), + (q[Il >> 2] = + q[((im = Jl << 2) + mm) >> 2]), + (q[(Il + 4) >> 2] = + q[(im + nm) >> 2]), + (q[(Il + 8) >> 2] = + om + w(q[(hm + im) >> 2], 48)), + 0 < (0 | Jl); + + ); + if ( + ((Jl = q[(lm + 112) >> 2]), + 1 <= (0 | (q[($l + 620) >> 2] = Jl))) + ) + for ( + lm = q[(a + 1148) >> 2], + hm = q[(a + 1152) >> 2], + nm = q[(a + 1144) >> 2], + mm = q[($l + 592) >> 2], + om = q[($l + 624) >> 2]; + (Il = + (om + w((Jl = (Jl + -1) | 0), 12)) | + 0), + (q[Il >> 2] = + q[((im = Jl << 2) + nm) >> 2]), + (q[(Il + 4) >> 2] = + q[(hm + im) >> 2]), + (q[(Il + 8) >> 2] = + mm + w(q[(im + lm) >> 2], 48)), + 0 < (0 | Jl); + + ); + if ( + ((im = q[(km + 1192) >> 2]), + (Il = q[(q[(km + 704) >> 2] + 20) >> 2]), + (q[($l + 640) >> 2] = q[(km + 972) >> 2]), + (lm = q[(km + 964) >> 2]), + (q[($l + 636) >> 2] = lm), + !((0 | Il) < (Jl = 1)) && + ((q[lm >> 2] = + im + + (q[q[(km + 968) >> 2] >> 2] << 2)), + 1 != (0 | Il))) + ) + for ( + ; + (q[ + ((lm = Jl << 2) + + q[($l + 636) >> 2]) >> + 2 + ] = + im + + (q[(lm + q[(km + 968) >> 2]) >> 2] << + 2)), + (0 | Il) != (0 | (Jl = (Jl + 1) | 0)); + + ); + } + } + } else if (!(q[(hm + 20) >> 2] < 1)) + for (hm = 0; ; ) { + if ( + ((im = + q[ + ((nm = hm << 2) + q[($l + 636) >> 2]) >> + 2 + ]), + 1 <= + ((Il = 0) | + (Jl = + q[(nm + q[(km + 952) >> 2]) >> 2]))) + ) + for ( + pm = + (Jl + + (mm = + q[ + (nm + q[(km + 948) >> 2]) >> 2 + ])) | + 0, + qm = q[(km + 1060) >> 2], + rm = q[(km + 1056) >> 2]; + ; + + ) { + if ( + 1 <= + (0 | + (om = q[((Jl = mm << 2) + qm) >> 2])) + ) + for ( + sm = + (om + (lm = q[(Jl + rm) >> 2])) | 0, + tm = q[(km + 1192) >> 2]; + ; + + ) { + ;(om = (im + (Il << 2)) | 0), + (um = u[(tm + (lm << 2)) >> 2]), + (Jl = im) + q: { + if (0 < (0 | Il)) + for (;;) { + if (u[Jl >> 2] == um) break q + if ( + !( + (Jl = (Jl + 4) | 0) >>> 0 < + om >>> 0 + ) + ) + break + } + ;(u[om >> 2] = um), + (Il = (Il + 1) | 0) + } + if ( + !( + (0 | (lm = (lm + 1) | 0)) < + (0 | sm) + ) + ) + break + } + if ( + !((0 | (mm = (mm + 1) | 0)) < (0 | pm)) + ) + break + } + if ( + ((function (a, Sm) { + var un, + Kn, + xn = 0, + yn = 0, + Jn = 0 + ;(q[(8 + (L = un = (L - 208) | 0)) >> 2] = + 1), + (q[(12 + un) >> 2] = 0) + a: if ((Kn = Sm << 2)) { + for ( + q[(16 + un) >> 2] = 4, + Jn = Sm = q[(20 + un) >> 2] = 4, + xn = 2; + (Sm = + (((Jn + 4) | 0) + (yn = Sm)) | 0), + (q[ + (((16 + un) | 0) + (xn << 2)) >> 2 + ] = Sm), + (xn = (xn + 1) | 0), + (Jn = yn), + Sm >>> 0 < Kn >>> 0; + + ); + if ( + (yn = (((a + Kn) | 0) - 4) | 0) >>> + 0 <= + a >>> 0 + ) + Sm = xn = 1 + else + for ( + Sm = xn = 1; + (Sm = + 3 == (3 & xn) + ? (ta(a, Sm, (16 + un) | 0), + ma((8 + un) | 0, 2), + (Sm + 2) | 0) + : (t[ + (((16 + un) | 0) + + ((Jn = (Sm + -1) | 0) << + 2)) >> + 2 + ] >= + (yn - a) >>> 0 + ? la( + a, + (8 + un) | 0, + Sm, + 0, + (16 + un) | 0 + ) + : ta(a, Sm, (16 + un) | 0), + 1 == (0 | Sm) + ? (ka((8 + un) | 0, 1), 0) + : (ka((8 + un) | 0, Jn), + 1))), + (xn = 1 | q[(8 + un) >> 2]), + (q[(8 + un) >> 2] = xn), + (a = (a + 4) | 0) >>> 0 < + yn >>> 0; + + ); + for ( + la( + a, + (8 + un) | 0, + Sm, + 0, + (16 + un) | 0 + ); + ; + + ) { + e: { + f: { + g: { + if ( + !( + (1 != (0 | Sm)) | + (1 != (0 | xn)) + ) + ) { + if (q[(12 + un) >> 2]) break g + break a + } + if (1 < (0 | Sm)) break f + } + ma( + (8 + un) | 0, + (yn = Oa((8 + un) | 0)) + ), + (xn = q[(8 + un) >> 2]), + (Sm = (Sm + yn) | 0) + break e + } + ka((8 + un) | 0, 2), + (q[(8 + un) >> 2] = + 7 ^ q[(8 + un) >> 2]), + ma((8 + un) | 0, 1), + la( + ((Jn = (a + -4) | 0) - + q[ + (((16 + un) | 0) + + ((yn = (Sm + -2) | 0) << + 2)) >> + 2 + ]) | + 0, + (8 + un) | 0, + (Sm + -1) | 0, + 1, + (16 + un) | 0 + ), + ka((8 + un) | 0, 1), + (xn = 1 | q[(8 + un) >> 2]), + (q[(8 + un) >> 2] = xn), + la( + Jn, + (8 + un) | 0, + yn, + 1, + (16 + un) | 0 + ), + (Sm = yn) + } + a = (a + -4) | 0 + } + } + L = (208 + un) | 0 + })(im, Il), + (q[(nm + q[($l + 640) >> 2]) >> 2] = Il), + !( + (0 | (hm = (hm + 1) | 0)) < + q[(q[(km + 704) >> 2] + 20) >> 2] + )) + ) + break + } + if ( + !( + (r[(a + 4) | 0] < 5) | + (r[(q[$l >> 2] + 4) | 0] < 4) + ) + ) { + if ( + ((Il = q[(a + 704) >> 2]), + (Jl = q[(Il + 128) >> 2]), + 1 <= (0 | (q[($l + 596) >> 2] = Jl))) + ) + for ( + lm = q[(a + 1112) >> 2], + hm = q[(a + 1116) >> 2], + nm = q[(a + 1108) >> 2], + mm = q[($l + 592) >> 2], + om = q[($l + 600) >> 2]; + (km = + (om + w((Jl = (Jl + -1) | 0), 12)) | 0), + (q[km >> 2] = + q[((im = Jl << 2) + nm) >> 2]), + (q[(km + 4) >> 2] = q[(hm + im) >> 2]), + (q[(km + 8) >> 2] = + mm + w(q[(im + lm) >> 2], 48)), + 0 < (0 | Jl); + + ); + if ( + ((Jl = q[(Il + 132) >> 2]), + 1 <= (0 | (q[($l + 612) >> 2] = Jl))) + ) + for ( + lm = q[(a + 1136) >> 2], + hm = q[(a + 1140) >> 2], + nm = q[(a + 1132) >> 2], + mm = q[($l + 592) >> 2], + om = q[($l + 616) >> 2]; + (km = + (om + w((Jl = (Jl + -1) | 0), 12)) | 0), + (q[km >> 2] = + q[((im = Jl << 2) + nm) >> 2]), + (q[(km + 4) >> 2] = q[(hm + im) >> 2]), + (q[(km + 8) >> 2] = + mm + w(q[(im + lm) >> 2], 48)), + 0 < (0 | Jl); + + ); + if ( + ((Jl = q[(Il + 136) >> 2]), + !((0 | (q[($l + 628) >> 2] = Jl)) < 1)) + ) + for ( + km = q[(a + 1160) >> 2], + im = q[(a + 1164) >> 2], + lm = q[(a + 1156) >> 2], + hm = q[($l + 592) >> 2], + nm = q[($l + 632) >> 2]; + (a = + (nm + w((Jl = (Jl + -1) | 0), 12)) | 0), + (q[a >> 2] = + q[((Il = Jl << 2) + lm) >> 2]), + (q[(a + 4) >> 2] = q[(Il + im) >> 2]), + (q[(a + 8) >> 2] = + hm + w(q[(Il + km) >> 2], 48)), + 0 < (0 | Jl); + + ); + } + ua($l) + } + return (L = (576 + jm) | 0), $l + })(a, Wa, Xa)) + ) + break a + ;(q[(36 + Ya) >> 2] = 2209), + (q[(32 + Ya) >> 2] = 2361), + Y(4, 1294, (32 + Ya) | 0) + } + else + (q[(20 + Ya) >> 2] = 1444), + (q[(16 + Ya) >> 2] = 2361), + Y(4, 1294, (16 + Ya) | 0) + else + (q[(4 + Ya) >> 2] = 2132), + (q[Ya >> 2] = 2361), + Y(4, 1294, Ya) + Wa = 0 + } + return (L = (64 + Ya) | 0), 0 | Wa + } + function xa(a) { + var Wa + return ( + (L = Wa = (L - 16) | 0), + (a = (a |= 0) + ? (function (a) { + var Il + return ( + ca((16 + (L = Il = (L - 576) | 0)) | 0, 0, 560), + Fa(a, (16 + Il) | 0, (12 + Il) | 0), + (L = (576 + Il) | 0), + q[(12 + Il) >> 2] + ) + })(a) + : ((q[(4 + Wa) >> 2] = 2132), + (q[Wa >> 2] = 2343), + Y(4, 1294, Wa), + 0)), + (L = (16 + Wa) | 0), + 0 | a + ) + } + function ya(a) { + var Xa = r[(a + 4) | 0] + X(q[(a + 704) >> 2], 4, 64), + da(q[(a + 708) >> 2], 4), + da((q[(a + 708) >> 2] + 4) | 0, 4), + da((q[(a + 708) >> 2] + 8) | 0, 4), + da((q[(a + 708) >> 2] + 12) | 0, 4), + da((q[(a + 708) >> 2] + 16) | 0, 4), + da((q[(a + 708) >> 2] + 20) | 0, 1), + X(q[(a + 720) >> 2], 4, q[q[(a + 704) >> 2] >> 2]), + X(q[(a + 724) >> 2], 4, q[q[(a + 704) >> 2] >> 2]), + X(q[(a + 728) >> 2], 4, q[q[(a + 704) >> 2] >> 2]), + X(q[(a + 732) >> 2], 4, q[q[(a + 704) >> 2] >> 2]), + X(q[(a + 736) >> 2], 4, q[q[(a + 704) >> 2] >> 2]), + X(q[(a + 740) >> 2], 4, q[q[(a + 704) >> 2] >> 2]), + X(q[(a + 752) >> 2], 4, q[(q[(a + 704) >> 2] + 4) >> 2]), + X(q[(a + 756) >> 2], 4, q[(q[(a + 704) >> 2] + 4) >> 2]), + X(q[(a + 760) >> 2], 4, q[(q[(a + 704) >> 2] + 4) >> 2]), + X(q[(a + 764) >> 2], 4, q[(q[(a + 704) >> 2] + 4) >> 2]), + X(q[(a + 768) >> 2], 4, q[(q[(a + 704) >> 2] + 4) >> 2]), + X(q[(a + 772) >> 2], 4, q[(q[(a + 704) >> 2] + 4) >> 2]), + X(q[(a + 776) >> 2], 4, q[(q[(a + 704) >> 2] + 4) >> 2]), + X(q[(a + 780) >> 2], 4, q[(q[(a + 704) >> 2] + 8) >> 2]), + X(q[(a + 784) >> 2], 4, q[(q[(a + 704) >> 2] + 8) >> 2]), + X(q[(a + 788) >> 2], 4, q[(q[(a + 704) >> 2] + 8) >> 2]), + X(q[(a + 796) >> 2], 4, q[(q[(a + 704) >> 2] + 8) >> 2]), + X(q[(a + 800) >> 2], 4, q[(q[(a + 704) >> 2] + 8) >> 2]), + X(q[(a + 804) >> 2], 4, q[(q[(a + 704) >> 2] + 8) >> 2]), + X(q[(a + 812) >> 2], 4, q[(q[(a + 704) >> 2] + 12) >> 2]), + X(q[(a + 816) >> 2], 4, q[(q[(a + 704) >> 2] + 12) >> 2]), + X(q[(a + 820) >> 2], 4, q[(q[(a + 704) >> 2] + 12) >> 2]), + X(q[(a + 828) >> 2], 4, q[(q[(a + 704) >> 2] + 12) >> 2]), + X(q[(a + 852) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 856) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 860) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 868) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 872) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 876) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 880) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 884) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 888) >> 2], 1, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 892) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 896) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 900) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 904) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 908) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 912) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 924) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 928) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 932) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 936) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 940) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 948) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 952) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 976) >> 2], 4, q[(q[(a + 704) >> 2] + 24) >> 2]), + X(q[(a + 980) >> 2], 4, q[(q[(a + 704) >> 2] + 28) >> 2]), + X(q[(a + 984) >> 2], 4, q[(q[(a + 704) >> 2] + 28) >> 2]), + X(q[(a + 996) >> 2], 4, q[(q[(a + 704) >> 2] + 32) >> 2]), + X(q[(a + 1e3) >> 2], 4, q[(q[(a + 704) >> 2] + 32) >> 2]), + X(q[(a + 1004) >> 2], 4, q[(q[(a + 704) >> 2] + 32) >> 2]), + X(q[(a + 1008) >> 2], 4, q[(q[(a + 704) >> 2] + 32) >> 2]), + X(q[(a + 1012) >> 2], 4, q[(q[(a + 704) >> 2] + 32) >> 2]), + X(q[(a + 1016) >> 2], 4, q[(q[(a + 704) >> 2] + 32) >> 2]), + X(q[(a + 1020) >> 2], 4, q[(q[(a + 704) >> 2] + 32) >> 2]), + X(q[(a + 1032) >> 2], 4, q[(q[(a + 704) >> 2] + 36) >> 2]), + X(q[(a + 1036) >> 2], 4, q[(q[(a + 704) >> 2] + 36) >> 2]), + X(q[(a + 1040) >> 2], 4, q[(q[(a + 704) >> 2] + 36) >> 2]), + X(q[(a + 1052) >> 2], 4, q[(q[(a + 704) >> 2] + 40) >> 2]), + X(q[(a + 1064) >> 2], 4, q[(q[(a + 704) >> 2] + 44) >> 2]), + X(q[(a + 1068) >> 2], 4, q[(q[(a + 704) >> 2] + 48) >> 2]), + X(q[(a + 1072) >> 2], 4, q[(q[(a + 704) >> 2] + 48) >> 2]), + X(q[(a + 1056) >> 2], 4, q[(q[(a + 704) >> 2] + 52) >> 2]), + X(q[(a + 1060) >> 2], 4, q[(q[(a + 704) >> 2] + 52) >> 2]), + X(q[(a + 1192) >> 2], 4, q[(q[(a + 704) >> 2] + 56) >> 2]), + X(q[(a + 1196) >> 2], 4, q[(q[(a + 704) >> 2] + 60) >> 2]), + X(q[(a + 1200) >> 2], 2, q[(q[(a + 704) >> 2] + 64) >> 2]), + X(q[(a + 1204) >> 2], 4, q[(q[(a + 704) >> 2] + 68) >> 2]), + X(q[(a + 1208) >> 2], 4, q[(q[(a + 704) >> 2] + 72) >> 2]), + X(q[(a + 1212) >> 2], 4, q[(q[(a + 704) >> 2] + 72) >> 2]), + X(q[(a + 1216) >> 2], 4, q[(q[(a + 704) >> 2] + 72) >> 2]), + X(q[(a + 1220) >> 2], 4, q[(q[(a + 704) >> 2] + 72) >> 2]), + X(q[(a + 1224) >> 2], 4, q[(q[(a + 704) >> 2] + 72) >> 2]), + X(q[(a + 1228) >> 2], 4, q[(q[(a + 704) >> 2] + 76) >> 2]), + X(q[(a + 1232) >> 2], 4, q[(q[(a + 704) >> 2] + 76) >> 2]), + X(q[(a + 1236) >> 2], 4, q[(q[(a + 704) >> 2] + 76) >> 2]), + X(q[(a + 1248) >> 2], 4, q[(q[(a + 704) >> 2] + 80) >> 2]), + X(q[(a + 1252) >> 2], 4, q[(q[(a + 704) >> 2] + 80) >> 2]), + X(q[(a + 1256) >> 2], 4, q[(q[(a + 704) >> 2] + 80) >> 2]), + X(q[(a + 1260) >> 2], 4, q[(q[(a + 704) >> 2] + 80) >> 2]), + X(q[(a + 1264) >> 2], 4, q[(q[(a + 704) >> 2] + 80) >> 2]), + X(q[(a + 1268) >> 2], 4, q[(q[(a + 704) >> 2] + 80) >> 2]), + X(q[(a + 1272) >> 2], 4, q[(q[(a + 704) >> 2] + 80) >> 2]), + X(q[(a + 1276) >> 2], 4, q[(q[(a + 704) >> 2] + 84) >> 2]), + X(q[(a + 1280) >> 2], 2, q[(q[(a + 704) >> 2] + 84) >> 2]), + X(q[(a + 1284) >> 2], 4, q[(q[(a + 704) >> 2] + 88) >> 2]), + Xa >>> 0 < 2 || + (X(q[(a + 808) >> 2], 4, q[(q[(a + 704) >> 2] + 8) >> 2]), + Xa >>> 0 < 4) || + (X(q[(a + 968) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 972) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 792) >> 2], 4, q[(q[(a + 704) >> 2] + 8) >> 2]), + X(q[(a + 824) >> 2], 4, q[(q[(a + 704) >> 2] + 12) >> 2]), + X(q[(a + 864) >> 2], 4, q[(q[(a + 704) >> 2] + 16) >> 2]), + X(q[(a + 1288) >> 2], 4, q[(q[(a + 704) >> 2] + 92) >> 2]), + X(q[(a + 1292) >> 2], 4, q[(q[(a + 704) >> 2] + 92) >> 2]), + X(q[(a + 1296) >> 2], 4, q[(q[(a + 704) >> 2] + 92) >> 2]), + X(q[(a + 1300) >> 2], 4, q[(q[(a + 704) >> 2] + 96) >> 2]), + X(q[(a + 1304) >> 2], 4, q[(q[(a + 704) >> 2] + 96) >> 2]), + X(q[(a + 1308) >> 2], 4, q[(q[(a + 704) >> 2] + 96) >> 2]), + X(q[(a + 944) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 956) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 960) >> 2], 4, q[(q[(a + 704) >> 2] + 20) >> 2]), + X(q[(a + 1076) >> 2], 4, q[(q[(a + 704) >> 2] + 100) >> 2]), + X(q[(a + 1080) >> 2], 4, q[(q[(a + 704) >> 2] + 100) >> 2]), + X(q[(a + 1084) >> 2], 4, q[(q[(a + 704) >> 2] + 100) >> 2]), + X(q[(a + 1088) >> 2], 4, q[(q[(a + 704) >> 2] + 104) >> 2]), + X(q[(a + 1092) >> 2], 4, q[(q[(a + 704) >> 2] + 104) >> 2]), + X(q[(a + 1096) >> 2], 4, q[(q[(a + 704) >> 2] + 104) >> 2]), + X(q[(a + 1100) >> 2], 4, q[(q[(a + 704) >> 2] + 104) >> 2]), + X(q[(a + 1104) >> 2], 4, q[(q[(a + 704) >> 2] + 104) >> 2]), + X(q[(a + 1120) >> 2], 4, q[(q[(a + 704) >> 2] + 108) >> 2]), + X(q[(a + 1124) >> 2], 4, q[(q[(a + 704) >> 2] + 108) >> 2]), + X(q[(a + 1128) >> 2], 4, q[(q[(a + 704) >> 2] + 108) >> 2]), + X(q[(a + 1144) >> 2], 4, q[(q[(a + 704) >> 2] + 112) >> 2]), + X(q[(a + 1148) >> 2], 4, q[(q[(a + 704) >> 2] + 112) >> 2]), + X(q[(a + 1152) >> 2], 4, q[(q[(a + 704) >> 2] + 112) >> 2]), + X(q[(a + 1168) >> 2], 4, q[(q[(a + 704) >> 2] + 116) >> 2]), + X(q[(a + 1172) >> 2], 4, q[(q[(a + 704) >> 2] + 120) >> 2]), + X(q[(a + 1176) >> 2], 4, q[(q[(a + 704) >> 2] + 120) >> 2]), + X(q[(a + 1180) >> 2], 4, q[(q[(a + 704) >> 2] + 120) >> 2]), + X(q[(a + 1184) >> 2], 4, q[(q[(a + 704) >> 2] + 124) >> 2]), + X(q[(a + 1188) >> 2], 4, q[(q[(a + 704) >> 2] + 124) >> 2]), + 4 != (0 | Xa) && + (X( + q[(a + 988) >> 2], + 4, + q[(q[(a + 704) >> 2] + 28) >> 2] + ), + X(q[(a + 992) >> 2], 4, q[(q[(a + 704) >> 2] + 28) >> 2]), + X( + q[(a + 1024) >> 2], + 4, + q[(q[(a + 704) >> 2] + 32) >> 2] + ), + X( + q[(a + 1028) >> 2], + 4, + q[(q[(a + 704) >> 2] + 32) >> 2] + ), + X( + q[(a + 1044) >> 2], + 4, + q[(q[(a + 704) >> 2] + 36) >> 2] + ), + X( + q[(a + 1048) >> 2], + 4, + q[(q[(a + 704) >> 2] + 36) >> 2] + ), + X( + q[(a + 1108) >> 2], + 4, + q[(q[(a + 704) >> 2] + 128) >> 2] + ), + X( + q[(a + 1112) >> 2], + 4, + q[(q[(a + 704) >> 2] + 128) >> 2] + ), + X( + q[(a + 1116) >> 2], + 4, + q[(q[(a + 704) >> 2] + 128) >> 2] + ), + X( + q[(a + 1132) >> 2], + 4, + q[(q[(a + 704) >> 2] + 132) >> 2] + ), + X( + q[(a + 1136) >> 2], + 4, + q[(q[(a + 704) >> 2] + 132) >> 2] + ), + X( + q[(a + 1140) >> 2], + 4, + q[(q[(a + 704) >> 2] + 132) >> 2] + ), + X( + q[(a + 1156) >> 2], + 4, + q[(q[(a + 704) >> 2] + 136) >> 2] + ), + X( + q[(a + 1160) >> 2], + 4, + q[(q[(a + 704) >> 2] + 136) >> 2] + ), + X( + q[(a + 1164) >> 2], + 4, + q[(q[(a + 704) >> 2] + 136) >> 2] + ))) + } + function za(a, Za) { + var _a = 0, + lb = 0, + mb = 0, + ob = 0, + pb = 0, + rb = 0, + nb = (a + Za) | 0 + a: { + b: if (!(1 & (_a = q[(a + 4) >> 2]))) { + if (!(3 & _a)) break a + if ( + ((Za = ((_a = q[a >> 2]) + Za) | 0), + (0 | (a = (a - _a) | 0)) != q[2092]) + ) + if (_a >>> 0 <= 255) + (mb = _a >>> 3), + (_a = q[(a + 8) >> 2]), + (0 | (lb = q[(a + 12) >> 2])) == (0 | _a) + ? ((rb = q[2087] & ed(mb)), (q[2087] = rb)) + : ((q[(_a + 12) >> 2] = lb), + (q[(lb + 8) >> 2] = _a)) + else { + if ( + ((pb = q[(a + 24) >> 2]), + (0 | (_a = q[(a + 12) >> 2])) != (0 | a)) + ) + (lb = q[(a + 8) >> 2]), + (q[(lb + 12) >> 2] = _a), + (q[(_a + 8) >> 2] = lb) + else if ( + (mb = + (mb = q[(lb = (a + 20) | 0) >> 2]) || + q[(lb = (a + 16) | 0) >> 2]) + ) { + for ( + ; + (ob = lb), + (mb = q[(lb = ((_a = mb) + 20) | 0) >> 2]) || + ((lb = (_a + 16) | 0), + (mb = q[(_a + 16) >> 2])); + + ); + q[ob >> 2] = 0 + } else _a = 0 + if (pb) { + lb = q[(a + 28) >> 2] + e: { + if ( + q[(mb = (8652 + (lb << 2)) | 0) >> 2] == + (0 | a) + ) { + if ((q[mb >> 2] = _a)) break e + ;(rb = q[2088] & ed(lb)), (q[2088] = rb) + break b + } + if ( + !(q[ + (pb + + (q[(pb + 16) >> 2] == (0 | a) ? 16 : 20)) >> + 2 + ] = _a) + ) + break b + } + ;(q[(_a + 24) >> 2] = pb), + (lb = q[(a + 16) >> 2]) && + ((q[(_a + 16) >> 2] = lb), + (q[(lb + 24) >> 2] = _a)), + (lb = q[(a + 20) >> 2]) && + ((q[(_a + 20) >> 2] = lb), + (q[(lb + 24) >> 2] = _a)) + } + } + else if (3 == (3 & (_a = q[(4 + nb) >> 2]))) + return ( + (q[2089] = Za), + (q[(4 + nb) >> 2] = -2 & _a), + (q[(a + 4) >> 2] = 1 | Za), + (q[nb >> 2] = Za) + ) + } + f: { + if (!(2 & (_a = q[(4 + nb) >> 2]))) { + if (q[2093] == (0 | nb)) { + if ( + ((q[2093] = a), + (Za = (q[2090] + Za) | 0), + (q[2090] = Za), + (q[(a + 4) >> 2] = 1 | Za), + q[2092] != (0 | a)) + ) + break a + return (q[2089] = 0), (q[2092] = 0) + } + if (q[2092] == (0 | nb)) + return ( + (q[2092] = a), + (Za = (q[2089] + Za) | 0), + (q[2089] = Za), + (q[(a + 4) >> 2] = 1 | Za), + (q[(a + Za) >> 2] = Za) + ) + Za = ((-8 & _a) + Za) | 0 + g: if (_a >>> 0 <= 255) + (mb = _a >>> 3), + (_a = q[(8 + nb) >> 2]), + (0 | (lb = q[(12 + nb) >> 2])) == (0 | _a) + ? ((rb = q[2087] & ed(mb)), (q[2087] = rb)) + : ((q[(_a + 12) >> 2] = lb), + (q[(lb + 8) >> 2] = _a)) + else { + if ( + ((pb = q[(24 + nb) >> 2]), + (0 | nb) != (0 | (_a = q[(12 + nb) >> 2]))) + ) + (lb = q[(8 + nb) >> 2]), + (q[(lb + 12) >> 2] = _a), + (q[(_a + 8) >> 2] = lb) + else if ( + (mb = + (mb = q[(lb = (20 + nb) | 0) >> 2]) || + q[(lb = (16 + nb) | 0) >> 2]) + ) { + for ( + ; + (ob = lb), + (mb = q[(lb = ((_a = mb) + 20) | 0) >> 2]) || + ((lb = (_a + 16) | 0), + (mb = q[(_a + 16) >> 2])); + + ); + q[ob >> 2] = 0 + } else _a = 0 + if (pb) { + lb = q[(28 + nb) >> 2] + j: { + if ( + q[(mb = (8652 + (lb << 2)) | 0) >> 2] == + (0 | nb) + ) { + if ((q[mb >> 2] = _a)) break j + ;(rb = q[2088] & ed(lb)), (q[2088] = rb) + break g + } + if ( + !(q[ + (pb + + (q[(pb + 16) >> 2] == (0 | nb) ? 16 : 20)) >> + 2 + ] = _a) + ) + break g + } + ;(q[(_a + 24) >> 2] = pb), + (lb = q[(16 + nb) >> 2]) && + ((q[(_a + 16) >> 2] = lb), + (q[(lb + 24) >> 2] = _a)), + (lb = q[(20 + nb) >> 2]) && + ((q[(_a + 20) >> 2] = lb), + (q[(lb + 24) >> 2] = _a)) + } + } + if ( + ((q[(a + 4) >> 2] = 1 | Za), + (q[(a + Za) >> 2] = Za), + q[2092] != (0 | a)) + ) + break f + return (q[2089] = Za) + } + ;(q[(4 + nb) >> 2] = -2 & _a), + (q[(a + 4) >> 2] = 1 | Za), + (q[(a + Za) >> 2] = Za) + } + if (Za >>> 0 <= 255) + return ( + (Za = (8388 + ((_a = Za >>> 3) << 3)) | 0), + (_a = + (lb = q[2087]) & (_a = 1 << _a) + ? q[(Za + 8) >> 2] + : ((q[2087] = _a | lb), Za)), + (q[(Za + 8) >> 2] = a), + (q[(_a + 12) >> 2] = a), + (q[(a + 12) >> 2] = Za), + (q[(a + 8) >> 2] = _a) + ) + ;(q[(a + 16) >> 2] = 0), + (_a = q[(a + 20) >> 2] = 0), + (mb = Za >>> 8) && + ((_a = 31), + 16777215 < Za >>> 0 || + (_a = + (28 + + (((_a = + ((((nb = + (mb <<= ob = ((mb + 1048320) >>> 16) & 8) << + (_a = ((mb + 520192) >>> 16) & 4)) << + (mb = ((245760 + nb) >>> 16) & 2)) >>> + 15) - + (mb | _a | ob)) | + 0) << + 1) | + ((Za >>> (_a + 21)) & 1))) | + 0)), + (mb = (8652 + ((q[((lb = a) + 28) >> 2] = _a) << 2)) | 0) + m: { + if ((lb = q[2088]) & (ob = 1 << _a)) { + for ( + lb = Za << (31 == (0 | _a) ? 0 : (25 - (_a >>> 1)) | 0), + _a = q[mb >> 2]; + ; + + ) { + if ((-8 & q[((mb = _a) + 4) >> 2]) == (0 | Za)) break m + if ( + ((_a = lb >>> 29), + (lb <<= 1), + !(_a = q[(16 + (ob = (mb + (4 & _a)) | 0)) >> 2])) + ) + break + } + q[(ob + 16) >> 2] = a + } else (q[2088] = lb | ob), (q[mb >> 2] = a) + return ( + (q[(a + 24) >> 2] = mb), + (q[(a + 12) >> 2] = a), + (q[(a + 8) >> 2] = a) + ) + } + ;(Za = q[(mb + 8) >> 2]), + (q[(Za + 12) >> 2] = a), + (q[(mb + 8) >> 2] = a), + (q[(a + 24) >> 2] = 0), + (q[(a + 12) >> 2] = mb), + (q[(a + 8) >> 2] = Za) + } + } + function Aa(a) { + var vb, + xb, + yb, + Ab, + Bb, + Cb, + sb, + wb, + Za = x(0), + tb = (x(0), 0), + ub = 0, + zb = (x(0), x(0), x(0), x(0), 0) + x(0), x(0) + a: { + b: { + if ((j(a), (ub = 2147483647 & (tb = b[0])))) { + if (!(ub >>> 0 < 2139095041)) + return x(x(0.10000000149011612) + a) + if (1065353216 == (0 | ub)) + return x(-1 < (0 | tb) ? 0.10000000149011612 : 10) + if (2139095040 == (0 | ub)) + return x(-1 < (0 | tb) ? 0 : -a) + if (1073741824 == (0 | tb)) return x(0.010000000707805157) + if (1056964608 == (0 | tb)) return x(0.3162277638912201) + if (1291845633 <= ub >>> 0) return x((0 | tb) < 0 ? H : 0) + if ( + ((vb = u[1701]), + (wb = x(x(1.600000023841858) - vb)), + (xb = x(x(1) / x(vb + x(1.600000023841858)))), + f(0, -4096 & (j((sb = x(wb * xb))), b[0])), + (Za = k()), + (yb = x(Za * Za)), + (Bb = u[1705]), + (vb = x( + xb * + x( + x(wb - x((Ab = Za) * x(3.099609375))) - + x( + Za * + x( + x(1.600000023841858) - + x(x(3.099609375) - vb) + ) + ) + ) + )), + (xb = x(x(sb + Za) * vb)), + (Za = x(sb * sb)), + (wb = x( + xb + + x( + x(Za * Za) * + x( + x( + Za * + x( + x( + Za * + x( + x( + Za * + x( + x( + Za * + x( + x( + Za * + x( + 0.20697501301765442 + ) + ) + + x( + 0.23066075146198273 + ) + ) + ) + x(0.2727281153202057) + ) + ) + x(0.3333333432674408) + ) + ) + x(0.4285714328289032) + ) + ) + x(0.6000000238418579) + ) + ) + )), + f(0, -4096 & (j(x(x(yb + x(3)) + wb)), b[0])), + (Za = k()), + (xb = x(Ab * Za)), + (sb = x( + x(vb * Za) + x(sb * x(wb - x(x(Za + x(-3)) - yb))) + )), + f(0, -4096 & (j(x(xb + sb)), b[0])), + (Za = k()), + (vb = x(Za * x(0.9619140625))), + (yb = x( + u[1703] + + x( + x(x(sb - x(Za - xb)) * x(0.9617967009544373)) + + x(Za * x(-0.00011736857413779944)) + ) + )), + f(0, -4096 & (j(x(x(Bb + x(vb + yb)) + x(-4))), b[0])), + (sb = k()), + f(0, -4096 & tb), + (wb = k()), + (Za = x(sb * wb)), + (a = x( + x(x(yb - x(x(x(sb - x(-4)) - Bb) - vb)) * a) + + x(x(a - wb) * sb) + )), + j((sb = x(Za + a))), + 1124073473 <= (0 | (tb = b[0]))) + ) + break b + d: { + if ((ub = 1124073472) == (0 | tb)) { + if (x(a + x(4.299566569443414e-8)) > x(sb - Za)) + break b + } else { + if ( + ((ub = 2147483647 & tb), + !( + ((a <= x(sb - Za)) ^ 1) | + (-1021968384 != (0 | tb)) + ) | + (1125515265 <= ub >>> 0)) + ) + break a + if (ub >>> 0 < 1056964609) break d + } + ;(zb = + ((8388607 & + (ub = + ((8388608 >>> ((ub >>> 23) - 126)) + tb) | 0)) | + 8388608) >>> + (150 - (Cb = (ub >>> 23) & 255))), + (zb = (0 | tb) < 0 ? (0 - zb) | 0 : zb), + (Za = x( + Za - (f(0, ub & (-8388608 >> (Cb - 127))), k()) + )), + j(x(a + Za)), + (tb = b[0]) + } + f(0, -32768 & tb), + (sb = k()), + (vb = x(sb * x(0.693145751953125))), + (sb = x( + x(sb * x(14286065379565116e-22)) + + x(x(a - x(sb - Za)) * x(0.6931471824645996)) + )), + (a = x(vb + sb)), + (Za = x(a * a)), + (Za = x( + a - + x( + Za * + x( + x( + Za * + x( + x( + Za * + x( + x( + Za * + x( + x( + Za * + x(4.138136944220605e-8) + ) + + x(-16533901998627698e-22) + ) + ) + x(661375597701408e-19) + ) + ) + x(-0.0027777778450399637) + ) + ) + x(0.1666666716337204) + ) + ) + )), + (Ab = x(x(a * Za) / x(Za + x(-2)))), + (Za = x(sb - x(a - vb))), + (a = + (0 | + (tb = + 0 | + (j( + (a = x(x(a - x(Ab - x(Za + x(a * Za)))) + x(1))) + ), + b[0] + (zb << 23)))) <= + 8388607 + ? (function (a, Vk) { + var zl = 0 + return ( + 128 <= (0 | Vk) + ? ((a = x(a * x(17014118346046923e22))), + (Vk = + (0 | (zl = (Vk + -127) | 0)) < 128 + ? zl + : ((a = x( + a * x(17014118346046923e22) + )), + (((0 | Vk) < 381 ? Vk : 381) + + -254) | + 0))) + : -127 < (0 | Vk) || + ((a = x(a * x(11754943508222875e-54))), + (Vk = + -127 < (0 | (zl = (Vk + 126) | 0)) + ? zl + : ((a = x( + a * x(11754943508222875e-54) + )), + ((-378 < (0 | Vk) ? Vk : -378) + + 252) | + 0))), + x( + a * + (f(0, (1065353216 + (Vk << 23)) | 0), k()) + ) + ) + })(a, zb) + : (f(0, tb), k())), + (a = x(x(1) * a)) + } else a = x(1) + return a + } + return x(H) + } + return x(0) + } + function Ba(a, Db) { + var Jb, + Eb, + Gb, + Fb = 0, + Hb = 0, + Ib = x(0) + if ( + (j(Db), + !( + (Gb = 2147483647 & (Eb = b[0])) >>> 0 <= 2139095040 && + (j(a), (Fb = 2147483647 & (Hb = b[0])) >>> 0 < 2139095041) + )) + ) + return x(a + Db) + if (1065353216 == (0 | Eb)) return Ca(a) + Eb = (Jb = (Eb >>> 30) & 2) | (Hb >>> 31) + b: { + c: { + d: { + e: { + if (!Fb) { + switch ((Eb - 2) | 0) { + case 0: + break e + case 1: + break + default: + break d + } + return x(-3.1415927410125732) + } + if (2139095040 != (0 | Gb)) { + if ( + !Gb | + !( + Fb >>> 0 <= (218103808 + Gb) >>> 0 && + 2139095040 != (0 | Fb) + ) + ) + break b + if ( + ((a = Ib = + (Fb + 218103808) >>> 0 < Gb >>> 0 && + ((Ib = x(0)), Jb) + ? Ib + : Ca(x(y(x(a / Db))))), + Eb >>> 0 <= 2) + ) { + switch ((Eb - 1) | 0) { + case 0: + return x(-a) + case 1: + break + default: + break d + } + return x( + x(3.1415927410125732) - + x(a + x(8.742277657347586e-8)) + ) + } + return x( + x(a + x(8.742277657347586e-8)) + + x(-3.1415927410125732) + ) + } + if (2139095040 == (0 | Fb)) break c + return u[(6784 + (Eb << 2)) >> 2] + } + a = x(3.1415927410125732) + } + return a + } + return u[(6768 + (Eb << 2)) >> 2] + } + return x( + (0 | Hb) < 0 ? -1.5707963705062866 : 1.5707963705062866 + ) + } + function Ca(a) { + x(0) + var Kb, + Nb, + Ob, + Db, + Mb, + Lb = 0 + x(0), x(0), j(a) + a: { + if (1283457024 <= (Db = 2147483647 & (Mb = b[0])) >>> 0) { + if (2139095040 < Db >>> 0) break a + return x( + (0 | Mb) < 0 ? -1.570796251296997 : 1.570796251296997 + ) + } + b: { + if (Db >>> 0 <= 1054867455) { + if (((Lb = -1), 964689920 <= Db >>> 0)) break b + break a + } + ;(a = x(y(a))), + (Lb = + Db >>> 0 <= 1066926079 + ? Db >>> 0 <= 1060110335 + ? ((a = x(x(x(a + a) + x(-1)) / x(a + x(2)))), 0) + : ((a = x(x(a + x(-1)) / x(a + x(1)))), 1) + : Db >>> 0 <= 1075576831 + ? ((a = x( + x(a + x(-1.5)) / x(x(a * x(1.5)) + x(1)) + )), + 2) + : ((a = x(x(-1) / a)), 3)) + } + if ( + ((Db = Lb), + (Nb = x(a * a)), + (Kb = x(Nb * Nb)), + (Ob = x( + Kb * + x( + x(Kb * x(-0.106480173766613)) + + x(-0.19999158382415771) + ) + )), + (Kb = x( + Nb * + x( + x( + Kb * + x( + x(Kb * x(0.06168760731816292)) + + x(0.14253635704517365) + ) + ) + x(0.333333283662796) + ) + )), + (0 | Db) <= -1) + ) + return x(a - x(a * x(Ob + Kb))) + ;(a = x( + u[(6736 + (Db <<= 2)) >> 2] - + x(x(x(a * x(Ob + Kb)) - u[(6752 + Db) >> 2]) - a) + )), + (a = (0 | Mb) < 0 ? x(-a) : a) + } + return a + } + function Da(a, Pb) { + var Ub, + Sb, + Tb, + Qb = 0, + Rb = 0 + return ( + (L = Sb = (L - 16) | 0), + j(a), + (Qb = 2147483647 & (Tb = b[0])) >>> 0 <= 1305022426 + ? ((v[Pb >> 3] = + (Ub = +a) + + -1.5707963109016418 * + (Rb = + 0.6366197723675814 * Ub + + 6755399441055744 - + 6755399441055744) + + -1.5893254773528196e-8 * Rb), + (Qb = y(Rb) < 2147483648 ? ~~Rb : -2147483648)) + : 2139095040 <= Qb >>> 0 + ? ((v[Pb >> 3] = x(a - a)), (Qb = 0)) + : ((Ub = Qb), + (v[(8 + Sb) >> 3] = + (f( + 0, + (Ub - ((Qb = ((Qb >>> 23) - 150) | 0) << 23)) | 0 + ), + k())), + (Qb = (function (a, Il, Jl) { + var Nl, + Sl, + Wl, + Xl, + Zl, + _l, + Kl = 0, + Ll = 0, + Ml = 0, + Ol = 0, + Pl = 0, + Ql = 0, + Rl = 0, + Tl = 0, + Ul = 0, + Vl = 0, + Yl = 0 + if ( + ((L = Nl = (L - 560) | 0), + (Rl = + ((Ll = Jl) + + w( + (Wl = + 0 < (0 | (Jl = (((Jl + -3) | 0) / 24) | 0)) + ? Jl + : 0), + -24 + )) | + 0), + 0 <= (0 | (Sl = q[972]))) + ) + for ( + Ll = (Sl + 1) | 0, Jl = Wl; + (v[(((320 + Nl) | 0) + (Ml << 3)) >> 3] = + (0 | Jl) < 0 ? 0 : +q[(3904 + (Jl << 2)) >> 2]), + (Jl = (Jl + 1) | 0), + (0 | Ll) != (0 | (Ml = (Ml + 1) | 0)); + + ); + for (Pl = (Rl + -24) | 0, Ll = 0; ; ) { + for ( + Kl = Jl = 0; + (Kl += + v[((Jl << 3) + a) >> 3] * + v[(((320 + Nl) | 0) + ((Ll - Jl) << 3)) >> 3]), + 1 != (0 | (Jl = (Jl + 1) | 0)); + + ); + if ( + ((v[((Ll << 3) + Nl) >> 3] = Kl), + (Jl = (0 | Ll) < (0 | Sl)), + (Ll = (Ll + 1) | 0), + !Jl) + ) + break + } + ;(_l = (23 - Pl) | 0), (Xl = (24 - Pl) | 0), (Ll = Sl) + a: { + for (;;) { + if ( + ((Kl = v[((Ll << 3) + Nl) >> 3]), + !(Ul = ((Jl = 0) | (Ml = Ll)) < 1)) + ) + for ( + ; + (Ql = (((480 + Nl) | 0) + (Jl << 2)) | 0), + (Tl = Kl), + (Ol = + y((Kl *= 5.960464477539063e-8)) < + 2147483648 + ? ~~Kl + : -2147483648), + (Ol = + y((Tl += -16777216 * (Kl = 0 | Ol))) < + 2147483648 + ? ~~Tl + : -2147483648), + (q[Ql >> 2] = Ol), + (Kl = + v[ + (((Ml = (Ml + -1) | 0) << 3) + Nl) >> 3 + ] + Kl), + (0 | Ll) != (0 | (Jl = (Jl + 1) | 0)); + + ); + ;(Kl = ja(Kl, Pl)), + (Kl = + (Kl += -8 * C(0.125 * Kl)) - + (0 | + (Ql = + y(Kl) < 2147483648 ? ~~Kl : -2147483648))) + e: { + f: { + g: { + if ((Yl = (0 | Pl) < 1)) { + if (Pl) break g + Ol = + q[ + (476 + (((Ll << 2) + Nl) | 0)) >> 2 + ] >> 23 + } else + (Ol = + q[ + (476 + (Ml = ((Ll << 2) + Nl) | 0)) >> + 2 + ]), + (Vl = Ml), + (Ml = + (Ol - ((Jl = Ol >> Xl) << Xl)) | 0), + (Ql = (Jl + Ql) | 0), + (Ol = (q[(Vl + 476) >> 2] = Ml) >> _l) + if ((0 | Ol) < 1) break e + break f + } + if (((Ol = 2), !(0.5 <= Kl))) { + Ol = 0 + break e + } + } + if (((Ml = Jl = 0), !Ul)) + for (;;) { + ;(Ul = + q[ + (Zl = + (((480 + Nl) | 0) + (Jl << 2)) | 0) >> + 2 + ]), + (Vl = 16777215) + i: { + j: { + if (!Ml) { + if (!Ul) break j + ;(Vl = 16777216), (Ml = 1) + } + q[Zl >> 2] = Vl - Ul + break i + } + Ml = 0 + } + if ((0 | Ll) == (0 | (Jl = (Jl + 1) | 0))) + break + } + Yl || + 1 < (Jl = (Pl + -1) | 0) >>> 0 || + (q[(476 + (Jl = ((Ll << 2) + Nl) | 0)) >> 2] = + Jl - 1 + ? 8388607 & q[(Jl + 476) >> 2] + : 4194303 & q[(Jl + 476) >> 2]), + (Ql = (Ql + 1) | 0), + 2 == (0 | Ol) && + ((Kl = 1 - Kl), (Ol = 2), Ml) && + (Kl -= ja(1, Pl)) + } + if (0 != Kl) break + if (!(((Ml = 0) | (Jl = Ll)) <= (0 | Sl))) { + for ( + ; + (Ml = + q[ + (((480 + Nl) | 0) + + ((Jl = (Jl + -1) | 0) << 2)) >> + 2 + ] | Ml), + (0 | Sl) < (0 | Jl); + + ); + if (Ml) { + for ( + Rl = Pl; + (Rl = (Rl + -24) | 0), + !q[ + (((480 + Nl) | 0) + + ((Ll = (Ll + -1) | 0) << 2)) >> + 2 + ]; + + ); + break a + } + } + for ( + Jl = 1; + (Jl = ((Ml = Jl) + 1) | 0), + !q[ + (((480 + Nl) | 0) + ((Sl - Ml) << 2)) >> 2 + ]; + + ); + for (Ml = (Ll + Ml) | 0; ; ) { + for ( + Ll = Ql = (Ll + 1) | 0, + v[(((320 + Nl) | 0) + (Ql << 3)) >> 3] = + q[(3904 + ((Wl + Ll) << 2)) >> 2], + Kl = Jl = 0; + (Kl += + v[((Jl << 3) + a) >> 3] * + v[ + (((320 + Nl) | 0) + ((Ql - Jl) << 3)) >> 3 + ]), + 1 != (0 | (Jl = (Jl + 1) | 0)); + + ); + if ( + ((v[((Ll << 3) + Nl) >> 3] = Kl), + !((0 | Ll) < (0 | Ml))) + ) + break + } + Ll = Ml + } + 16777216 <= (Kl = ja(Kl, (0 - Pl) | 0)) + ? ((a = (((480 + Nl) | 0) + (Ll << 2)) | 0), + (Tl = Kl), + (Jl = + y((Kl *= 5.960464477539063e-8)) < 2147483648 + ? ~~Kl + : -2147483648), + (Ml = + y((Kl = Tl + -16777216 * (0 | Jl))) < + 2147483648 + ? ~~Kl + : -2147483648), + (q[a >> 2] = Ml), + (Ll = (Ll + 1) | 0)) + : ((Jl = y(Kl) < 2147483648 ? ~~Kl : -2147483648), + (Rl = Pl)), + (q[(((480 + Nl) | 0) + (Ll << 2)) >> 2] = Jl) + } + if (((Kl = ja(1, Rl)), !((0 | Ll) <= -1))) { + for ( + Jl = Ll; + (v[((Jl << 3) + Nl) >> 3] = + Kl * +q[(((480 + Nl) | 0) + (Jl << 2)) >> 2]), + (Kl *= 5.960464477539063e-8), + (a = 0 < (0 | Jl)), + (Jl = (Jl + -1) | 0), + a; + + ); + if (!((0 | Ll) <= -1)) + for (Jl = Ll; ; ) { + for ( + Pl = (Ll - (a = Jl)) | 0, Jl = Kl = 0; + (Kl += + v[(6672 + (Jl << 3)) >> 3] * + v[(((a + Jl) << 3) + Nl) >> 3]), + !((0 | Sl) <= (0 | Jl)) && + ((Rl = Jl >>> 0 < Pl >>> 0), + (Jl = (Jl + 1) | 0), + Rl); + + ); + if ( + ((v[(((160 + Nl) | 0) + (Pl << 3)) >> 3] = + Kl), + (Jl = (a + -1) | 0), + !(0 < (0 | a))) + ) + break + } + } + if (0 <= (Ll | (Kl = 0))) + for ( + ; + (Kl += v[(((160 + Nl) | 0) + (Ll << 3)) >> 3]), + (a = 0 < (0 | Ll)), + (Ll = (Ll + -1) | 0), + a; + + ); + return ( + (v[Il >> 3] = Ol ? -Kl : Kl), + (L = (560 + Nl) | 0), + 7 & Ql + ) + })((8 + Sb) | 0, Sb, Qb)), + (Rb = v[Sb >> 3]), + (0 | Tb) <= -1 + ? ((v[Pb >> 3] = -Rb), (Qb = (0 - Qb) | 0)) + : (v[Pb >> 3] = Rb)), + (L = (16 + Sb) | 0), + Qb + ) + } + function Ea(a, Pb) { + return a + ? (function (a, Il) { + a: { + if (a) { + if (Il >>> 0 <= 127) break a + if (q[q[1789] >> 2]) { + if (Il >>> 0 <= 2047) + return ( + (o[(a + 1) | 0] = (63 & Il) | 128), + (o[0 | a] = (Il >>> 6) | 192), + 2 + ) + if (!(57344 != (-8192 & Il) && 55296 <= Il >>> 0)) + return ( + (o[(a + 2) | 0] = (63 & Il) | 128), + (o[0 | a] = (Il >>> 12) | 224), + (o[(a + 1) | 0] = ((Il >>> 6) & 63) | 128), + 3 + ) + if ((Il + -65536) >>> 0 <= 1048575) + return ( + (o[(a + 3) | 0] = (63 & Il) | 128), + (o[0 | a] = (Il >>> 18) | 240), + (o[(a + 2) | 0] = ((Il >>> 6) & 63) | 128), + (o[(a + 1) | 0] = ((Il >>> 12) & 63) | 128), + 4 + ) + } else if (57216 == (-128 & Il)) break a + ;(q[2086] = 25), (a = -1) + } else a = 1 + return a + } + return (o[0 | a] = Il), 1 + })(a, Pb) + : 0 + } + function Fa(a, Pb, Wb) { + var fc, + gc, + Xb = 0, + Yb = 0, + Zb = 0, + _b = 0, + $b = 0, + ac = 0, + bc = 0, + cc = 0, + dc = 0, + ec = r[(a + 4) | 0] + if ( + ((q[Pb >> 2] = 652), + (Yb = q[(a + 704) >> 2]), + 1 <= (0 | (_b = q[Yb >> 2]))) + ) { + for ( + $b = q[(a + 720) >> 2], bc = q[(a + 1072) >> 2]; + (Zb = + ((1 << q[(bc + (q[($b + (Xb << 2)) >> 2] << 2)) >> 2]) + + Zb) | + 0), + (0 | _b) != (0 | (Xb = (Xb + 1) | 0)); + + ); + Xb = Zb << 2 + } + if ( + ((q[(Pb + 4) >> 2] = w(_b, 12)), + (q[(Pb + 8) >> 2] = q[Yb >> 2] << 2), + (q[(Pb + 12) >> 2] = q[Yb >> 2] << 2), + (q[(Pb + 16) >> 2] = q[Yb >> 2] << 2), + (q[(Pb + 20) >> 2] = q[Yb >> 2] << 2), + (Zb = q[Yb >> 2]), + (q[(Pb + 28) >> 2] = Xb), + (q[(Pb + 24) >> 2] = Zb << 2), + (Zb = q[Yb >> 2]), + (q[(Pb + 40) >> 2] = Xb), + (q[(Pb + 36) >> 2] = Xb), + (q[(Pb + 32) >> 2] = Zb << 2), + (q[(Pb + 44) >> 2] = q[(Yb + 4) >> 2] << 5), + (q[(Pb + 48) >> 2] = q[(Yb + 4) >> 2] << 2), + (q[(Pb + 52) >> 2] = q[(Yb + 4) >> 2] << 2), + (q[(Pb + 56) >> 2] = q[(Yb + 4) >> 2] << 2), + (q[(Pb + 60) >> 2] = q[(Yb + 4) >> 2] << 4), + (q[(Pb + 64) >> 2] = q[(Yb + 4) >> 2] << 4), + 1 <= ((Xb = 0) | (_b = q[(Yb + 8) >> 2]))) + ) { + for ( + $b = q[(a + 780) >> 2], + bc = q[(a + 1072) >> 2], + dc = q[(a + 796) >> 2], + Zb = 0; + (ac = + (((15 + (q[((cc = Xb << 2) + dc) >> 2] << 3)) & -16) + + ac) | + 0), + (Zb = + ((1 << q[(bc + (q[($b + cc) >> 2] << 2)) >> 2]) + Zb) | + 0), + (0 | _b) != (0 | (Xb = (Xb + 1) | 0)); + + ); + Xb = Zb << 2 + } + if ( + ((q[(Pb + 68) >> 2] = w(_b, 24)), + (q[(Pb + 72) >> 2] = q[(Yb + 8) >> 2] << 2), + (q[(Pb + 76) >> 2] = q[(Yb + 8) >> 2] << 2), + (Zb = q[(Yb + 8) >> 2]), + (q[(Pb + 84) >> 2] = ac), + (q[(Pb + 80) >> 2] = Zb << 2), + (q[(Pb + 88) >> 2] = q[(Yb + 8) >> 2] << 4), + (q[(Pb + 92) >> 2] = q[(Yb + 8) >> 2] << 4), + (Zb = q[(Yb + 8) >> 2]), + (q[(Pb + 100) >> 2] = Xb), + (q[(Pb + 96) >> 2] = Zb << 2), + (Zb = q[(Yb + 8) >> 2]), + (q[(Pb + 140) >> 2] = Xb), + (q[(Pb + 136) >> 2] = Xb), + (q[(Pb + 132) >> 2] = Xb), + (q[(Pb + 128) >> 2] = Xb), + (q[(Pb + 124) >> 2] = Xb), + (q[(Pb + 120) >> 2] = Xb), + (q[(Pb + 116) >> 2] = Xb), + (q[(Pb + 112) >> 2] = Xb), + (q[(Pb + 108) >> 2] = Xb), + (q[(Pb + 104) >> 2] = Zb << 2), + (q[(Pb + 144) >> 2] = q[(Yb + 8) >> 2] << 2), + (q[(Pb + 148) >> 2] = q[(Yb + 8) >> 2] << 2), + (q[(Pb + 152) >> 2] = q[(Yb + 8) >> 2] << 2), + (q[(Pb + 156) >> 2] = q[(Yb + 8) >> 2] << 2), + (q[(Pb + 160) >> 2] = q[(Yb + 8) >> 2] << 2), + (q[(Pb + 164) >> 2] = q[(Yb + 8) >> 2] << 2), + 1 <= ((Xb = ac = 0) | (_b = q[(Yb + 12) >> 2]))) + ) { + for ( + $b = q[(a + 812) >> 2], bc = q[(a + 1072) >> 2], Zb = 0; + (Zb = + ((1 << q[(bc + (q[($b + (Xb << 2)) >> 2] << 2)) >> 2]) + + Zb) | + 0), + (0 | _b) != (0 | (Xb = (Xb + 1) | 0)); + + ); + Xb = Zb << 2 + } + if ( + ((q[(Pb + 168) >> 2] = w(_b, 12)), + (q[(Pb + 172) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 176) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 180) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 184) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 188) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 192) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 196) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 200) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 204) >> 2] = q[(Yb + 12) >> 2] << 4), + (q[(Pb + 208) >> 2] = q[(Yb + 12) >> 2] << 4), + (Zb = q[(Yb + 12) >> 2]), + (q[(Pb + 216) >> 2] = Xb), + (q[(Pb + 212) >> 2] = Zb << 2), + (Zb = q[(Yb + 12) >> 2]), + (q[(Pb + 268) >> 2] = Xb), + (q[(Pb + 264) >> 2] = Xb), + (q[(Pb + 260) >> 2] = Xb), + (q[(Pb + 256) >> 2] = Xb), + (q[(Pb + 252) >> 2] = Xb), + (q[(Pb + 248) >> 2] = Xb), + (q[(Pb + 244) >> 2] = Xb), + (q[(Pb + 240) >> 2] = Xb), + (q[(Pb + 236) >> 2] = Xb), + (q[(Pb + 232) >> 2] = Xb), + (q[(Pb + 228) >> 2] = Xb), + (q[(Pb + 224) >> 2] = Xb), + (q[(Pb + 220) >> 2] = Zb << 2), + (q[(Pb + 272) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 276) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 280) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 284) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 288) >> 2] = q[(Yb + 12) >> 2] << 2), + (q[(Pb + 292) >> 2] = q[(Yb + 12) >> 2] << 2), + 1 <= ((Xb = 0) | (Zb = q[(Yb + 16) >> 2]))) + ) { + for ( + $b = q[(a + 852) >> 2], + bc = q[(a + 1072) >> 2], + dc = q[(a + 892) >> 2], + _b = 0; + (ac = + (((15 + (q[((cc = Xb << 2) + dc) >> 2] << 3)) & -16) + + ac) | + 0), + (_b = + ((1 << q[(bc + (q[($b + cc) >> 2] << 2)) >> 2]) + _b) | + 0), + (0 | Zb) != (0 | (Xb = (Xb + 1) | 0)); + + ); + Xb = _b << 2 + } + if ( + ((q[(Pb + 296) >> 2] = w(Zb, 20)), + (q[(Pb + 300) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 304) >> 2] = q[(Yb + 16) >> 2]), + (q[(Pb + 308) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 312) >> 2] = q[(Yb + 16) >> 2] << 2), + (Zb = q[(Yb + 16) >> 2]), + (q[(Pb + 320) >> 2] = ac), + (q[(Pb + 316) >> 2] = Zb << 2), + (q[(Pb + 324) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 328) >> 2] = q[(Yb + 16) >> 2] << 4), + (q[(Pb + 332) >> 2] = q[(Yb + 16) >> 2] << 4), + (q[(Pb + 336) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 340) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 344) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 348) >> 2] = q[(Yb + 16) >> 2] << 4), + (q[(Pb + 352) >> 2] = q[(Yb + 16) >> 2] << 4), + (Zb = q[(Yb + 16) >> 2]), + (q[(Pb + 360) >> 2] = Xb), + (q[(Pb + 356) >> 2] = Zb << 2), + (Zb = q[(Yb + 16) >> 2]), + (q[(Pb + 404) >> 2] = Xb), + (q[(Pb + 400) >> 2] = Xb), + (q[(Pb + 396) >> 2] = Xb), + (q[(Pb + 392) >> 2] = Xb), + (q[(Pb + 388) >> 2] = Xb), + (q[(Pb + 384) >> 2] = Xb), + (q[(Pb + 380) >> 2] = Xb), + (q[(Pb + 376) >> 2] = Xb), + (q[(Pb + 372) >> 2] = Xb), + (q[(Pb + 368) >> 2] = Xb), + (q[(Pb + 364) >> 2] = Zb << 2), + (q[(Pb + 408) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 412) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 416) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 420) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 424) >> 2] = q[(Yb + 16) >> 2] << 2), + (q[(Pb + 428) >> 2] = q[(Yb + 16) >> 2] << 2), + ($b = q[(a + 704) >> 2]), + (q[(Pb + 432) >> 2] = w(q[($b + 20) >> 2], 52)), + (q[(Pb + 436) >> 2] = + ec >>> (Xb = _b = 0) <= 3 ? q[($b + 20) >> 2] << 2 : 0), + (q[(Pb + 440) >> 2] = q[($b + 20) >> 2] << 2), + (q[(Pb + 444) >> 2] = w(q[($b + 52) >> 2], 28)), + 1 <= (0 | (Yb = q[($b + 48) >> 2]))) + ) { + for ( + Zb = q[(a + 1072) >> 2], ac = 0; + (ac = ((bc = q[(Zb + (Xb << 2)) >> 2]) + ac) | 0), + (_b = ((1 << bc) + _b) | 0), + (0 | Yb) != (0 | (Xb = (Xb + 1) | 0)); + + ); + ;(Xb = _b << 2), (_b = ac << 2) + } + if ( + ((q[(Pb + 460) >> 2] = Xb), + (q[(Pb + 456) >> 2] = Xb), + (q[(Pb + 452) >> 2] = _b), + (q[(Pb + 448) >> 2] = w(Yb, 36)), + (q[(Pb + 500) >> 2] = w(q[($b + 72) >> 2], 28)), + 1 <= ((ac = Xb = Zb = 0) | (bc = q[($b + 72) >> 2]))) + ) { + for ( + dc = q[(a + 1224) >> 2], + cc = q[(a + 1220) >> 2], + gc = q[(a + 1212) >> 2], + _b = 0; + (_b = + (0 | + (fc = + (q[((Yb = ac << 2) + cc) >> 2] - q[(Yb + dc) >> 2]) | + 0)) < + (0 | _b) + ? _b + : (1 + fc) | 0), + (Xb = + (0 | Xb) < (0 | (Yb = q[(Yb + gc) >> 2])) ? Yb : Xb), + (0 | bc) != (0 | (ac = (ac + 1) | 0)); + + ); + ;(ac = Xb << 2), (Xb = _b << 2) + } + if ( + ((Yb = q[($b + 76) >> 2]), + (q[(Pb + 516) >> 2] = Xb), + (q[(Pb + 512) >> 2] = ac), + (q[(Pb + 508) >> 2] = Xb), + (q[(Pb + 504) >> 2] = Yb << 4), + 1 <= (0 | (Yb = q[($b + 80) >> 2]))) + ) { + for ( + Zb = q[(a + 1248) >> 2], + ac = q[(a + 1072) >> 2], + _b = Xb = 0; + (_b = + ((1 << q[(ac + (q[(Zb + (Xb << 2)) >> 2] << 2)) >> 2]) + + _b) | + 0), + (0 | Yb) != (0 | (Xb = (Xb + 1) | 0)); + + ); + Zb = _b << 2 + } + if ( + ((q[(Pb + 520) >> 2] = w(Yb, 24)), + (q[(Pb + 524) >> 2] = q[($b + 80) >> 2] << 2), + (Yb = q[($b + 80) >> 2]), + (q[(Pb + 532) >> 2] = Zb), + (q[(Pb + 528) >> 2] = Yb << 2), + (Yb = q[($b + 80) >> 2]), + (q[(Pb + 544) >> 2] = Zb), + (q[(Pb + 540) >> 2] = Zb), + (q[(Pb + 536) >> 2] = Yb << 2), + (Yb = Pb), + 4 <= ec >>> 0) + ) { + if ( + ((q[(Pb + 464) >> 2] = w(q[($b + 120) >> 2], 20)), + (q[(Pb + 468) >> 2] = w(q[($b + 100) >> 2], 28)), + (Zb = Pb), + 1 <= ((Xb = ac = 0) | (bc = q[($b + 104) >> 2]))) + ) { + for ( + a = q[(a + 1104) >> 2], _b = 0; + (_b = (q[(a + (Xb << 2)) >> 2] + _b) | 0), + (0 | bc) != (0 | (Xb = (Xb + 1) | 0)); + + ); + a = _b << 2 + } else a = 0 + ;(q[(Zb + 476) >> 2] = a), + (q[(Pb + 472) >> 2] = w(bc, 48)), + (q[(Pb + 484) >> 2] = w(q[($b + 108) >> 2], 12)), + (a = q[($b + 112) >> 2]), + (q[(Pb + 552) >> 2] = 0), + (q[(Pb + 492) >> 2] = w(a, 12)), + (a = 0) + } else { + if ((0 | (ac = q[($b + 20) >> 2])) < 1) _b = 0 + else + for ( + bc = q[(a + 1060) >> 2], + dc = q[(a + 952) >> 2], + a = q[(a + 948) >> 2], + Zb = _b = 0; + ; + + ) { + if (1 <= (0 | (cc = q[((Xb = Zb << 2) + dc) >> 2]))) + for ( + cc = + ((Xb = (bc + (q[(a + Xb) >> 2] << 2)) | 0) + + (cc << 2)) | + 0; + (_b = (q[Xb >> 2] + _b) | 0), + (Xb = (Xb + 4) | 0) >>> 0 < cc >>> 0; + + ); + if ((0 | ac) == (0 | (Zb = (Zb + 1) | 0))) break + } + ;(q[(Pb + 552) >> 2] = ac << 2), + (ac = q[($b + 20) >> 2] << 2), + (a = _b << 2) + } + for ( + q[(Yb + 556) >> 2] = a, + q[(Pb + 548) >> 2] = ac, + 4 < ec >>> 0 && + ((q[(Pb + 480) >> 2] = w(q[($b + 128) >> 2], 12)), + (q[(Pb + 488) >> 2] = w(q[($b + 132) >> 2], 12)), + (q[(Pb + 496) >> 2] = w(q[($b + 136) >> 2], 12))), + Xb = _b = 0; + (Xb = + ((((Yb = q[(a = ((_b << 2) + Pb) | 0) >> 2]) + 15) & -16) + + (q[a >> 2] = Xb)) | + 0), + 140 != (0 | (_b = (_b + 1) | 0)); + + ); + q[Wb >> 2] = Xb + } + function Ga(a, Pb, Wb, hc) { + a: { + if (!(20 < Pb >>> 0 || 9 < (Pb = (Pb + -9) | 0) >>> 0)) { + switch ((Pb - 1) | 0) { + default: + return ( + (Pb = q[Wb >> 2]), + (q[Wb >> 2] = Pb + 4), + (q[a >> 2] = q[Pb >> 2]) + ) + case 0: + return ( + (Pb = q[Wb >> 2]), + (q[Wb >> 2] = Pb + 4), + (Pb = q[Pb >> 2]), + (q[a >> 2] = Pb), + (q[(a + 4) >> 2] = Pb >> 31) + ) + case 1: + return ( + (Pb = q[Wb >> 2]), + (q[Wb >> 2] = Pb + 4), + (q[a >> 2] = q[Pb >> 2]), + (q[(a + 4) >> 2] = 0) + ) + case 3: + return ( + (Pb = q[Wb >> 2]), + (q[Wb >> 2] = Pb + 4), + (Pb = p[Pb >> 1]), + (q[a >> 2] = Pb), + (q[(a + 4) >> 2] = Pb >> 31) + ) + case 4: + return ( + (Pb = q[Wb >> 2]), + (q[Wb >> 2] = Pb + 4), + (q[a >> 2] = s[Pb >> 1]), + (q[(a + 4) >> 2] = 0) + ) + case 5: + return ( + (Pb = q[Wb >> 2]), + (q[Wb >> 2] = Pb + 4), + (Pb = o[0 | Pb]), + (q[a >> 2] = Pb), + (q[(a + 4) >> 2] = Pb >> 31) + ) + case 6: + return ( + (Pb = q[Wb >> 2]), + (q[Wb >> 2] = Pb + 4), + (q[a >> 2] = r[0 | Pb]), + (q[(a + 4) >> 2] = 0) + ) + case 2: + case 7: + break a + case 8: + } + n[hc](a, Wb) + } + return + } + ;(Pb = (q[Wb >> 2] + 7) & -8), + (q[Wb >> 2] = Pb + 8), + (Wb = q[(Pb + 4) >> 2]), + (q[a >> 2] = q[Pb >> 2]), + (q[(a + 4) >> 2] = Wb) + } + function Ha(a) { + var Pb, + hc, + Wb = 0 + if (ha(o[q[a >> 2]])) + for ( + ; + (Pb = q[a >> 2]), + (hc = o[0 | Pb]), + (q[a >> 2] = Pb + 1), + (Wb = (((w(Wb, 10) + hc) | 0) - 48) | 0), + ha(o[(Pb + 1) | 0]); + + ); + return Wb + } + function Ia(a, ic, jc, kc, lc) { + var oc, mc + ;(q[(204 + (L = mc = (L - 208) | 0)) >> 2] = jc), + ca((160 + mc) | (jc = 0), 0, 40), + (q[(200 + mc) >> 2] = q[(204 + mc) >> 2]), + (0 | + ra( + 0, + ic, + (200 + mc) | 0, + (80 + mc) | 0, + (160 + mc) | 0, + kc, + lc + )) < + 0 || + ((jc = 0 <= q[(a + 76) >> 2] ? 1 : jc), + (jc = q[a >> 2]), + o[(a + 74) | 0] <= 0 && (q[a >> 2] = -33 & jc), + (oc = 32 & jc), + q[(a + 48) >> 2] + ? ra( + a, + ic, + (200 + mc) | 0, + (80 + mc) | 0, + (160 + mc) | 0, + kc, + lc + ) + : ((q[(a + 48) >> 2] = 80), + (q[(a + 16) >> 2] = 80 + mc), + (q[(a + 28) >> 2] = mc), + (q[(a + 20) >> 2] = mc), + (jc = q[(a + 44) >> 2]), + ra( + a, + ic, + (200 + (q[(a + 44) >> 2] = mc)) | 0, + (80 + mc) | 0, + (160 + mc) | 0, + kc, + lc + ), + jc && + (n[q[(a + 36) >> 2]](a, 0, 0), + (q[(a + 48) >> 2] = 0), + (q[(a + 44) >> 2] = jc), + (q[(a + 28) >> 2] = 0), + (q[(a + 16) >> 2] = 0), + (q[(a + 20) >> 2] = 0))), + (q[a >> 2] = q[a >> 2] | oc)), + (L = (208 + mc) | 0) + } + function Ka(a, ic, pc) { + var rc, qc + $((8 + (L = qc = (L - 160) | 0)) | 0, 3192, 144), + (q[(52 + qc) >> 2] = a), + (q[(28 + qc) >> 2] = a), + (q[(56 + qc) >> 2] = rc = + (rc = (-2 - a) | 0) >>> 0 < 256 ? rc : 256), + (q[(36 + qc) >> 2] = a = (a + rc) | 0), + (q[(24 + qc) >> 2] = a), + Ia((8 + qc) | 0, ic, pc, 11, 12), + rc && + ((a = q[(28 + qc) >> 2]), + (o[(a - ((0 | a) == q[(24 + qc) >> 2])) | 0] = 0)), + (L = (160 + qc) | 0) + } + function La(a, ic) { + var sc, + tc, + pc = 0, + pc = 0 != (0 | ic) + a: { + b: { + c: { + d: if (!(!ic | !(3 & a))) + for (;;) { + if (!r[0 | a]) break c + if ( + ((a = (a + 1) | 0), + (pc = 0 != (0 | (ic = (ic + -1) | 0))), + !ic) + ) + break d + if (!(3 & a)) break + } + if (!pc) break b + } + if (!r[0 | a]) break a + e: { + if (4 <= ic >>> 0) { + for ( + pc = ((pc = (ic + -4) | 0) - (sc = -4 & pc)) | 0, + sc = (4 + ((a + sc) | 0)) | 0; + ; + + ) { + if ( + (-1 ^ (tc = q[a >> 2])) & + (tc + -16843009) & + -2139062144 + ) + break e + if ( + ((a = (a + 4) | 0), + !(3 < (ic = (ic + -4) | 0) >>> 0)) + ) + break + } + ;(ic = pc), (a = sc) + } + if (!ic) break b + } + for (;;) { + if (!r[0 | a]) break a + if (((a = (a + 1) | 0), !(ic = (ic + -1) | 0))) break + } + } + return 0 + } + return a + } + function Ma(a) { + var uc, + ic = 0 + if (!a) return 32 + if (!(1 & a)) + for (; (ic = (ic + 1) | 0), (uc = 2 & a), (a >>>= 1), !uc; ); + return ic + } + function Na(a, vc) { + var zc, + Ac, + Bc, + yc, + wc = 0, + xc = 0, + xc = 4 + L = yc = (L - 256) | 0 + a: if (!((0 | vc) < 2)) + for (wc = q[(Bc = ((vc << 2) + a) | 0) >> 2] = yc; ; ) { + for ( + $(wc, q[a >> 2], (zc = xc >>> 0 < 256 ? xc : 256)), + wc = 0; + $( + q[(Ac = ((wc << 2) + a) | 0) >> 2], + q[(((wc = (wc + 1) | 0) << 2) + a) >> 2], + zc + ), + (q[Ac >> 2] = q[Ac >> 2] + zc), + (0 | vc) != (0 | wc); + + ); + if (!(xc = (xc - zc) | 0)) break a + wc = q[Bc >> 2] + } + L = (256 + yc) | 0 + } + function Oa(a) { + return ( + Ma((q[a >> 2] + -1) | 0) || + ((a = Ma(q[(a + 4) >> 2])) ? (a + 32) | 0 : 0) + ) + } + function _c(a, $o) { + ;($o |= 0), (b[0] = a |= 0), (b[1] = $o) + } + function bd(a, $o, ap) { + return (function (a, $o, ap) { + var ep, + cp, + bp, + dp, + fp = w((cp = ap >>> 16), (bp = a >>> 16)) + return ( + (a = + ((65535 & + (bp = + (((ep = w((dp = 65535 & ap), (a &= 65535))) >>> 16) + + w(bp, dp)) | + 0)) + + w(a, cp)) | + 0), + (M = + (((((fp + w($o, ap)) | 0) + (bp >>> 16)) | 0) + + (a >>> 16)) | + 0), + (65535 & ep) | (a << 16) + ) + })(a, $o, ap) + } + function cd(a, $o, ap) { + return (function (a, $o, ap) { + var np, + mp, + gp = 0, + hp = 0, + ip = 0, + jp = 0, + kp = 0, + lp = 0, + op = 0 + a: { + b: { + c: { + d: { + e: { + if (!(hp = $o)) + return ( + _c( + (($o = a) - + w((a = ((a >>> 0) / (ap >>> 0)) | 0), ap)) | + 0, + 0 + ), + (M = 0), + a + ) + if ((gp = ap)) { + if (!((jp = (gp + -1) | 0) & gp)) break e + kp = + (0 - (jp = (((z(gp) + 33) | 0) - z(hp)) | 0)) | + 0 + break c + } + if (!a) + return ( + _c( + 0, + (hp - w((a = ((hp >>> 0) / 0) | 0), 0)) | 0 + ), + (M = 0), + a + ) + if ((gp = (32 - z(hp)) | 0) >>> 0 < 31) break d + break b + } + if ((_c(a & jp, 0), 1 == (0 | gp))) break a + return ( + (ap = + 31 & + (gp = gp ? (31 - z((gp + -1) ^ gp)) | 0 : 32)), + (a = + 32 <= (63 & gp) >>> 0 + ? ((hp = 0), $o >>> ap) + : ((hp = $o >>> ap), + ((((1 << ap) - 1) & $o) << (32 - ap)) | + (a >>> ap))), + (M = hp), + a + ) + } + ;(jp = (gp + 1) | 0), (kp = (63 - gp) | 0) + } + if ( + ((gp = $o), + (ip = 31 & (hp = 63 & jp)), + (ip = + 32 <= hp >>> 0 + ? ((hp = 0), gp >>> ip) + : ((hp = gp >>> ip), + ((((1 << ip) - 1) & gp) << (32 - ip)) | + (a >>> ip))), + (gp = 31 & (kp &= 63)), + 32 <= kp >>> 0 + ? (($o = a << gp), (a = 0)) + : (($o = + (((1 << gp) - 1) & (a >>> (32 - gp))) | + ($o << gp)), + (a <<= gp)), + jp) + ) + for ( + (kp = (ap + (gp = -1)) | 0) >>> 0 < 4294967295 && + (gp = 0); + (ip = + ((mp = lp = (ip << 1) | ($o >>> 31)) - + (np = + ap & + (lp = + (gp - + (((hp = (hp << 1) | (ip >>> 31)) + + (kp >>> 0 < lp >>> 0)) | + 0)) >> + 31))) | + 0), + (hp = (hp - (mp >>> 0 < np >>> 0)) | 0), + ($o = ($o << 1) | (a >>> 31)), + (a = op | (a << 1)), + (op = lp &= 1), + (jp = (jp + -1) | 0); + + ); + return ( + _c(ip, hp), (M = ($o << 1) | (a >>> 31)), lp | (a << 1) + ) + } + _c(a, $o), ($o = a = 0) + } + return (M = $o), a + })(a, $o, ap) + } + function ed(a) { + var pp + return ( + (((-1 >>> (pp = 31 & a)) & -2) << pp) | + (((-1 << (a = (0 - a) & 31)) & -2) >>> a) + ) + } + function N() { + return (buffer.byteLength / 65536) | 0 + } + })(H, I, J), + } + } + ;(l = null), b.wasmBinary && (F = b.wasmBinary) + var WebAssembly = {}, + F = [] + 'object' != typeof WebAssembly && E('no native wasm support detected') + var I, + J = new (function (a) { + var c = Array(16) + return ( + (c.grow = function () { + 17 <= c.length && + B( + 'Unable to grow wasm table. Use a higher value for RESERVED_FUNCTION_POINTERS or set ALLOW_TABLE_GROWTH.' + ), + c.push(null) + }), + (c.set = function (a, e) { + c[a] = e + }), + (c.get = function (a) { + return c[a] + }), + c + ) + })(), + K = !1 + function assert(a, c) { + a || B('Assertion failed: ' + c) + } + var buffer, + M, + L, + N, + ha = + 'undefined' != typeof TextDecoder ? new TextDecoder('utf8') : void 0 + function ia(a, c, d) { + var e = c + d + for (d = c; a[d] && !(e <= d); ) ++d + if (16 < d - c && a.subarray && ha) return ha.decode(a.subarray(c, d)) + for (e = ''; c < d; ) { + var g, + m, + f = a[c++] + 128 & f + ? ((g = 63 & a[c++]), + 192 == (224 & f) + ? (e += String.fromCharCode(((31 & f) << 6) | g)) + : ((m = 63 & a[c++]), + (f = + 224 == (240 & f) + ? ((15 & f) << 12) | (g << 6) | m + : ((7 & f) << 18) | + (g << 12) | + (m << 6) | + (63 & a[c++])) < 65536 + ? (e += String.fromCharCode(f)) + : ((f -= 65536), + (e += String.fromCharCode( + 55296 | (f >> 10), + 56320 | (1023 & f) + ))))) + : (e += String.fromCharCode(f)) + } + return e + } + function ja(a, c) { + return a ? ia(L, a, c) : '' + } + function ka(a) { + return 0 < a % 65536 && (a += 65536 - (a % 65536)), a + } + function la(a) { + ;(buffer = a), + (b.HEAP8 = M = new Int8Array(a)), + (b.HEAP16 = new Int16Array(a)), + (b.HEAP32 = N = new Int32Array(a)), + (b.HEAPU8 = L = new Uint8Array(a)), + (b.HEAPU16 = new Uint16Array(a)), + (b.HEAPU32 = new Uint32Array(a)), + (b.HEAPF32 = new Float32Array(a)), + (b.HEAPF64 = new Float64Array(a)) + } + 'undefined' != typeof TextDecoder && new TextDecoder('utf-16le') + var G = b.TOTAL_MEMORY || 16777216 + function O(a) { + for (; 0 < a.length; ) { + var d, + c = a.shift() + 'function' == typeof c + ? c() + : 'number' == typeof (d = c.ea) + ? void 0 === c.da + ? b.dynCall_v(d) + : b.dynCall_vi(d, c.da) + : d(void 0 === c.da ? null : c.da) + } + } + ;(I = + b.wasmMemory || + new (function () { + return { + buffer: new ArrayBuffer((G / 65536) * 65536), + grow: function (a) { + return ca(a) + }, + } + })()) && (buffer = I.buffer), + buffer.byteLength, + la(buffer), + (N[2216] = 5251936) + var ra, + ma = [], + na = [], + oa = [], + pa = [], + P = + ((Math.imul && -5 === Math.imul(4294967295, 5)) || + (Math.imul = function (a, c) { + var d = 65535 & a, + e = 65535 & c + return (d * e + (((a >>> 16) * e + d * (c >>> 16)) << 16)) | 0 + }), + Math.fround || + ((ra = new Float32Array(1)), + (Math.fround = function (a) { + return (ra[0] = a), ra[0] + })), + Math.clz32 || + (Math.clz32 = function (a) { + var c = 32, + d = a >> 16 + return ( + d && ((c -= 16), (a = d)), + (d = a >> 8) && ((c -= 8), (a = d)), + (d = a >> 4) && ((c -= 4), (a = d)), + (d = a >> 2) && ((c -= 2), (a = d)), + a >> 1 ? c - 2 : c - a + ) + }), + Math.trunc || + (Math.trunc = function (a) { + return a < 0 ? Math.ceil(a) : Math.floor(a) + }), + 0), + Q = null, + U = null + function B(a) { + throw ( + (b.onAbort && b.onAbort(a), + D(a), + E(a), + (K = !0), + 'abort(' + a + '). Build with -s ASSERTIONS=1 for more info.') + ) + } + ;(b.preloadedImages = {}), (b.preloadedAudios = {}) + var V = 'data:application/octet-stream;base64,' + function W(a) { + return String.prototype.startsWith + ? a.startsWith(V) + : 0 === a.indexOf(V) + } + var X = '_em_module.wasm' + function ta() { + try { + if (F) return new Uint8Array(F) + var a = z(X) + if (a) return a + if (w) return w(X) + throw 'both async and sync fetching of the wasm failed' + } catch (c) { + B(c) + } + } + W(X) || ((t = X), (X = b.locateFile ? b.locateFile(t, u) : u + t)), + na.push({ + ea: function () { + va() + }, + }) + var wa = [null, [], []], + xa = !1 + function C(a) { + for (var c = [], d = 0; d < a.length; d++) { + var e = a[d] + 255 < e && + (xa && + assert( + !1, + 'Character code ' + + e + + ' (' + + String.fromCharCode(e) + + ') at offset ' + + d + + ' not in 0x00-0xFF.' + ), + (e &= 255)), + c.push(String.fromCharCode(e)) + } + return c.join('') + } + var ya = + 'function' == typeof atob + ? atob + : function (a) { + var c = '', + d = 0 + a = a.replace(/[^A-Za-z0-9\+\/=]/g, '') + do { + var e = + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.indexOf( + a.charAt(d++) + ), + f = + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.indexOf( + a.charAt(d++) + ), + g = + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.indexOf( + a.charAt(d++) + ), + m = + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='.indexOf( + a.charAt(d++) + ), + e = (e << 2) | (f >> 4), + f = ((15 & f) << 4) | (g >> 2), + h = ((3 & g) << 6) | m + } while ( + ((c += String.fromCharCode(e)), + 64 !== g && (c += String.fromCharCode(f)), + 64 !== m && (c += String.fromCharCode(h)), + d < a.length) + ) + return c + } + function z(a) { + if (W(a)) { + if (((a = a.slice(V.length)), 'boolean' == typeof r && r)) { + try { + var c = Buffer.from(a, 'base64') + } catch (g) { + c = new Buffer(a, 'base64') + } + var d = new Uint8Array(c.buffer, c.byteOffset, c.byteLength) + } else + try { + for ( + var e = ya(a), f = new Uint8Array(e.length), c = 0; + c < e.length; + ++c + ) + f[c] = e.charCodeAt(c) + d = f + } catch (g) { + throw Error('Converting base64 string to bytes failed.') + } + return d + } + } + var Y, + H = { + a: function (a, c, d) { + L.set(L.subarray(c, c + d), a) + }, + b: function (a) { + if (2147418112 < a) return !1 + for (var c = Math.max(M.length, 16777216); c < a; ) + c = + c <= 536870912 + ? ka(2 * c) + : Math.min(ka((3 * c + 2147483648) / 4), 2147418112) + a: { + try { + I.grow((c - buffer.byteLength + 65535) >> 16), la(I.buffer) + var d = 1 + break a + } catch (e) {} + d = void 0 + } + return !!d + }, + c: function (a, c, d, e) { + try { + for (var f = 0, g = 0; g < d; g++) { + for ( + var m = N[(c + 8 * g) >> 2], + h = N[(c + (8 * g + 4)) >> 2], + A = 0; + A < h; + A++ + ) { + var R = L[m + A], + S = wa[a] + 0 === R || 10 === R + ? ((1 === a ? D : E)(ia(S, 0)), (S.length = 0)) + : S.push(R) + } + f += h + } + return (N[e >> 2] = f), 0 + } catch (T) { + return ( + ('undefined' != typeof FS && T instanceof FS.fa) || B(T), T.ga + ) + } + }, + memory: I, + table: J, + }, + u = (function () { + function a(a) { + ;(b.asm = a.exports), + P--, + b.monitorRunDependencies && b.monitorRunDependencies(P), + 0 == P && + (null !== Q && (clearInterval(Q), (Q = null)), U) && + ((a = U), (U = null), a()) + } + function c(c) { + a(c.instance) + } + function d(a) { + ;(F || (!p && !q) || 'function' != typeof fetch + ? new Promise(function (a) { + a(ta()) + }) + : fetch(X, { credentials: 'same-origin' }) + .then(function (a) { + if (a.ok) return a.arrayBuffer() + throw "failed to load wasm binary file at '" + X + "'" + }) + .catch(ta) + ) + .then(function () { + return { + then: function (a) { + a({ instance: new da() }) + }, + } + }) + .then(a, function (a) { + E('failed to asynchronously prepare wasm: ' + a), B(a) + }) + } + var e = { env: H, wasi_unstable: H } + if ( + (P++, + b.monitorRunDependencies && b.monitorRunDependencies(P), + b.instantiateWasm) + ) + try { + return b.instantiateWasm(e, a) + } catch (f) { + return ( + E('Module.instantiateWasm callback failed with error: ' + f), + !1 + ) + } + return ( + F || + 'function' != typeof WebAssembly.instantiateStreaming || + W(X) || + 'function' != typeof fetch + ? d(c) + : fetch(X, { credentials: 'same-origin' }).then(function (a) { + return WebAssembly.instantiateStreaming(a, e).then( + c, + function (a) { + E('wasm streaming compile failed: ' + a), + E('falling back to ArrayBuffer instantiation'), + d(c) + } + ) + }), + {} + ) + })(), + va = + ((b.asm = u), + (b.___wasm_call_ctors = function () { + return b.asm.d.apply(null, arguments) + })), + Aa = + ((b._csmGetLogFunction = function () { + return b.asm.e.apply(null, arguments) + }), + (b._csmGetVersion = function () { + return b.asm.f.apply(null, arguments) + }), + (b._csmGetLatestMocVersion = function () { + return b.asm.g.apply(null, arguments) + }), + (b._csmGetMocVersion = function () { + return b.asm.h.apply(null, arguments) + }), + (b._csmHasMocConsistency = function () { + return b.asm.i.apply(null, arguments) + }), + (b._csmSetLogFunction = function () { + return b.asm.j.apply(null, arguments) + }), + (b._csmReviveMocInPlace = function () { + return b.asm.k.apply(null, arguments) + }), + (b._csmReadCanvasInfo = function () { + return b.asm.l.apply(null, arguments) + }), + (b._csmGetSizeofModel = function () { + return b.asm.m.apply(null, arguments) + }), + (b._csmInitializeModelInPlace = function () { + return b.asm.n.apply(null, arguments) + }), + (b._csmUpdateModel = function () { + return b.asm.o.apply(null, arguments) + }), + (b._csmGetParameterCount = function () { + return b.asm.p.apply(null, arguments) + }), + (b._csmGetParameterIds = function () { + return b.asm.q.apply(null, arguments) + }), + (b._csmGetParameterTypes = function () { + return b.asm.r.apply(null, arguments) + }), + (b._csmGetParameterMinimumValues = function () { + return b.asm.s.apply(null, arguments) + }), + (b._csmGetParameterMaximumValues = function () { + return b.asm.t.apply(null, arguments) + }), + (b._csmGetParameterDefaultValues = function () { + return b.asm.u.apply(null, arguments) + }), + (b._csmGetParameterValues = function () { + return b.asm.v.apply(null, arguments) + }), + (b._csmGetPartCount = function () { + return b.asm.w.apply(null, arguments) + }), + (b._csmGetPartIds = function () { + return b.asm.x.apply(null, arguments) + }), + (b._csmGetPartOpacities = function () { + return b.asm.y.apply(null, arguments) + }), + (b._csmGetPartParentPartIndices = function () { + return b.asm.z.apply(null, arguments) + }), + (b._csmGetDrawableCount = function () { + return b.asm.A.apply(null, arguments) + }), + (b._csmGetDrawableIds = function () { + return b.asm.B.apply(null, arguments) + }), + (b._csmGetDrawableConstantFlags = function () { + return b.asm.C.apply(null, arguments) + }), + (b._csmGetDrawableDynamicFlags = function () { + return b.asm.D.apply(null, arguments) + }), + (b._csmGetDrawableTextureIndices = function () { + return b.asm.E.apply(null, arguments) + }), + (b._csmGetDrawableDrawOrders = function () { + return b.asm.F.apply(null, arguments) + }), + (b._csmGetDrawableRenderOrders = function () { + return b.asm.G.apply(null, arguments) + }), + (b._csmGetDrawableOpacities = function () { + return b.asm.H.apply(null, arguments) + }), + (b._csmGetDrawableMaskCounts = function () { + return b.asm.I.apply(null, arguments) + }), + (b._csmGetDrawableMasks = function () { + return b.asm.J.apply(null, arguments) + }), + (b._csmGetDrawableVertexCounts = function () { + return b.asm.K.apply(null, arguments) + }), + (b._csmGetDrawableVertexPositions = function () { + return b.asm.L.apply(null, arguments) + }), + (b._csmGetDrawableVertexUvs = function () { + return b.asm.M.apply(null, arguments) + }), + (b._csmGetDrawableIndexCounts = function () { + return b.asm.N.apply(null, arguments) + }), + (b._csmGetDrawableIndices = function () { + return b.asm.O.apply(null, arguments) + }), + (b._csmGetDrawableMultiplyColors = function () { + return b.asm.P.apply(null, arguments) + }), + (b._csmGetDrawableScreenColors = function () { + return b.asm.Q.apply(null, arguments) + }), + (b._csmGetDrawableParentPartIndices = function () { + return b.asm.R.apply(null, arguments) + }), + (b._csmResetDrawableDynamicFlags = function () { + return b.asm.S.apply(null, arguments) + }), + (b._csmGetParameterKeyCounts = function () { + return b.asm.T.apply(null, arguments) + }), + (b._csmGetParameterKeyValues = function () { + return b.asm.U.apply(null, arguments) + }), + (b._csmMallocMoc = function () { + return b.asm.V.apply(null, arguments) + }), + (b._csmMallocModelAndInitialize = function () { + return b.asm.W.apply(null, arguments) + }), + (b._csmMalloc = function () { + return b.asm.X.apply(null, arguments) + }), + (b._csmFree = function () { + return b.asm.Y.apply(null, arguments) + }), + (b._csmInitializeAmountOfMemory = function () { + return b.asm.Z.apply(null, arguments) + }), + (b.stackSave = function () { + return b.asm._.apply(null, arguments) + })), + Ba = (b.stackAlloc = function () { + return b.asm.$.apply(null, arguments) + }), + Ca = (b.stackRestore = function () { + return b.asm.aa.apply(null, arguments) + }), + ca = (b.__growWasmMemory = function () { + return b.asm.ba.apply(null, arguments) + }) + function Z() { + function a() { + if (!Y && ((Y = !0), !K)) { + if ( + (O(na), + O(oa), + b.onRuntimeInitialized && b.onRuntimeInitialized(), + b.postRun) + ) + for ( + 'function' == typeof b.postRun && (b.postRun = [b.postRun]); + b.postRun.length; + + ) { + var a = b.postRun.shift() + pa.unshift(a) + } + O(pa) + } + } + if (!(0 < P)) { + if (b.preRun) + for ( + 'function' == typeof b.preRun && (b.preRun = [b.preRun]); + b.preRun.length; + + ) + !(function () { + var a = b.preRun.shift() + ma.unshift(a) + })() + O(ma), + 0 < P || + (b.setStatus + ? (b.setStatus('Running...'), + setTimeout(function () { + setTimeout(function () { + b.setStatus('') + }, 1), + a() + }, 1)) + : a()) + } + } + if ( + ((b.dynCall_vi = function () { + return b.asm.ca.apply(null, arguments) + }), + (b.asm = u), + (b.ccall = function (a, c, d, e) { + var f = { + string: function (a) { + var c = 0 + if (null != a && 0 !== a) { + var d = 1 + (a.length << 2), + e = (c = Ba(d)), + f = L + if (0 < d) { + for (var d = e + d - 1, g = 0; g < a.length; ++g) { + var k = a.charCodeAt(g) + if ( + (k = + 55296 <= k && k <= 57343 + ? (65536 + ((1023 & k) << 10)) | + (1023 & a.charCodeAt(++g)) + : k) <= 127 + ) { + if (d <= e) break + f[e++] = k + } else { + if (k <= 2047) { + if (d <= e + 1) break + f[e++] = 192 | (k >> 6) + } else { + if (k <= 65535) { + if (d <= e + 2) break + f[e++] = 224 | (k >> 12) + } else { + if (d <= e + 3) break + ;(f[e++] = 240 | (k >> 18)), + (f[e++] = 128 | ((k >> 12) & 63)) + } + f[e++] = 128 | ((k >> 6) & 63) + } + f[e++] = 128 | (63 & k) + } + } + f[e] = 0 + } + } + return c + }, + array: function (a) { + var c = Ba(a.length) + return M.set(a, c), c + }, + }, + g = (function (a) { + var c = b['_' + a] + return ( + assert( + c, + 'Cannot call unknown function ' + + a + + ', make sure it is exported' + ), + c + ) + })(a), + m = [] + if (((a = 0), e)) + for (var h = 0; h < e.length; h++) { + var A = f[d[h]] + A ? (0 === a && (a = Aa()), (m[h] = A(e[h]))) : (m[h] = e[h]) + } + return ( + (d = (function (a) { + return 'string' === c ? ja(a) : 'boolean' === c ? !!a : a + })((d = g.apply(null, m)))), + 0 !== a && Ca(a), + d + ) + }), + (b.UTF8ToString = ja), + (b.addFunction = function (a, c) { + var d = J.length + try { + J.grow(1) + } catch (e) { + if ((!e) instanceof RangeError) throw e + throw 'Unable to grow wasm table. Use a higher value for RESERVED_FUNCTION_POINTERS or set ALLOW_TABLE_GROWTH.' + } + try { + J.set(d, a) + } catch (e) { + if ((!e) instanceof TypeError) throw e + assert(void 0 !== c, 'Missing signature argument to addFunction'), + J.set(d, a) + } + return d + }), + (b.then = function (a) { + var c + return ( + Y + ? a(b) + : ((c = b.onRuntimeInitialized), + (b.onRuntimeInitialized = function () { + c && c(), a(b) + })), + b + ) + }), + (U = function Da() { + Y || Z(), Y || (U = Da) + }), + (b.run = Z), + b.preInit) + ) + for ( + 'function' == typeof b.preInit && (b.preInit = [b.preInit]); + 0 < b.preInit.length; + + ) + b.preInit.pop()() + return Z(), _em_module + }), + _em = + ('object' == typeof exports && 'object' == typeof module + ? (module.exports = _em_module) + : 'function' == typeof define && define.amd + ? define([], function () { + return _em_module + }) + : 'object' == typeof exports && (exports._em_module = _em_module), + _em_module()) +})((Live2DCubismCore = Live2DCubismCore || {})) diff --git a/public/voice_test.wav b/public/voice_test.wav new file mode 100644 index 00000000..b643f912 Binary files /dev/null and b/public/voice_test.wav differ diff --git a/src/components/Live2DComponent.tsx b/src/components/Live2DComponent.tsx new file mode 100644 index 00000000..d19d17e8 --- /dev/null +++ b/src/components/Live2DComponent.tsx @@ -0,0 +1,199 @@ +import { Application, Ticker, DisplayObject } from 'pixi.js' +import { useEffect, useRef, useState } from 'react' +import { Live2DModel } from 'pixi-live2d-display-lipsyncpatch' +import homeStore from '@/features/stores/home' +import settingsStore from '@/features/stores/settings' +import { Live2DHandler } from '@/features/messages/live2dHandler' +import { debounce } from 'lodash' + +console.log('Live2DComponent module loaded') + +const setModelPosition = ( + app: Application, + model: InstanceType +) => { + const scale = 0.3 + model.scale.set(scale) + model.x = app.renderer.width / 2 + model.y = app.renderer.height / 2 +} + +const Live2DComponent = () => { + console.log('Live2DComponent rendering') + + const canvasContainerRef = useRef(null) + const [app, setApp] = useState(null) + const [model, setModel] = useState | null>( + null + ) + const modelRef = useRef | null>(null) + const [isDragging, setIsDragging] = useState(false) + const [dragOffset, setDragOffset] = useState({ x: 0, y: 0 }) + const selectedLive2DPath = settingsStore((state) => state.selectedLive2DPath) + + useEffect(() => { + initApp() + return () => { + if (modelRef.current) { + modelRef.current.destroy() + modelRef.current = null + } + if (app) { + app.destroy(true) + } + } + }, []) + + useEffect(() => { + if (app && selectedLive2DPath) { + // 既存のモデルがある場合は先に削除 + if (modelRef.current) { + app.stage.removeChild(modelRef.current as unknown as DisplayObject) + modelRef.current.destroy() + modelRef.current = null + setModel(null) + } + // ステージをクリア + app.stage.removeChildren() + // 新しいモデルを読み込む + loadLive2DModel(app, selectedLive2DPath) + } + }, [app, selectedLive2DPath]) + + const initApp = () => { + if (!canvasContainerRef.current) return + + const app = new Application({ + width: window.innerWidth, + height: window.innerHeight, + view: canvasContainerRef.current, + backgroundAlpha: 0, + antialias: true, + }) + + setApp(app) + } + + const loadLive2DModel = async ( + currentApp: Application, + modelPath: string + ) => { + if (!canvasContainerRef.current) return + const hs = homeStore.getState() + + try { + const newModel = await Live2DModel.fromSync(modelPath, { + ticker: Ticker.shared, + autoHitTest: false, + autoFocus: false, + }) + + await new Promise((resolve, reject) => { + newModel.once('load', () => resolve(true)) + newModel.once('error', (e) => reject(e)) + setTimeout(() => reject(new Error('Model load timeout')), 10000) + }) + + currentApp.stage.addChild(newModel as unknown as DisplayObject) + newModel.anchor.set(0.5, 0.5) + setModelPosition(currentApp, newModel) + + modelRef.current = newModel + setModel(newModel) + hs.live2dViewer = newModel + + await Live2DHandler.resetToIdle() + } catch (error) { + console.error('Failed to load Live2D model:', error) + } + } + + useEffect(() => { + if (!canvasContainerRef.current || !model) return + + const canvas = canvasContainerRef.current + + const handlePointerDown = (event: PointerEvent) => { + setIsDragging(true) + setDragOffset({ + x: event.clientX - model.x, + y: event.clientY - model.y, + }) + + if (event.button !== 2) { + model.tap(event.clientX, event.clientY) + } + } + + const handlePointerMove = (event: PointerEvent) => { + if (isDragging) { + model.x = event.clientX - dragOffset.x + model.y = event.clientY - dragOffset.y + } + } + + const handlePointerUp = () => { + setIsDragging(false) + } + + const handleWheel = (event: WheelEvent) => { + event.preventDefault() + // スケール変更を緩やかにするため、係数を小さくする + const scaleChange = event.deltaY * -0.0002 + // 現在のスケールに緩やかな変更を適用 + const newScale = model.scale.x + scaleChange + // スケールの範囲は0.1から2.0に制限 + if (newScale >= 0.1 && newScale <= 2.0) { + model.scale.set(newScale) + } + } + + // イベントリスナーの登録 + canvas.addEventListener('pointerdown', handlePointerDown) + canvas.addEventListener('pointermove', handlePointerMove) + canvas.addEventListener('pointerup', handlePointerUp) + canvas.addEventListener('wheel', handleWheel, { passive: false }) + + // クリーンアップ関数 + return () => { + canvas.removeEventListener('pointerdown', handlePointerDown) + canvas.removeEventListener('pointermove', handlePointerMove) + canvas.removeEventListener('pointerup', handlePointerUp) + canvas.removeEventListener('wheel', handleWheel) + } + }, [model, isDragging, dragOffset]) + + useEffect(() => { + if (!app || !model) return + + const onResize = debounce(() => { + if (!canvasContainerRef.current) return + + app.renderer.resize( + canvasContainerRef.current.clientWidth, + canvasContainerRef.current.clientHeight + ) + + setModelPosition(app, model) + }, 250) + + window.addEventListener('resize', onResize) + + return () => { + window.removeEventListener('resize', onResize) + onResize.cancel() // クリーンアップ時にデバウンスをキャンセル + } + }, [app, model]) + + return ( +
+ e.preventDefault()} + /> +
+ ) +} + +export default Live2DComponent diff --git a/src/components/live2DViewer.tsx b/src/components/live2DViewer.tsx new file mode 100644 index 00000000..154513bc --- /dev/null +++ b/src/components/live2DViewer.tsx @@ -0,0 +1,107 @@ +'use client' + +import { useEffect, useRef, useState } from 'react' +import dynamic from 'next/dynamic' +import Script from 'next/script' +import homeStore from '@/features/stores/home' + +const Live2DComponent = dynamic( + () => { + console.log('Loading Live2DComponent...') + return import('./Live2DComponent') + .then((mod) => { + console.log('Live2DComponent loaded successfully') + return mod + }) + .catch((err) => { + console.error('Failed to load Live2DComponent:', err) + throw err + }) + }, + { + ssr: false, + loading: () => { + console.log('Live2DComponent is loading...') + return null + }, + } +) + +export default function Live2DViewer() { + const [isMounted, setIsMounted] = useState(false) + const [scriptLoadRetries, setScriptLoadRetries] = useState({ + cubismcore: 0, + live2d: 0, + }) + const MAX_RETRIES = 3 + + const isCubismCoreLoaded = homeStore((s) => s.isCubismCoreLoaded) + const setIsCubismCoreLoaded = homeStore((s) => s.setIsCubismCoreLoaded) + const isLive2dLoaded = homeStore((s) => s.isLive2dLoaded) + const setIsLive2dLoaded = homeStore((s) => s.setIsLive2dLoaded) + + // スクリプトの再読み込み処理 + const retryLoadScript = (scriptName: 'cubismcore' | 'live2d') => { + if (scriptLoadRetries[scriptName] < MAX_RETRIES) { + setScriptLoadRetries((prev) => ({ + ...prev, + [scriptName]: prev[scriptName] + 1, + })) + // 強制的に再読み込みするためにキーを変更 + return true + } + return false + } + + useEffect(() => { + console.log('Live2DViewer mounted') + setIsMounted(true) + }, []) + + if (!isMounted) { + console.log('Live2DViewer not mounted yet') + return null + } + + console.log('Rendering Live2DViewer') + return ( +
+