@proxyvn/genai 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +609 -0
- package/dist/genai.d.ts +11232 -0
- package/dist/index.cjs +276 -0
- package/dist/index.mjs +276 -0
- package/dist/node/index.cjs +281 -0
- package/dist/node/index.mjs +281 -0
- package/dist/node/node.d.ts +11244 -0
- package/dist/tokenizer/node.cjs +46 -0
- package/dist/tokenizer/node.d.ts +1159 -0
- package/dist/tokenizer/node.mjs +51 -0
- package/dist/web/index.mjs +271 -0
- package/dist/web/web.d.ts +11237 -0
- package/node/package.json +4 -0
- package/package.json +167 -0
- package/web/package.json +4 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const a5_0x44ee1b=a5_0x3284;(function(_0x3249c7,_0x28dc3){const _0x11b60e=a5_0x3284,_0x29b8c0=_0x3249c7();while(!![]){try{const _0x1573e3=-parseInt(_0x11b60e(0x368))/0x1+parseInt(_0x11b60e(0x272))/0x2+parseInt(_0x11b60e(0x197))/0x3*(parseInt(_0x11b60e(0x398))/0x4)+-parseInt(_0x11b60e(0x33b))/0x5+-parseInt(_0x11b60e(0x1ae))/0x6+parseInt(_0x11b60e(0x1e5))/0x7+parseInt(_0x11b60e(0x282))/0x8;if(_0x1573e3===_0x28dc3)break;else _0x29b8c0['push'](_0x29b8c0['shift']());}catch(_0x3dc7cf){_0x29b8c0['push'](_0x29b8c0['shift']());}}}(a5_0x95a5,0xf17e3));import a5_0x59bd37 from'protobufjs/minimal.js';import*as a5_0x233a0f from'crypto';import*as a5_0x2575ee from'fs/promises';import*as a5_0x51114d from'os';import*as a5_0x49adab from'path';/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
var Outcome;(function(_0x349a67){const _0x2c0066=a5_0x3284;_0x349a67[_0x2c0066(0x2e7)]=_0x2c0066(0x2e7),_0x349a67['OUTCOME_OK']='OUTCOME_OK',_0x349a67[_0x2c0066(0x259)]=_0x2c0066(0x259),_0x349a67[_0x2c0066(0x2c5)]=_0x2c0066(0x2c5);}(Outcome||(Outcome={})));var Language;(function(_0x4839b6){const _0x42c50b=a5_0x3284;_0x4839b6['LANGUAGE_UNSPECIFIED']=_0x42c50b(0x369),_0x4839b6['PYTHON']=_0x42c50b(0x210);}(Language||(Language={})));var FunctionResponseScheduling;(function(_0x254186){const _0x364c56=a5_0x3284;_0x254186[_0x364c56(0x252)]=_0x364c56(0x252),_0x254186[_0x364c56(0x1f4)]=_0x364c56(0x1f4),_0x254186['WHEN_IDLE']=_0x364c56(0x176),_0x254186[_0x364c56(0x1e8)]='INTERRUPT';}(FunctionResponseScheduling||(FunctionResponseScheduling={})));var Type;(function(_0x42c214){const _0x26b7c1=a5_0x3284;_0x42c214[_0x26b7c1(0x329)]=_0x26b7c1(0x329),_0x42c214[_0x26b7c1(0x371)]=_0x26b7c1(0x371),_0x42c214[_0x26b7c1(0x390)]=_0x26b7c1(0x390),_0x42c214['INTEGER']='INTEGER',_0x42c214[_0x26b7c1(0x18e)]=_0x26b7c1(0x18e),_0x42c214[_0x26b7c1(0x229)]=_0x26b7c1(0x229),_0x42c214[_0x26b7c1(0x324)]='OBJECT',_0x42c214[_0x26b7c1(0x3be)]=_0x26b7c1(0x3be);}(Type||(Type={})));var ApiSpec;(function(_0x35ff6c){const _0x3a4717=a5_0x3284;_0x35ff6c['API_SPEC_UNSPECIFIED']=_0x3a4717(0x1c6),_0x35ff6c[_0x3a4717(0x299)]=_0x3a4717(0x299),_0x35ff6c[_0x3a4717(0x1ee)]=_0x3a4717(0x1ee);}(ApiSpec||(ApiSpec={})));var AuthType;(function(_0x3d986f){const _0x2634bc=a5_0x3284;_0x3d986f['AUTH_TYPE_UNSPECIFIED']=_0x2634bc(0x35c),_0x3d986f['NO_AUTH']=_0x2634bc(0x25f),_0x3d986f[_0x2634bc(0x2dd)]=_0x2634bc(0x2dd),_0x3d986f[_0x2634bc(0x20e)]=_0x2634bc(0x20e),_0x3d986f[_0x2634bc(0x332)]=_0x2634bc(0x332),_0x3d986f[_0x2634bc(0x250)]=_0x2634bc(0x250),_0x3d986f[_0x2634bc(0x394)]=_0x2634bc(0x394);}(AuthType||(AuthType={})));var HttpElementLocation;(function(_0x29b2ee){const _0x40fea5=a5_0x3284;_0x29b2ee[_0x40fea5(0x31d)]=_0x40fea5(0x31d),_0x29b2ee[_0x40fea5(0x1b1)]=_0x40fea5(0x1b1),_0x29b2ee[_0x40fea5(0x236)]=_0x40fea5(0x236),_0x29b2ee[_0x40fea5(0x1eb)]=_0x40fea5(0x1eb),_0x29b2ee[_0x40fea5(0x2a4)]=_0x40fea5(0x2a4),_0x29b2ee[_0x40fea5(0x1f1)]=_0x40fea5(0x1f1);}(HttpElementLocation||(HttpElementLocation={})));var PhishBlockThreshold;(function(_0x187cd5){const _0x1b2b81=a5_0x3284;_0x187cd5[_0x1b2b81(0x333)]=_0x1b2b81(0x333),_0x187cd5[_0x1b2b81(0x275)]=_0x1b2b81(0x275),_0x187cd5[_0x1b2b81(0x1e6)]='BLOCK_MEDIUM_AND_ABOVE',_0x187cd5[_0x1b2b81(0x213)]=_0x1b2b81(0x213),_0x187cd5[_0x1b2b81(0x28e)]=_0x1b2b81(0x28e),_0x187cd5[_0x1b2b81(0x184)]=_0x1b2b81(0x184),_0x187cd5[_0x1b2b81(0x248)]=_0x1b2b81(0x248);}(PhishBlockThreshold||(PhishBlockThreshold={})));var Behavior;(function(_0xdd493c){const _0x35e500=a5_0x3284;_0xdd493c['UNSPECIFIED']=_0x35e500(0x2c9),_0xdd493c[_0x35e500(0x1df)]=_0x35e500(0x1df),_0xdd493c[_0x35e500(0x377)]='NON_BLOCKING';}(Behavior||(Behavior={})));var DynamicRetrievalConfigMode;(function(_0x1c386d){const _0x36dfaf=a5_0x3284;_0x1c386d[_0x36dfaf(0x37a)]=_0x36dfaf(0x37a),_0x1c386d[_0x36dfaf(0x38f)]=_0x36dfaf(0x38f);}(DynamicRetrievalConfigMode||(DynamicRetrievalConfigMode={})));var FunctionCallingConfigMode;(function(_0x53a2c1){const _0x2860ef=a5_0x3284;_0x53a2c1[_0x2860ef(0x37a)]='MODE_UNSPECIFIED',_0x53a2c1[_0x2860ef(0x201)]=_0x2860ef(0x201),_0x53a2c1['ANY']=_0x2860ef(0x3a3),_0x53a2c1[_0x2860ef(0x239)]=_0x2860ef(0x239),_0x53a2c1[_0x2860ef(0x335)]=_0x2860ef(0x335);}(FunctionCallingConfigMode||(FunctionCallingConfigMode={})));var ThinkingLevel;(function(_0x142e28){const _0x161b06=a5_0x3284;_0x142e28[_0x161b06(0x2be)]=_0x161b06(0x2be),_0x142e28[_0x161b06(0x29b)]=_0x161b06(0x29b),_0x142e28['MEDIUM']='MEDIUM',_0x142e28[_0x161b06(0x2d0)]=_0x161b06(0x2d0),_0x142e28['MINIMAL']=_0x161b06(0x381);}(ThinkingLevel||(ThinkingLevel={})));var HarmCategory;(function(_0x351dbc){const _0x21b122=a5_0x3284;_0x351dbc[_0x21b122(0x17b)]=_0x21b122(0x17b),_0x351dbc['HARM_CATEGORY_HARASSMENT']=_0x21b122(0x30a),_0x351dbc['HARM_CATEGORY_HATE_SPEECH']=_0x21b122(0x382),_0x351dbc[_0x21b122(0x2d8)]=_0x21b122(0x2d8),_0x351dbc[_0x21b122(0x23e)]='HARM_CATEGORY_DANGEROUS_CONTENT',_0x351dbc[_0x21b122(0x33f)]=_0x21b122(0x33f),_0x351dbc[_0x21b122(0x384)]=_0x21b122(0x384),_0x351dbc[_0x21b122(0x2ea)]='HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT',_0x351dbc[_0x21b122(0x34f)]=_0x21b122(0x34f),_0x351dbc[_0x21b122(0x346)]=_0x21b122(0x346),_0x351dbc[_0x21b122(0x209)]=_0x21b122(0x209);}(HarmCategory||(HarmCategory={})));function a5_0x95a5(){const _0x29473b=['ARRAY','BYTE','create','HARM_BLOCK_METHOD_UNSPECIFIED','Content\x20contains\x20unsupported\x20types\x20for\x20token\x20counting.\x20','object\x20expected','JOB_STATE_CANCELLING','NEED_MORE_INPUT','noMerge','systemInstruction','model','SAFETY','getTexts','HTTP_IN_HEADER','G_MAJOR_E_MINOR','A_MAJOR_G_FLAT_MINOR','NONE','splitByWhitespace','removeExtraWhitespaces','popMax','E_FLAT_MAJOR_C_MINOR','HARM_CATEGORY_DANGEROUS_CONTENT','\x20not\x20found','symbol','parts','JOB_STATE_RUNNING','requiredChars','TUNING_TASK_I2V','differentialPrivacyClippingThreshold:\x20integer|Long\x20expected','vocabSize:\x20integer\x20expected','acceptLanguage:\x20array\x20expected','BLOCK_ONLY_EXTREMELY_HIGH','processor','isArray','shuffleInputSentence:\x20boolean\x20expected','call','URL_RETRIEVAL_STATUS_ERROR','enum','isByteID','OAUTH','characterCoverage:\x20number\x20expected','SCHEDULING_UNSPECIFIED','fork','ModelProto','length','user','defaults','IMAGE','OUTCOME_FAILED','.sentencepiece.TrainerSpec.userDefinedSymbols:\x20array\x20expected','https://raw.githubusercontent.com/google/gemma_pytorch/33b652c465537c6158f9a472ea5700e5e770ad3f/tokenizer/tokenizer.model','WORD','pretokenizationDelimiter','CHAR','NO_AUTH','Mixing\x20Content\x20and\x20Parts\x20is\x20not\x20supported,\x20please\x20group\x20the\x20parts\x20into\x20a\x20the\x20appropriate\x20Content\x20objects\x20and\x20specify\x20the\x20roles\x20for\x20them','isControlID','padId:\x20integer\x20expected','eosId:\x20integer\x20expected','tokenTextToBase64','role','len','addFunctionCall','util','high','acceptLanguage:\x20string[]\x20expected','F_MAJOR_D_MINOR','SOURCE_UNSPECIFIED','vertexai_tokenizer_model','RECITATION','videoMetadata','byte\x20value\x200x','differentialPrivacyNoiseLevel','549562wYdbHm','texts','unknownID','BLOCK_LOW_AND_ABOVE','LongBits','readFile','properties','Type','/sentencepiece.SelfTestData','ACTIVE','inputSentenceSize:\x20integer|Long\x20expected','functionDeclarations','addFunctionResponses','inputSentenceSize','\x20is\x20not\x20supported\x20for\x20local\x20tokenization.\x20Supported\x20models:\x20','.tmp','22645800jdHNGn','createHash','expected','fetchFromUrl','.sentencepiece.ModelProto.trainerSpec:\x20object\x20expected','ENVIRONMENT_BROWSER','max','DONT_ALLOW','START_SENSITIVITY_LOW','QUALITY','TEXT','NORMAL','BLOCK_HIGHER_AND_ABOVE','ModelType','tokenizerName','MEDIA_RESOLUTION_HIGH','decodeDelimited','findPrefixLen','OUTPAINT','addTool','maxSentenceLength:\x20integer\x20expected','.sentencepiece.TrainerSpec.acceptLanguage:\x20array\x20expected','enums','SIMPLE_SEARCH','longs','LOW','CONTROL_TYPE_FACE_MESH','ENVIRONMENT_UNSPECIFIED','modelUrl','entries','toString','type:\x20enum\x20value\x20expected','maxPieceLength','Got:\x20','HTTP_IN_BODY','cache','keys','pieces','Failed\x20to\x20fetch\x20tokenizer\x20model\x20from\x20','int32','platform','STOP','ACTIVITY_START','IMAGE_PROHIBITED_CONTENT','VAD_SIGNAL_TYPE_UNSPECIFIED','MASK_MODE_DEFAULT','MASK_MODE_BACKGROUND','boolean','piece','BLOCK_NONE','isString','symbolMatch','escapeWhitespaces','START_SENSITIVITY_HIGH','MEDIA_RESOLUTION_LOW','HARM_SEVERITY_NEGLIGIBLE','REGISTERED','trainingSentenceSize','ACTIVITY_END','score:\x20number\x20expected','THINKING_LEVEL_UNSPECIFIED','JOB_STATE_UPDATING','EDIT_MODE_PRODUCT_IMAGE','PROCESSING','seedSentencepieceSize','add','selfTestData.','OUTCOME_DEADLINE_EXCEEDED','fileData','AUDIO','input','UNSPECIFIED','SUBJECT_TYPE_DEFAULT','normalizerSpec','MODALITY_UNSPECIFIED','bytes','STATE_UNSPECIFIED','fromValue','HIGH','byteFallback','newBuffer','ADAPTER_SIZE_UNSPECIFIED','SUBJECT_TYPE_ANIMAL','modelName','addContents','numSubIterations:\x20integer\x20expected','HARM_CATEGORY_SEXUALLY_EXPLICIT','JOB_STATE_FAILED','splitByWhitespace:\x20boolean\x20expected','string','text','API_KEY_AUTH','trainExtremelyLargeCorpus','/sentencepiece.SelfTestData.Sample','ProcessorClass','left','TUNING_TASK_R2V','.\x20Got\x20file\x20hash\x20','STYLE','parameters','PROBABILITY','OUTCOME_UNSPECIFIED','MEDIUM','escapeWhitespaces:\x20boolean\x20expected','HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT','unkId','vocabSize','IMAGE_SAFETY','countTokens','START_OF_ACTIVITY_INTERRUPTS','encodeDelimited','END_SENSITIVITY_HIGH','UNUSED','To\x20specify\x20functionCall\x20or\x20functionResponse\x20parts,\x20please\x20wrap\x20them,\x20and\x20any\x20other\x20parts,\x20in\x20Content\x20objects\x20as\x20appropriate,\x20specifying\x20the\x20role\x20for\x20them','bosPiece','vocabularyOutputPieceScore:\x20boolean\x20expected','MUSIC_GENERATION_MODE_UNSPECIFIED','\x22\x20found\x20although\x20byte_fallback=false','unkSurface','<s>','HARM_SEVERITY_UNSPECIFIED','ADAPTER_SIZE_FOUR','Supported\x20fields:\x20','siftUp','acceptLanguage','failed\x20to\x20merge\x20symbols','randomUUID','next','root','fromObject','userDefinedSymbols:\x20string[]\x20expected','C_MAJOR_A_MINOR','EDIT_MODE_DEFAULT','userDefinedMatcher','MASK_MODE_USER_PROVIDED','EDIT_MODE_INPAINT_INSERTION','HARM_CATEGORY_HARASSMENT','includes','VIDEO','get','trainerSpec','LocalTokenizers\x20do\x20not\x20support\x20non-text\x20content\x20types.','auto','shrinkingFactor','precompiledCharsmap:\x20buffer\x20expected','ASSET','name','bool','CONTROL_TYPE_CANNY','PRIORITIZE_QUALITY','PartUnion\x20is\x20required','push','SEVERITY','reserved','unkSurface:\x20string\x20expected','HTTP_IN_UNSPECIFIED','normalize','requiredChars:\x20string\x20expected','useAllVocab','piece:\x20string\x20expected','GENERATED','encode','OBJECT','eosPiece:\x20string\x20expected','modelPrefix:\x20string\x20expected','SUBJECT_TYPE_PERSON','object','TYPE_UNSPECIFIED','verify','RESET_CONTEXT','MEDIA_RESOLUTION_MEDIUM','required','EDIT_MODE_CONTROLLED_EDITING','default','byteFallback:\x20boolean\x20expected','splitByNumber','GOOGLE_SERVICE_ACCOUNT_AUTH','PHISH_BLOCK_THRESHOLD_UNSPECIFIED','UNEXPECTED_TOOL_CALL','VALIDATED','unkId:\x20integer\x20expected','ContentUnion\x20is\x20required','FINISH_REASON_UNSPECIFIED','URL_RETRIEVAL_STATUS_UNSPECIFIED','samples.','6019955ojqhcc','uint64','idToByte','Model\x20has\x20no\x20pieces','HARM_CATEGORY_CIVIC_INTEGRITY','addSchema','toObject','.sentencepiece.TrainerSpec.input:\x20array\x20expected','modelType','items','update','HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT','BLOCK_ONLY_HIGH','byte2Token','.sentencepiece.ModelProto.normalizerSpec:\x20object\x20expected','ADAPTER_SIZE_THIRTY_TWO','byte\x20piece\x20\x22','save','base64','samples:\x20array\x20expected','HARM_CATEGORY_IMAGE_HARASSMENT','\x20is\x20not\x20supported.\x20Supported\x20tokenizers:\x20','fileSystem','BACKGROUND','pop','miningSentenceSize','enableDifferentialPrivacy','numThreads','inputFormat','unk\x20redefined','NEGLIGIBLE','removeFile','TURN_COMPLETE_REASON_UNSPECIFIED','AUTH_TYPE_UNSPECIFIED','number','JOB_STATE_PENDING','selfTestSampleSize','denormalizerSpec','roots','URL_RETRIEVAL_STATUS_PAYWALL','INSERT','map','VOCALIZATION','normalizationRuleTsv','functionCall','1100737wIqqQt','LANGUAGE_UNSPECIFIED','filter','allowWhitespaceOnlyPieces','controlSymbols','SEMANTIC','removeExtraWhitespaces:\x20boolean\x20expected','fromCharCode','HARM_SEVERITY_LOW','STRING','samples','Tokenizer\x20','OTHER','MAX_TOKENS','PROHIBITED_CONTENT','NON_BLOCKING','hardVocabLimit','EDIT_MODE_STYLE','MODE_UNSPECIFIED','To\x20specify\x20functionCall\x20or\x20functionResponse\x20parts,\x20please\x20wrap\x20them\x20in\x20a\x20Content\x20object,\x20specifying\x20the\x20role\x20for\x20them','bosId','selfTestData','Sample','JOB_STATE_SUCCEEDED','statusText','MINIMAL','HARM_CATEGORY_HATE_SPEECH','JOB_STATE_CANCELLED','HARM_CATEGORY_IMAGE_HATE','tools','JOB_STATE_PARTIALLY_SUCCEEDED','description','Model\x20','trainerSpec.','arrays','ADAPTER_SIZE_ONE','MODEL_ARMOR','JOB_STATE_EXPIRED','REMOVE_STATIC','MODE_DYNAMIC','NUMBER','characterCoverage','D_MAJOR_B_MINOR','addTools','OIDC_AUTH','<eos>','example','NO_IMAGE','16OAjZUZ','ALLOW_ALL','unsigned','responseSchema','MALFORMED_FUNCTION_CALL','isInteger','stringify','B_FLAT_MAJOR_G_MINOR','deepEqual','START_SENSITIVITY_UNSPECIFIED','Downloaded\x20model\x20file\x20is\x20corrupted.\x20Expected\x20hash\x20','ANY','SCALE_UNSPECIFIED','HARM_SEVERITY_HIGH','shrinkingFactor:\x20number\x20expected','treatWhitespaceAsSuffix:\x20boolean\x20expected','siftDown','/sentencepiece.TrainerSpec','load','maxSentenceLength','\x20E28187\x20','allowWhitespaceOnlyPieces:\x20boolean\x20expected','final','D_FLAT_MAJOR_B_FLAT_MINOR','ADAPTER_SIZE_SIXTEEN','EDIT_MODE_BGSWAP','.sentencepiece.SelfTestData.samples:\x20array\x20expected','VAD_SIGNAL_TYPE_SOS','emptyArray','precompiledCharsmap','MEDIA_RESOLUTION_UNSPECIFIED','SUPERVISED_FINE_TUNING','OPTIMIZED','STATE_ACTIVE','type','miningSentenceSize:\x20integer\x20expected','IMAGE_OTHER','low','NULL','hardVocabLimit:\x20boolean\x20expected','bosId:\x20integer\x20expected','maxSentencepieceLength','parseModelProto','PLAY','input:\x20string\x20expected','set','toNumber','PLAYBACK_CONTROL_UNSPECIFIED','addDummyPrefix:\x20boolean\x20expected','sentencepiece','toJSONOptions','removeFunc','numSubIterations','WHEN_IDLE','END_SENSITIVITY_UNSPECIFIED','padPiece','ON_DEMAND','generationConfig','HARM_CATEGORY_UNSPECIFIED','type.googleapis.com','.sentencepiece.ModelProto.pieces:\x20array\x20expected','/sentencepiece.NormalizerSpec','BPE','floor','denormalizerSpec.','decode','cacheDir','BLOCK_VERY_HIGH_AND_ABOVE','name:\x20string\x20expected','CONTROL','writeFile','MASK_MODE_FOREGROUND','USER_DEFINED','COLLECTION','prev','warn','computeSha1','BOOLEAN','unlink','shuffleInputSentence','HARM_BLOCK_THRESHOLD_UNSPECIFIED','input:\x20array\x20expected','PRIORITIZE_COST','substring','ADAPTER_SIZE_EIGHT','addContent','261057hSlAcy','float','splitByUnicodeScript','treatWhitespaceAsSuffix','hex','numThreads:\x20integer\x20expected','VAD_SIGNAL_TYPE_EOS','<pad>','ldelim','TrainerSpec','SUBJECT_TYPE_PRODUCT','<unk>','NO_INTERRUPTION','baseTokenizer','userDefinedSymbols:\x20array\x20expected','SPII','Long','ensureProcessor','TURN_INCLUDES_ALL_INPUT','contents\x20are\x20required','EDIT_MODE_INPAINT_REMOVAL','ALLOW_ADULT','splitDigits','7928010PDIpSW','PROVISIONED_THROUGHPUT','</s>','HTTP_IN_QUERY','seedSentencepiecesFile','UNIGRAM','.sentencepiece.TrainerSpec.controlSymbols:\x20array\x20expected','padStart','controlSymbols:\x20array\x20expected','URL_RETRIEVAL_STATUS_SUCCESS','TUNING_MODE_FULL','hasOwnProperty','UNKNOWN','/sentencepiece.ModelProto.SentencePiece','MASK_MODE_SEMANTIC','PartListUnion\x20is\x20required','bosPiece:\x20string\x20expected','addFunctionResponse','padId','Reader','gemma3','FEATURE_SELECTION_PREFERENCE_UNSPECIFIED','modelInfo','JAILBREAK','API_SPEC_UNSPECIFIED','END_SENSITIVITY_LOW','JOB_STATE_QUEUED','inlineData','cmp','TURN_INCLUDES_ONLY_ACTIVITY','SelfTestData','TUNING_MODE_UNSPECIFIED','LANGUAGE','DIVERSITY','DOCUMENT','anyTraverse','maxSentencepieceLength:\x20integer\x20expected','pieces.','splitDigits:\x20boolean\x20expected','join','functionDeclarationTraverse','UPLOADED','score','OFF','RESPONSE_REJECTED','B_MAJOR_A_FLAT_MINOR','args','children','.sentencepiece.ModelProto.pieces:\x20object\x20expected','BLOCKING','uint32','TUNING_MODE_PEFT_ADAPTER','BALANCED','ACTIVITY_HANDLING_UNSPECIFIED','NormalizerSpec','8131452XcRoWJ','BLOCK_MEDIUM_AND_ABOVE','normalizerSpec.','INTERRUPT','addDummyPrefix','FAILED','HTTP_IN_PATH','format','IMAGE_RECITATION','ELASTIC_SEARCH','TUNING_TASK_UNSPECIFIED','json','HTTP_IN_COOKIE','JOB_STATE_UNSPECIFIED','arrayBuffer','SILENT','vocabularyOutputPieceScore','prototype','constructor','HARM_PROBABILITY_UNSPECIFIED','functionResponse','STATE_PENDING','eosPiece','insert','Unsupported\x20part\x20type:\x20','BLOCKLIST','computeTokens','splitByNumber:\x20boolean\x20expected','AUTO','STATE_FAILED','PAUSE','modelType:\x20enum\x20value\x20expected','userDefinedSymbols','eosId','pos','useAllVocab:\x20boolean\x20expected','HARM_CATEGORY_JAILBREAK','symbolToID','TUNING_TASK_T2V','modelHash','skipType','HTTP_BASIC_AUTH','modelPrefix','PYTHON','URL_RETRIEVAL_STATUS_UNSAFE','CONTROL_TYPE_SCRIBBLE','BLOCK_HIGH_AND_ABOVE','HARM_SEVERITY_MEDIUM','tmpdir','decodeTokens','padPiece:\x20string\x20expected','EDIT_MODE_OUTPAINT','toJSON','MEDIA_RESOLUTION_ULTRA_HIGH','PREFERENCE_TUNING','getTypeUrl','pretokenizationDelimiter:\x20string\x20expected','right','\x20not\x20supported,\x20only\x20BPE\x20is\x20supported','dictTraverse','BLOCKED_REASON_UNSPECIFIED','INTERACTIVE','fromBits','response','differentialPrivacyClippingThreshold','unkPiece','JOB_STATE_PAUSED','SentencePiece'];a5_0x95a5=function(){return _0x29473b;};return a5_0x95a5();}var HarmBlockMethod;(function(_0x362c96){const _0x323bfc=a5_0x3284;_0x362c96[_0x323bfc(0x22c)]=_0x323bfc(0x22c),_0x362c96[_0x323bfc(0x31a)]=_0x323bfc(0x31a),_0x362c96[_0x323bfc(0x2e6)]='PROBABILITY';}(HarmBlockMethod||(HarmBlockMethod={})));var HarmBlockThreshold;(function(_0x26e91b){const _0xcd7fe7=a5_0x3284;_0x26e91b[_0xcd7fe7(0x191)]=_0xcd7fe7(0x191),_0x26e91b[_0xcd7fe7(0x275)]='BLOCK_LOW_AND_ABOVE',_0x26e91b['BLOCK_MEDIUM_AND_ABOVE']=_0xcd7fe7(0x1e6),_0x26e91b[_0xcd7fe7(0x347)]=_0xcd7fe7(0x347),_0x26e91b[_0xcd7fe7(0x2b3)]=_0xcd7fe7(0x2b3),_0x26e91b['OFF']=_0xcd7fe7(0x1d9);}(HarmBlockThreshold||(HarmBlockThreshold={})));var FinishReason;(function(_0x27ca8a){const _0x51c043=a5_0x3284;_0x27ca8a[_0x51c043(0x338)]='FINISH_REASON_UNSPECIFIED',_0x27ca8a['STOP']='STOP',_0x27ca8a[_0x51c043(0x375)]='MAX_TOKENS',_0x27ca8a[_0x51c043(0x234)]=_0x51c043(0x234),_0x27ca8a[_0x51c043(0x26e)]=_0x51c043(0x26e),_0x27ca8a[_0x51c043(0x1ce)]='LANGUAGE',_0x27ca8a[_0x51c043(0x374)]='OTHER',_0x27ca8a[_0x51c043(0x1fe)]=_0x51c043(0x1fe),_0x27ca8a[_0x51c043(0x376)]='PROHIBITED_CONTENT',_0x27ca8a[_0x51c043(0x1a6)]=_0x51c043(0x1a6),_0x27ca8a[_0x51c043(0x39c)]=_0x51c043(0x39c),_0x27ca8a[_0x51c043(0x2ed)]='IMAGE_SAFETY',_0x27ca8a[_0x51c043(0x334)]=_0x51c043(0x334),_0x27ca8a['IMAGE_PROHIBITED_CONTENT']=_0x51c043(0x2ad),_0x27ca8a['NO_IMAGE']=_0x51c043(0x397),_0x27ca8a['IMAGE_RECITATION']=_0x51c043(0x1ed),_0x27ca8a[_0x51c043(0x3bc)]=_0x51c043(0x3bc);}(FinishReason||(FinishReason={})));var HarmProbability;(function(_0x1cdb9a){const _0x4a8b57=a5_0x3284;_0x1cdb9a[_0x4a8b57(0x1f8)]=_0x4a8b57(0x1f8),_0x1cdb9a['NEGLIGIBLE']=_0x4a8b57(0x359),_0x1cdb9a[_0x4a8b57(0x29b)]=_0x4a8b57(0x29b),_0x1cdb9a[_0x4a8b57(0x2e8)]=_0x4a8b57(0x2e8),_0x1cdb9a[_0x4a8b57(0x2d0)]=_0x4a8b57(0x2d0);}(HarmProbability||(HarmProbability={})));var HarmSeverity;(function(_0x1c9f2c){const _0x2b9bcc=a5_0x3284;_0x1c9f2c['HARM_SEVERITY_UNSPECIFIED']=_0x2b9bcc(0x2fa),_0x1c9f2c['HARM_SEVERITY_NEGLIGIBLE']=_0x2b9bcc(0x2b9),_0x1c9f2c[_0x2b9bcc(0x370)]='HARM_SEVERITY_LOW',_0x1c9f2c[_0x2b9bcc(0x214)]='HARM_SEVERITY_MEDIUM',_0x1c9f2c[_0x2b9bcc(0x3a5)]=_0x2b9bcc(0x3a5);}(HarmSeverity||(HarmSeverity={})));var UrlRetrievalStatus;(function(_0x110b41){const _0x3ad42f=a5_0x3284;_0x110b41[_0x3ad42f(0x339)]=_0x3ad42f(0x339),_0x110b41[_0x3ad42f(0x1b7)]=_0x3ad42f(0x1b7),_0x110b41['URL_RETRIEVAL_STATUS_ERROR']=_0x3ad42f(0x24d),_0x110b41[_0x3ad42f(0x362)]='URL_RETRIEVAL_STATUS_PAYWALL',_0x110b41[_0x3ad42f(0x211)]='URL_RETRIEVAL_STATUS_UNSAFE';}(UrlRetrievalStatus||(UrlRetrievalStatus={})));var BlockedReason;(function(_0x301c66){const _0x259d14=a5_0x3284;_0x301c66[_0x259d14(0x221)]=_0x259d14(0x221),_0x301c66['SAFETY']=_0x259d14(0x234),_0x301c66[_0x259d14(0x374)]=_0x259d14(0x374),_0x301c66[_0x259d14(0x1fe)]=_0x259d14(0x1fe),_0x301c66[_0x259d14(0x376)]='PROHIBITED_CONTENT',_0x301c66['IMAGE_SAFETY']=_0x259d14(0x2ed),_0x301c66[_0x259d14(0x38c)]=_0x259d14(0x38c),_0x301c66[_0x259d14(0x1c5)]=_0x259d14(0x1c5);}(BlockedReason||(BlockedReason={})));var TrafficType;(function(_0x386dc3){const _0x42f4fb=a5_0x3284;_0x386dc3['TRAFFIC_TYPE_UNSPECIFIED']='TRAFFIC_TYPE_UNSPECIFIED',_0x386dc3[_0x42f4fb(0x179)]=_0x42f4fb(0x179),_0x386dc3[_0x42f4fb(0x1af)]=_0x42f4fb(0x1af);}(TrafficType||(TrafficType={})));var Modality;(function(_0x3c5378){const _0x32f19f=a5_0x3284;_0x3c5378[_0x32f19f(0x2cc)]=_0x32f19f(0x2cc),_0x3c5378[_0x32f19f(0x28c)]='TEXT',_0x3c5378[_0x32f19f(0x258)]='IMAGE',_0x3c5378[_0x32f19f(0x2c7)]=_0x32f19f(0x2c7);}(Modality||(Modality={})));var MediaResolution;(function(_0xa124e2){const _0x5dfecc=a5_0x3284;_0xa124e2['MEDIA_RESOLUTION_UNSPECIFIED']=_0x5dfecc(0x3b6),_0xa124e2[_0x5dfecc(0x2b8)]=_0x5dfecc(0x2b8),_0xa124e2['MEDIA_RESOLUTION_MEDIUM']='MEDIA_RESOLUTION_MEDIUM',_0xa124e2[_0x5dfecc(0x291)]=_0x5dfecc(0x291);}(MediaResolution||(MediaResolution={})));var TuningMode;(function(_0x287d45){const _0x47e0cf=a5_0x3284;_0x287d45[_0x47e0cf(0x1cd)]=_0x47e0cf(0x1cd),_0x287d45['TUNING_MODE_FULL']=_0x47e0cf(0x1b8),_0x287d45[_0x47e0cf(0x1e1)]='TUNING_MODE_PEFT_ADAPTER';}(TuningMode||(TuningMode={})));var AdapterSize;(function(_0x5ebc44){const _0x4a5604=a5_0x3284;_0x5ebc44[_0x4a5604(0x2d3)]=_0x4a5604(0x2d3),_0x5ebc44[_0x4a5604(0x38b)]=_0x4a5604(0x38b),_0x5ebc44['ADAPTER_SIZE_TWO']='ADAPTER_SIZE_TWO',_0x5ebc44[_0x4a5604(0x2fb)]=_0x4a5604(0x2fb),_0x5ebc44[_0x4a5604(0x195)]=_0x4a5604(0x195),_0x5ebc44['ADAPTER_SIZE_SIXTEEN']=_0x4a5604(0x3b0),_0x5ebc44['ADAPTER_SIZE_THIRTY_TWO']=_0x4a5604(0x34a);}(AdapterSize||(AdapterSize={})));var JobState;(function(_0x451304){const _0x48a182=a5_0x3284;_0x451304[_0x48a182(0x1f2)]=_0x48a182(0x1f2),_0x451304[_0x48a182(0x1c8)]='JOB_STATE_QUEUED',_0x451304['JOB_STATE_PENDING']=_0x48a182(0x35e),_0x451304[_0x48a182(0x242)]=_0x48a182(0x242),_0x451304['JOB_STATE_SUCCEEDED']=_0x48a182(0x37f),_0x451304[_0x48a182(0x2d9)]=_0x48a182(0x2d9),_0x451304['JOB_STATE_CANCELLING']=_0x48a182(0x22f),_0x451304[_0x48a182(0x383)]=_0x48a182(0x383),_0x451304[_0x48a182(0x227)]=_0x48a182(0x227),_0x451304['JOB_STATE_EXPIRED']=_0x48a182(0x38d),_0x451304[_0x48a182(0x2bf)]=_0x48a182(0x2bf),_0x451304['JOB_STATE_PARTIALLY_SUCCEEDED']=_0x48a182(0x386);}(JobState||(JobState={})));var TuningTask;(function(_0x4ddcb4){const _0x3c42fd=a5_0x3284;_0x4ddcb4[_0x3c42fd(0x1ef)]=_0x3c42fd(0x1ef),_0x4ddcb4[_0x3c42fd(0x244)]='TUNING_TASK_I2V',_0x4ddcb4[_0x3c42fd(0x20b)]=_0x3c42fd(0x20b),_0x4ddcb4['TUNING_TASK_R2V']=_0x3c42fd(0x2e2);}(TuningTask||(TuningTask={})));var PartMediaResolutionLevel;(function(_0x4c7fe9){const _0x40f340=a5_0x3284;_0x4c7fe9[_0x40f340(0x3b6)]=_0x40f340(0x3b6),_0x4c7fe9['MEDIA_RESOLUTION_LOW']=_0x40f340(0x2b8),_0x4c7fe9['MEDIA_RESOLUTION_MEDIUM']=_0x40f340(0x32c),_0x4c7fe9[_0x40f340(0x291)]=_0x40f340(0x291),_0x4c7fe9['MEDIA_RESOLUTION_ULTRA_HIGH']=_0x40f340(0x21a);}(PartMediaResolutionLevel||(PartMediaResolutionLevel={})));var ResourceScope;(function(_0x49bd15){const _0x4635e4=a5_0x3284;_0x49bd15['COLLECTION']=_0x4635e4(0x18a);}(ResourceScope||(ResourceScope={})));var FeatureSelectionPreference;(function(_0x4d9fd){const _0x2676dd=a5_0x3284;_0x4d9fd['FEATURE_SELECTION_PREFERENCE_UNSPECIFIED']=_0x2676dd(0x1c3),_0x4d9fd['PRIORITIZE_QUALITY']=_0x2676dd(0x317),_0x4d9fd[_0x2676dd(0x1e2)]=_0x2676dd(0x1e2),_0x4d9fd[_0x2676dd(0x193)]=_0x2676dd(0x193);}(FeatureSelectionPreference||(FeatureSelectionPreference={})));var Environment;(function(_0x32480c){const _0x578575=a5_0x3284;_0x32480c[_0x578575(0x29d)]='ENVIRONMENT_UNSPECIFIED',_0x32480c[_0x578575(0x287)]=_0x578575(0x287);}(Environment||(Environment={})));var SafetyFilterLevel;(function(_0x104467){const _0x39dc00=a5_0x3284;_0x104467[_0x39dc00(0x275)]=_0x39dc00(0x275),_0x104467[_0x39dc00(0x1e6)]=_0x39dc00(0x1e6),_0x104467[_0x39dc00(0x347)]=_0x39dc00(0x347),_0x104467['BLOCK_NONE']=_0x39dc00(0x2b3);}(SafetyFilterLevel||(SafetyFilterLevel={})));var PersonGeneration;(function(_0x1c6286){const _0x2ba3f3=a5_0x3284;_0x1c6286[_0x2ba3f3(0x289)]='DONT_ALLOW',_0x1c6286[_0x2ba3f3(0x1ac)]=_0x2ba3f3(0x1ac),_0x1c6286[_0x2ba3f3(0x399)]=_0x2ba3f3(0x399);}(PersonGeneration||(PersonGeneration={})));var ImagePromptLanguage;(function(_0x2022df){const _0x329b86=a5_0x3284;_0x2022df[_0x329b86(0x310)]=_0x329b86(0x310),_0x2022df['en']='en',_0x2022df['ja']='ja',_0x2022df['ko']='ko',_0x2022df['hi']='hi',_0x2022df['zh']='zh',_0x2022df['pt']='pt',_0x2022df['es']='es';}(ImagePromptLanguage||(ImagePromptLanguage={})));var MaskReferenceMode;(function(_0x154a98){const _0xd43e24=a5_0x3284;_0x154a98['MASK_MODE_DEFAULT']=_0xd43e24(0x2af),_0x154a98['MASK_MODE_USER_PROVIDED']=_0xd43e24(0x308),_0x154a98[_0xd43e24(0x2b0)]=_0xd43e24(0x2b0),_0x154a98[_0xd43e24(0x188)]=_0xd43e24(0x188),_0x154a98[_0xd43e24(0x1bc)]=_0xd43e24(0x1bc);}(MaskReferenceMode||(MaskReferenceMode={})));var ControlReferenceType;(function(_0x16c821){const _0x5acee3=a5_0x3284;_0x16c821['CONTROL_TYPE_DEFAULT']='CONTROL_TYPE_DEFAULT',_0x16c821[_0x5acee3(0x316)]='CONTROL_TYPE_CANNY',_0x16c821['CONTROL_TYPE_SCRIBBLE']=_0x5acee3(0x212),_0x16c821[_0x5acee3(0x29c)]=_0x5acee3(0x29c);}(ControlReferenceType||(ControlReferenceType={})));var SubjectReferenceType;(function(_0x3fed8d){const _0x26c357=a5_0x3284;_0x3fed8d[_0x26c357(0x2ca)]=_0x26c357(0x2ca),_0x3fed8d[_0x26c357(0x327)]='SUBJECT_TYPE_PERSON',_0x3fed8d[_0x26c357(0x2d4)]=_0x26c357(0x2d4),_0x3fed8d['SUBJECT_TYPE_PRODUCT']=_0x26c357(0x1a1);}(SubjectReferenceType||(SubjectReferenceType={})));var EditMode;(function(_0x257221){const _0xd920d4=a5_0x3284;_0x257221[_0xd920d4(0x306)]=_0xd920d4(0x306),_0x257221[_0xd920d4(0x1ab)]='EDIT_MODE_INPAINT_REMOVAL',_0x257221['EDIT_MODE_INPAINT_INSERTION']=_0xd920d4(0x309),_0x257221['EDIT_MODE_OUTPAINT']=_0xd920d4(0x218),_0x257221['EDIT_MODE_CONTROLLED_EDITING']=_0xd920d4(0x32e),_0x257221[_0xd920d4(0x379)]=_0xd920d4(0x379),_0x257221['EDIT_MODE_BGSWAP']=_0xd920d4(0x3b1),_0x257221[_0xd920d4(0x2c0)]='EDIT_MODE_PRODUCT_IMAGE';}(EditMode||(EditMode={})));var SegmentMode;(function(_0x592226){const _0x5675a8=a5_0x3284;_0x592226['FOREGROUND']='FOREGROUND',_0x592226[_0x5675a8(0x352)]=_0x5675a8(0x352),_0x592226['PROMPT']='PROMPT',_0x592226[_0x5675a8(0x36d)]=_0x5675a8(0x36d),_0x592226[_0x5675a8(0x222)]='INTERACTIVE';}(SegmentMode||(SegmentMode={})));var VideoGenerationReferenceType;(function(_0x482ba4){const _0xeba6c5=a5_0x3284;_0x482ba4[_0xeba6c5(0x313)]=_0xeba6c5(0x313),_0x482ba4[_0xeba6c5(0x2e4)]=_0xeba6c5(0x2e4);}(VideoGenerationReferenceType||(VideoGenerationReferenceType={})));var VideoGenerationMaskMode;(function(_0x37852c){const _0x429948=a5_0x3284;_0x37852c[_0x429948(0x363)]=_0x429948(0x363),_0x37852c['REMOVE']='REMOVE',_0x37852c[_0x429948(0x38e)]='REMOVE_STATIC',_0x37852c[_0x429948(0x294)]=_0x429948(0x294);}(VideoGenerationMaskMode||(VideoGenerationMaskMode={})));var VideoCompressionQuality;(function(_0x456113){const _0x581aca=a5_0x3284;_0x456113[_0x581aca(0x3b8)]=_0x581aca(0x3b8),_0x456113['LOSSLESS']='LOSSLESS';}(VideoCompressionQuality||(VideoCompressionQuality={})));var TuningMethod;(function(_0x4f6e90){const _0x1f7953=a5_0x3284;_0x4f6e90[_0x1f7953(0x3b7)]=_0x1f7953(0x3b7),_0x4f6e90[_0x1f7953(0x21b)]=_0x1f7953(0x21b),_0x4f6e90['DISTILLATION']='DISTILLATION';}(TuningMethod||(TuningMethod={})));var DocumentState;(function(_0xd31623){const _0x169148=a5_0x3284;_0xd31623[_0x169148(0x2ce)]=_0x169148(0x2ce),_0xd31623[_0x169148(0x1fa)]=_0x169148(0x1fa),_0xd31623['STATE_ACTIVE']=_0x169148(0x3b9),_0xd31623[_0x169148(0x202)]=_0x169148(0x202);}(DocumentState||(DocumentState={})));var FileState;(function(_0x951fe2){const _0x39673b=a5_0x3284;_0x951fe2[_0x39673b(0x2ce)]=_0x39673b(0x2ce),_0x951fe2[_0x39673b(0x2c1)]=_0x39673b(0x2c1),_0x951fe2['ACTIVE']=_0x39673b(0x27b),_0x951fe2[_0x39673b(0x1ea)]='FAILED';}(FileState||(FileState={})));var FileSource;(function(_0x5003a5){const _0x1ff369=a5_0x3284;_0x5003a5[_0x1ff369(0x26c)]=_0x1ff369(0x26c),_0x5003a5[_0x1ff369(0x1d7)]=_0x1ff369(0x1d7),_0x5003a5['GENERATED']=_0x1ff369(0x322),_0x5003a5[_0x1ff369(0x2ba)]=_0x1ff369(0x2ba);}(FileSource||(FileSource={})));var TurnCompleteReason;(function(_0x53db38){const _0x3d63a8=a5_0x3284;_0x53db38['TURN_COMPLETE_REASON_UNSPECIFIED']=_0x3d63a8(0x35b),_0x53db38[_0x3d63a8(0x39c)]=_0x3d63a8(0x39c),_0x53db38[_0x3d63a8(0x1da)]='RESPONSE_REJECTED',_0x53db38[_0x3d63a8(0x230)]=_0x3d63a8(0x230);}(TurnCompleteReason||(TurnCompleteReason={})));var MediaModality;(function(_0x51d38d){const _0x44e0d3=a5_0x3284;_0x51d38d['MODALITY_UNSPECIFIED']='MODALITY_UNSPECIFIED',_0x51d38d[_0x44e0d3(0x28c)]=_0x44e0d3(0x28c),_0x51d38d['IMAGE']='IMAGE',_0x51d38d[_0x44e0d3(0x30c)]=_0x44e0d3(0x30c),_0x51d38d['AUDIO']='AUDIO',_0x51d38d['DOCUMENT']=_0x44e0d3(0x1d0);}(MediaModality||(MediaModality={})));var VadSignalType;(function(_0x1f8a58){const _0x182bbf=a5_0x3284;_0x1f8a58[_0x182bbf(0x2ae)]=_0x182bbf(0x2ae),_0x1f8a58['VAD_SIGNAL_TYPE_SOS']=_0x182bbf(0x3b3),_0x1f8a58[_0x182bbf(0x19d)]=_0x182bbf(0x19d);}(VadSignalType||(VadSignalType={})));var VoiceActivityType;(function(_0x520c47){const _0xc3810b=a5_0x3284;_0x520c47[_0xc3810b(0x329)]=_0xc3810b(0x329),_0x520c47[_0xc3810b(0x2ac)]='ACTIVITY_START',_0x520c47[_0xc3810b(0x2bc)]='ACTIVITY_END';}(VoiceActivityType||(VoiceActivityType={})));var StartSensitivity;(function(_0x39c85f){const _0x49f7a9=a5_0x3284;_0x39c85f[_0x49f7a9(0x3a1)]=_0x49f7a9(0x3a1),_0x39c85f[_0x49f7a9(0x2b7)]=_0x49f7a9(0x2b7),_0x39c85f[_0x49f7a9(0x28a)]=_0x49f7a9(0x28a);}(StartSensitivity||(StartSensitivity={})));var EndSensitivity;(function(_0x371f0b){const _0x36c6a5=a5_0x3284;_0x371f0b[_0x36c6a5(0x177)]=_0x36c6a5(0x177),_0x371f0b[_0x36c6a5(0x2f1)]='END_SENSITIVITY_HIGH',_0x371f0b[_0x36c6a5(0x1c7)]=_0x36c6a5(0x1c7);}(EndSensitivity||(EndSensitivity={})));var ActivityHandling;(function(_0x33fd96){const _0x534bcc=a5_0x3284;_0x33fd96[_0x534bcc(0x1e3)]='ACTIVITY_HANDLING_UNSPECIFIED',_0x33fd96[_0x534bcc(0x2ef)]='START_OF_ACTIVITY_INTERRUPTS',_0x33fd96[_0x534bcc(0x1a3)]='NO_INTERRUPTION';}(ActivityHandling||(ActivityHandling={})));var TurnCoverage;(function(_0x48252e){const _0x3ef51a=a5_0x3284;_0x48252e['TURN_COVERAGE_UNSPECIFIED']='TURN_COVERAGE_UNSPECIFIED',_0x48252e[_0x3ef51a(0x1cb)]=_0x3ef51a(0x1cb),_0x48252e[_0x3ef51a(0x1a9)]='TURN_INCLUDES_ALL_INPUT';}(TurnCoverage||(TurnCoverage={})));var Scale;(function(_0x401d5f){const _0x4c08d2=a5_0x3284;_0x401d5f[_0x4c08d2(0x3a4)]='SCALE_UNSPECIFIED',_0x401d5f[_0x4c08d2(0x305)]=_0x4c08d2(0x305),_0x401d5f['D_FLAT_MAJOR_B_FLAT_MINOR']=_0x4c08d2(0x3af),_0x401d5f['D_MAJOR_B_MINOR']=_0x4c08d2(0x392),_0x401d5f[_0x4c08d2(0x23d)]='E_FLAT_MAJOR_C_MINOR',_0x401d5f['E_MAJOR_D_FLAT_MINOR']='E_MAJOR_D_FLAT_MINOR',_0x401d5f['F_MAJOR_D_MINOR']=_0x4c08d2(0x26b),_0x401d5f['G_FLAT_MAJOR_E_FLAT_MINOR']='G_FLAT_MAJOR_E_FLAT_MINOR',_0x401d5f[_0x4c08d2(0x237)]='G_MAJOR_E_MINOR',_0x401d5f['A_FLAT_MAJOR_F_MINOR']='A_FLAT_MAJOR_F_MINOR',_0x401d5f[_0x4c08d2(0x238)]='A_MAJOR_G_FLAT_MINOR',_0x401d5f[_0x4c08d2(0x39f)]='B_FLAT_MAJOR_G_MINOR',_0x401d5f[_0x4c08d2(0x1db)]=_0x4c08d2(0x1db);}(Scale||(Scale={})));var MusicGenerationMode;(function(_0x37d217){const _0x3d28b5=a5_0x3284;_0x37d217[_0x3d28b5(0x2f6)]=_0x3d28b5(0x2f6),_0x37d217[_0x3d28b5(0x28b)]='QUALITY',_0x37d217[_0x3d28b5(0x1cf)]=_0x3d28b5(0x1cf),_0x37d217[_0x3d28b5(0x365)]=_0x3d28b5(0x365);}(MusicGenerationMode||(MusicGenerationMode={})));var LiveMusicPlaybackControl;(function(_0x346361){const _0x329994=a5_0x3284;_0x346361[_0x329994(0x3c7)]='PLAYBACK_CONTROL_UNSPECIFIED',_0x346361[_0x329994(0x3c3)]=_0x329994(0x3c3),_0x346361[_0x329994(0x203)]=_0x329994(0x203),_0x346361[_0x329994(0x2ab)]=_0x329994(0x2ab),_0x346361[_0x329994(0x32b)]='RESET_CONTEXT';}(LiveMusicPlaybackControl||(LiveMusicPlaybackControl={})));/**
|
|
7
|
+
* @license
|
|
8
|
+
* Copyright 2025 Google LLC
|
|
9
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
10
|
+
*/
|
|
11
|
+
function tPart(_0x32ce14){const _0x4c6651=a5_0x3284;if(_0x32ce14===null||_0x32ce14===undefined)throw new Error(_0x4c6651(0x318));if(typeof _0x32ce14===_0x4c6651(0x328))return _0x32ce14;if(typeof _0x32ce14==='string')return{'text':_0x32ce14};throw new Error(_0x4c6651(0x1fd)+typeof _0x32ce14);}function tParts(_0x461c23){const _0x1b40ce=a5_0x3284;if(_0x461c23===null||_0x461c23===undefined||Array['isArray'](_0x461c23)&&_0x461c23[_0x1b40ce(0x255)]===0x0)throw new Error(_0x1b40ce(0x1bd));if(Array[_0x1b40ce(0x24a)](_0x461c23))return _0x461c23[_0x1b40ce(0x364)](_0x19e3f6=>tPart(_0x19e3f6));return[tPart(_0x461c23)];}function _isContent(_0x57ba39){const _0x2cfe02=a5_0x3284;return _0x57ba39!==null&&_0x57ba39!==undefined&&typeof _0x57ba39===_0x2cfe02(0x328)&&_0x2cfe02(0x241)in _0x57ba39&&Array['isArray'](_0x57ba39['parts']);}function _isFunctionCallPart(_0x49a669){const _0x21ccac=a5_0x3284;return _0x49a669!==null&&_0x49a669!==undefined&&typeof _0x49a669===_0x21ccac(0x328)&&_0x21ccac(0x367)in _0x49a669;}function _isFunctionResponsePart(_0x52269c){const _0x51adf8=a5_0x3284;return _0x52269c!==null&&_0x52269c!==undefined&&typeof _0x52269c===_0x51adf8(0x328)&&_0x51adf8(0x1f9)in _0x52269c;}function tContent(_0x4e5da2){const _0x18d714=a5_0x3284;if(_0x4e5da2===null||_0x4e5da2===undefined)throw new Error(_0x18d714(0x337));if(_isContent(_0x4e5da2))return _0x4e5da2;return{'role':_0x18d714(0x256),'parts':tParts(_0x4e5da2)};}function tContents(_0x256ca0){const _0x2518e5=a5_0x3284;if(_0x256ca0===null||_0x256ca0===undefined||Array['isArray'](_0x256ca0)&&_0x256ca0[_0x2518e5(0x255)]===0x0)throw new Error(_0x2518e5(0x1aa));if(!Array['isArray'](_0x256ca0)){if(_isFunctionCallPart(_0x256ca0)||_isFunctionResponsePart(_0x256ca0))throw new Error(_0x2518e5(0x37b));return[tContent(_0x256ca0)];}const _0x2a8041=[],_0x32b7e=[],_0x3e433a=_isContent(_0x256ca0[0x0]);for(const _0x5044f0 of _0x256ca0){const _0x51c455=_isContent(_0x5044f0);if(_0x51c455!=_0x3e433a)throw new Error(_0x2518e5(0x260));if(_0x51c455)_0x2a8041[_0x2518e5(0x319)](_0x5044f0);else{if(_isFunctionCallPart(_0x5044f0)||_isFunctionResponsePart(_0x5044f0))throw new Error(_0x2518e5(0x2f3));else _0x32b7e[_0x2518e5(0x319)](_0x5044f0);}}return!_0x3e433a&&_0x2a8041[_0x2518e5(0x319)]({'role':'user','parts':tParts(_0x32b7e)}),_0x2a8041;}function a5_0x3284(_0x3fb9b8,_0x24c640){_0x3fb9b8=_0x3fb9b8-0x176;const _0x95a565=a5_0x95a5();let _0x3284e2=_0x95a565[_0x3fb9b8];return _0x3284e2;}/**
|
|
12
|
+
* @license
|
|
13
|
+
* Copyright 2025 Google LLC
|
|
14
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
15
|
+
*/
|
|
16
|
+
var ModelType;(function(_0x1313fd){const _0x55f519=a5_0x3284;_0x1313fd[_0x1313fd[_0x55f519(0x1b3)]=0x1]=_0x55f519(0x1b3),_0x1313fd[_0x1313fd[_0x55f519(0x17f)]=0x2]=_0x55f519(0x17f),_0x1313fd[_0x1313fd[_0x55f519(0x25c)]=0x3]=_0x55f519(0x25c),_0x1313fd[_0x1313fd[_0x55f519(0x25e)]=0x4]='CHAR';}(ModelType||(ModelType={})));var SentencePieceType;(function(_0x553a8d){const _0x2f8584=a5_0x3284;_0x553a8d[_0x553a8d[_0x2f8584(0x28d)]=0x1]=_0x2f8584(0x28d),_0x553a8d[_0x553a8d[_0x2f8584(0x1ba)]=0x2]='UNKNOWN',_0x553a8d[_0x553a8d[_0x2f8584(0x186)]=0x3]='CONTROL',_0x553a8d[_0x553a8d[_0x2f8584(0x189)]=0x4]=_0x2f8584(0x189),_0x553a8d[_0x553a8d[_0x2f8584(0x22a)]=0x6]=_0x2f8584(0x22a),_0x553a8d[_0x553a8d[_0x2f8584(0x2f2)]=0x5]='UNUSED';}(SentencePieceType||(SentencePieceType={})));/**
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2025 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
20
|
+
*/
|
|
21
|
+
function newTrieNode(){return{'children':new Map(),'final':![]};}class PrefixMatcher{constructor(_0x392597){const _0x9f6c39=a5_0x3284;this[_0x9f6c39(0x302)]=newTrieNode();for(const _0x14da61 of _0x392597){this[_0x9f6c39(0x2c3)](_0x14da61);}}[a5_0x44ee1b(0x293)](_0x5bdf1c){const _0x10fcef=a5_0x44ee1b;let _0x21f820=this[_0x10fcef(0x302)],_0x320e9f=0x0,_0x42353c=0x0;for(const _0x43bc41 of _0x5bdf1c){const _0x10f8a0=_0x21f820['children']['get'](_0x43bc41);if(!_0x10f8a0)return _0x320e9f;_0x10f8a0[_0x10fcef(0x3ae)]&&(_0x320e9f=_0x42353c+0x1),_0x21f820=_0x10f8a0,_0x42353c++;}return _0x320e9f;}[a5_0x44ee1b(0x2c3)](_0x305911){const _0x4032ca=a5_0x44ee1b;let _0x3c9739=this[_0x4032ca(0x302)];for(const _0x2b95bd of _0x305911){let _0x38242f=_0x3c9739[_0x4032ca(0x1dd)]['get'](_0x2b95bd);!_0x38242f&&(_0x38242f=newTrieNode(),_0x3c9739[_0x4032ca(0x1dd)]['set'](_0x2b95bd,_0x38242f)),_0x3c9739=_0x38242f;}_0x3c9739['final']=!![];}}/**
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2025 Google LLC
|
|
24
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
25
|
+
*/
|
|
26
|
+
class PriorityQueue{constructor(_0x1f00b4,_0x36e151){const _0x2c6884=a5_0x44ee1b;this[_0x2c6884(0x1ca)]=_0x36e151,this[_0x2c6884(0x344)]=new Array(Math[_0x2c6884(0x288)](0x1,_0x1f00b4+0x1)),this[_0x2c6884(0x344)][0x0]=null,this[_0x2c6884(0x344)]['length']=0x1;}[a5_0x44ee1b(0x266)](){const _0x1acd14=a5_0x44ee1b;return this[_0x1acd14(0x344)][_0x1acd14(0x255)]-0x1;}['insert'](_0x11adf9){const _0x52b0d6=a5_0x44ee1b;this['items']['push'](_0x11adf9),this[_0x52b0d6(0x2fd)](this['items'][_0x52b0d6(0x255)]-0x1);}['popMax'](){const _0x46c535=a5_0x44ee1b;if(this[_0x46c535(0x344)][_0x46c535(0x255)]<0x2)throw new Error('popping\x20from\x20empty\x20priority\x20queue');const _0x578c12=this[_0x46c535(0x344)][0x1];return this[_0x46c535(0x344)][0x1]=this[_0x46c535(0x344)][this['items'][_0x46c535(0x255)]-0x1],this[_0x46c535(0x344)][_0x46c535(0x353)](),this[_0x46c535(0x344)][_0x46c535(0x255)]>0x1&&this[_0x46c535(0x3a8)](0x1),_0x578c12;}['removeFunc'](_0x5a9cbb){const _0x3b3872=a5_0x44ee1b;let _0x13c4b7=0x1;while(_0x13c4b7<this['items']['length']&&!_0x5a9cbb(this[_0x3b3872(0x344)][_0x13c4b7])){_0x13c4b7++;}if(_0x13c4b7===this[_0x3b3872(0x344)][_0x3b3872(0x255)])return;for(let _0x1f9229=_0x13c4b7+0x1;_0x1f9229<this[_0x3b3872(0x344)][_0x3b3872(0x255)];_0x1f9229++){!_0x5a9cbb(this[_0x3b3872(0x344)][_0x1f9229])&&(this[_0x3b3872(0x344)][_0x13c4b7]=this[_0x3b3872(0x344)][_0x1f9229],_0x13c4b7++);}this[_0x3b3872(0x344)][_0x3b3872(0x255)]=_0x13c4b7,this['rebuildHeap']();}['rebuildHeap'](){const _0x49dda1=a5_0x44ee1b;for(let _0x42bd7f=Math['floor'](this['items'][_0x49dda1(0x255)]/0x2);_0x42bd7f>=0x1;_0x42bd7f--){this[_0x49dda1(0x3a8)](_0x42bd7f);}}[a5_0x44ee1b(0x2fd)](_0x279f2b){const _0x445d3a=a5_0x44ee1b;let _0x2e4238=_0x279f2b;while(_0x2e4238>0x1){const _0x2985d3=Math[_0x445d3a(0x180)](_0x2e4238/0x2);if(this['cmp'](this['items'][_0x2985d3],this[_0x445d3a(0x344)][_0x2e4238])>=0x0)return;[this[_0x445d3a(0x344)][_0x2e4238],this[_0x445d3a(0x344)][_0x2985d3]]=[this['items'][_0x2985d3],this[_0x445d3a(0x344)][_0x2e4238]],_0x2e4238=_0x2985d3;}}[a5_0x44ee1b(0x3a8)](_0x3ccf37){const _0x18d7b6=a5_0x44ee1b;while(!![]){const _0x27b6e6=0x2*_0x3ccf37;if(_0x27b6e6>=this[_0x18d7b6(0x344)][_0x18d7b6(0x255)])return;let _0x3790d8=_0x27b6e6;_0x27b6e6+0x1<this[_0x18d7b6(0x344)]['length']&&(this[_0x18d7b6(0x1ca)](this['items'][_0x27b6e6+0x1],this[_0x18d7b6(0x344)][_0x27b6e6])>0x0&&(_0x3790d8=_0x27b6e6+0x1));if(this[_0x18d7b6(0x1ca)](this[_0x18d7b6(0x344)][_0x3ccf37],this['items'][_0x3790d8])>=0x0)return;[this[_0x18d7b6(0x344)][_0x3ccf37],this[_0x18d7b6(0x344)][_0x3790d8]]=[this[_0x18d7b6(0x344)][_0x3790d8],this[_0x18d7b6(0x344)][_0x3ccf37]],_0x3ccf37=_0x3790d8;}}}const $Reader=a5_0x59bd37[a5_0x44ee1b(0x1c1)],$Writer=a5_0x59bd37['Writer'],$util=a5_0x59bd37[a5_0x44ee1b(0x268)],$root=a5_0x59bd37[a5_0x44ee1b(0x361)][a5_0x44ee1b(0x32f)]||(a5_0x59bd37[a5_0x44ee1b(0x361)][a5_0x44ee1b(0x32f)]={}),sentencepiece=$root['sentencepiece']=((()=>{const _0x5846cc=a5_0x44ee1b,_0x33002e={};return _0x33002e[_0x5846cc(0x1a0)]=(function(){const _0xe5820c=_0x5846cc;function _0x2a6326(_0x3edc8a){const _0x370165=a5_0x3284;this[_0x370165(0x2c8)]=[],this[_0x370165(0x2fe)]=[],this[_0x370165(0x36c)]=[],this[_0x370165(0x205)]=[];if(_0x3edc8a){for(let _0x298390=Object[_0x370165(0x2a6)](_0x3edc8a),_0x39ece7=0x0;_0x39ece7<_0x298390[_0x370165(0x255)];++_0x39ece7)if(_0x3edc8a[_0x298390[_0x39ece7]]!=null)this[_0x298390[_0x39ece7]]=_0x3edc8a[_0x298390[_0x39ece7]];}}return _0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x2c8)]=$util[_0xe5820c(0x3b4)],_0x2a6326[_0xe5820c(0x1f6)]['inputFormat']='',_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x20f)]='',_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x343)]=0x1,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x2ec)]=0x1f40,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x2fe)]=$util['emptyArray'],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x35f)]=0x0,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x355)]=![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x271)]=0x0,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x225)]=$util['Long']?$util[_0xe5820c(0x1a7)][_0xe5820c(0x223)](0x0,0x0,!![]):0x0,_0x2a6326['prototype']['characterCoverage']=0.9995,_0x2a6326[_0xe5820c(0x1f6)]['inputSentenceSize']=$util[_0xe5820c(0x1a7)]?$util[_0xe5820c(0x1a7)][_0xe5820c(0x223)](0x0,0x0,!![]):0x0,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x190)]=!![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x354)]=0x0,_0x2a6326[_0xe5820c(0x1f6)]['trainingSentenceSize']=0x0,_0x2a6326[_0xe5820c(0x1f6)]['seedSentencepieceSize']=0xf4240,_0x2a6326[_0xe5820c(0x1f6)]['shrinkingFactor']=0.75,_0x2a6326[_0xe5820c(0x1f6)]['maxSentenceLength']=0x1060,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x356)]=0x10,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x3cc)]=0x2,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x3c1)]=0x10,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x199)]=!![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x331)]=!![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x23a)]=!![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x19a)]=![],_0x2a6326['prototype'][_0xe5820c(0x36b)]=![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x1ad)]=![],_0x2a6326[_0xe5820c(0x1f6)]['pretokenizationDelimiter']='',_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x36c)]=$util[_0xe5820c(0x3b4)],_0x2a6326[_0xe5820c(0x1f6)]['userDefinedSymbols']=$util['emptyArray'],_0x2a6326['prototype'][_0xe5820c(0x243)]='',_0x2a6326['prototype'][_0xe5820c(0x2d1)]=![],_0x2a6326[_0xe5820c(0x1f6)]['vocabularyOutputPieceScore']=!![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x378)]=!![],_0x2a6326['prototype']['useAllVocab']=![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x2eb)]=0x0,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x37c)]=0x1,_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x206)]=0x2,_0x2a6326[_0xe5820c(0x1f6)]['padId']=-0x1,_0x2a6326['prototype'][_0xe5820c(0x226)]=_0xe5820c(0x1a2),_0x2a6326[_0xe5820c(0x1f6)]['bosPiece']=_0xe5820c(0x2f9),_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x1fb)]=_0xe5820c(0x1b0),_0x2a6326['prototype'][_0xe5820c(0x178)]=_0xe5820c(0x19e),_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x2f8)]=_0xe5820c(0x3ac),_0x2a6326['prototype'][_0xe5820c(0x2de)]=![],_0x2a6326[_0xe5820c(0x1f6)][_0xe5820c(0x1b2)]='',_0x2a6326[_0xe5820c(0x22b)]=function _0xe16181(_0x441945){return new _0x2a6326(_0x441945);},_0x2a6326[_0xe5820c(0x323)]=function _0x35ea10(_0x45e65f,_0xc9b0b2){const _0x1f0ec8=_0xe5820c;if(!_0xc9b0b2)_0xc9b0b2=$Writer[_0x1f0ec8(0x22b)]();if(_0x45e65f[_0x1f0ec8(0x2c8)]!=null&&_0x45e65f[_0x1f0ec8(0x2c8)][_0x1f0ec8(0x255)]){for(let _0xd647cf=0x0;_0xd647cf<_0x45e65f[_0x1f0ec8(0x2c8)][_0x1f0ec8(0x255)];++_0xd647cf)_0xc9b0b2[_0x1f0ec8(0x1e0)](0xa)[_0x1f0ec8(0x2db)](_0x45e65f['input'][_0xd647cf]);}if(_0x45e65f[_0x1f0ec8(0x20f)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,'modelPrefix'))_0xc9b0b2['uint32'](0x12)[_0x1f0ec8(0x2db)](_0x45e65f['modelPrefix']);if(_0x45e65f[_0x1f0ec8(0x343)]!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x343)))_0xc9b0b2['uint32'](0x18)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x343)]);if(_0x45e65f['vocabSize']!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x2ec)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x20)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x2ec)]);if(_0x45e65f[_0x1f0ec8(0x2fe)]!=null&&_0x45e65f['acceptLanguage'][_0x1f0ec8(0x255)]){for(let _0x5e5fb1=0x0;_0x5e5fb1<_0x45e65f['acceptLanguage'][_0x1f0ec8(0x255)];++_0x5e5fb1)_0xc9b0b2[_0x1f0ec8(0x1e0)](0x2a)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x2fe)][_0x5e5fb1]);}if(_0x45e65f[_0x1f0ec8(0x35f)]!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x35f)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x30)['int32'](_0x45e65f[_0x1f0ec8(0x35f)]);if(_0x45e65f[_0x1f0ec8(0x357)]!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x357)))_0xc9b0b2['uint32'](0x3a)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x357)]);if(_0x45e65f['characterCoverage']!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x391)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x55)['float'](_0x45e65f[_0x1f0ec8(0x391)]);if(_0x45e65f[_0x1f0ec8(0x27f)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x27f)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x58)[_0x1f0ec8(0x33c)](_0x45e65f[_0x1f0ec8(0x27f)]);if(_0x45e65f[_0x1f0ec8(0x354)]!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x354)))_0xc9b0b2['uint32'](0x60)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x354)]);if(_0x45e65f['trainingSentenceSize']!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x2bb)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x68)[_0x1f0ec8(0x2a9)](_0x45e65f['trainingSentenceSize']);if(_0x45e65f[_0x1f0ec8(0x2c2)]!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,'seedSentencepieceSize'))_0xc9b0b2['uint32'](0x70)['int32'](_0x45e65f['seedSentencepieceSize']);if(_0x45e65f[_0x1f0ec8(0x311)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x311)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x7d)[_0x1f0ec8(0x198)](_0x45e65f[_0x1f0ec8(0x311)]);if(_0x45e65f[_0x1f0ec8(0x356)]!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x356)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x80)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x356)]);if(_0x45e65f['numSubIterations']!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x3cc)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x88)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x3cc)]);if(_0x45e65f[_0x1f0ec8(0x3ab)]!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x3ab)))_0xc9b0b2['uint32'](0x90)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x3ab)]);if(_0x45e65f['shuffleInputSentence']!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x190)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x98)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x190)]);if(_0x45e65f[_0x1f0ec8(0x3c1)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x3c1)))_0xc9b0b2['uint32'](0xa0)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x3c1)]);if(_0x45e65f[_0x1f0ec8(0x199)]!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x199)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0xa8)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x199)]);if(_0x45e65f['splitByWhitespace']!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x23a)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0xb0)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x23a)]);if(_0x45e65f['splitByNumber']!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x331)))_0xc9b0b2['uint32'](0xb8)['bool'](_0x45e65f[_0x1f0ec8(0x331)]);if(_0x45e65f[_0x1f0ec8(0x19a)]!=null&&Object['hasOwnProperty']['call'](_0x45e65f,_0x1f0ec8(0x19a)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0xc0)['bool'](_0x45e65f['treatWhitespaceAsSuffix']);if(_0x45e65f[_0x1f0ec8(0x1ad)]!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x1ad)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0xc8)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x1ad)]);if(_0x45e65f[_0x1f0ec8(0x36b)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x36b)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0xd0)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x36b)]);if(_0x45e65f[_0x1f0ec8(0x36c)]!=null&&_0x45e65f[_0x1f0ec8(0x36c)][_0x1f0ec8(0x255)]){for(let _0x1a50ac=0x0;_0x1a50ac<_0x45e65f['controlSymbols'][_0x1f0ec8(0x255)];++_0x1a50ac)_0xc9b0b2[_0x1f0ec8(0x1e0)](0xf2)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x36c)][_0x1a50ac]);}if(_0x45e65f[_0x1f0ec8(0x205)]!=null&&_0x45e65f[_0x1f0ec8(0x205)][_0x1f0ec8(0x255)]){for(let _0x40ee94=0x0;_0x40ee94<_0x45e65f[_0x1f0ec8(0x205)][_0x1f0ec8(0x255)];++_0x40ee94)_0xc9b0b2['uint32'](0xfa)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x205)][_0x40ee94]);}if(_0x45e65f[_0x1f0ec8(0x1f5)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x1f5)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x100)['bool'](_0x45e65f[_0x1f0ec8(0x1f5)]);if(_0x45e65f[_0x1f0ec8(0x378)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x378)))_0xc9b0b2['uint32'](0x108)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x378)]);if(_0x45e65f['useAllVocab']!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x320)))_0xc9b0b2['uint32'](0x110)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x320)]);if(_0x45e65f[_0x1f0ec8(0x2d1)]!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x2d1)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x118)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x2d1)]);if(_0x45e65f[_0x1f0ec8(0x243)]!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x243)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x122)[_0x1f0ec8(0x2db)](_0x45e65f['requiredChars']);if(_0x45e65f[_0x1f0ec8(0x2eb)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x2eb)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x140)[_0x1f0ec8(0x2a9)](_0x45e65f['unkId']);if(_0x45e65f[_0x1f0ec8(0x37c)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,'bosId'))_0xc9b0b2['uint32'](0x148)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x37c)]);if(_0x45e65f[_0x1f0ec8(0x206)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x206)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x150)[_0x1f0ec8(0x2a9)](_0x45e65f[_0x1f0ec8(0x206)]);if(_0x45e65f[_0x1f0ec8(0x1c0)]!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x1c0)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x158)['int32'](_0x45e65f['padId']);if(_0x45e65f['unkSurface']!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x2f8)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x162)[_0x1f0ec8(0x2db)](_0x45e65f['unkSurface']);if(_0x45e65f['unkPiece']!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x226)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x16a)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x226)]);if(_0x45e65f[_0x1f0ec8(0x2f4)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x2f4)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x172)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x2f4)]);if(_0x45e65f[_0x1f0ec8(0x1fb)]!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x1fb)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x17a)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x1fb)]);if(_0x45e65f[_0x1f0ec8(0x178)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x178)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x182)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x178)]);if(_0x45e65f['trainExtremelyLargeCorpus']!=null&&Object[_0x1f0ec8(0x1b9)]['call'](_0x45e65f,_0x1f0ec8(0x2de)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x188)['bool'](_0x45e65f['trainExtremelyLargeCorpus']);if(_0x45e65f[_0x1f0ec8(0x355)]!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x355)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x190)[_0x1f0ec8(0x315)](_0x45e65f[_0x1f0ec8(0x355)]);if(_0x45e65f[_0x1f0ec8(0x271)]!=null&&Object['hasOwnProperty']['call'](_0x45e65f,_0x1f0ec8(0x271)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x19d)[_0x1f0ec8(0x198)](_0x45e65f[_0x1f0ec8(0x271)]);if(_0x45e65f[_0x1f0ec8(0x225)]!=null&&Object['hasOwnProperty'][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x225)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x1a0)[_0x1f0ec8(0x33c)](_0x45e65f[_0x1f0ec8(0x225)]);if(_0x45e65f[_0x1f0ec8(0x25d)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,'pretokenizationDelimiter'))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x1aa)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x25d)]);if(_0x45e65f[_0x1f0ec8(0x1b2)]!=null&&Object[_0x1f0ec8(0x1b9)][_0x1f0ec8(0x24c)](_0x45e65f,_0x1f0ec8(0x1b2)))_0xc9b0b2[_0x1f0ec8(0x1e0)](0x1b2)[_0x1f0ec8(0x2db)](_0x45e65f[_0x1f0ec8(0x1b2)]);return _0xc9b0b2;},_0x2a6326[_0xe5820c(0x2f0)]=function _0x55df30(_0x9e2696,_0x45d055){const _0x14ca4a=_0xe5820c;return this[_0x14ca4a(0x323)](_0x9e2696,_0x45d055)['ldelim']();},_0x2a6326[_0xe5820c(0x182)]=function _0x5e85c7(_0x118379,_0x3bcc49,_0x324b60){const _0x416381=_0xe5820c;if(!(_0x118379 instanceof $Reader))_0x118379=$Reader['create'](_0x118379);let _0x4a53b3=_0x3bcc49===undefined?_0x118379[_0x416381(0x266)]:_0x118379[_0x416381(0x207)]+_0x3bcc49,_0x211ffb=new $root[(_0x416381(0x3c9))][(_0x416381(0x1a0))]();while(_0x118379[_0x416381(0x207)]<_0x4a53b3){let _0x52abd9=_0x118379[_0x416381(0x1e0)]();if(_0x52abd9===_0x324b60)break;switch(_0x52abd9>>>0x3){case 0x1:{if(!(_0x211ffb[_0x416381(0x2c8)]&&_0x211ffb[_0x416381(0x2c8)][_0x416381(0x255)]))_0x211ffb[_0x416381(0x2c8)]=[];_0x211ffb[_0x416381(0x2c8)][_0x416381(0x319)](_0x118379[_0x416381(0x2db)]());break;}case 0x7:{_0x211ffb[_0x416381(0x357)]=_0x118379[_0x416381(0x2db)]();break;}case 0x2:{_0x211ffb['modelPrefix']=_0x118379[_0x416381(0x2db)]();break;}case 0x3:{_0x211ffb[_0x416381(0x343)]=_0x118379['int32']();break;}case 0x4:{_0x211ffb[_0x416381(0x2ec)]=_0x118379[_0x416381(0x2a9)]();break;}case 0x5:{if(!(_0x211ffb[_0x416381(0x2fe)]&&_0x211ffb['acceptLanguage'][_0x416381(0x255)]))_0x211ffb[_0x416381(0x2fe)]=[];_0x211ffb[_0x416381(0x2fe)][_0x416381(0x319)](_0x118379[_0x416381(0x2db)]());break;}case 0x6:{_0x211ffb[_0x416381(0x35f)]=_0x118379[_0x416381(0x2a9)]();break;}case 0x32:{_0x211ffb[_0x416381(0x355)]=_0x118379[_0x416381(0x315)]();break;}case 0x33:{_0x211ffb[_0x416381(0x271)]=_0x118379['float']();break;}case 0x34:{_0x211ffb[_0x416381(0x225)]=_0x118379[_0x416381(0x33c)]();break;}case 0xa:{_0x211ffb[_0x416381(0x391)]=_0x118379['float']();break;}case 0xb:{_0x211ffb['inputSentenceSize']=_0x118379[_0x416381(0x33c)]();break;}case 0x13:{_0x211ffb[_0x416381(0x190)]=_0x118379[_0x416381(0x315)]();break;}case 0xc:{_0x211ffb[_0x416381(0x354)]=_0x118379[_0x416381(0x2a9)]();break;}case 0xd:{_0x211ffb[_0x416381(0x2bb)]=_0x118379[_0x416381(0x2a9)]();break;}case 0xe:{_0x211ffb['seedSentencepieceSize']=_0x118379[_0x416381(0x2a9)]();break;}case 0xf:{_0x211ffb[_0x416381(0x311)]=_0x118379[_0x416381(0x198)]();break;}case 0x12:{_0x211ffb[_0x416381(0x3ab)]=_0x118379[_0x416381(0x2a9)]();break;}case 0x10:{_0x211ffb['numThreads']=_0x118379[_0x416381(0x2a9)]();break;}case 0x11:{_0x211ffb[_0x416381(0x3cc)]=_0x118379['int32']();break;}case 0x14:{_0x211ffb['maxSentencepieceLength']=_0x118379['int32']();break;}case 0x15:{_0x211ffb[_0x416381(0x199)]=_0x118379[_0x416381(0x315)]();break;}case 0x17:{_0x211ffb[_0x416381(0x331)]=_0x118379['bool']();break;}case 0x16:{_0x211ffb[_0x416381(0x23a)]=_0x118379[_0x416381(0x315)]();break;}case 0x18:{_0x211ffb[_0x416381(0x19a)]=_0x118379[_0x416381(0x315)]();break;}case 0x1a:{_0x211ffb[_0x416381(0x36b)]=_0x118379[_0x416381(0x315)]();break;}case 0x19:{_0x211ffb[_0x416381(0x1ad)]=_0x118379['bool']();break;}case 0x35:{_0x211ffb[_0x416381(0x25d)]=_0x118379['string']();break;}case 0x1e:{if(!(_0x211ffb[_0x416381(0x36c)]&&_0x211ffb[_0x416381(0x36c)][_0x416381(0x255)]))_0x211ffb['controlSymbols']=[];_0x211ffb[_0x416381(0x36c)][_0x416381(0x319)](_0x118379[_0x416381(0x2db)]());break;}case 0x1f:{if(!(_0x211ffb['userDefinedSymbols']&&_0x211ffb[_0x416381(0x205)][_0x416381(0x255)]))_0x211ffb[_0x416381(0x205)]=[];_0x211ffb[_0x416381(0x205)][_0x416381(0x319)](_0x118379[_0x416381(0x2db)]());break;}case 0x24:{_0x211ffb[_0x416381(0x243)]=_0x118379[_0x416381(0x2db)]();break;}case 0x23:{_0x211ffb['byteFallback']=_0x118379['bool']();break;}case 0x20:{_0x211ffb[_0x416381(0x1f5)]=_0x118379['bool']();break;}case 0x21:{_0x211ffb[_0x416381(0x378)]=_0x118379[_0x416381(0x315)]();break;}case 0x22:{_0x211ffb['useAllVocab']=_0x118379[_0x416381(0x315)]();break;}case 0x28:{_0x211ffb[_0x416381(0x2eb)]=_0x118379[_0x416381(0x2a9)]();break;}case 0x29:{_0x211ffb[_0x416381(0x37c)]=_0x118379['int32']();break;}case 0x2a:{_0x211ffb[_0x416381(0x206)]=_0x118379[_0x416381(0x2a9)]();break;}case 0x2b:{_0x211ffb['padId']=_0x118379[_0x416381(0x2a9)]();break;}case 0x2d:{_0x211ffb['unkPiece']=_0x118379[_0x416381(0x2db)]();break;}case 0x2e:{_0x211ffb['bosPiece']=_0x118379[_0x416381(0x2db)]();break;}case 0x2f:{_0x211ffb['eosPiece']=_0x118379['string']();break;}case 0x30:{_0x211ffb['padPiece']=_0x118379['string']();break;}case 0x2c:{_0x211ffb['unkSurface']=_0x118379['string']();break;}case 0x31:{_0x211ffb[_0x416381(0x2de)]=_0x118379[_0x416381(0x315)]();break;}case 0x36:{_0x211ffb[_0x416381(0x1b2)]=_0x118379[_0x416381(0x2db)]();break;}default:_0x118379['skipType'](_0x52abd9&0x7);break;}}return _0x211ffb;},_0x2a6326[_0xe5820c(0x292)]=function _0x1a1f6a(_0x2074f2){const _0x38a5f0=_0xe5820c;if(!(_0x2074f2 instanceof $Reader))_0x2074f2=new $Reader(_0x2074f2);return this[_0x38a5f0(0x182)](_0x2074f2,_0x2074f2['uint32']());},_0x2a6326['verify']=function _0x4d09ff(_0x11e529){const _0x108837=_0xe5820c;if(typeof _0x11e529!==_0x108837(0x328)||_0x11e529===null)return _0x108837(0x22e);if(_0x11e529[_0x108837(0x2c8)]!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x2c8))){if(!Array[_0x108837(0x24a)](_0x11e529['input']))return _0x108837(0x192);for(let _0xe0b6fd=0x0;_0xe0b6fd<_0x11e529[_0x108837(0x2c8)]['length'];++_0xe0b6fd)if(!$util[_0x108837(0x2b4)](_0x11e529[_0x108837(0x2c8)][_0xe0b6fd]))return'input:\x20string[]\x20expected';}if(_0x11e529['inputFormat']!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x357))){if(!$util['isString'](_0x11e529[_0x108837(0x357)]))return'inputFormat:\x20string\x20expected';}if(_0x11e529[_0x108837(0x20f)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x20f))){if(!$util[_0x108837(0x2b4)](_0x11e529['modelPrefix']))return _0x108837(0x326);}if(_0x11e529[_0x108837(0x343)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x343)))switch(_0x11e529[_0x108837(0x343)]){default:return _0x108837(0x204);case 0x1:case 0x2:case 0x3:case 0x4:break;}if(_0x11e529[_0x108837(0x2ec)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x2ec))){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x2ec)]))return _0x108837(0x246);}if(_0x11e529[_0x108837(0x2fe)]!=null&&_0x11e529[_0x108837(0x1b9)]('acceptLanguage')){if(!Array[_0x108837(0x24a)](_0x11e529[_0x108837(0x2fe)]))return _0x108837(0x247);for(let _0x1d11f0=0x0;_0x1d11f0<_0x11e529[_0x108837(0x2fe)][_0x108837(0x255)];++_0x1d11f0)if(!$util[_0x108837(0x2b4)](_0x11e529[_0x108837(0x2fe)][_0x1d11f0]))return _0x108837(0x26a);}if(_0x11e529[_0x108837(0x35f)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x35f))){if(!$util[_0x108837(0x39d)](_0x11e529['selfTestSampleSize']))return'selfTestSampleSize:\x20integer\x20expected';}if(_0x11e529['enableDifferentialPrivacy']!=null&&_0x11e529[_0x108837(0x1b9)]('enableDifferentialPrivacy')){if(typeof _0x11e529[_0x108837(0x355)]!==_0x108837(0x2b1))return'enableDifferentialPrivacy:\x20boolean\x20expected';}if(_0x11e529[_0x108837(0x271)]!=null&&_0x11e529[_0x108837(0x1b9)]('differentialPrivacyNoiseLevel')){if(typeof _0x11e529['differentialPrivacyNoiseLevel']!==_0x108837(0x35d))return'differentialPrivacyNoiseLevel:\x20number\x20expected';}if(_0x11e529[_0x108837(0x225)]!=null&&_0x11e529[_0x108837(0x1b9)]('differentialPrivacyClippingThreshold')){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x225)])&&!(_0x11e529[_0x108837(0x225)]&&$util['isInteger'](_0x11e529[_0x108837(0x225)][_0x108837(0x3bd)])&&$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x225)]['high'])))return _0x108837(0x245);}if(_0x11e529[_0x108837(0x391)]!=null&&_0x11e529[_0x108837(0x1b9)]('characterCoverage')){if(typeof _0x11e529[_0x108837(0x391)]!==_0x108837(0x35d))return _0x108837(0x251);}if(_0x11e529[_0x108837(0x27f)]!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x27f))){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x27f)])&&!(_0x11e529[_0x108837(0x27f)]&&$util['isInteger'](_0x11e529[_0x108837(0x27f)][_0x108837(0x3bd)])&&$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x27f)][_0x108837(0x269)])))return _0x108837(0x27c);}if(_0x11e529[_0x108837(0x190)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x190))){if(typeof _0x11e529[_0x108837(0x190)]!=='boolean')return _0x108837(0x24b);}if(_0x11e529[_0x108837(0x354)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x354))){if(!$util['isInteger'](_0x11e529[_0x108837(0x354)]))return _0x108837(0x3bb);}if(_0x11e529[_0x108837(0x2bb)]!=null&&_0x11e529[_0x108837(0x1b9)]('trainingSentenceSize')){if(!$util[_0x108837(0x39d)](_0x11e529['trainingSentenceSize']))return'trainingSentenceSize:\x20integer\x20expected';}if(_0x11e529[_0x108837(0x2c2)]!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x2c2))){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x2c2)]))return'seedSentencepieceSize:\x20integer\x20expected';}if(_0x11e529[_0x108837(0x311)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x311))){if(typeof _0x11e529[_0x108837(0x311)]!==_0x108837(0x35d))return _0x108837(0x3a6);}if(_0x11e529[_0x108837(0x3ab)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x3ab))){if(!$util['isInteger'](_0x11e529['maxSentenceLength']))return _0x108837(0x296);}if(_0x11e529[_0x108837(0x356)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x356))){if(!$util['isInteger'](_0x11e529[_0x108837(0x356)]))return _0x108837(0x19c);}if(_0x11e529['numSubIterations']!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x3cc))){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x3cc)]))return _0x108837(0x2d7);}if(_0x11e529[_0x108837(0x3c1)]!=null&&_0x11e529['hasOwnProperty']('maxSentencepieceLength')){if(!$util[_0x108837(0x39d)](_0x11e529['maxSentencepieceLength']))return _0x108837(0x1d2);}if(_0x11e529[_0x108837(0x199)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x199))){if(typeof _0x11e529[_0x108837(0x199)]!==_0x108837(0x2b1))return'splitByUnicodeScript:\x20boolean\x20expected';}if(_0x11e529['splitByNumber']!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x331))){if(typeof _0x11e529[_0x108837(0x331)]!==_0x108837(0x2b1))return _0x108837(0x200);}if(_0x11e529['splitByWhitespace']!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x23a))){if(typeof _0x11e529[_0x108837(0x23a)]!==_0x108837(0x2b1))return _0x108837(0x2da);}if(_0x11e529[_0x108837(0x19a)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x19a))){if(typeof _0x11e529['treatWhitespaceAsSuffix']!==_0x108837(0x2b1))return _0x108837(0x3a7);}if(_0x11e529['allowWhitespaceOnlyPieces']!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x36b))){if(typeof _0x11e529[_0x108837(0x36b)]!=='boolean')return _0x108837(0x3ad);}if(_0x11e529['splitDigits']!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x1ad))){if(typeof _0x11e529[_0x108837(0x1ad)]!=='boolean')return _0x108837(0x1d4);}if(_0x11e529['pretokenizationDelimiter']!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x25d))){if(!$util[_0x108837(0x2b4)](_0x11e529['pretokenizationDelimiter']))return _0x108837(0x21d);}if(_0x11e529['controlSymbols']!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x36c))){if(!Array[_0x108837(0x24a)](_0x11e529[_0x108837(0x36c)]))return _0x108837(0x1b6);for(let _0x1a3f3c=0x0;_0x1a3f3c<_0x11e529[_0x108837(0x36c)][_0x108837(0x255)];++_0x1a3f3c)if(!$util[_0x108837(0x2b4)](_0x11e529['controlSymbols'][_0x1a3f3c]))return'controlSymbols:\x20string[]\x20expected';}if(_0x11e529[_0x108837(0x205)]!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x205))){if(!Array['isArray'](_0x11e529['userDefinedSymbols']))return _0x108837(0x1a5);for(let _0x22240d=0x0;_0x22240d<_0x11e529[_0x108837(0x205)][_0x108837(0x255)];++_0x22240d)if(!$util[_0x108837(0x2b4)](_0x11e529[_0x108837(0x205)][_0x22240d]))return _0x108837(0x304);}if(_0x11e529[_0x108837(0x243)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x243))){if(!$util['isString'](_0x11e529['requiredChars']))return _0x108837(0x31f);}if(_0x11e529[_0x108837(0x2d1)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x2d1))){if(typeof _0x11e529['byteFallback']!==_0x108837(0x2b1))return _0x108837(0x330);}if(_0x11e529[_0x108837(0x1f5)]!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x1f5))){if(typeof _0x11e529[_0x108837(0x1f5)]!=='boolean')return _0x108837(0x2f5);}if(_0x11e529[_0x108837(0x378)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x378))){if(typeof _0x11e529[_0x108837(0x378)]!=='boolean')return _0x108837(0x3bf);}if(_0x11e529['useAllVocab']!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x320))){if(typeof _0x11e529[_0x108837(0x320)]!=='boolean')return _0x108837(0x208);}if(_0x11e529[_0x108837(0x2eb)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x2eb))){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x2eb)]))return _0x108837(0x336);}if(_0x11e529[_0x108837(0x37c)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x37c))){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x37c)]))return _0x108837(0x3c0);}if(_0x11e529[_0x108837(0x206)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x206))){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x206)]))return _0x108837(0x263);}if(_0x11e529[_0x108837(0x1c0)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x1c0))){if(!$util[_0x108837(0x39d)](_0x11e529[_0x108837(0x1c0)]))return _0x108837(0x262);}if(_0x11e529[_0x108837(0x226)]!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x226))){if(!$util[_0x108837(0x2b4)](_0x11e529[_0x108837(0x226)]))return'unkPiece:\x20string\x20expected';}if(_0x11e529[_0x108837(0x2f4)]!=null&&_0x11e529['hasOwnProperty']('bosPiece')){if(!$util['isString'](_0x11e529[_0x108837(0x2f4)]))return _0x108837(0x1be);}if(_0x11e529[_0x108837(0x1fb)]!=null&&_0x11e529['hasOwnProperty'](_0x108837(0x1fb))){if(!$util[_0x108837(0x2b4)](_0x11e529[_0x108837(0x1fb)]))return _0x108837(0x325);}if(_0x11e529[_0x108837(0x178)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x178))){if(!$util[_0x108837(0x2b4)](_0x11e529[_0x108837(0x178)]))return _0x108837(0x217);}if(_0x11e529[_0x108837(0x2f8)]!=null&&_0x11e529[_0x108837(0x1b9)]('unkSurface')){if(!$util[_0x108837(0x2b4)](_0x11e529[_0x108837(0x2f8)]))return _0x108837(0x31c);}if(_0x11e529[_0x108837(0x2de)]!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x2de))){if(typeof _0x11e529[_0x108837(0x2de)]!==_0x108837(0x2b1))return'trainExtremelyLargeCorpus:\x20boolean\x20expected';}if(_0x11e529['seedSentencepiecesFile']!=null&&_0x11e529[_0x108837(0x1b9)](_0x108837(0x1b2))){if(!$util[_0x108837(0x2b4)](_0x11e529[_0x108837(0x1b2)]))return'seedSentencepiecesFile:\x20string\x20expected';}return null;},_0x2a6326[_0xe5820c(0x303)]=function _0x5aa794(_0x21c9e0){const _0x555227=_0xe5820c;if(_0x21c9e0 instanceof $root[_0x555227(0x3c9)][_0x555227(0x1a0)])return _0x21c9e0;let _0xb4b9fd=new $root[(_0x555227(0x3c9))][(_0x555227(0x1a0))]();if(_0x21c9e0[_0x555227(0x2c8)]){if(!Array['isArray'](_0x21c9e0[_0x555227(0x2c8)]))throw TypeError(_0x555227(0x342));_0xb4b9fd[_0x555227(0x2c8)]=[];for(let _0x570714=0x0;_0x570714<_0x21c9e0[_0x555227(0x2c8)][_0x555227(0x255)];++_0x570714)_0xb4b9fd[_0x555227(0x2c8)][_0x570714]=String(_0x21c9e0[_0x555227(0x2c8)][_0x570714]);}if(_0x21c9e0[_0x555227(0x357)]!=null)_0xb4b9fd[_0x555227(0x357)]=String(_0x21c9e0[_0x555227(0x357)]);if(_0x21c9e0['modelPrefix']!=null)_0xb4b9fd[_0x555227(0x20f)]=String(_0x21c9e0[_0x555227(0x20f)]);switch(_0x21c9e0[_0x555227(0x343)]){default:if(typeof _0x21c9e0[_0x555227(0x343)]===_0x555227(0x35d)){_0xb4b9fd[_0x555227(0x343)]=_0x21c9e0[_0x555227(0x343)];break;}break;case _0x555227(0x1b3):case 0x1:_0xb4b9fd[_0x555227(0x343)]=0x1;break;case _0x555227(0x17f):case 0x2:_0xb4b9fd[_0x555227(0x343)]=0x2;break;case _0x555227(0x25c):case 0x3:_0xb4b9fd[_0x555227(0x343)]=0x3;break;case'CHAR':case 0x4:_0xb4b9fd['modelType']=0x4;break;}if(_0x21c9e0['vocabSize']!=null)_0xb4b9fd['vocabSize']=_0x21c9e0[_0x555227(0x2ec)]|0x0;if(_0x21c9e0[_0x555227(0x2fe)]){if(!Array[_0x555227(0x24a)](_0x21c9e0[_0x555227(0x2fe)]))throw TypeError(_0x555227(0x297));_0xb4b9fd[_0x555227(0x2fe)]=[];for(let _0x2f9d86=0x0;_0x2f9d86<_0x21c9e0['acceptLanguage'][_0x555227(0x255)];++_0x2f9d86)_0xb4b9fd[_0x555227(0x2fe)][_0x2f9d86]=String(_0x21c9e0[_0x555227(0x2fe)][_0x2f9d86]);}if(_0x21c9e0['selfTestSampleSize']!=null)_0xb4b9fd[_0x555227(0x35f)]=_0x21c9e0[_0x555227(0x35f)]|0x0;if(_0x21c9e0[_0x555227(0x355)]!=null)_0xb4b9fd[_0x555227(0x355)]=Boolean(_0x21c9e0[_0x555227(0x355)]);if(_0x21c9e0[_0x555227(0x271)]!=null)_0xb4b9fd[_0x555227(0x271)]=Number(_0x21c9e0[_0x555227(0x271)]);if(_0x21c9e0['differentialPrivacyClippingThreshold']!=null){if($util[_0x555227(0x1a7)])(_0xb4b9fd[_0x555227(0x225)]=$util[_0x555227(0x1a7)][_0x555227(0x2cf)](_0x21c9e0['differentialPrivacyClippingThreshold']))[_0x555227(0x39a)]=!![];else{if(typeof _0x21c9e0[_0x555227(0x225)]===_0x555227(0x2db))_0xb4b9fd[_0x555227(0x225)]=parseInt(_0x21c9e0[_0x555227(0x225)],0xa);else{if(typeof _0x21c9e0[_0x555227(0x225)]===_0x555227(0x35d))_0xb4b9fd['differentialPrivacyClippingThreshold']=_0x21c9e0[_0x555227(0x225)];else{if(typeof _0x21c9e0[_0x555227(0x225)]==='object')_0xb4b9fd[_0x555227(0x225)]=new $util['LongBits'](_0x21c9e0[_0x555227(0x225)][_0x555227(0x3bd)]>>>0x0,_0x21c9e0[_0x555227(0x225)][_0x555227(0x269)]>>>0x0)[_0x555227(0x3c6)](!![]);}}}}if(_0x21c9e0['characterCoverage']!=null)_0xb4b9fd['characterCoverage']=Number(_0x21c9e0['characterCoverage']);if(_0x21c9e0[_0x555227(0x27f)]!=null){if($util[_0x555227(0x1a7)])(_0xb4b9fd[_0x555227(0x27f)]=$util[_0x555227(0x1a7)][_0x555227(0x2cf)](_0x21c9e0[_0x555227(0x27f)]))[_0x555227(0x39a)]=!![];else{if(typeof _0x21c9e0[_0x555227(0x27f)]==='string')_0xb4b9fd[_0x555227(0x27f)]=parseInt(_0x21c9e0['inputSentenceSize'],0xa);else{if(typeof _0x21c9e0['inputSentenceSize']===_0x555227(0x35d))_0xb4b9fd[_0x555227(0x27f)]=_0x21c9e0[_0x555227(0x27f)];else{if(typeof _0x21c9e0[_0x555227(0x27f)]===_0x555227(0x328))_0xb4b9fd[_0x555227(0x27f)]=new $util[(_0x555227(0x276))](_0x21c9e0[_0x555227(0x27f)][_0x555227(0x3bd)]>>>0x0,_0x21c9e0[_0x555227(0x27f)][_0x555227(0x269)]>>>0x0)[_0x555227(0x3c6)](!![]);}}}}if(_0x21c9e0[_0x555227(0x190)]!=null)_0xb4b9fd['shuffleInputSentence']=Boolean(_0x21c9e0['shuffleInputSentence']);if(_0x21c9e0[_0x555227(0x354)]!=null)_0xb4b9fd[_0x555227(0x354)]=_0x21c9e0[_0x555227(0x354)]|0x0;if(_0x21c9e0[_0x555227(0x2bb)]!=null)_0xb4b9fd[_0x555227(0x2bb)]=_0x21c9e0['trainingSentenceSize']|0x0;if(_0x21c9e0[_0x555227(0x2c2)]!=null)_0xb4b9fd[_0x555227(0x2c2)]=_0x21c9e0[_0x555227(0x2c2)]|0x0;if(_0x21c9e0[_0x555227(0x311)]!=null)_0xb4b9fd[_0x555227(0x311)]=Number(_0x21c9e0[_0x555227(0x311)]);if(_0x21c9e0[_0x555227(0x3ab)]!=null)_0xb4b9fd[_0x555227(0x3ab)]=_0x21c9e0[_0x555227(0x3ab)]|0x0;if(_0x21c9e0[_0x555227(0x356)]!=null)_0xb4b9fd[_0x555227(0x356)]=_0x21c9e0[_0x555227(0x356)]|0x0;if(_0x21c9e0[_0x555227(0x3cc)]!=null)_0xb4b9fd[_0x555227(0x3cc)]=_0x21c9e0[_0x555227(0x3cc)]|0x0;if(_0x21c9e0[_0x555227(0x3c1)]!=null)_0xb4b9fd[_0x555227(0x3c1)]=_0x21c9e0[_0x555227(0x3c1)]|0x0;if(_0x21c9e0[_0x555227(0x199)]!=null)_0xb4b9fd[_0x555227(0x199)]=Boolean(_0x21c9e0[_0x555227(0x199)]);if(_0x21c9e0[_0x555227(0x331)]!=null)_0xb4b9fd[_0x555227(0x331)]=Boolean(_0x21c9e0['splitByNumber']);if(_0x21c9e0[_0x555227(0x23a)]!=null)_0xb4b9fd[_0x555227(0x23a)]=Boolean(_0x21c9e0[_0x555227(0x23a)]);if(_0x21c9e0['treatWhitespaceAsSuffix']!=null)_0xb4b9fd['treatWhitespaceAsSuffix']=Boolean(_0x21c9e0[_0x555227(0x19a)]);if(_0x21c9e0[_0x555227(0x36b)]!=null)_0xb4b9fd[_0x555227(0x36b)]=Boolean(_0x21c9e0[_0x555227(0x36b)]);if(_0x21c9e0[_0x555227(0x1ad)]!=null)_0xb4b9fd[_0x555227(0x1ad)]=Boolean(_0x21c9e0[_0x555227(0x1ad)]);if(_0x21c9e0[_0x555227(0x25d)]!=null)_0xb4b9fd[_0x555227(0x25d)]=String(_0x21c9e0[_0x555227(0x25d)]);if(_0x21c9e0[_0x555227(0x36c)]){if(!Array[_0x555227(0x24a)](_0x21c9e0['controlSymbols']))throw TypeError(_0x555227(0x1b4));_0xb4b9fd['controlSymbols']=[];for(let _0x34d164=0x0;_0x34d164<_0x21c9e0[_0x555227(0x36c)][_0x555227(0x255)];++_0x34d164)_0xb4b9fd[_0x555227(0x36c)][_0x34d164]=String(_0x21c9e0[_0x555227(0x36c)][_0x34d164]);}if(_0x21c9e0[_0x555227(0x205)]){if(!Array[_0x555227(0x24a)](_0x21c9e0[_0x555227(0x205)]))throw TypeError(_0x555227(0x25a));_0xb4b9fd[_0x555227(0x205)]=[];for(let _0x11fdfe=0x0;_0x11fdfe<_0x21c9e0[_0x555227(0x205)]['length'];++_0x11fdfe)_0xb4b9fd[_0x555227(0x205)][_0x11fdfe]=String(_0x21c9e0[_0x555227(0x205)][_0x11fdfe]);}if(_0x21c9e0[_0x555227(0x243)]!=null)_0xb4b9fd['requiredChars']=String(_0x21c9e0[_0x555227(0x243)]);if(_0x21c9e0[_0x555227(0x2d1)]!=null)_0xb4b9fd[_0x555227(0x2d1)]=Boolean(_0x21c9e0['byteFallback']);if(_0x21c9e0[_0x555227(0x1f5)]!=null)_0xb4b9fd[_0x555227(0x1f5)]=Boolean(_0x21c9e0[_0x555227(0x1f5)]);if(_0x21c9e0[_0x555227(0x378)]!=null)_0xb4b9fd[_0x555227(0x378)]=Boolean(_0x21c9e0[_0x555227(0x378)]);if(_0x21c9e0[_0x555227(0x320)]!=null)_0xb4b9fd[_0x555227(0x320)]=Boolean(_0x21c9e0[_0x555227(0x320)]);if(_0x21c9e0[_0x555227(0x2eb)]!=null)_0xb4b9fd['unkId']=_0x21c9e0[_0x555227(0x2eb)]|0x0;if(_0x21c9e0['bosId']!=null)_0xb4b9fd[_0x555227(0x37c)]=_0x21c9e0[_0x555227(0x37c)]|0x0;if(_0x21c9e0[_0x555227(0x206)]!=null)_0xb4b9fd[_0x555227(0x206)]=_0x21c9e0['eosId']|0x0;if(_0x21c9e0[_0x555227(0x1c0)]!=null)_0xb4b9fd['padId']=_0x21c9e0['padId']|0x0;if(_0x21c9e0[_0x555227(0x226)]!=null)_0xb4b9fd[_0x555227(0x226)]=String(_0x21c9e0[_0x555227(0x226)]);if(_0x21c9e0['bosPiece']!=null)_0xb4b9fd['bosPiece']=String(_0x21c9e0[_0x555227(0x2f4)]);if(_0x21c9e0['eosPiece']!=null)_0xb4b9fd[_0x555227(0x1fb)]=String(_0x21c9e0[_0x555227(0x1fb)]);if(_0x21c9e0[_0x555227(0x178)]!=null)_0xb4b9fd[_0x555227(0x178)]=String(_0x21c9e0[_0x555227(0x178)]);if(_0x21c9e0[_0x555227(0x2f8)]!=null)_0xb4b9fd[_0x555227(0x2f8)]=String(_0x21c9e0[_0x555227(0x2f8)]);if(_0x21c9e0[_0x555227(0x2de)]!=null)_0xb4b9fd['trainExtremelyLargeCorpus']=Boolean(_0x21c9e0[_0x555227(0x2de)]);if(_0x21c9e0[_0x555227(0x1b2)]!=null)_0xb4b9fd[_0x555227(0x1b2)]=String(_0x21c9e0['seedSentencepiecesFile']);return _0xb4b9fd;},_0x2a6326['toObject']=function _0x44f72b(_0x51f349,_0x49f9ee){const _0x52f859=_0xe5820c;if(!_0x49f9ee)_0x49f9ee={};let _0x32200f={};(_0x49f9ee[_0x52f859(0x38a)]||_0x49f9ee['defaults'])&&(_0x32200f[_0x52f859(0x2c8)]=[],_0x32200f[_0x52f859(0x2fe)]=[],_0x32200f[_0x52f859(0x36c)]=[],_0x32200f[_0x52f859(0x205)]=[]);if(_0x49f9ee['defaults']){_0x32200f[_0x52f859(0x20f)]='',_0x32200f['modelType']=_0x49f9ee['enums']===String?_0x52f859(0x1b3):0x1,_0x32200f[_0x52f859(0x2ec)]=0x1f40,_0x32200f[_0x52f859(0x35f)]=0x0,_0x32200f[_0x52f859(0x357)]='',_0x32200f[_0x52f859(0x391)]=0.9995;if($util['Long']){let _0x1dc6a0=new $util[(_0x52f859(0x1a7))](0x0,0x0,!![]);_0x32200f[_0x52f859(0x27f)]=_0x49f9ee[_0x52f859(0x29a)]===String?_0x1dc6a0[_0x52f859(0x2a0)]():_0x49f9ee['longs']===Number?_0x1dc6a0['toNumber']():_0x1dc6a0;}else _0x32200f[_0x52f859(0x27f)]=_0x49f9ee[_0x52f859(0x29a)]===String?'0':0x0;_0x32200f['miningSentenceSize']=0x0,_0x32200f[_0x52f859(0x2bb)]=0x0,_0x32200f[_0x52f859(0x2c2)]=0xf4240,_0x32200f[_0x52f859(0x311)]=0.75,_0x32200f['numThreads']=0x10,_0x32200f[_0x52f859(0x3cc)]=0x2,_0x32200f[_0x52f859(0x3ab)]=0x1060,_0x32200f['shuffleInputSentence']=!![],_0x32200f[_0x52f859(0x3c1)]=0x10,_0x32200f['splitByUnicodeScript']=!![],_0x32200f[_0x52f859(0x23a)]=!![],_0x32200f[_0x52f859(0x331)]=!![],_0x32200f[_0x52f859(0x19a)]=![],_0x32200f[_0x52f859(0x1ad)]=![],_0x32200f[_0x52f859(0x36b)]=![],_0x32200f[_0x52f859(0x1f5)]=!![],_0x32200f[_0x52f859(0x378)]=!![],_0x32200f[_0x52f859(0x320)]=![],_0x32200f['byteFallback']=![],_0x32200f[_0x52f859(0x243)]='',_0x32200f[_0x52f859(0x2eb)]=0x0,_0x32200f[_0x52f859(0x37c)]=0x1,_0x32200f[_0x52f859(0x206)]=0x2,_0x32200f[_0x52f859(0x1c0)]=-0x1,_0x32200f['unkSurface']=_0x52f859(0x3ac),_0x32200f[_0x52f859(0x226)]=_0x52f859(0x1a2),_0x32200f[_0x52f859(0x2f4)]=_0x52f859(0x2f9),_0x32200f['eosPiece']='</s>',_0x32200f['padPiece']=_0x52f859(0x19e),_0x32200f[_0x52f859(0x2de)]=![],_0x32200f[_0x52f859(0x355)]=![],_0x32200f[_0x52f859(0x271)]=0x0;if($util[_0x52f859(0x1a7)]){let _0x476301=new $util[(_0x52f859(0x1a7))](0x0,0x0,!![]);_0x32200f[_0x52f859(0x225)]=_0x49f9ee[_0x52f859(0x29a)]===String?_0x476301[_0x52f859(0x2a0)]():_0x49f9ee[_0x52f859(0x29a)]===Number?_0x476301[_0x52f859(0x3c6)]():_0x476301;}else _0x32200f['differentialPrivacyClippingThreshold']=_0x49f9ee[_0x52f859(0x29a)]===String?'0':0x0;_0x32200f['pretokenizationDelimiter']='',_0x32200f[_0x52f859(0x1b2)]='';}if(_0x51f349[_0x52f859(0x2c8)]&&_0x51f349[_0x52f859(0x2c8)]['length']){_0x32200f['input']=[];for(let _0x342f76=0x0;_0x342f76<_0x51f349[_0x52f859(0x2c8)][_0x52f859(0x255)];++_0x342f76)_0x32200f[_0x52f859(0x2c8)][_0x342f76]=_0x51f349[_0x52f859(0x2c8)][_0x342f76];}if(_0x51f349[_0x52f859(0x20f)]!=null&&_0x51f349[_0x52f859(0x1b9)]('modelPrefix'))_0x32200f[_0x52f859(0x20f)]=_0x51f349['modelPrefix'];if(_0x51f349['modelType']!=null&&_0x51f349[_0x52f859(0x1b9)]('modelType'))_0x32200f[_0x52f859(0x343)]=_0x49f9ee['enums']===String?$root[_0x52f859(0x3c9)][_0x52f859(0x1a0)][_0x52f859(0x28f)][_0x51f349[_0x52f859(0x343)]]===undefined?_0x51f349[_0x52f859(0x343)]:$root[_0x52f859(0x3c9)][_0x52f859(0x1a0)]['ModelType'][_0x51f349[_0x52f859(0x343)]]:_0x51f349[_0x52f859(0x343)];if(_0x51f349['vocabSize']!=null&&_0x51f349[_0x52f859(0x1b9)]('vocabSize'))_0x32200f[_0x52f859(0x2ec)]=_0x51f349['vocabSize'];if(_0x51f349[_0x52f859(0x2fe)]&&_0x51f349[_0x52f859(0x2fe)][_0x52f859(0x255)]){_0x32200f['acceptLanguage']=[];for(let _0xf2ff19=0x0;_0xf2ff19<_0x51f349[_0x52f859(0x2fe)]['length'];++_0xf2ff19)_0x32200f['acceptLanguage'][_0xf2ff19]=_0x51f349['acceptLanguage'][_0xf2ff19];}if(_0x51f349['selfTestSampleSize']!=null&&_0x51f349[_0x52f859(0x1b9)]('selfTestSampleSize'))_0x32200f[_0x52f859(0x35f)]=_0x51f349[_0x52f859(0x35f)];if(_0x51f349[_0x52f859(0x357)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x357)))_0x32200f[_0x52f859(0x357)]=_0x51f349[_0x52f859(0x357)];if(_0x51f349[_0x52f859(0x391)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x391)))_0x32200f[_0x52f859(0x391)]=_0x49f9ee[_0x52f859(0x1f0)]&&!isFinite(_0x51f349[_0x52f859(0x391)])?String(_0x51f349[_0x52f859(0x391)]):_0x51f349['characterCoverage'];if(_0x51f349[_0x52f859(0x27f)]!=null&&_0x51f349['hasOwnProperty'](_0x52f859(0x27f))){if(typeof _0x51f349['inputSentenceSize']==='number')_0x32200f[_0x52f859(0x27f)]=_0x49f9ee['longs']===String?String(_0x51f349['inputSentenceSize']):_0x51f349[_0x52f859(0x27f)];else _0x32200f[_0x52f859(0x27f)]=_0x49f9ee['longs']===String?$util[_0x52f859(0x1a7)][_0x52f859(0x1f6)]['toString']['call'](_0x51f349[_0x52f859(0x27f)]):_0x49f9ee[_0x52f859(0x29a)]===Number?new $util['LongBits'](_0x51f349[_0x52f859(0x27f)][_0x52f859(0x3bd)]>>>0x0,_0x51f349['inputSentenceSize']['high']>>>0x0)[_0x52f859(0x3c6)](!![]):_0x51f349[_0x52f859(0x27f)];}if(_0x51f349[_0x52f859(0x354)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x354)))_0x32200f['miningSentenceSize']=_0x51f349[_0x52f859(0x354)];if(_0x51f349[_0x52f859(0x2bb)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x2bb)))_0x32200f[_0x52f859(0x2bb)]=_0x51f349[_0x52f859(0x2bb)];if(_0x51f349[_0x52f859(0x2c2)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x2c2)))_0x32200f[_0x52f859(0x2c2)]=_0x51f349[_0x52f859(0x2c2)];if(_0x51f349[_0x52f859(0x311)]!=null&&_0x51f349['hasOwnProperty']('shrinkingFactor'))_0x32200f[_0x52f859(0x311)]=_0x49f9ee[_0x52f859(0x1f0)]&&!isFinite(_0x51f349[_0x52f859(0x311)])?String(_0x51f349[_0x52f859(0x311)]):_0x51f349['shrinkingFactor'];if(_0x51f349['numThreads']!=null&&_0x51f349[_0x52f859(0x1b9)]('numThreads'))_0x32200f[_0x52f859(0x356)]=_0x51f349[_0x52f859(0x356)];if(_0x51f349[_0x52f859(0x3cc)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x3cc)))_0x32200f[_0x52f859(0x3cc)]=_0x51f349['numSubIterations'];if(_0x51f349[_0x52f859(0x3ab)]!=null&&_0x51f349[_0x52f859(0x1b9)]('maxSentenceLength'))_0x32200f[_0x52f859(0x3ab)]=_0x51f349[_0x52f859(0x3ab)];if(_0x51f349[_0x52f859(0x190)]!=null&&_0x51f349[_0x52f859(0x1b9)]('shuffleInputSentence'))_0x32200f[_0x52f859(0x190)]=_0x51f349[_0x52f859(0x190)];if(_0x51f349[_0x52f859(0x3c1)]!=null&&_0x51f349[_0x52f859(0x1b9)]('maxSentencepieceLength'))_0x32200f[_0x52f859(0x3c1)]=_0x51f349['maxSentencepieceLength'];if(_0x51f349[_0x52f859(0x199)]!=null&&_0x51f349['hasOwnProperty']('splitByUnicodeScript'))_0x32200f[_0x52f859(0x199)]=_0x51f349[_0x52f859(0x199)];if(_0x51f349['splitByWhitespace']!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x23a)))_0x32200f[_0x52f859(0x23a)]=_0x51f349['splitByWhitespace'];if(_0x51f349[_0x52f859(0x331)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x331)))_0x32200f[_0x52f859(0x331)]=_0x51f349[_0x52f859(0x331)];if(_0x51f349['treatWhitespaceAsSuffix']!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x19a)))_0x32200f[_0x52f859(0x19a)]=_0x51f349[_0x52f859(0x19a)];if(_0x51f349[_0x52f859(0x1ad)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x1ad)))_0x32200f[_0x52f859(0x1ad)]=_0x51f349[_0x52f859(0x1ad)];if(_0x51f349[_0x52f859(0x36b)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x36b)))_0x32200f[_0x52f859(0x36b)]=_0x51f349[_0x52f859(0x36b)];if(_0x51f349[_0x52f859(0x36c)]&&_0x51f349['controlSymbols'][_0x52f859(0x255)]){_0x32200f[_0x52f859(0x36c)]=[];for(let _0x2d363b=0x0;_0x2d363b<_0x51f349['controlSymbols'][_0x52f859(0x255)];++_0x2d363b)_0x32200f['controlSymbols'][_0x2d363b]=_0x51f349[_0x52f859(0x36c)][_0x2d363b];}if(_0x51f349[_0x52f859(0x205)]&&_0x51f349[_0x52f859(0x205)][_0x52f859(0x255)]){_0x32200f['userDefinedSymbols']=[];for(let _0x296e38=0x0;_0x296e38<_0x51f349['userDefinedSymbols'][_0x52f859(0x255)];++_0x296e38)_0x32200f['userDefinedSymbols'][_0x296e38]=_0x51f349['userDefinedSymbols'][_0x296e38];}if(_0x51f349['vocabularyOutputPieceScore']!=null&&_0x51f349[_0x52f859(0x1b9)]('vocabularyOutputPieceScore'))_0x32200f[_0x52f859(0x1f5)]=_0x51f349[_0x52f859(0x1f5)];if(_0x51f349[_0x52f859(0x378)]!=null&&_0x51f349[_0x52f859(0x1b9)]('hardVocabLimit'))_0x32200f['hardVocabLimit']=_0x51f349[_0x52f859(0x378)];if(_0x51f349['useAllVocab']!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x320)))_0x32200f['useAllVocab']=_0x51f349[_0x52f859(0x320)];if(_0x51f349['byteFallback']!=null&&_0x51f349['hasOwnProperty']('byteFallback'))_0x32200f[_0x52f859(0x2d1)]=_0x51f349[_0x52f859(0x2d1)];if(_0x51f349[_0x52f859(0x243)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x243)))_0x32200f[_0x52f859(0x243)]=_0x51f349[_0x52f859(0x243)];if(_0x51f349['unkId']!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x2eb)))_0x32200f[_0x52f859(0x2eb)]=_0x51f349[_0x52f859(0x2eb)];if(_0x51f349[_0x52f859(0x37c)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x37c)))_0x32200f['bosId']=_0x51f349[_0x52f859(0x37c)];if(_0x51f349['eosId']!=null&&_0x51f349['hasOwnProperty'](_0x52f859(0x206)))_0x32200f[_0x52f859(0x206)]=_0x51f349[_0x52f859(0x206)];if(_0x51f349[_0x52f859(0x1c0)]!=null&&_0x51f349[_0x52f859(0x1b9)]('padId'))_0x32200f[_0x52f859(0x1c0)]=_0x51f349['padId'];if(_0x51f349[_0x52f859(0x2f8)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x2f8)))_0x32200f[_0x52f859(0x2f8)]=_0x51f349['unkSurface'];if(_0x51f349[_0x52f859(0x226)]!=null&&_0x51f349['hasOwnProperty'](_0x52f859(0x226)))_0x32200f[_0x52f859(0x226)]=_0x51f349[_0x52f859(0x226)];if(_0x51f349[_0x52f859(0x2f4)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x2f4)))_0x32200f[_0x52f859(0x2f4)]=_0x51f349[_0x52f859(0x2f4)];if(_0x51f349[_0x52f859(0x1fb)]!=null&&_0x51f349['hasOwnProperty'](_0x52f859(0x1fb)))_0x32200f[_0x52f859(0x1fb)]=_0x51f349[_0x52f859(0x1fb)];if(_0x51f349[_0x52f859(0x178)]!=null&&_0x51f349['hasOwnProperty'](_0x52f859(0x178)))_0x32200f['padPiece']=_0x51f349[_0x52f859(0x178)];if(_0x51f349[_0x52f859(0x2de)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x2de)))_0x32200f['trainExtremelyLargeCorpus']=_0x51f349[_0x52f859(0x2de)];if(_0x51f349[_0x52f859(0x355)]!=null&&_0x51f349[_0x52f859(0x1b9)]('enableDifferentialPrivacy'))_0x32200f[_0x52f859(0x355)]=_0x51f349['enableDifferentialPrivacy'];if(_0x51f349[_0x52f859(0x271)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x271)))_0x32200f[_0x52f859(0x271)]=_0x49f9ee['json']&&!isFinite(_0x51f349['differentialPrivacyNoiseLevel'])?String(_0x51f349[_0x52f859(0x271)]):_0x51f349[_0x52f859(0x271)];if(_0x51f349['differentialPrivacyClippingThreshold']!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x225))){if(typeof _0x51f349[_0x52f859(0x225)]===_0x52f859(0x35d))_0x32200f[_0x52f859(0x225)]=_0x49f9ee[_0x52f859(0x29a)]===String?String(_0x51f349[_0x52f859(0x225)]):_0x51f349['differentialPrivacyClippingThreshold'];else _0x32200f[_0x52f859(0x225)]=_0x49f9ee[_0x52f859(0x29a)]===String?$util[_0x52f859(0x1a7)][_0x52f859(0x1f6)][_0x52f859(0x2a0)]['call'](_0x51f349[_0x52f859(0x225)]):_0x49f9ee[_0x52f859(0x29a)]===Number?new $util['LongBits'](_0x51f349[_0x52f859(0x225)][_0x52f859(0x3bd)]>>>0x0,_0x51f349['differentialPrivacyClippingThreshold'][_0x52f859(0x269)]>>>0x0)[_0x52f859(0x3c6)](!![]):_0x51f349[_0x52f859(0x225)];}if(_0x51f349[_0x52f859(0x25d)]!=null&&_0x51f349['hasOwnProperty'](_0x52f859(0x25d)))_0x32200f[_0x52f859(0x25d)]=_0x51f349[_0x52f859(0x25d)];if(_0x51f349[_0x52f859(0x1b2)]!=null&&_0x51f349[_0x52f859(0x1b9)](_0x52f859(0x1b2)))_0x32200f[_0x52f859(0x1b2)]=_0x51f349[_0x52f859(0x1b2)];return _0x32200f;},_0x2a6326['prototype']['toJSON']=function _0x314eef(){const _0x434f5d=_0xe5820c;return this[_0x434f5d(0x1f7)][_0x434f5d(0x341)](this,a5_0x59bd37[_0x434f5d(0x268)][_0x434f5d(0x3ca)]);},_0x2a6326[_0xe5820c(0x21c)]=function _0x2aeff7(_0x3e1c5a){const _0x4df180=_0xe5820c;return _0x3e1c5a===undefined&&(_0x3e1c5a='type.googleapis.com'),_0x3e1c5a+_0x4df180(0x3a9);},_0x2a6326[_0xe5820c(0x28f)]=(function(){const _0x5c517e=_0xe5820c,_0x1d0015={},_0x365c9b=Object[_0x5c517e(0x22b)](_0x1d0015);return _0x365c9b[_0x1d0015[0x1]='UNIGRAM']=0x1,_0x365c9b[_0x1d0015[0x2]=_0x5c517e(0x17f)]=0x2,_0x365c9b[_0x1d0015[0x3]=_0x5c517e(0x25c)]=0x3,_0x365c9b[_0x1d0015[0x4]=_0x5c517e(0x25e)]=0x4,_0x365c9b;}()),_0x2a6326;}()),_0x33002e[_0x5846cc(0x1e4)]=(function(){const _0x37030=_0x5846cc;function _0x57543d(_0x49673c){const _0x48cc9e=a5_0x3284;if(_0x49673c){for(let _0x443095=Object[_0x48cc9e(0x2a6)](_0x49673c),_0x21ccfb=0x0;_0x21ccfb<_0x443095[_0x48cc9e(0x255)];++_0x21ccfb)if(_0x49673c[_0x443095[_0x21ccfb]]!=null)this[_0x443095[_0x21ccfb]]=_0x49673c[_0x443095[_0x21ccfb]];}}return _0x57543d[_0x37030(0x1f6)][_0x37030(0x314)]='',_0x57543d[_0x37030(0x1f6)]['precompiledCharsmap']=$util[_0x37030(0x2d2)]([]),_0x57543d[_0x37030(0x1f6)][_0x37030(0x1e9)]=!![],_0x57543d[_0x37030(0x1f6)]['removeExtraWhitespaces']=!![],_0x57543d[_0x37030(0x1f6)]['escapeWhitespaces']=!![],_0x57543d[_0x37030(0x1f6)][_0x37030(0x366)]='',_0x57543d[_0x37030(0x22b)]=function _0x826465(_0x5efa95){return new _0x57543d(_0x5efa95);},_0x57543d[_0x37030(0x323)]=function _0x490374(_0x1a7f10,_0x370423){const _0x42ef1b=_0x37030;if(!_0x370423)_0x370423=$Writer['create']();if(_0x1a7f10['name']!=null&&Object['hasOwnProperty']['call'](_0x1a7f10,_0x42ef1b(0x314)))_0x370423[_0x42ef1b(0x1e0)](0xa)[_0x42ef1b(0x2db)](_0x1a7f10[_0x42ef1b(0x314)]);if(_0x1a7f10[_0x42ef1b(0x3b5)]!=null&&Object[_0x42ef1b(0x1b9)][_0x42ef1b(0x24c)](_0x1a7f10,_0x42ef1b(0x3b5)))_0x370423['uint32'](0x12)[_0x42ef1b(0x2cd)](_0x1a7f10[_0x42ef1b(0x3b5)]);if(_0x1a7f10[_0x42ef1b(0x1e9)]!=null&&Object[_0x42ef1b(0x1b9)][_0x42ef1b(0x24c)](_0x1a7f10,_0x42ef1b(0x1e9)))_0x370423[_0x42ef1b(0x1e0)](0x18)['bool'](_0x1a7f10[_0x42ef1b(0x1e9)]);if(_0x1a7f10[_0x42ef1b(0x23b)]!=null&&Object[_0x42ef1b(0x1b9)][_0x42ef1b(0x24c)](_0x1a7f10,_0x42ef1b(0x23b)))_0x370423[_0x42ef1b(0x1e0)](0x20)[_0x42ef1b(0x315)](_0x1a7f10[_0x42ef1b(0x23b)]);if(_0x1a7f10[_0x42ef1b(0x2b6)]!=null&&Object[_0x42ef1b(0x1b9)][_0x42ef1b(0x24c)](_0x1a7f10,_0x42ef1b(0x2b6)))_0x370423[_0x42ef1b(0x1e0)](0x28)[_0x42ef1b(0x315)](_0x1a7f10['escapeWhitespaces']);if(_0x1a7f10[_0x42ef1b(0x366)]!=null&&Object[_0x42ef1b(0x1b9)][_0x42ef1b(0x24c)](_0x1a7f10,_0x42ef1b(0x366)))_0x370423[_0x42ef1b(0x1e0)](0x32)[_0x42ef1b(0x2db)](_0x1a7f10[_0x42ef1b(0x366)]);return _0x370423;},_0x57543d['encodeDelimited']=function _0x425fed(_0x88326,_0x3c9107){const _0xbb70ba=_0x37030;return this[_0xbb70ba(0x323)](_0x88326,_0x3c9107)['ldelim']();},_0x57543d[_0x37030(0x182)]=function _0x5c5816(_0x213b5e,_0x3b2f2d,_0x54218e){const _0x2e83f7=_0x37030;if(!(_0x213b5e instanceof $Reader))_0x213b5e=$Reader[_0x2e83f7(0x22b)](_0x213b5e);let _0x35e247=_0x3b2f2d===undefined?_0x213b5e[_0x2e83f7(0x266)]:_0x213b5e[_0x2e83f7(0x207)]+_0x3b2f2d,_0x5aca99=new $root[(_0x2e83f7(0x3c9))]['NormalizerSpec']();while(_0x213b5e[_0x2e83f7(0x207)]<_0x35e247){let _0x4e62c2=_0x213b5e[_0x2e83f7(0x1e0)]();if(_0x4e62c2===_0x54218e)break;switch(_0x4e62c2>>>0x3){case 0x1:{_0x5aca99[_0x2e83f7(0x314)]=_0x213b5e[_0x2e83f7(0x2db)]();break;}case 0x2:{_0x5aca99[_0x2e83f7(0x3b5)]=_0x213b5e[_0x2e83f7(0x2cd)]();break;}case 0x3:{_0x5aca99[_0x2e83f7(0x1e9)]=_0x213b5e[_0x2e83f7(0x315)]();break;}case 0x4:{_0x5aca99['removeExtraWhitespaces']=_0x213b5e[_0x2e83f7(0x315)]();break;}case 0x5:{_0x5aca99[_0x2e83f7(0x2b6)]=_0x213b5e[_0x2e83f7(0x315)]();break;}case 0x6:{_0x5aca99[_0x2e83f7(0x366)]=_0x213b5e[_0x2e83f7(0x2db)]();break;}default:_0x213b5e[_0x2e83f7(0x20d)](_0x4e62c2&0x7);break;}}return _0x5aca99;},_0x57543d[_0x37030(0x292)]=function _0x72ec75(_0x4e2ada){const _0x5996b8=_0x37030;if(!(_0x4e2ada instanceof $Reader))_0x4e2ada=new $Reader(_0x4e2ada);return this[_0x5996b8(0x182)](_0x4e2ada,_0x4e2ada['uint32']());},_0x57543d[_0x37030(0x32a)]=function _0x4f6a02(_0x26c072){const _0x2b91a4=_0x37030;if(typeof _0x26c072!==_0x2b91a4(0x328)||_0x26c072===null)return _0x2b91a4(0x22e);if(_0x26c072[_0x2b91a4(0x314)]!=null&&_0x26c072[_0x2b91a4(0x1b9)]('name')){if(!$util[_0x2b91a4(0x2b4)](_0x26c072[_0x2b91a4(0x314)]))return _0x2b91a4(0x185);}if(_0x26c072['precompiledCharsmap']!=null&&_0x26c072[_0x2b91a4(0x1b9)](_0x2b91a4(0x3b5))){if(!(_0x26c072[_0x2b91a4(0x3b5)]&&typeof _0x26c072[_0x2b91a4(0x3b5)]['length']==='number'||$util[_0x2b91a4(0x2b4)](_0x26c072[_0x2b91a4(0x3b5)])))return _0x2b91a4(0x312);}if(_0x26c072['addDummyPrefix']!=null&&_0x26c072[_0x2b91a4(0x1b9)](_0x2b91a4(0x1e9))){if(typeof _0x26c072[_0x2b91a4(0x1e9)]!=='boolean')return _0x2b91a4(0x3c8);}if(_0x26c072[_0x2b91a4(0x23b)]!=null&&_0x26c072[_0x2b91a4(0x1b9)](_0x2b91a4(0x23b))){if(typeof _0x26c072['removeExtraWhitespaces']!==_0x2b91a4(0x2b1))return _0x2b91a4(0x36e);}if(_0x26c072[_0x2b91a4(0x2b6)]!=null&&_0x26c072['hasOwnProperty'](_0x2b91a4(0x2b6))){if(typeof _0x26c072[_0x2b91a4(0x2b6)]!==_0x2b91a4(0x2b1))return _0x2b91a4(0x2e9);}if(_0x26c072['normalizationRuleTsv']!=null&&_0x26c072[_0x2b91a4(0x1b9)](_0x2b91a4(0x366))){if(!$util[_0x2b91a4(0x2b4)](_0x26c072[_0x2b91a4(0x366)]))return'normalizationRuleTsv:\x20string\x20expected';}return null;},_0x57543d['fromObject']=function _0x5aa3b6(_0x3dfd8e){const _0x63020d=_0x37030;if(_0x3dfd8e instanceof $root['sentencepiece'][_0x63020d(0x1e4)])return _0x3dfd8e;let _0xe36b0b=new $root[(_0x63020d(0x3c9))][(_0x63020d(0x1e4))]();if(_0x3dfd8e[_0x63020d(0x314)]!=null)_0xe36b0b[_0x63020d(0x314)]=String(_0x3dfd8e['name']);if(_0x3dfd8e['precompiledCharsmap']!=null){if(typeof _0x3dfd8e[_0x63020d(0x3b5)]===_0x63020d(0x2db))$util['base64'][_0x63020d(0x182)](_0x3dfd8e[_0x63020d(0x3b5)],_0xe36b0b[_0x63020d(0x3b5)]=$util[_0x63020d(0x2d2)]($util[_0x63020d(0x34d)][_0x63020d(0x255)](_0x3dfd8e[_0x63020d(0x3b5)])),0x0);else{if(_0x3dfd8e[_0x63020d(0x3b5)][_0x63020d(0x255)]>=0x0)_0xe36b0b[_0x63020d(0x3b5)]=_0x3dfd8e[_0x63020d(0x3b5)];}}if(_0x3dfd8e['addDummyPrefix']!=null)_0xe36b0b[_0x63020d(0x1e9)]=Boolean(_0x3dfd8e[_0x63020d(0x1e9)]);if(_0x3dfd8e[_0x63020d(0x23b)]!=null)_0xe36b0b[_0x63020d(0x23b)]=Boolean(_0x3dfd8e['removeExtraWhitespaces']);if(_0x3dfd8e[_0x63020d(0x2b6)]!=null)_0xe36b0b['escapeWhitespaces']=Boolean(_0x3dfd8e[_0x63020d(0x2b6)]);if(_0x3dfd8e['normalizationRuleTsv']!=null)_0xe36b0b[_0x63020d(0x366)]=String(_0x3dfd8e['normalizationRuleTsv']);return _0xe36b0b;},_0x57543d[_0x37030(0x341)]=function _0x33b96b(_0x550008,_0x454341){const _0x403af8=_0x37030;if(!_0x454341)_0x454341={};let _0xd41a96={};if(_0x454341[_0x403af8(0x257)]){_0xd41a96[_0x403af8(0x314)]='';if(_0x454341[_0x403af8(0x2cd)]===String)_0xd41a96[_0x403af8(0x3b5)]='';else{_0xd41a96['precompiledCharsmap']=[];if(_0x454341[_0x403af8(0x2cd)]!==Array)_0xd41a96[_0x403af8(0x3b5)]=$util['newBuffer'](_0xd41a96[_0x403af8(0x3b5)]);}_0xd41a96[_0x403af8(0x1e9)]=!![],_0xd41a96['removeExtraWhitespaces']=!![],_0xd41a96['escapeWhitespaces']=!![],_0xd41a96['normalizationRuleTsv']='';}if(_0x550008[_0x403af8(0x314)]!=null&&_0x550008[_0x403af8(0x1b9)](_0x403af8(0x314)))_0xd41a96[_0x403af8(0x314)]=_0x550008[_0x403af8(0x314)];if(_0x550008['precompiledCharsmap']!=null&&_0x550008[_0x403af8(0x1b9)](_0x403af8(0x3b5)))_0xd41a96[_0x403af8(0x3b5)]=_0x454341[_0x403af8(0x2cd)]===String?$util[_0x403af8(0x34d)][_0x403af8(0x323)](_0x550008[_0x403af8(0x3b5)],0x0,_0x550008['precompiledCharsmap'][_0x403af8(0x255)]):_0x454341[_0x403af8(0x2cd)]===Array?Array[_0x403af8(0x1f6)]['slice'][_0x403af8(0x24c)](_0x550008['precompiledCharsmap']):_0x550008[_0x403af8(0x3b5)];if(_0x550008[_0x403af8(0x1e9)]!=null&&_0x550008[_0x403af8(0x1b9)](_0x403af8(0x1e9)))_0xd41a96[_0x403af8(0x1e9)]=_0x550008[_0x403af8(0x1e9)];if(_0x550008[_0x403af8(0x23b)]!=null&&_0x550008[_0x403af8(0x1b9)]('removeExtraWhitespaces'))_0xd41a96[_0x403af8(0x23b)]=_0x550008['removeExtraWhitespaces'];if(_0x550008[_0x403af8(0x2b6)]!=null&&_0x550008['hasOwnProperty'](_0x403af8(0x2b6)))_0xd41a96[_0x403af8(0x2b6)]=_0x550008[_0x403af8(0x2b6)];if(_0x550008[_0x403af8(0x366)]!=null&&_0x550008[_0x403af8(0x1b9)](_0x403af8(0x366)))_0xd41a96['normalizationRuleTsv']=_0x550008[_0x403af8(0x366)];return _0xd41a96;},_0x57543d[_0x37030(0x1f6)][_0x37030(0x219)]=function _0x12bb1c(){const _0x2f3a8c=_0x37030;return this['constructor']['toObject'](this,a5_0x59bd37[_0x2f3a8c(0x268)][_0x2f3a8c(0x3ca)]);},_0x57543d['getTypeUrl']=function _0x4d3367(_0x5e620a){const _0x138398=_0x37030;return _0x5e620a===undefined&&(_0x5e620a=_0x138398(0x17c)),_0x5e620a+_0x138398(0x17e);},_0x57543d;}()),_0x33002e[_0x5846cc(0x1cc)]=(function(){const _0x16cd28=_0x5846cc;function _0x29b0fe(_0x541cbd){const _0x3ecb65=a5_0x3284;this['samples']=[];if(_0x541cbd){for(let _0x15c813=Object[_0x3ecb65(0x2a6)](_0x541cbd),_0x48d916=0x0;_0x48d916<_0x15c813['length'];++_0x48d916)if(_0x541cbd[_0x15c813[_0x48d916]]!=null)this[_0x15c813[_0x48d916]]=_0x541cbd[_0x15c813[_0x48d916]];}}return _0x29b0fe[_0x16cd28(0x1f6)][_0x16cd28(0x372)]=$util[_0x16cd28(0x3b4)],_0x29b0fe[_0x16cd28(0x22b)]=function _0x3fad72(_0x44848e){return new _0x29b0fe(_0x44848e);},_0x29b0fe[_0x16cd28(0x323)]=function _0x4f91de(_0xc98836,_0x43afb9){const _0x1cab7a=_0x16cd28;if(!_0x43afb9)_0x43afb9=$Writer[_0x1cab7a(0x22b)]();if(_0xc98836[_0x1cab7a(0x372)]!=null&&_0xc98836[_0x1cab7a(0x372)][_0x1cab7a(0x255)]){for(let _0x41f83d=0x0;_0x41f83d<_0xc98836[_0x1cab7a(0x372)][_0x1cab7a(0x255)];++_0x41f83d)$root[_0x1cab7a(0x3c9)][_0x1cab7a(0x1cc)][_0x1cab7a(0x37e)][_0x1cab7a(0x323)](_0xc98836['samples'][_0x41f83d],_0x43afb9[_0x1cab7a(0x1e0)](0xa)[_0x1cab7a(0x253)]())[_0x1cab7a(0x19f)]();}return _0x43afb9;},_0x29b0fe[_0x16cd28(0x2f0)]=function _0x5119cd(_0x2f5fc9,_0x26cf35){const _0x4ec585=_0x16cd28;return this[_0x4ec585(0x323)](_0x2f5fc9,_0x26cf35)[_0x4ec585(0x19f)]();},_0x29b0fe[_0x16cd28(0x182)]=function _0x59b24e(_0xbca07c,_0x4fb19f,_0x595ca8){const _0x530f22=_0x16cd28;if(!(_0xbca07c instanceof $Reader))_0xbca07c=$Reader[_0x530f22(0x22b)](_0xbca07c);let _0x7514a8=_0x4fb19f===undefined?_0xbca07c[_0x530f22(0x266)]:_0xbca07c[_0x530f22(0x207)]+_0x4fb19f,_0x2a768e=new $root[(_0x530f22(0x3c9))][(_0x530f22(0x1cc))]();while(_0xbca07c[_0x530f22(0x207)]<_0x7514a8){let _0x58c1f9=_0xbca07c[_0x530f22(0x1e0)]();if(_0x58c1f9===_0x595ca8)break;switch(_0x58c1f9>>>0x3){case 0x1:{if(!(_0x2a768e[_0x530f22(0x372)]&&_0x2a768e[_0x530f22(0x372)][_0x530f22(0x255)]))_0x2a768e[_0x530f22(0x372)]=[];_0x2a768e[_0x530f22(0x372)][_0x530f22(0x319)]($root[_0x530f22(0x3c9)][_0x530f22(0x1cc)]['Sample']['decode'](_0xbca07c,_0xbca07c['uint32']()));break;}default:_0xbca07c['skipType'](_0x58c1f9&0x7);break;}}return _0x2a768e;},_0x29b0fe[_0x16cd28(0x292)]=function _0x4165dd(_0x3e5f47){const _0x32c5b5=_0x16cd28;if(!(_0x3e5f47 instanceof $Reader))_0x3e5f47=new $Reader(_0x3e5f47);return this[_0x32c5b5(0x182)](_0x3e5f47,_0x3e5f47[_0x32c5b5(0x1e0)]());},_0x29b0fe[_0x16cd28(0x32a)]=function _0x3acd2e(_0x3b0c1c){const _0x5acd47=_0x16cd28;if(typeof _0x3b0c1c!=='object'||_0x3b0c1c===null)return _0x5acd47(0x22e);if(_0x3b0c1c[_0x5acd47(0x372)]!=null&&_0x3b0c1c[_0x5acd47(0x1b9)](_0x5acd47(0x372))){if(!Array[_0x5acd47(0x24a)](_0x3b0c1c[_0x5acd47(0x372)]))return _0x5acd47(0x34e);for(let _0x463081=0x0;_0x463081<_0x3b0c1c[_0x5acd47(0x372)][_0x5acd47(0x255)];++_0x463081){let _0x6db042=$root[_0x5acd47(0x3c9)][_0x5acd47(0x1cc)][_0x5acd47(0x37e)]['verify'](_0x3b0c1c[_0x5acd47(0x372)][_0x463081]);if(_0x6db042)return _0x5acd47(0x33a)+_0x6db042;}}return null;},_0x29b0fe['fromObject']=function _0x4f3b9e(_0x36d1c9){const _0x25c44b=_0x16cd28;if(_0x36d1c9 instanceof $root['sentencepiece']['SelfTestData'])return _0x36d1c9;let _0x608028=new $root[(_0x25c44b(0x3c9))][(_0x25c44b(0x1cc))]();if(_0x36d1c9['samples']){if(!Array[_0x25c44b(0x24a)](_0x36d1c9[_0x25c44b(0x372)]))throw TypeError(_0x25c44b(0x3b2));_0x608028[_0x25c44b(0x372)]=[];for(let _0x403d04=0x0;_0x403d04<_0x36d1c9['samples'][_0x25c44b(0x255)];++_0x403d04){if(typeof _0x36d1c9[_0x25c44b(0x372)][_0x403d04]!==_0x25c44b(0x328))throw TypeError('.sentencepiece.SelfTestData.samples:\x20object\x20expected');_0x608028['samples'][_0x403d04]=$root[_0x25c44b(0x3c9)][_0x25c44b(0x1cc)]['Sample'][_0x25c44b(0x303)](_0x36d1c9[_0x25c44b(0x372)][_0x403d04]);}}return _0x608028;},_0x29b0fe[_0x16cd28(0x341)]=function _0x1c7e76(_0x82d3ee,_0x1b554b){const _0x3ecc47=_0x16cd28;if(!_0x1b554b)_0x1b554b={};let _0x4b1e0d={};if(_0x1b554b[_0x3ecc47(0x38a)]||_0x1b554b['defaults'])_0x4b1e0d[_0x3ecc47(0x372)]=[];if(_0x82d3ee['samples']&&_0x82d3ee[_0x3ecc47(0x372)]['length']){_0x4b1e0d[_0x3ecc47(0x372)]=[];for(let _0x3fc08f=0x0;_0x3fc08f<_0x82d3ee['samples'][_0x3ecc47(0x255)];++_0x3fc08f)_0x4b1e0d[_0x3ecc47(0x372)][_0x3fc08f]=$root[_0x3ecc47(0x3c9)]['SelfTestData'][_0x3ecc47(0x37e)][_0x3ecc47(0x341)](_0x82d3ee[_0x3ecc47(0x372)][_0x3fc08f],_0x1b554b);}return _0x4b1e0d;},_0x29b0fe[_0x16cd28(0x1f6)]['toJSON']=function _0x5cb1ce(){const _0x2e9149=_0x16cd28;return this[_0x2e9149(0x1f7)]['toObject'](this,a5_0x59bd37['util'][_0x2e9149(0x3ca)]);},_0x29b0fe['getTypeUrl']=function _0x56e0f4(_0x5a3beb){const _0xaa13c2=_0x16cd28;return _0x5a3beb===undefined&&(_0x5a3beb=_0xaa13c2(0x17c)),_0x5a3beb+_0xaa13c2(0x27a);},_0x29b0fe['Sample']=(function(){const _0x2dc221=_0x16cd28;function _0x5806c9(_0x553624){const _0x1eab51=a5_0x3284;if(_0x553624){for(let _0xc19c76=Object[_0x1eab51(0x2a6)](_0x553624),_0x5c7d54=0x0;_0x5c7d54<_0xc19c76[_0x1eab51(0x255)];++_0x5c7d54)if(_0x553624[_0xc19c76[_0x5c7d54]]!=null)this[_0xc19c76[_0x5c7d54]]=_0x553624[_0xc19c76[_0x5c7d54]];}}return _0x5806c9['prototype'][_0x2dc221(0x2c8)]='',_0x5806c9[_0x2dc221(0x1f6)]['expected']='',_0x5806c9['create']=function _0x28a326(_0x47d6bc){return new _0x5806c9(_0x47d6bc);},_0x5806c9[_0x2dc221(0x323)]=function _0xde5da1(_0x122431,_0x4e2299){const _0x12f795=_0x2dc221;if(!_0x4e2299)_0x4e2299=$Writer['create']();if(_0x122431['input']!=null&&Object[_0x12f795(0x1b9)]['call'](_0x122431,'input'))_0x4e2299['uint32'](0xa)[_0x12f795(0x2db)](_0x122431['input']);if(_0x122431['expected']!=null&&Object['hasOwnProperty']['call'](_0x122431,_0x12f795(0x284)))_0x4e2299[_0x12f795(0x1e0)](0x12)[_0x12f795(0x2db)](_0x122431[_0x12f795(0x284)]);return _0x4e2299;},_0x5806c9[_0x2dc221(0x2f0)]=function _0x4d2b0e(_0x515186,_0x4b7bad){const _0x16e664=_0x2dc221;return this[_0x16e664(0x323)](_0x515186,_0x4b7bad)[_0x16e664(0x19f)]();},_0x5806c9[_0x2dc221(0x182)]=function _0x178457(_0x4e1d34,_0x14f74b,_0x2f579f){const _0x161e23=_0x2dc221;if(!(_0x4e1d34 instanceof $Reader))_0x4e1d34=$Reader['create'](_0x4e1d34);let _0x5a4941=_0x14f74b===undefined?_0x4e1d34[_0x161e23(0x266)]:_0x4e1d34[_0x161e23(0x207)]+_0x14f74b,_0x5a6e97=new $root['sentencepiece'][(_0x161e23(0x1cc))]['Sample']();while(_0x4e1d34[_0x161e23(0x207)]<_0x5a4941){let _0xc1bdb=_0x4e1d34[_0x161e23(0x1e0)]();if(_0xc1bdb===_0x2f579f)break;switch(_0xc1bdb>>>0x3){case 0x1:{_0x5a6e97[_0x161e23(0x2c8)]=_0x4e1d34[_0x161e23(0x2db)]();break;}case 0x2:{_0x5a6e97[_0x161e23(0x284)]=_0x4e1d34[_0x161e23(0x2db)]();break;}default:_0x4e1d34[_0x161e23(0x20d)](_0xc1bdb&0x7);break;}}return _0x5a6e97;},_0x5806c9[_0x2dc221(0x292)]=function _0x2c5f43(_0x4d4c00){const _0x347b97=_0x2dc221;if(!(_0x4d4c00 instanceof $Reader))_0x4d4c00=new $Reader(_0x4d4c00);return this[_0x347b97(0x182)](_0x4d4c00,_0x4d4c00[_0x347b97(0x1e0)]());},_0x5806c9[_0x2dc221(0x32a)]=function _0x25bb29(_0xb281ba){const _0x2d2e3b=_0x2dc221;if(typeof _0xb281ba!==_0x2d2e3b(0x328)||_0xb281ba===null)return _0x2d2e3b(0x22e);if(_0xb281ba['input']!=null&&_0xb281ba[_0x2d2e3b(0x1b9)](_0x2d2e3b(0x2c8))){if(!$util['isString'](_0xb281ba[_0x2d2e3b(0x2c8)]))return _0x2d2e3b(0x3c4);}if(_0xb281ba[_0x2d2e3b(0x284)]!=null&&_0xb281ba[_0x2d2e3b(0x1b9)](_0x2d2e3b(0x284))){if(!$util[_0x2d2e3b(0x2b4)](_0xb281ba['expected']))return'expected:\x20string\x20expected';}return null;},_0x5806c9['fromObject']=function _0x36e375(_0x3cef48){const _0x12e792=_0x2dc221;if(_0x3cef48 instanceof $root[_0x12e792(0x3c9)]['SelfTestData'][_0x12e792(0x37e)])return _0x3cef48;let _0x5ea2e1=new $root[(_0x12e792(0x3c9))][(_0x12e792(0x1cc))][(_0x12e792(0x37e))]();if(_0x3cef48[_0x12e792(0x2c8)]!=null)_0x5ea2e1[_0x12e792(0x2c8)]=String(_0x3cef48[_0x12e792(0x2c8)]);if(_0x3cef48[_0x12e792(0x284)]!=null)_0x5ea2e1['expected']=String(_0x3cef48[_0x12e792(0x284)]);return _0x5ea2e1;},_0x5806c9['toObject']=function _0x508f6b(_0x4c9b00,_0x5801d0){const _0x4589a6=_0x2dc221;if(!_0x5801d0)_0x5801d0={};let _0x14a6f0={};_0x5801d0[_0x4589a6(0x257)]&&(_0x14a6f0[_0x4589a6(0x2c8)]='',_0x14a6f0['expected']='');if(_0x4c9b00[_0x4589a6(0x2c8)]!=null&&_0x4c9b00['hasOwnProperty'](_0x4589a6(0x2c8)))_0x14a6f0[_0x4589a6(0x2c8)]=_0x4c9b00[_0x4589a6(0x2c8)];if(_0x4c9b00[_0x4589a6(0x284)]!=null&&_0x4c9b00[_0x4589a6(0x1b9)](_0x4589a6(0x284)))_0x14a6f0[_0x4589a6(0x284)]=_0x4c9b00['expected'];return _0x14a6f0;},_0x5806c9[_0x2dc221(0x1f6)][_0x2dc221(0x219)]=function _0x390e81(){const _0x27a719=_0x2dc221;return this[_0x27a719(0x1f7)]['toObject'](this,a5_0x59bd37[_0x27a719(0x268)][_0x27a719(0x3ca)]);},_0x5806c9[_0x2dc221(0x21c)]=function _0x40d2fa(_0x4f34d6){const _0x55f9c8=_0x2dc221;return _0x4f34d6===undefined&&(_0x4f34d6=_0x55f9c8(0x17c)),_0x4f34d6+_0x55f9c8(0x2df);},_0x5806c9;}()),_0x29b0fe;}()),_0x33002e[_0x5846cc(0x254)]=(function(){const _0x4d3eea=_0x5846cc;function _0x2760fa(_0x24aa42){const _0x1225d3=a5_0x3284;this[_0x1225d3(0x2a7)]=[];if(_0x24aa42){for(let _0x2bcc8c=Object[_0x1225d3(0x2a6)](_0x24aa42),_0x1a4254=0x0;_0x1a4254<_0x2bcc8c[_0x1225d3(0x255)];++_0x1a4254)if(_0x24aa42[_0x2bcc8c[_0x1a4254]]!=null)this[_0x2bcc8c[_0x1a4254]]=_0x24aa42[_0x2bcc8c[_0x1a4254]];}}return _0x2760fa[_0x4d3eea(0x1f6)]['pieces']=$util[_0x4d3eea(0x3b4)],_0x2760fa['prototype'][_0x4d3eea(0x30e)]=null,_0x2760fa[_0x4d3eea(0x1f6)][_0x4d3eea(0x2cb)]=null,_0x2760fa[_0x4d3eea(0x1f6)][_0x4d3eea(0x37d)]=null,_0x2760fa[_0x4d3eea(0x1f6)]['denormalizerSpec']=null,_0x2760fa[_0x4d3eea(0x22b)]=function _0x36d49c(_0x5abc11){return new _0x2760fa(_0x5abc11);},_0x2760fa[_0x4d3eea(0x323)]=function _0x24f879(_0x25fa7e,_0x275df1){const _0x56e2e4=_0x4d3eea;if(!_0x275df1)_0x275df1=$Writer[_0x56e2e4(0x22b)]();if(_0x25fa7e[_0x56e2e4(0x2a7)]!=null&&_0x25fa7e[_0x56e2e4(0x2a7)][_0x56e2e4(0x255)]){for(let _0x97256e=0x0;_0x97256e<_0x25fa7e['pieces']['length'];++_0x97256e)$root[_0x56e2e4(0x3c9)][_0x56e2e4(0x254)][_0x56e2e4(0x228)][_0x56e2e4(0x323)](_0x25fa7e[_0x56e2e4(0x2a7)][_0x97256e],_0x275df1[_0x56e2e4(0x1e0)](0xa)[_0x56e2e4(0x253)]())[_0x56e2e4(0x19f)]();}if(_0x25fa7e[_0x56e2e4(0x30e)]!=null&&Object[_0x56e2e4(0x1b9)]['call'](_0x25fa7e,_0x56e2e4(0x30e)))$root[_0x56e2e4(0x3c9)][_0x56e2e4(0x1a0)]['encode'](_0x25fa7e[_0x56e2e4(0x30e)],_0x275df1[_0x56e2e4(0x1e0)](0x12)[_0x56e2e4(0x253)]())['ldelim']();if(_0x25fa7e[_0x56e2e4(0x2cb)]!=null&&Object[_0x56e2e4(0x1b9)][_0x56e2e4(0x24c)](_0x25fa7e,_0x56e2e4(0x2cb)))$root[_0x56e2e4(0x3c9)]['NormalizerSpec'][_0x56e2e4(0x323)](_0x25fa7e['normalizerSpec'],_0x275df1['uint32'](0x1a)[_0x56e2e4(0x253)]())[_0x56e2e4(0x19f)]();if(_0x25fa7e[_0x56e2e4(0x37d)]!=null&&Object[_0x56e2e4(0x1b9)][_0x56e2e4(0x24c)](_0x25fa7e,_0x56e2e4(0x37d)))$root[_0x56e2e4(0x3c9)][_0x56e2e4(0x1cc)][_0x56e2e4(0x323)](_0x25fa7e[_0x56e2e4(0x37d)],_0x275df1[_0x56e2e4(0x1e0)](0x22)['fork']())[_0x56e2e4(0x19f)]();if(_0x25fa7e[_0x56e2e4(0x360)]!=null&&Object['hasOwnProperty'][_0x56e2e4(0x24c)](_0x25fa7e,'denormalizerSpec'))$root[_0x56e2e4(0x3c9)][_0x56e2e4(0x1e4)]['encode'](_0x25fa7e[_0x56e2e4(0x360)],_0x275df1[_0x56e2e4(0x1e0)](0x2a)['fork']())[_0x56e2e4(0x19f)]();return _0x275df1;},_0x2760fa['encodeDelimited']=function _0x87c091(_0x4a3ff1,_0x3d8aeb){const _0x2548f4=_0x4d3eea;return this[_0x2548f4(0x323)](_0x4a3ff1,_0x3d8aeb)['ldelim']();},_0x2760fa[_0x4d3eea(0x182)]=function _0x309900(_0x1f5bf1,_0x6a0be,_0x4148c1){const _0x15c7be=_0x4d3eea;if(!(_0x1f5bf1 instanceof $Reader))_0x1f5bf1=$Reader['create'](_0x1f5bf1);let _0x18c0f3=_0x6a0be===undefined?_0x1f5bf1[_0x15c7be(0x266)]:_0x1f5bf1['pos']+_0x6a0be,_0xee2f23=new $root['sentencepiece'][(_0x15c7be(0x254))]();while(_0x1f5bf1[_0x15c7be(0x207)]<_0x18c0f3){let _0x38e95b=_0x1f5bf1[_0x15c7be(0x1e0)]();if(_0x38e95b===_0x4148c1)break;switch(_0x38e95b>>>0x3){case 0x1:{if(!(_0xee2f23['pieces']&&_0xee2f23[_0x15c7be(0x2a7)]['length']))_0xee2f23[_0x15c7be(0x2a7)]=[];_0xee2f23['pieces']['push']($root[_0x15c7be(0x3c9)]['ModelProto'][_0x15c7be(0x228)][_0x15c7be(0x182)](_0x1f5bf1,_0x1f5bf1['uint32']()));break;}case 0x2:{_0xee2f23[_0x15c7be(0x30e)]=$root['sentencepiece']['TrainerSpec'][_0x15c7be(0x182)](_0x1f5bf1,_0x1f5bf1[_0x15c7be(0x1e0)]());break;}case 0x3:{_0xee2f23['normalizerSpec']=$root[_0x15c7be(0x3c9)]['NormalizerSpec'][_0x15c7be(0x182)](_0x1f5bf1,_0x1f5bf1[_0x15c7be(0x1e0)]());break;}case 0x4:{_0xee2f23[_0x15c7be(0x37d)]=$root['sentencepiece'][_0x15c7be(0x1cc)][_0x15c7be(0x182)](_0x1f5bf1,_0x1f5bf1[_0x15c7be(0x1e0)]());break;}case 0x5:{_0xee2f23[_0x15c7be(0x360)]=$root['sentencepiece'][_0x15c7be(0x1e4)]['decode'](_0x1f5bf1,_0x1f5bf1[_0x15c7be(0x1e0)]());break;}default:_0x1f5bf1[_0x15c7be(0x20d)](_0x38e95b&0x7);break;}}return _0xee2f23;},_0x2760fa[_0x4d3eea(0x292)]=function _0x38f48a(_0x35a002){const _0x5e0217=_0x4d3eea;if(!(_0x35a002 instanceof $Reader))_0x35a002=new $Reader(_0x35a002);return this[_0x5e0217(0x182)](_0x35a002,_0x35a002[_0x5e0217(0x1e0)]());},_0x2760fa[_0x4d3eea(0x32a)]=function _0xf33d0f(_0x47cb96){const _0x2d6715=_0x4d3eea;if(typeof _0x47cb96!=='object'||_0x47cb96===null)return _0x2d6715(0x22e);if(_0x47cb96[_0x2d6715(0x2a7)]!=null&&_0x47cb96[_0x2d6715(0x1b9)](_0x2d6715(0x2a7))){if(!Array[_0x2d6715(0x24a)](_0x47cb96[_0x2d6715(0x2a7)]))return'pieces:\x20array\x20expected';for(let _0x4baff4=0x0;_0x4baff4<_0x47cb96[_0x2d6715(0x2a7)][_0x2d6715(0x255)];++_0x4baff4){let _0x2a7fbc=$root['sentencepiece'][_0x2d6715(0x254)][_0x2d6715(0x228)][_0x2d6715(0x32a)](_0x47cb96[_0x2d6715(0x2a7)][_0x4baff4]);if(_0x2a7fbc)return _0x2d6715(0x1d3)+_0x2a7fbc;}}if(_0x47cb96[_0x2d6715(0x30e)]!=null&&_0x47cb96['hasOwnProperty'](_0x2d6715(0x30e))){let _0x104c41=$root[_0x2d6715(0x3c9)][_0x2d6715(0x1a0)]['verify'](_0x47cb96['trainerSpec']);if(_0x104c41)return _0x2d6715(0x389)+_0x104c41;}if(_0x47cb96[_0x2d6715(0x2cb)]!=null&&_0x47cb96[_0x2d6715(0x1b9)]('normalizerSpec')){let _0x26b0f9=$root[_0x2d6715(0x3c9)][_0x2d6715(0x1e4)][_0x2d6715(0x32a)](_0x47cb96[_0x2d6715(0x2cb)]);if(_0x26b0f9)return _0x2d6715(0x1e7)+_0x26b0f9;}if(_0x47cb96['selfTestData']!=null&&_0x47cb96[_0x2d6715(0x1b9)](_0x2d6715(0x37d))){let _0x240b0b=$root['sentencepiece'][_0x2d6715(0x1cc)][_0x2d6715(0x32a)](_0x47cb96[_0x2d6715(0x37d)]);if(_0x240b0b)return _0x2d6715(0x2c4)+_0x240b0b;}if(_0x47cb96[_0x2d6715(0x360)]!=null&&_0x47cb96[_0x2d6715(0x1b9)]('denormalizerSpec')){let _0xc8d9e5=$root['sentencepiece'][_0x2d6715(0x1e4)][_0x2d6715(0x32a)](_0x47cb96['denormalizerSpec']);if(_0xc8d9e5)return _0x2d6715(0x181)+_0xc8d9e5;}return null;},_0x2760fa['fromObject']=function _0x261e76(_0x42cf5c){const _0x26f17f=_0x4d3eea;if(_0x42cf5c instanceof $root['sentencepiece'][_0x26f17f(0x254)])return _0x42cf5c;let _0x1f46e9=new $root[(_0x26f17f(0x3c9))]['ModelProto']();if(_0x42cf5c[_0x26f17f(0x2a7)]){if(!Array[_0x26f17f(0x24a)](_0x42cf5c[_0x26f17f(0x2a7)]))throw TypeError(_0x26f17f(0x17d));_0x1f46e9[_0x26f17f(0x2a7)]=[];for(let _0x315bdd=0x0;_0x315bdd<_0x42cf5c[_0x26f17f(0x2a7)][_0x26f17f(0x255)];++_0x315bdd){if(typeof _0x42cf5c[_0x26f17f(0x2a7)][_0x315bdd]!==_0x26f17f(0x328))throw TypeError(_0x26f17f(0x1de));_0x1f46e9[_0x26f17f(0x2a7)][_0x315bdd]=$root['sentencepiece'][_0x26f17f(0x254)][_0x26f17f(0x228)][_0x26f17f(0x303)](_0x42cf5c[_0x26f17f(0x2a7)][_0x315bdd]);}}if(_0x42cf5c['trainerSpec']!=null){if(typeof _0x42cf5c[_0x26f17f(0x30e)]!==_0x26f17f(0x328))throw TypeError(_0x26f17f(0x286));_0x1f46e9[_0x26f17f(0x30e)]=$root[_0x26f17f(0x3c9)]['TrainerSpec'][_0x26f17f(0x303)](_0x42cf5c[_0x26f17f(0x30e)]);}if(_0x42cf5c[_0x26f17f(0x2cb)]!=null){if(typeof _0x42cf5c[_0x26f17f(0x2cb)]!=='object')throw TypeError(_0x26f17f(0x349));_0x1f46e9[_0x26f17f(0x2cb)]=$root[_0x26f17f(0x3c9)][_0x26f17f(0x1e4)]['fromObject'](_0x42cf5c[_0x26f17f(0x2cb)]);}if(_0x42cf5c[_0x26f17f(0x37d)]!=null){if(typeof _0x42cf5c['selfTestData']!==_0x26f17f(0x328))throw TypeError('.sentencepiece.ModelProto.selfTestData:\x20object\x20expected');_0x1f46e9[_0x26f17f(0x37d)]=$root[_0x26f17f(0x3c9)][_0x26f17f(0x1cc)][_0x26f17f(0x303)](_0x42cf5c[_0x26f17f(0x37d)]);}if(_0x42cf5c[_0x26f17f(0x360)]!=null){if(typeof _0x42cf5c['denormalizerSpec']!=='object')throw TypeError('.sentencepiece.ModelProto.denormalizerSpec:\x20object\x20expected');_0x1f46e9['denormalizerSpec']=$root[_0x26f17f(0x3c9)][_0x26f17f(0x1e4)][_0x26f17f(0x303)](_0x42cf5c['denormalizerSpec']);}return _0x1f46e9;},_0x2760fa[_0x4d3eea(0x341)]=function _0x50d52d(_0x7905c6,_0x5c2f94){const _0x3f5fbf=_0x4d3eea;if(!_0x5c2f94)_0x5c2f94={};let _0xc06cbb={};if(_0x5c2f94[_0x3f5fbf(0x38a)]||_0x5c2f94['defaults'])_0xc06cbb['pieces']=[];_0x5c2f94['defaults']&&(_0xc06cbb[_0x3f5fbf(0x30e)]=null,_0xc06cbb[_0x3f5fbf(0x2cb)]=null,_0xc06cbb[_0x3f5fbf(0x37d)]=null,_0xc06cbb[_0x3f5fbf(0x360)]=null);if(_0x7905c6[_0x3f5fbf(0x2a7)]&&_0x7905c6[_0x3f5fbf(0x2a7)][_0x3f5fbf(0x255)]){_0xc06cbb[_0x3f5fbf(0x2a7)]=[];for(let _0x3961a9=0x0;_0x3961a9<_0x7905c6[_0x3f5fbf(0x2a7)][_0x3f5fbf(0x255)];++_0x3961a9)_0xc06cbb[_0x3f5fbf(0x2a7)][_0x3961a9]=$root[_0x3f5fbf(0x3c9)][_0x3f5fbf(0x254)]['SentencePiece'][_0x3f5fbf(0x341)](_0x7905c6[_0x3f5fbf(0x2a7)][_0x3961a9],_0x5c2f94);}if(_0x7905c6[_0x3f5fbf(0x30e)]!=null&&_0x7905c6[_0x3f5fbf(0x1b9)](_0x3f5fbf(0x30e)))_0xc06cbb[_0x3f5fbf(0x30e)]=$root[_0x3f5fbf(0x3c9)][_0x3f5fbf(0x1a0)]['toObject'](_0x7905c6[_0x3f5fbf(0x30e)],_0x5c2f94);if(_0x7905c6['normalizerSpec']!=null&&_0x7905c6[_0x3f5fbf(0x1b9)](_0x3f5fbf(0x2cb)))_0xc06cbb[_0x3f5fbf(0x2cb)]=$root[_0x3f5fbf(0x3c9)]['NormalizerSpec'][_0x3f5fbf(0x341)](_0x7905c6[_0x3f5fbf(0x2cb)],_0x5c2f94);if(_0x7905c6[_0x3f5fbf(0x37d)]!=null&&_0x7905c6[_0x3f5fbf(0x1b9)](_0x3f5fbf(0x37d)))_0xc06cbb[_0x3f5fbf(0x37d)]=$root[_0x3f5fbf(0x3c9)][_0x3f5fbf(0x1cc)]['toObject'](_0x7905c6[_0x3f5fbf(0x37d)],_0x5c2f94);if(_0x7905c6[_0x3f5fbf(0x360)]!=null&&_0x7905c6[_0x3f5fbf(0x1b9)](_0x3f5fbf(0x360)))_0xc06cbb[_0x3f5fbf(0x360)]=$root[_0x3f5fbf(0x3c9)]['NormalizerSpec'][_0x3f5fbf(0x341)](_0x7905c6[_0x3f5fbf(0x360)],_0x5c2f94);return _0xc06cbb;},_0x2760fa[_0x4d3eea(0x1f6)][_0x4d3eea(0x219)]=function _0x1e8ad2(){const _0x9eee1=_0x4d3eea;return this[_0x9eee1(0x1f7)]['toObject'](this,a5_0x59bd37[_0x9eee1(0x268)][_0x9eee1(0x3ca)]);},_0x2760fa['getTypeUrl']=function _0xad55a1(_0x37ff4c){const _0x220cdb=_0x4d3eea;return _0x37ff4c===undefined&&(_0x37ff4c=_0x220cdb(0x17c)),_0x37ff4c+'/sentencepiece.ModelProto';},_0x2760fa[_0x4d3eea(0x228)]=(function(){const _0x3f4b65=_0x4d3eea;function _0x1d51a8(_0x4b9ddb){const _0x4df6ef=a5_0x3284;if(_0x4b9ddb){for(let _0x1fbb9e=Object[_0x4df6ef(0x2a6)](_0x4b9ddb),_0x57104b=0x0;_0x57104b<_0x1fbb9e['length'];++_0x57104b)if(_0x4b9ddb[_0x1fbb9e[_0x57104b]]!=null)this[_0x1fbb9e[_0x57104b]]=_0x4b9ddb[_0x1fbb9e[_0x57104b]];}}return _0x1d51a8['prototype'][_0x3f4b65(0x2b2)]='',_0x1d51a8[_0x3f4b65(0x1f6)][_0x3f4b65(0x1d8)]=0x0,_0x1d51a8[_0x3f4b65(0x1f6)][_0x3f4b65(0x3ba)]=0x1,_0x1d51a8[_0x3f4b65(0x22b)]=function _0x4d2aa4(_0x13b97f){return new _0x1d51a8(_0x13b97f);},_0x1d51a8[_0x3f4b65(0x323)]=function _0x132c21(_0x3eb6ec,_0x301768){const _0xa5ea5a=_0x3f4b65;if(!_0x301768)_0x301768=$Writer[_0xa5ea5a(0x22b)]();if(_0x3eb6ec[_0xa5ea5a(0x2b2)]!=null&&Object[_0xa5ea5a(0x1b9)]['call'](_0x3eb6ec,_0xa5ea5a(0x2b2)))_0x301768[_0xa5ea5a(0x1e0)](0xa)[_0xa5ea5a(0x2db)](_0x3eb6ec[_0xa5ea5a(0x2b2)]);if(_0x3eb6ec[_0xa5ea5a(0x1d8)]!=null&&Object[_0xa5ea5a(0x1b9)][_0xa5ea5a(0x24c)](_0x3eb6ec,_0xa5ea5a(0x1d8)))_0x301768['uint32'](0x15)[_0xa5ea5a(0x198)](_0x3eb6ec[_0xa5ea5a(0x1d8)]);if(_0x3eb6ec[_0xa5ea5a(0x3ba)]!=null&&Object[_0xa5ea5a(0x1b9)]['call'](_0x3eb6ec,_0xa5ea5a(0x3ba)))_0x301768[_0xa5ea5a(0x1e0)](0x18)['int32'](_0x3eb6ec[_0xa5ea5a(0x3ba)]);return _0x301768;},_0x1d51a8[_0x3f4b65(0x2f0)]=function _0x44ccfe(_0x26c737,_0x2ab97f){const _0x262f58=_0x3f4b65;return this[_0x262f58(0x323)](_0x26c737,_0x2ab97f)['ldelim']();},_0x1d51a8['decode']=function _0x3d2afb(_0x4b90e6,_0x30888d,_0x145027){const _0x4e8051=_0x3f4b65;if(!(_0x4b90e6 instanceof $Reader))_0x4b90e6=$Reader[_0x4e8051(0x22b)](_0x4b90e6);let _0x28c98c=_0x30888d===undefined?_0x4b90e6['len']:_0x4b90e6['pos']+_0x30888d,_0x43d046=new $root[(_0x4e8051(0x3c9))][(_0x4e8051(0x254))]['SentencePiece']();while(_0x4b90e6['pos']<_0x28c98c){let _0x128cb1=_0x4b90e6['uint32']();if(_0x128cb1===_0x145027)break;switch(_0x128cb1>>>0x3){case 0x1:{_0x43d046['piece']=_0x4b90e6['string']();break;}case 0x2:{_0x43d046[_0x4e8051(0x1d8)]=_0x4b90e6['float']();break;}case 0x3:{_0x43d046[_0x4e8051(0x3ba)]=_0x4b90e6['int32']();break;}default:_0x4b90e6[_0x4e8051(0x20d)](_0x128cb1&0x7);break;}}return _0x43d046;},_0x1d51a8['decodeDelimited']=function _0xb18294(_0x75b9c3){const _0x6c588d=_0x3f4b65;if(!(_0x75b9c3 instanceof $Reader))_0x75b9c3=new $Reader(_0x75b9c3);return this['decode'](_0x75b9c3,_0x75b9c3[_0x6c588d(0x1e0)]());},_0x1d51a8[_0x3f4b65(0x32a)]=function _0x5a8693(_0x51057a){const _0x3001a6=_0x3f4b65;if(typeof _0x51057a!==_0x3001a6(0x328)||_0x51057a===null)return _0x3001a6(0x22e);if(_0x51057a[_0x3001a6(0x2b2)]!=null&&_0x51057a[_0x3001a6(0x1b9)]('piece')){if(!$util['isString'](_0x51057a[_0x3001a6(0x2b2)]))return _0x3001a6(0x321);}if(_0x51057a[_0x3001a6(0x1d8)]!=null&&_0x51057a[_0x3001a6(0x1b9)](_0x3001a6(0x1d8))){if(typeof _0x51057a[_0x3001a6(0x1d8)]!==_0x3001a6(0x35d))return _0x3001a6(0x2bd);}if(_0x51057a[_0x3001a6(0x3ba)]!=null&&_0x51057a['hasOwnProperty']('type'))switch(_0x51057a[_0x3001a6(0x3ba)]){default:return _0x3001a6(0x2a1);case 0x1:case 0x2:case 0x3:case 0x4:case 0x6:case 0x5:break;}return null;},_0x1d51a8[_0x3f4b65(0x303)]=function _0x385197(_0x5f278b){const _0x533a2d=_0x3f4b65;if(_0x5f278b instanceof $root[_0x533a2d(0x3c9)][_0x533a2d(0x254)]['SentencePiece'])return _0x5f278b;let _0x90e02f=new $root[(_0x533a2d(0x3c9))][(_0x533a2d(0x254))]['SentencePiece']();if(_0x5f278b[_0x533a2d(0x2b2)]!=null)_0x90e02f[_0x533a2d(0x2b2)]=String(_0x5f278b[_0x533a2d(0x2b2)]);if(_0x5f278b[_0x533a2d(0x1d8)]!=null)_0x90e02f[_0x533a2d(0x1d8)]=Number(_0x5f278b[_0x533a2d(0x1d8)]);switch(_0x5f278b[_0x533a2d(0x3ba)]){default:if(typeof _0x5f278b[_0x533a2d(0x3ba)]===_0x533a2d(0x35d)){_0x90e02f[_0x533a2d(0x3ba)]=_0x5f278b[_0x533a2d(0x3ba)];break;}break;case _0x533a2d(0x28d):case 0x1:_0x90e02f[_0x533a2d(0x3ba)]=0x1;break;case _0x533a2d(0x1ba):case 0x2:_0x90e02f[_0x533a2d(0x3ba)]=0x2;break;case _0x533a2d(0x186):case 0x3:_0x90e02f['type']=0x3;break;case _0x533a2d(0x189):case 0x4:_0x90e02f[_0x533a2d(0x3ba)]=0x4;break;case'BYTE':case 0x6:_0x90e02f['type']=0x6;break;case'UNUSED':case 0x5:_0x90e02f[_0x533a2d(0x3ba)]=0x5;break;}return _0x90e02f;},_0x1d51a8[_0x3f4b65(0x341)]=function _0x19b6b4(_0xeac260,_0x1d7c5c){const _0x4bf566=_0x3f4b65;if(!_0x1d7c5c)_0x1d7c5c={};let _0x48a107={};_0x1d7c5c[_0x4bf566(0x257)]&&(_0x48a107[_0x4bf566(0x2b2)]='',_0x48a107['score']=0x0,_0x48a107[_0x4bf566(0x3ba)]=_0x1d7c5c[_0x4bf566(0x298)]===String?_0x4bf566(0x28d):0x1);if(_0xeac260['piece']!=null&&_0xeac260['hasOwnProperty'](_0x4bf566(0x2b2)))_0x48a107['piece']=_0xeac260[_0x4bf566(0x2b2)];if(_0xeac260[_0x4bf566(0x1d8)]!=null&&_0xeac260['hasOwnProperty'](_0x4bf566(0x1d8)))_0x48a107[_0x4bf566(0x1d8)]=_0x1d7c5c[_0x4bf566(0x1f0)]&&!isFinite(_0xeac260[_0x4bf566(0x1d8)])?String(_0xeac260[_0x4bf566(0x1d8)]):_0xeac260[_0x4bf566(0x1d8)];if(_0xeac260[_0x4bf566(0x3ba)]!=null&&_0xeac260['hasOwnProperty']('type'))_0x48a107[_0x4bf566(0x3ba)]=_0x1d7c5c[_0x4bf566(0x298)]===String?$root['sentencepiece'][_0x4bf566(0x254)][_0x4bf566(0x228)]['Type'][_0xeac260['type']]===undefined?_0xeac260[_0x4bf566(0x3ba)]:$root[_0x4bf566(0x3c9)][_0x4bf566(0x254)][_0x4bf566(0x228)][_0x4bf566(0x279)][_0xeac260[_0x4bf566(0x3ba)]]:_0xeac260[_0x4bf566(0x3ba)];return _0x48a107;},_0x1d51a8[_0x3f4b65(0x1f6)]['toJSON']=function _0x1adca3(){const _0x1e8fa5=_0x3f4b65;return this[_0x1e8fa5(0x1f7)][_0x1e8fa5(0x341)](this,a5_0x59bd37[_0x1e8fa5(0x268)]['toJSONOptions']);},_0x1d51a8[_0x3f4b65(0x21c)]=function _0x4f3de5(_0x38694f){const _0x115577=_0x3f4b65;return _0x38694f===undefined&&(_0x38694f='type.googleapis.com'),_0x38694f+_0x115577(0x1bb);},_0x1d51a8[_0x3f4b65(0x279)]=(function(){const _0x1eaa83=_0x3f4b65,_0x2853ff={},_0x570782=Object[_0x1eaa83(0x22b)](_0x2853ff);return _0x570782[_0x2853ff[0x1]=_0x1eaa83(0x28d)]=0x1,_0x570782[_0x2853ff[0x2]='UNKNOWN']=0x2,_0x570782[_0x2853ff[0x3]=_0x1eaa83(0x186)]=0x3,_0x570782[_0x2853ff[0x4]=_0x1eaa83(0x189)]=0x4,_0x570782[_0x2853ff[0x6]=_0x1eaa83(0x22a)]=0x6,_0x570782[_0x2853ff[0x5]='UNUSED']=0x5,_0x570782;}()),_0x1d51a8;}()),_0x2760fa;}()),_0x33002e;})()),WHITESPACE_SEPARATOR='▁',SYMBOL_BOS='<bos>',SYMBOL_EOS=a5_0x44ee1b(0x395),SYMBOL_PAD=a5_0x44ee1b(0x19e);class SentencePieceProcessor{constructor(_0x1ff96e){const _0x537326=a5_0x44ee1b;var _0x40a76e,_0x1b00ad;this[_0x537326(0x233)]=this[_0x537326(0x3c2)](_0x1ff96e);const _0x9503a2=this[_0x537326(0x233)][_0x537326(0x30e)];if(!_0x9503a2||_0x9503a2[_0x537326(0x343)]!==ModelType['BPE'])throw new Error('Model\x20type\x20'+(_0x9503a2===null||_0x9503a2===void 0x0?void 0x0:_0x9503a2[_0x537326(0x343)])+_0x537326(0x21f));const _0x1cf15a=this[_0x537326(0x233)][_0x537326(0x2cb)];if((_0x1cf15a===null||_0x1cf15a===void 0x0?void 0x0:_0x1cf15a[_0x537326(0x1e9)])||(_0x1cf15a===null||_0x1cf15a===void 0x0?void 0x0:_0x1cf15a[_0x537326(0x23b)]))throw new Error('Normalizer\x20spec\x20options\x20not\x20supported:\x20'+JSON[_0x537326(0x39e)](_0x1cf15a));const _0x4847dd=new Set();this['pieces']=new Map(),this[_0x537326(0x31b)]=new Map(),this[_0x537326(0x348)]=new Map(),this[_0x537326(0x33d)]=new Map(),this['unknownID']=-0x1,this[_0x537326(0x2a2)]=0x0;if(!this[_0x537326(0x233)][_0x537326(0x2a7)])throw new Error(_0x537326(0x33e));for(let _0x5635ca=0x0;_0x5635ca<this[_0x537326(0x233)][_0x537326(0x2a7)][_0x537326(0x255)];_0x5635ca++){const _0x3595f9=this[_0x537326(0x233)][_0x537326(0x2a7)][_0x5635ca],_0x50d4c3=(_0x40a76e=_0x3595f9[_0x537326(0x2b2)])!==null&&_0x40a76e!==void 0x0?_0x40a76e:'',_0x5a559a=(_0x1b00ad=_0x3595f9[_0x537326(0x3ba)])!==null&&_0x1b00ad!==void 0x0?_0x1b00ad:SentencePieceType[_0x537326(0x28d)],_0x5f5837=_0x5a559a===SentencePieceType[_0x537326(0x28d)]||_0x5a559a===SentencePieceType[_0x537326(0x189)]||_0x5a559a===SentencePieceType['UNUSED'];_0x5f5837?(this[_0x537326(0x2a7)][_0x537326(0x3c5)](_0x50d4c3,_0x5635ca),this[_0x537326(0x2a2)]=Math[_0x537326(0x288)](this[_0x537326(0x2a2)],_0x50d4c3[_0x537326(0x255)])):this['reserved']['set'](_0x50d4c3,_0x5635ca);if(_0x5a559a===SentencePieceType[_0x537326(0x189)])_0x4847dd['add'](_0x50d4c3);else{if(_0x5a559a===SentencePieceType[_0x537326(0x1ba)]){if(this[_0x537326(0x274)]>=0x0)throw new Error(_0x537326(0x358));this[_0x537326(0x274)]=_0x5635ca;}else{if(_0x5a559a===SentencePieceType[_0x537326(0x22a)]){if(!_0x9503a2[_0x537326(0x2d1)])throw new Error(_0x537326(0x34b)+_0x50d4c3+_0x537326(0x2f7));const _0x278411=convertHexValue(_0x50d4c3);_0x278411>=0x0&&_0x278411<0x100&&(this[_0x537326(0x348)][_0x537326(0x3c5)](_0x278411,{'id':_0x5635ca,'text':_0x50d4c3}),this['idToByte'][_0x537326(0x3c5)](_0x5635ca,_0x278411));}}}}if(this[_0x537326(0x274)]<0x0)throw new Error('unk\x20symbol\x20is\x20not\x20defined');if(_0x9503a2[_0x537326(0x2d1)])for(let _0x1e3adb=0x0;_0x1e3adb<0x100;_0x1e3adb++){if(!this['byte2Token']['has'](_0x1e3adb))throw new Error(_0x537326(0x270)+_0x1e3adb[_0x537326(0x2a0)](0x10)[_0x537326(0x1b5)](0x2,'0')+_0x537326(0x23f));}this[_0x537326(0x307)]=new PrefixMatcher(_0x4847dd);}['encode'](_0x116ff8){const _0x3d3e7b=a5_0x44ee1b;var _0x4cf2fd;_0x116ff8=this[_0x3d3e7b(0x31e)](_0x116ff8);const _0x2746c3=[];while(_0x116ff8[_0x3d3e7b(0x255)]>0x0){const [_0xefcf07,_0x172486]=this['symbolMatch'](_0x116ff8),_0x1b26fb={'noMerge':_0x172486,'symbol':_0x116ff8[_0x3d3e7b(0x194)](0x0,_0xefcf07),'prev':_0x2746c3[_0x3d3e7b(0x255)]-0x1,'next':_0x2746c3[_0x3d3e7b(0x255)]+0x1};_0x2746c3['push'](_0x1b26fb),_0x116ff8=_0x116ff8[_0x3d3e7b(0x194)](_0xefcf07);}if(_0x2746c3[_0x3d3e7b(0x255)]===0x0)return[];_0x2746c3[_0x2746c3[_0x3d3e7b(0x255)]-0x1][_0x3d3e7b(0x301)]=-0x1;const _0x141a4b=new PriorityQueue(_0x2746c3[_0x3d3e7b(0x255)],(_0x3b5ccd,_0x2a507a)=>{const _0x4ab9f2=_0x3d3e7b;if(_0x3b5ccd[_0x4ab9f2(0x1d8)]>_0x2a507a[_0x4ab9f2(0x1d8)]||_0x3b5ccd[_0x4ab9f2(0x1d8)]===_0x2a507a[_0x4ab9f2(0x1d8)]&&_0x3b5ccd[_0x4ab9f2(0x2e1)]<_0x2a507a[_0x4ab9f2(0x2e1)])return 0x1;return-0x1;}),_0x1ed49d=(_0x363b57,_0x23e0da)=>{const _0x4af4e4=_0x3d3e7b;var _0x523935;const _0x71a93f=_0x363b57[_0x4af4e4(0x240)]+_0x23e0da['symbol'],_0x299b49=this[_0x4af4e4(0x2a7)]['get'](_0x71a93f);if(_0x299b49!==undefined&&this['model'][_0x4af4e4(0x2a7)])return[(_0x523935=this[_0x4af4e4(0x233)][_0x4af4e4(0x2a7)][_0x299b49][_0x4af4e4(0x2b2)])!==null&&_0x523935!==void 0x0?_0x523935:'',_0x299b49,!![]];return['',0x0,![]];},_0x298516=(_0x554305,_0x123082)=>{const _0x332eb8=_0x3d3e7b;var _0x230113;if(_0x554305===-0x1||_0x123082===-0x1||_0x2746c3[_0x554305][_0x332eb8(0x231)]||_0x2746c3[_0x123082][_0x332eb8(0x231)])return;const [_0x3d6caf,_0x1cdee6,_0xfc0278]=_0x1ed49d(_0x2746c3[_0x554305],_0x2746c3[_0x123082]);_0xfc0278&&this[_0x332eb8(0x233)][_0x332eb8(0x2a7)]&&_0x141a4b[_0x332eb8(0x1fc)]({'left':_0x554305,'right':_0x123082,'length':_0x3d6caf['length'],'score':(_0x230113=this[_0x332eb8(0x233)]['pieces'][_0x1cdee6][_0x332eb8(0x1d8)])!==null&&_0x230113!==void 0x0?_0x230113:0x0});};for(let _0x4ebff4=0x1;_0x4ebff4<_0x2746c3[_0x3d3e7b(0x255)];_0x4ebff4++){_0x298516(_0x4ebff4-0x1,_0x4ebff4);}const _0x37fc20=_0x1fe229=>{const _0x44d0a1=_0x3d3e7b,_0x4222ae=_0x2746c3[_0x1fe229[_0x44d0a1(0x2e1)]]['symbol'],_0x5051a1=_0x2746c3[_0x1fe229[_0x44d0a1(0x21e)]][_0x44d0a1(0x240)];return _0x4222ae===''||_0x5051a1===''||_0x4222ae[_0x44d0a1(0x255)]+_0x5051a1['length']!==_0x1fe229[_0x44d0a1(0x255)];};let _0x2efcfe=0x0;while(_0x141a4b['len']()>0x0){const _0x3bd37f=_0x141a4b[_0x3d3e7b(0x23c)](),_0x30857c=_0x2746c3[_0x3bd37f['left']],_0x33e82b=_0x2746c3[_0x3bd37f['right']];if(_0x37fc20(_0x3bd37f)){_0x2efcfe--;continue;}_0x2efcfe*0x3>_0x141a4b[_0x3d3e7b(0x266)]()&&(_0x141a4b[_0x3d3e7b(0x3cb)](_0x37fc20),_0x2efcfe=0x0);const [_0x594f0d,,_0x52558e]=_0x1ed49d(_0x30857c,_0x33e82b);if(!_0x52558e)throw new Error(_0x3d3e7b(0x2ff));_0x2746c3[_0x3bd37f['left']][_0x3d3e7b(0x240)]=_0x594f0d,_0x2746c3[_0x3bd37f['left']][_0x3d3e7b(0x301)]=_0x33e82b[_0x3d3e7b(0x301)],_0x33e82b[_0x3d3e7b(0x301)]>=0x0&&(_0x2746c3[_0x33e82b[_0x3d3e7b(0x301)]][_0x3d3e7b(0x18b)]=_0x3bd37f[_0x3d3e7b(0x2e1)]),_0x2746c3[_0x3bd37f[_0x3d3e7b(0x21e)]]['symbol']='',_0x2efcfe++,_0x298516(_0x30857c[_0x3d3e7b(0x18b)],_0x3bd37f['left']),_0x298516(_0x3bd37f['left'],_0x33e82b[_0x3d3e7b(0x301)]);}const _0x1e4c05=[];for(let _0x447b06=0x0;_0x447b06>=0x0;_0x447b06=_0x2746c3[_0x447b06][_0x3d3e7b(0x301)]){const _0x33b324=_0x2746c3[_0x447b06][_0x3d3e7b(0x240)],_0x591aa5=this[_0x3d3e7b(0x20a)](_0x33b324);if(_0x591aa5===this[_0x3d3e7b(0x274)]&&((_0x4cf2fd=this[_0x3d3e7b(0x233)][_0x3d3e7b(0x30e)])===null||_0x4cf2fd===void 0x0?void 0x0:_0x4cf2fd[_0x3d3e7b(0x2d1)])){const _0x6ecb85=new TextEncoder()[_0x3d3e7b(0x323)](_0x33b324);for(let _0x5457f1=0x0;_0x5457f1<_0x6ecb85[_0x3d3e7b(0x255)];_0x5457f1++){const _0x10626c=this[_0x3d3e7b(0x348)][_0x3d3e7b(0x30d)](_0x6ecb85[_0x5457f1]);_0x10626c&&_0x1e4c05[_0x3d3e7b(0x319)](_0x10626c);}}else _0x1e4c05[_0x3d3e7b(0x319)]({'id':_0x591aa5,'text':_0x33b324});}return _0x1e4c05;}[a5_0x44ee1b(0x182)](_0x1a9a8c){const _0xd53b93=a5_0x44ee1b;var _0x1af19e,_0x47e68c,_0x2a23f9;const _0x482719=[];let _0x1c248f=0x0;while(_0x1c248f<_0x1a9a8c[_0xd53b93(0x255)]){let _0x9889b=_0x1c248f;while(_0x9889b<_0x1a9a8c[_0xd53b93(0x255)]&&this[_0xd53b93(0x24f)](_0x1a9a8c[_0x9889b])){_0x9889b++;}const _0x3fcdae=_0x9889b-_0x1c248f;if(_0x3fcdae>0x0){const _0xcd7d8a=[];for(let _0x160bec=_0x1c248f;_0x160bec<_0x9889b;_0x160bec++){const _0x3af3a0=this[_0xd53b93(0x33d)][_0xd53b93(0x30d)](_0x1a9a8c[_0x160bec]);_0x3af3a0!==undefined&&_0xcd7d8a[_0xd53b93(0x319)](_0x3af3a0);}const _0x483429=new TextDecoder('utf-8',{'fatal':![]}),_0x12aaed=_0x483429[_0xd53b93(0x182)](new Uint8Array(_0xcd7d8a));_0x482719[_0xd53b93(0x319)](_0x12aaed);}if(_0x9889b>=_0x1a9a8c[_0xd53b93(0x255)])break;const _0x23c0c7=_0x1a9a8c[_0x9889b];if(this['isControlID'](_0x23c0c7));else{if(_0x23c0c7===this[_0xd53b93(0x274)])_0x482719['push']((_0x47e68c=(_0x1af19e=this[_0xd53b93(0x233)][_0xd53b93(0x30e)])===null||_0x1af19e===void 0x0?void 0x0:_0x1af19e[_0xd53b93(0x2f8)])!==null&&_0x47e68c!==void 0x0?_0x47e68c:'');else{if(this[_0xd53b93(0x233)][_0xd53b93(0x2a7)]&&this[_0xd53b93(0x233)][_0xd53b93(0x2a7)][_0x23c0c7]){const _0x4e35dc=(_0x2a23f9=this[_0xd53b93(0x233)][_0xd53b93(0x2a7)][_0x23c0c7][_0xd53b93(0x2b2)])!==null&&_0x2a23f9!==void 0x0?_0x2a23f9:'';_0x482719[_0xd53b93(0x319)](this['replaceSeparatorsBySpace'](_0x4e35dc));}}}_0x1c248f=_0x9889b+0x1;}return _0x482719[_0xd53b93(0x1d5)]('');}[a5_0x44ee1b(0x216)](_0x3e3e03){const _0x59ab60=a5_0x44ee1b;return this[_0x59ab60(0x182)](_0x3e3e03[_0x59ab60(0x364)](_0x4c18d6=>_0x4c18d6['id']));}[a5_0x44ee1b(0x1c4)](){const _0x323bee=a5_0x44ee1b;var _0x250fe7,_0x4c58dd;const _0x5ab79b=_0x35c21e=>{const _0x4140c5=a5_0x3284,_0x521fbb=this[_0x4140c5(0x20a)](_0x35c21e);return this[_0x4140c5(0x261)](_0x521fbb)?_0x521fbb:-0x1;};return{'vocabularySize':(_0x4c58dd=(_0x250fe7=this[_0x323bee(0x233)][_0x323bee(0x2a7)])===null||_0x250fe7===void 0x0?void 0x0:_0x250fe7[_0x323bee(0x255)])!==null&&_0x4c58dd!==void 0x0?_0x4c58dd:0x0,'beginningOfSentenceID':_0x5ab79b(SYMBOL_BOS),'endOfSentenceID':_0x5ab79b(SYMBOL_EOS),'padID':_0x5ab79b(SYMBOL_PAD),'unknownID':this[_0x323bee(0x274)]};}[a5_0x44ee1b(0x31e)](_0x3be66d){return _0x3be66d['replace'](/ /g,WHITESPACE_SEPARATOR);}['replaceSeparatorsBySpace'](_0x25ecd8){return _0x25ecd8['replace'](new RegExp(WHITESPACE_SEPARATOR,'g'),'\x20');}[a5_0x44ee1b(0x2b5)](_0x3ca711){const _0x458d88=a5_0x44ee1b,_0x4dad21=this[_0x458d88(0x307)][_0x458d88(0x293)](_0x3ca711);if(_0x4dad21>0x0)return[_0x4dad21,!![]];return[0x1,![]];}[a5_0x44ee1b(0x20a)](_0x33650d){const _0x42f1aa=a5_0x44ee1b,_0x55246d=this['reserved']['get'](_0x33650d);if(_0x55246d!==undefined)return _0x55246d;const _0xeb6ee8=this['pieces'][_0x42f1aa(0x30d)](_0x33650d);if(_0xeb6ee8!==undefined)return _0xeb6ee8;return this[_0x42f1aa(0x274)];}[a5_0x44ee1b(0x24f)](_0x996b73){const _0x50e3bf=a5_0x44ee1b;if(!this[_0x50e3bf(0x233)][_0x50e3bf(0x2a7)]||_0x996b73>=this[_0x50e3bf(0x233)]['pieces'][_0x50e3bf(0x255)])return![];return this[_0x50e3bf(0x233)][_0x50e3bf(0x2a7)][_0x996b73]['type']===SentencePieceType[_0x50e3bf(0x22a)];}[a5_0x44ee1b(0x261)](_0x440c93){const _0x18a69b=a5_0x44ee1b;if(!this[_0x18a69b(0x233)][_0x18a69b(0x2a7)]||_0x440c93>=this[_0x18a69b(0x233)][_0x18a69b(0x2a7)][_0x18a69b(0x255)])return![];return this[_0x18a69b(0x233)][_0x18a69b(0x2a7)][_0x440c93][_0x18a69b(0x3ba)]===SentencePieceType[_0x18a69b(0x186)];}[a5_0x44ee1b(0x3c2)](_0x1c503c){const _0xa45f26=a5_0x44ee1b;var _0x383469,_0x52f01c,_0x342df8,_0x23283c,_0x3c5f47,_0x28c3d2,_0x40187f,_0x496d4d,_0x3c7098,_0x5f3625,_0x152b05;const _0x169e43=sentencepiece[_0xa45f26(0x254)][_0xa45f26(0x182)](_0x1c503c),_0x5c219d={'pieces':(_0x383469=_0x169e43[_0xa45f26(0x2a7)])===null||_0x383469===void 0x0?void 0x0:_0x383469['map'](_0x3ed5c3=>{const _0x16664e=_0xa45f26;var _0x53b7a9,_0x5c8e90,_0x38cf54;return{'piece':(_0x53b7a9=_0x3ed5c3[_0x16664e(0x2b2)])!==null&&_0x53b7a9!==void 0x0?_0x53b7a9:undefined,'score':(_0x5c8e90=_0x3ed5c3['score'])!==null&&_0x5c8e90!==void 0x0?_0x5c8e90:undefined,'type':(_0x38cf54=_0x3ed5c3[_0x16664e(0x3ba)])!==null&&_0x38cf54!==void 0x0?_0x38cf54:undefined};}),'trainerSpec':_0x169e43[_0xa45f26(0x30e)]?{'modelType':(_0x52f01c=_0x169e43[_0xa45f26(0x30e)][_0xa45f26(0x343)])!==null&&_0x52f01c!==void 0x0?_0x52f01c:undefined,'vocabSize':(_0x342df8=_0x169e43[_0xa45f26(0x30e)][_0xa45f26(0x2ec)])!==null&&_0x342df8!==void 0x0?_0x342df8:undefined,'characterCoverage':(_0x23283c=_0x169e43[_0xa45f26(0x30e)][_0xa45f26(0x391)])!==null&&_0x23283c!==void 0x0?_0x23283c:undefined,'byteFallback':(_0x3c5f47=_0x169e43[_0xa45f26(0x30e)][_0xa45f26(0x2d1)])!==null&&_0x3c5f47!==void 0x0?_0x3c5f47:undefined,'unkSurface':(_0x28c3d2=_0x169e43[_0xa45f26(0x30e)][_0xa45f26(0x2f8)])!==null&&_0x28c3d2!==void 0x0?_0x28c3d2:undefined}:undefined,'normalizerSpec':_0x169e43[_0xa45f26(0x2cb)]?{'name':(_0x40187f=_0x169e43[_0xa45f26(0x2cb)][_0xa45f26(0x314)])!==null&&_0x40187f!==void 0x0?_0x40187f:undefined,'precompiledCharsmap':_0x169e43[_0xa45f26(0x2cb)]['precompiledCharsmap']?new Uint8Array(_0x169e43['normalizerSpec'][_0xa45f26(0x3b5)]):undefined,'addDummyPrefix':(_0x496d4d=_0x169e43[_0xa45f26(0x2cb)]['addDummyPrefix'])!==null&&_0x496d4d!==void 0x0?_0x496d4d:undefined,'removeExtraWhitespaces':(_0x3c7098=_0x169e43[_0xa45f26(0x2cb)][_0xa45f26(0x23b)])!==null&&_0x3c7098!==void 0x0?_0x3c7098:undefined,'escapeWhitespaces':(_0x5f3625=_0x169e43[_0xa45f26(0x2cb)][_0xa45f26(0x2b6)])!==null&&_0x5f3625!==void 0x0?_0x5f3625:undefined,'normalizationRuleTsv':(_0x152b05=_0x169e43['normalizerSpec'][_0xa45f26(0x366)])!==null&&_0x152b05!==void 0x0?_0x152b05:undefined}:undefined};return _0x5c219d;}}function convertHexValue(_0x409f46){const _0x2fd21a=_0x409f46['match'](/^<0x([0-9A-Fa-f]{2})>$/);if(!_0x2fd21a)return-0x1;return parseInt(_0x2fd21a[0x1],0x10);}/**
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2025 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
30
|
+
*/
|
|
31
|
+
const GEMINI_MODELS_TO_TOKENIZER_NAMES={'gemini-2.5-pro':a5_0x44ee1b(0x1c2),'gemini-2.5-flash':a5_0x44ee1b(0x1c2),'gemini-2.5-flash-lite':a5_0x44ee1b(0x1c2),'gemini-2.0-flash':a5_0x44ee1b(0x1c2),'gemini-2.0-flash-lite':a5_0x44ee1b(0x1c2)},GEMINI_STABLE_MODELS_TO_TOKENIZER_NAMES={'gemini-3-pro-preview':'gemma3','gemini-2.5-pro-preview-06-05':a5_0x44ee1b(0x1c2),'gemini-2.5-pro-preview-05-06':a5_0x44ee1b(0x1c2),'gemini-2.5-pro-exp-03-25':a5_0x44ee1b(0x1c2),'gemini-live-2.5-flash':a5_0x44ee1b(0x1c2),'gemini-2.5-flash-preview-05-20':a5_0x44ee1b(0x1c2),'gemini-2.5-flash-preview-04-17':a5_0x44ee1b(0x1c2),'gemini-2.5-flash-lite-preview-06-17':'gemma3','gemini-2.0-flash-001':a5_0x44ee1b(0x1c2),'gemini-2.0-flash-lite-001':a5_0x44ee1b(0x1c2)},TOKENIZERS={'gemma2':{'modelUrl':a5_0x44ee1b(0x25b),'modelHash':'61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2'},'gemma3':{'modelUrl':'https://raw.githubusercontent.com/google/gemma_pytorch/014acb7ac4563a5f77c76d7ff98f31b568c16508/tokenizer/gemma3_cleaned_262144_v2.spiece.model','modelHash':'1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c'}};function getTokenizerName(_0xec03dd){const _0x3f7228=a5_0x44ee1b;if(_0xec03dd in GEMINI_MODELS_TO_TOKENIZER_NAMES)return GEMINI_MODELS_TO_TOKENIZER_NAMES[_0xec03dd];if(_0xec03dd in GEMINI_STABLE_MODELS_TO_TOKENIZER_NAMES)return GEMINI_STABLE_MODELS_TO_TOKENIZER_NAMES[_0xec03dd];const _0x415fc0=[...Object[_0x3f7228(0x2a6)](GEMINI_MODELS_TO_TOKENIZER_NAMES),...Object[_0x3f7228(0x2a6)](GEMINI_STABLE_MODELS_TO_TOKENIZER_NAMES)][_0x3f7228(0x1d5)](',\x20');throw new Error(_0x3f7228(0x388)+_0xec03dd+_0x3f7228(0x280)+_0x415fc0+'.');}function getTokenizerConfig(_0x55e5ca){const _0x15cc72=a5_0x44ee1b;if(!(_0x55e5ca in TOKENIZERS))throw new Error(_0x15cc72(0x373)+_0x55e5ca+_0x15cc72(0x350)+Object[_0x15cc72(0x2a6)](TOKENIZERS)[_0x15cc72(0x1d5)](',\x20'));return TOKENIZERS[_0x55e5ca];}async function loadModelProtoBytes(_0x420163,_0x12eb9d){const _0x211367=a5_0x44ee1b,_0x509340=getTokenizerConfig(_0x420163),_0x46c125=new TextEncoder(),_0x419555=await _0x12eb9d['fileSystem']['computeSha1'](_0x46c125[_0x211367(0x323)](_0x509340[_0x211367(0x29e)]));let _0x19965c=await _0x12eb9d[_0x211367(0x2a5)][_0x211367(0x3aa)](_0x419555,_0x509340[_0x211367(0x20c)]);if(!_0x19965c){_0x19965c=await _0x12eb9d[_0x211367(0x351)]['fetchFromUrl'](_0x509340[_0x211367(0x29e)]);const _0x4fc506=await _0x12eb9d['fileSystem']['validateHash'](_0x19965c,_0x509340[_0x211367(0x20c)]);if(!_0x4fc506){const _0xfb635c=await _0x12eb9d[_0x211367(0x351)][_0x211367(0x18d)](_0x19965c);throw new Error(_0x211367(0x3a2)+_0x509340['modelHash']+_0x211367(0x2e3)+_0xfb635c+'.');}await _0x12eb9d['cache']['save'](_0x419555,_0x19965c);}return _0x19965c;}/**
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2025 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
35
|
+
*/
|
|
36
|
+
class TextsAccumulator{constructor(){const _0x5d403b=a5_0x44ee1b;this[_0x5d403b(0x273)]=[];}[a5_0x44ee1b(0x235)](){const _0x576a2b=a5_0x44ee1b;return this[_0x576a2b(0x273)];}['addContents'](_0x27edd2){for(const _0x515efe of _0x27edd2){this['addContent'](_0x515efe);}}[a5_0x44ee1b(0x196)](_0x5b9dcb){const _0xeec1f5=a5_0x44ee1b,_0x76782f={'parts':[],'role':_0x5b9dcb[_0xeec1f5(0x265)]};if(_0x5b9dcb[_0xeec1f5(0x241)])for(const _0x21886d of _0x5b9dcb[_0xeec1f5(0x241)]){const _0x54ca3c={};if(_0x21886d[_0xeec1f5(0x2c6)]||_0x21886d[_0xeec1f5(0x1c9)])throw new Error(_0xeec1f5(0x30f));_0x21886d['videoMetadata']&&(_0x54ca3c[_0xeec1f5(0x26f)]=_0x21886d[_0xeec1f5(0x26f)]),_0x21886d[_0xeec1f5(0x367)]&&(this[_0xeec1f5(0x267)](_0x21886d['functionCall']),_0x54ca3c[_0xeec1f5(0x367)]=_0x21886d[_0xeec1f5(0x367)]),_0x21886d['functionResponse']&&(this['addFunctionResponse'](_0x21886d[_0xeec1f5(0x1f9)]),_0x54ca3c[_0xeec1f5(0x1f9)]=_0x21886d[_0xeec1f5(0x1f9)]),_0x21886d[_0xeec1f5(0x2dc)]&&(_0x54ca3c[_0xeec1f5(0x2dc)]=_0x21886d[_0xeec1f5(0x2dc)],this[_0xeec1f5(0x273)][_0xeec1f5(0x319)](_0x21886d['text'])),_0x76782f[_0xeec1f5(0x241)]&&_0x76782f[_0xeec1f5(0x241)][_0xeec1f5(0x319)](_0x54ca3c);}!this[_0xeec1f5(0x3a0)](_0x5b9dcb,_0x76782f)&&console[_0xeec1f5(0x18c)](_0xeec1f5(0x22d)+(_0xeec1f5(0x2fc)+JSON[_0xeec1f5(0x39e)](_0x76782f)+'.\x20')+(_0xeec1f5(0x2a3)+JSON[_0xeec1f5(0x39e)](_0x5b9dcb)+'.'));}['addFunctionCall'](_0xd1d5fd){const _0x436b22=a5_0x44ee1b;_0xd1d5fd[_0x436b22(0x314)]&&this[_0x436b22(0x273)][_0x436b22(0x319)](_0xd1d5fd[_0x436b22(0x314)]),_0xd1d5fd[_0x436b22(0x1dc)]&&this[_0x436b22(0x220)](_0xd1d5fd[_0x436b22(0x1dc)]);}[a5_0x44ee1b(0x393)](_0x592581){const _0x3aae4e=a5_0x44ee1b;for(const _0x26d413 of _0x592581){this[_0x3aae4e(0x295)](_0x26d413);}}[a5_0x44ee1b(0x295)](_0x4788b7){const _0x28c69b=a5_0x44ee1b;if(_0x4788b7[_0x28c69b(0x27d)])for(const _0x1b73d8 of _0x4788b7[_0x28c69b(0x27d)]){this[_0x28c69b(0x1d6)](_0x1b73d8);}}[a5_0x44ee1b(0x27e)](_0x2e3de7){const _0x3340b5=a5_0x44ee1b;for(const _0x168c5a of _0x2e3de7){this[_0x3340b5(0x1bf)](_0x168c5a);}}[a5_0x44ee1b(0x1bf)](_0x21d0cf){const _0x4e6543=a5_0x44ee1b;_0x21d0cf['name']&&this[_0x4e6543(0x273)][_0x4e6543(0x319)](_0x21d0cf['name']),_0x21d0cf[_0x4e6543(0x224)]&&this[_0x4e6543(0x220)](_0x21d0cf[_0x4e6543(0x224)]);}[a5_0x44ee1b(0x1d6)](_0x20ba11){const _0x31e27d=a5_0x44ee1b;_0x20ba11[_0x31e27d(0x314)]&&this[_0x31e27d(0x273)][_0x31e27d(0x319)](_0x20ba11[_0x31e27d(0x314)]),_0x20ba11[_0x31e27d(0x387)]&&this['texts']['push'](_0x20ba11['description']),_0x20ba11['parameters']&&this['addSchema'](_0x20ba11[_0x31e27d(0x2e5)]),_0x20ba11[_0x31e27d(0x224)]&&this['addSchema'](_0x20ba11[_0x31e27d(0x224)]);}[a5_0x44ee1b(0x340)](_0x31e2cb){const _0xef3b13=a5_0x44ee1b;_0x31e2cb[_0xef3b13(0x1ec)]&&this[_0xef3b13(0x273)][_0xef3b13(0x319)](_0x31e2cb[_0xef3b13(0x1ec)]);_0x31e2cb[_0xef3b13(0x387)]&&this[_0xef3b13(0x273)][_0xef3b13(0x319)](_0x31e2cb[_0xef3b13(0x387)]);_0x31e2cb[_0xef3b13(0x24e)]&&this[_0xef3b13(0x273)][_0xef3b13(0x319)](..._0x31e2cb[_0xef3b13(0x24e)]);_0x31e2cb['required']&&this['texts'][_0xef3b13(0x319)](..._0x31e2cb[_0xef3b13(0x32d)]);_0x31e2cb[_0xef3b13(0x344)]&&this[_0xef3b13(0x340)](_0x31e2cb[_0xef3b13(0x344)]);if(_0x31e2cb[_0xef3b13(0x278)])for(const [_0x339a03,_0x1055b2]of Object[_0xef3b13(0x29f)](_0x31e2cb[_0xef3b13(0x278)])){this[_0xef3b13(0x273)][_0xef3b13(0x319)](_0x339a03),this[_0xef3b13(0x340)](_0x1055b2);}_0x31e2cb[_0xef3b13(0x396)]!==undefined&&_0x31e2cb[_0xef3b13(0x396)]!==null&&this[_0xef3b13(0x1d1)](_0x31e2cb[_0xef3b13(0x396)]);}[a5_0x44ee1b(0x220)](_0x474a88){const _0x4437d0=a5_0x44ee1b;this['texts'][_0x4437d0(0x319)](...Object[_0x4437d0(0x2a6)](_0x474a88));for(const _0x5b5bd1 of Object['values'](_0x474a88)){this[_0x4437d0(0x1d1)](_0x5b5bd1);}}[a5_0x44ee1b(0x1d1)](_0x9c40a2){const _0x2f8857=a5_0x44ee1b;if(typeof _0x9c40a2===_0x2f8857(0x2db))this[_0x2f8857(0x273)][_0x2f8857(0x319)](_0x9c40a2);else{if(typeof _0x9c40a2==='object'&&_0x9c40a2!==null){if(Array[_0x2f8857(0x24a)](_0x9c40a2))for(const _0xa5b4ea of _0x9c40a2){this[_0x2f8857(0x1d1)](_0xa5b4ea);}else this['dictTraverse'](_0x9c40a2);}}}[a5_0x44ee1b(0x3a0)](_0xaeac52,_0x1d66c6){const _0x58b757=a5_0x44ee1b;if(_0xaeac52===_0x1d66c6)return!![];if(_0xaeac52==null||_0x1d66c6==null)return _0xaeac52===_0x1d66c6;if(typeof _0xaeac52!=='object'||typeof _0x1d66c6!==_0x58b757(0x328))return![];if(Array[_0x58b757(0x24a)](_0xaeac52)&&Array['isArray'](_0x1d66c6)){if(_0xaeac52[_0x58b757(0x255)]!==_0x1d66c6[_0x58b757(0x255)])return![];for(let _0x24df07=0x0;_0x24df07<_0xaeac52[_0x58b757(0x255)];_0x24df07++){if(!this['deepEqual'](_0xaeac52[_0x24df07],_0x1d66c6[_0x24df07]))return![];}return!![];}const _0x3053bd=Object['keys'](_0xaeac52)[_0x58b757(0x36a)](_0x38937c=>_0xaeac52[_0x38937c]!==undefined),_0x31ac16=Object[_0x58b757(0x2a6)](_0x1d66c6)[_0x58b757(0x36a)](_0xfe7719=>_0x1d66c6[_0xfe7719]!==undefined);if(_0x3053bd['length']!==_0x31ac16[_0x58b757(0x255)])return![];for(const _0x4f026d of _0x3053bd){if(!_0x31ac16[_0x58b757(0x30b)](_0x4f026d))return![];if(!this['deepEqual'](_0xaeac52[_0x4f026d],_0x1d66c6[_0x4f026d]))return![];}return!![];}}/**
|
|
37
|
+
* @license
|
|
38
|
+
* Copyright 2025 Google LLC
|
|
39
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
40
|
+
*/
|
|
41
|
+
let LocalTokenizer$1=class LocalTokenizer{constructor(_0x4a8281,_0x516646,_0x2b7c55=SentencePieceProcessor){const _0x4d8652=a5_0x44ee1b;this['ProcessorClass']=_0x2b7c55,this[_0x4d8652(0x2d5)]=_0x4a8281,this[_0x4d8652(0x290)]=getTokenizerName(_0x4a8281),this[_0x4d8652(0x2aa)]=_0x516646;}async['ensureProcessor'](){const _0x5a13dc=a5_0x44ee1b;if(this[_0x5a13dc(0x249)])return;const _0x331e36=await loadModelProtoBytes(this[_0x5a13dc(0x290)],this[_0x5a13dc(0x2aa)]);this[_0x5a13dc(0x249)]=new this[(_0x5a13dc(0x2e0))](_0x331e36);}async[a5_0x44ee1b(0x2ee)](_0x59a9d2,_0x16e3cc){const _0x552ec8=a5_0x44ee1b;var _0x153164;await this[_0x552ec8(0x1a8)]();const _0x45d772=tContents(_0x59a9d2),_0x3ab8ce=new TextsAccumulator();_0x3ab8ce[_0x552ec8(0x2d6)](_0x45d772);if(_0x16e3cc===null||_0x16e3cc===void 0x0?void 0x0:_0x16e3cc['systemInstruction']){const _0x55d46e=tContent(_0x16e3cc[_0x552ec8(0x232)]);_0x3ab8ce[_0x552ec8(0x2d6)]([_0x55d46e]);}(_0x16e3cc===null||_0x16e3cc===void 0x0?void 0x0:_0x16e3cc['tools'])&&_0x3ab8ce[_0x552ec8(0x393)](_0x16e3cc[_0x552ec8(0x385)]);((_0x153164=_0x16e3cc===null||_0x16e3cc===void 0x0?void 0x0:_0x16e3cc[_0x552ec8(0x17a)])===null||_0x153164===void 0x0?void 0x0:_0x153164[_0x552ec8(0x39b)])&&_0x3ab8ce[_0x552ec8(0x340)](_0x16e3cc['generationConfig'][_0x552ec8(0x39b)]);const _0x4715d9=_0x3ab8ce[_0x552ec8(0x235)]();let _0x4649a8=0x0;for(const _0x1c13ec of _0x4715d9){const _0x5445d6=this[_0x552ec8(0x249)][_0x552ec8(0x323)](_0x1c13ec);_0x4649a8+=_0x5445d6[_0x552ec8(0x255)];}return{'totalTokens':_0x4649a8};}async[a5_0x44ee1b(0x1ff)](_0x443d62){const _0x25ed13=a5_0x44ee1b;await this['ensureProcessor']();const _0x3e3f59=tContents(_0x443d62),_0x4abd19=[];for(const _0x2a78c6 of _0x3e3f59){const _0x45950f=new TextsAccumulator();_0x45950f[_0x25ed13(0x196)](_0x2a78c6);const _0x29425f=_0x45950f[_0x25ed13(0x235)](),_0x508026=[],_0x403f4e=[];for(const _0x8444ce of _0x29425f){const _0x4c18d7=this['processor']['encode'](_0x8444ce);_0x508026[_0x25ed13(0x319)](..._0x4c18d7[_0x25ed13(0x364)](_0x1a8c70=>_0x1a8c70['id'])),_0x403f4e[_0x25ed13(0x319)](..._0x4c18d7['map'](_0x1a6d0f=>this[_0x25ed13(0x264)](_0x1a6d0f[_0x25ed13(0x2dc)])));}_0x508026[_0x25ed13(0x255)]>0x0&&_0x4abd19[_0x25ed13(0x319)]({'tokenIds':_0x508026[_0x25ed13(0x364)](_0x26ee57=>_0x26ee57['toString']()),'tokens':_0x403f4e,'role':_0x2a78c6[_0x25ed13(0x265)]});}return{'tokensInfo':_0x4abd19};}[a5_0x44ee1b(0x264)](_0x25d43c){const _0x511ae2=a5_0x44ee1b,_0x2d26dc=new TextEncoder(),_0x2ef639=_0x2d26dc[_0x511ae2(0x323)](_0x25d43c['replace'](/▁/g,'\x20'));let _0x2f5ea3='';for(let _0x3708df=0x0;_0x3708df<_0x2ef639['length'];_0x3708df++){_0x2f5ea3+=String[_0x511ae2(0x36f)](_0x2ef639[_0x3708df]);}return btoa(_0x2f5ea3);}};/**
|
|
42
|
+
* @license
|
|
43
|
+
* Copyright 2025 Google LLC
|
|
44
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
45
|
+
*/
|
|
46
|
+
class NodeTokenizerCache{constructor(){const _0x143581=a5_0x44ee1b;this[_0x143581(0x183)]=a5_0x49adab['join'](a5_0x51114d[_0x143581(0x215)](),_0x143581(0x26d));}async[a5_0x44ee1b(0x3aa)](_0x2fe5be,_0x5a4590){const _0x135208=a5_0x44ee1b,_0x281930=a5_0x49adab['join'](this[_0x135208(0x183)],_0x2fe5be);try{const _0x187852=await a5_0x2575ee[_0x135208(0x277)](_0x281930),_0x22826a=a5_0x233a0f[_0x135208(0x283)]('sha256')[_0x135208(0x345)](_0x187852)['digest'](_0x135208(0x19b));if(_0x22826a===_0x5a4590)return new Uint8Array(_0x187852);return await this['removeFile'](_0x281930),null;}catch(_0x4e7376){return null;}}async[a5_0x44ee1b(0x34c)](_0x5e7102,_0x515bcf){const _0x21213f=a5_0x44ee1b,_0x2b41d8=a5_0x49adab[_0x21213f(0x1d5)](this['cacheDir'],_0x5e7102);try{await a5_0x2575ee['mkdir'](this['cacheDir'],{'recursive':!![]});const _0x85a8f3=this[_0x21213f(0x183)]+'.'+a5_0x233a0f[_0x21213f(0x300)]()+_0x21213f(0x281);await a5_0x2575ee[_0x21213f(0x187)](_0x85a8f3,_0x515bcf),await a5_0x2575ee['rename'](_0x85a8f3,_0x2b41d8);}catch(_0x4bee66){}}async[a5_0x44ee1b(0x35a)](_0x450640){const _0x1fae08=a5_0x44ee1b;try{await a5_0x2575ee[_0x1fae08(0x18f)](_0x450640);}catch(_0x1b3c32){}}}class NodeTokenizerFileSystem{async[a5_0x44ee1b(0x285)](_0xa8fbd8){const _0x5f1210=a5_0x44ee1b,_0x496cc4=await fetch(_0xa8fbd8);if(!_0x496cc4['ok'])throw new Error(_0x5f1210(0x2a8)+_0xa8fbd8+':\x20'+_0x496cc4[_0x5f1210(0x380)]);const _0x48dc76=await _0x496cc4[_0x5f1210(0x1f3)]();return new Uint8Array(_0x48dc76);}async['validateHash'](_0x3ad88c,_0x497514){const _0xa337fc=a5_0x44ee1b,_0x1ab955=a5_0x233a0f[_0xa337fc(0x283)]('sha256')[_0xa337fc(0x345)](_0x3ad88c)['digest'](_0xa337fc(0x19b));return _0x1ab955===_0x497514;}async[a5_0x44ee1b(0x18d)](_0xfb4416){const _0x431a49=a5_0x44ee1b,_0xd8350b=a5_0x233a0f[_0x431a49(0x283)]('sha1')['update'](_0xfb4416)['digest'](_0x431a49(0x19b));return _0xd8350b;}}class NodeTokenizerPlatform{constructor(){const _0x25cdad=a5_0x44ee1b;this[_0x25cdad(0x2a5)]=new NodeTokenizerCache(),this['fileSystem']=new NodeTokenizerFileSystem();}}/**
|
|
47
|
+
* @license
|
|
48
|
+
* Copyright 2025 Google LLC
|
|
49
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
50
|
+
*/
|
|
51
|
+
class LocalTokenizer{constructor(_0x49a8e5){const _0x400d55=new NodeTokenizerPlatform();this['baseTokenizer']=new LocalTokenizer$1(_0x49a8e5,_0x400d55);}async[a5_0x44ee1b(0x2ee)](_0x1d699f,_0x514bcc){const _0x1fa7dd=a5_0x44ee1b;return this[_0x1fa7dd(0x1a4)]['countTokens'](_0x1d699f,_0x514bcc);}async[a5_0x44ee1b(0x1ff)](_0x24a1d0){const _0x188e61=a5_0x44ee1b;return this['baseTokenizer'][_0x188e61(0x1ff)](_0x24a1d0);}}export{LocalTokenizer};
|