@reverbia/sdk 1.0.0-next.20251204090034 → 1.0.0-next.20251205130522

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.
@@ -3869,7 +3869,7 @@ var require_cmp = __commonJS({
3869
3869
  var require_comparator = __commonJS({
3870
3870
  "node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js"(exports2, module2) {
3871
3871
  "use strict";
3872
- var ANY = Symbol("SemVer ANY");
3872
+ var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
3873
3873
  var Comparator = class _Comparator {
3874
3874
  static get ANY() {
3875
3875
  return ANY;
@@ -9333,7 +9333,7 @@ var require_lib = __commonJS({
9333
9333
  }
9334
9334
  });
9335
9335
 
9336
- // node_modules/.pnpm/@huggingface+transformers@3.8.0/node_modules/@huggingface/transformers/dist/transformers.node.mjs
9336
+ // node_modules/.pnpm/@huggingface+transformers@3.8.1/node_modules/@huggingface/transformers/dist/transformers.node.mjs
9337
9337
  var transformers_node_exports = {};
9338
9338
  __export(transformers_node_exports, {
9339
9339
  ASTFeatureExtractor: () => __webpack_exports__ASTFeatureExtractor,
@@ -9560,10 +9560,9 @@ __export(transformers_node_exports, {
9560
9560
  ElectraTokenizer: () => __webpack_exports__ElectraTokenizer,
9561
9561
  EncodecFeatureExtractor: () => __webpack_exports__EncodecFeatureExtractor,
9562
9562
  EosTokenCriteria: () => __webpack_exports__EosTokenCriteria,
9563
- Ernie4_5_ForCausalLM: () => __webpack_exports__Ernie4_5_ForCausalLM,
9564
- Ernie4_5_Model: () => __webpack_exports__Ernie4_5_Model,
9565
- Ernie4_5_PretrainedModel: () => __webpack_exports__Ernie4_5_PretrainedModel,
9566
- Ernie4_5_Tokenizer: () => __webpack_exports__Ernie4_5_Tokenizer,
9563
+ Ernie4_5ForCausalLM: () => __webpack_exports__Ernie4_5ForCausalLM,
9564
+ Ernie4_5Model: () => __webpack_exports__Ernie4_5Model,
9565
+ Ernie4_5PreTrainedModel: () => __webpack_exports__Ernie4_5PreTrainedModel,
9567
9566
  EsmForMaskedLM: () => __webpack_exports__EsmForMaskedLM,
9568
9567
  EsmForSequenceClassification: () => __webpack_exports__EsmForSequenceClassification,
9569
9568
  EsmForTokenClassification: () => __webpack_exports__EsmForTokenClassification,
@@ -9748,6 +9747,13 @@ __export(transformers_node_exports, {
9748
9747
  MimiPreTrainedModel: () => __webpack_exports__MimiPreTrainedModel,
9749
9748
  MinLengthLogitsProcessor: () => __webpack_exports__MinLengthLogitsProcessor,
9750
9749
  MinNewTokensLengthLogitsProcessor: () => __webpack_exports__MinNewTokensLengthLogitsProcessor,
9750
+ Ministral3ForCausalLM: () => __webpack_exports__Ministral3ForCausalLM,
9751
+ Ministral3Model: () => __webpack_exports__Ministral3Model,
9752
+ Ministral3PreTrainedModel: () => __webpack_exports__Ministral3PreTrainedModel,
9753
+ MinistralForCausalLM: () => __webpack_exports__MinistralForCausalLM,
9754
+ MinistralModel: () => __webpack_exports__MinistralModel,
9755
+ MinistralPreTrainedModel: () => __webpack_exports__MinistralPreTrainedModel,
9756
+ Mistral3ForConditionalGeneration: () => __webpack_exports__Mistral3ForConditionalGeneration,
9751
9757
  MistralForCausalLM: () => __webpack_exports__MistralForCausalLM,
9752
9758
  MistralModel: () => __webpack_exports__MistralModel,
9753
9759
  MistralPreTrainedModel: () => __webpack_exports__MistralPreTrainedModel,
@@ -9878,6 +9884,8 @@ __export(transformers_node_exports, {
9878
9884
  PhiModel: () => __webpack_exports__PhiModel,
9879
9885
  PhiPreTrainedModel: () => __webpack_exports__PhiPreTrainedModel,
9880
9886
  Pipeline: () => __webpack_exports__Pipeline,
9887
+ PixtralImageProcessor: () => __webpack_exports__PixtralImageProcessor,
9888
+ PixtralProcessor: () => __webpack_exports__PixtralProcessor,
9881
9889
  PreTrainedModel: () => __webpack_exports__PreTrainedModel,
9882
9890
  PreTrainedTokenizer: () => __webpack_exports__PreTrainedTokenizer,
9883
9891
  PretrainedConfig: () => __webpack_exports__PretrainedConfig,
@@ -10202,9 +10210,9 @@ function __webpack_require__(moduleId) {
10202
10210
  __webpack_modules__[moduleId](module2, module2.exports, __webpack_require__);
10203
10211
  return module2.exports;
10204
10212
  }
10205
- var __WEBPACK_EXTERNAL_MODULE_node_fs_75ed2103__, __WEBPACK_EXTERNAL_MODULE_node_path_02319fef__, __WEBPACK_EXTERNAL_MODULE_node_url_da953c0c__, __WEBPACK_EXTERNAL_MODULE_onnxruntime_node_6a60201e__, __WEBPACK_EXTERNAL_MODULE_sharp__, import_meta, __webpack_modules__, __webpack_module_cache__, __webpack_exports__, __webpack_exports__ASTFeatureExtractor, __webpack_exports__ASTForAudioClassification, __webpack_exports__ASTModel, __webpack_exports__ASTPreTrainedModel, __webpack_exports__AlbertForMaskedLM, __webpack_exports__AlbertForQuestionAnswering, __webpack_exports__AlbertForSequenceClassification, __webpack_exports__AlbertModel, __webpack_exports__AlbertPreTrainedModel, __webpack_exports__AlbertTokenizer, __webpack_exports__ArceeForCausalLM, __webpack_exports__ArceeModel, __webpack_exports__ArceePreTrainedModel, __webpack_exports__AudioClassificationPipeline, __webpack_exports__AutoConfig, __webpack_exports__AutoFeatureExtractor, __webpack_exports__AutoImageProcessor, __webpack_exports__AutoModel, __webpack_exports__AutoModelForAudioClassification, __webpack_exports__AutoModelForAudioFrameClassification, __webpack_exports__AutoModelForAudioTextToText, __webpack_exports__AutoModelForCTC, __webpack_exports__AutoModelForCausalLM, __webpack_exports__AutoModelForDepthEstimation, __webpack_exports__AutoModelForDocumentQuestionAnswering, __webpack_exports__AutoModelForImageClassification, __webpack_exports__AutoModelForImageFeatureExtraction, __webpack_exports__AutoModelForImageMatting, __webpack_exports__AutoModelForImageSegmentation, __webpack_exports__AutoModelForImageTextToText, __webpack_exports__AutoModelForImageToImage, __webpack_exports__AutoModelForMaskGeneration, __webpack_exports__AutoModelForMaskedLM, __webpack_exports__AutoModelForNormalEstimation, __webpack_exports__AutoModelForObjectDetection, __webpack_exports__AutoModelForPoseEstimation, __webpack_exports__AutoModelForQuestionAnswering, __webpack_exports__AutoModelForSemanticSegmentation, __webpack_exports__AutoModelForSeq2SeqLM, __webpack_exports__AutoModelForSequenceClassification, __webpack_exports__AutoModelForSpeechSeq2Seq, __webpack_exports__AutoModelForTextToSpectrogram, __webpack_exports__AutoModelForTextToWaveform, __webpack_exports__AutoModelForTokenClassification, __webpack_exports__AutoModelForUniversalSegmentation, __webpack_exports__AutoModelForVision2Seq, __webpack_exports__AutoModelForXVector, __webpack_exports__AutoModelForZeroShotObjectDetection, __webpack_exports__AutoProcessor, __webpack_exports__AutoTokenizer, __webpack_exports__AutomaticSpeechRecognitionPipeline, __webpack_exports__BackgroundRemovalPipeline, __webpack_exports__BartForConditionalGeneration, __webpack_exports__BartForSequenceClassification, __webpack_exports__BartModel, __webpack_exports__BartPretrainedModel, __webpack_exports__BartTokenizer, __webpack_exports__BaseModelOutput, __webpack_exports__BaseStreamer, __webpack_exports__BeitFeatureExtractor, __webpack_exports__BeitForImageClassification, __webpack_exports__BeitModel, __webpack_exports__BeitPreTrainedModel, __webpack_exports__BertForMaskedLM, __webpack_exports__BertForQuestionAnswering, __webpack_exports__BertForSequenceClassification, __webpack_exports__BertForTokenClassification, __webpack_exports__BertModel, __webpack_exports__BertPreTrainedModel, __webpack_exports__BertTokenizer, __webpack_exports__BitImageProcessor, __webpack_exports__BlenderbotForConditionalGeneration, __webpack_exports__BlenderbotModel, __webpack_exports__BlenderbotPreTrainedModel, __webpack_exports__BlenderbotSmallForConditionalGeneration, __webpack_exports__BlenderbotSmallModel, __webpack_exports__BlenderbotSmallPreTrainedModel, __webpack_exports__BlenderbotSmallTokenizer, __webpack_exports__BlenderbotTokenizer, __webpack_exports__BloomForCausalLM, __webpack_exports__BloomModel, __webpack_exports__BloomPreTrainedModel, __webpack_exports__BloomTokenizer, __webpack_exports__CLIPFeatureExtractor, __webpack_exports__CLIPImageProcessor, __webpack_exports__CLIPModel, __webpack_exports__CLIPPreTrainedModel, __webpack_exports__CLIPSegForImageSegmentation, __webpack_exports__CLIPSegModel, __webpack_exports__CLIPSegPreTrainedModel, __webpack_exports__CLIPTextModel, __webpack_exports__CLIPTextModelWithProjection, __webpack_exports__CLIPTokenizer, __webpack_exports__CLIPVisionModel, __webpack_exports__CLIPVisionModelWithProjection, __webpack_exports__CamembertForMaskedLM, __webpack_exports__CamembertForQuestionAnswering, __webpack_exports__CamembertForSequenceClassification, __webpack_exports__CamembertForTokenClassification, __webpack_exports__CamembertModel, __webpack_exports__CamembertPreTrainedModel, __webpack_exports__CamembertTokenizer, __webpack_exports__CausalLMOutput, __webpack_exports__CausalLMOutputWithPast, __webpack_exports__ChineseCLIPFeatureExtractor, __webpack_exports__ChineseCLIPModel, __webpack_exports__ChineseCLIPPreTrainedModel, __webpack_exports__ClapAudioModelWithProjection, __webpack_exports__ClapFeatureExtractor, __webpack_exports__ClapModel, __webpack_exports__ClapPreTrainedModel, __webpack_exports__ClapTextModelWithProjection, __webpack_exports__ClassifierFreeGuidanceLogitsProcessor, __webpack_exports__CodeGenForCausalLM, __webpack_exports__CodeGenModel, __webpack_exports__CodeGenPreTrainedModel, __webpack_exports__CodeGenTokenizer, __webpack_exports__CodeLlamaTokenizer, __webpack_exports__CohereForCausalLM, __webpack_exports__CohereModel, __webpack_exports__CoherePreTrainedModel, __webpack_exports__CohereTokenizer, __webpack_exports__ConvBertForMaskedLM, __webpack_exports__ConvBertForQuestionAnswering, __webpack_exports__ConvBertForSequenceClassification, __webpack_exports__ConvBertForTokenClassification, __webpack_exports__ConvBertModel, __webpack_exports__ConvBertPreTrainedModel, __webpack_exports__ConvBertTokenizer, __webpack_exports__ConvNextFeatureExtractor, __webpack_exports__ConvNextForImageClassification, __webpack_exports__ConvNextImageProcessor, __webpack_exports__ConvNextModel, __webpack_exports__ConvNextPreTrainedModel, __webpack_exports__ConvNextV2ForImageClassification, __webpack_exports__ConvNextV2Model, __webpack_exports__ConvNextV2PreTrainedModel, __webpack_exports__DFineForObjectDetection, __webpack_exports__DFineModel, __webpack_exports__DFinePreTrainedModel, __webpack_exports__DINOv3ConvNextModel, __webpack_exports__DINOv3ConvNextPreTrainedModel, __webpack_exports__DINOv3ViTImageProcessor, __webpack_exports__DINOv3ViTModel, __webpack_exports__DINOv3ViTPreTrainedModel, __webpack_exports__DPTFeatureExtractor, __webpack_exports__DPTForDepthEstimation, __webpack_exports__DPTImageProcessor, __webpack_exports__DPTModel, __webpack_exports__DPTPreTrainedModel, __webpack_exports__DacDecoderModel, __webpack_exports__DacDecoderOutput, __webpack_exports__DacEncoderModel, __webpack_exports__DacEncoderOutput, __webpack_exports__DacFeatureExtractor, __webpack_exports__DacModel, __webpack_exports__DacPreTrainedModel, __webpack_exports__DataTypeMap, __webpack_exports__DebertaForMaskedLM, __webpack_exports__DebertaForQuestionAnswering, __webpack_exports__DebertaForSequenceClassification, __webpack_exports__DebertaForTokenClassification, __webpack_exports__DebertaModel, __webpack_exports__DebertaPreTrainedModel, __webpack_exports__DebertaTokenizer, __webpack_exports__DebertaV2ForMaskedLM, __webpack_exports__DebertaV2ForQuestionAnswering, __webpack_exports__DebertaV2ForSequenceClassification, __webpack_exports__DebertaV2ForTokenClassification, __webpack_exports__DebertaV2Model, __webpack_exports__DebertaV2PreTrainedModel, __webpack_exports__DebertaV2Tokenizer, __webpack_exports__DecisionTransformerModel, __webpack_exports__DecisionTransformerPreTrainedModel, __webpack_exports__DeiTFeatureExtractor, __webpack_exports__DeiTForImageClassification, __webpack_exports__DeiTImageProcessor, __webpack_exports__DeiTModel, __webpack_exports__DeiTPreTrainedModel, __webpack_exports__DepthAnythingForDepthEstimation, __webpack_exports__DepthAnythingPreTrainedModel, __webpack_exports__DepthEstimationPipeline, __webpack_exports__DepthProForDepthEstimation, __webpack_exports__DepthProPreTrainedModel, __webpack_exports__DetrFeatureExtractor, __webpack_exports__DetrForObjectDetection, __webpack_exports__DetrForSegmentation, __webpack_exports__DetrImageProcessor, __webpack_exports__DetrModel, __webpack_exports__DetrObjectDetectionOutput, __webpack_exports__DetrPreTrainedModel, __webpack_exports__DetrSegmentationOutput, __webpack_exports__Dinov2ForImageClassification, __webpack_exports__Dinov2Model, __webpack_exports__Dinov2PreTrainedModel, __webpack_exports__Dinov2WithRegistersForImageClassification, __webpack_exports__Dinov2WithRegistersModel, __webpack_exports__Dinov2WithRegistersPreTrainedModel, __webpack_exports__DistilBertForMaskedLM, __webpack_exports__DistilBertForQuestionAnswering, __webpack_exports__DistilBertForSequenceClassification, __webpack_exports__DistilBertForTokenClassification, __webpack_exports__DistilBertModel, __webpack_exports__DistilBertPreTrainedModel, __webpack_exports__DistilBertTokenizer, __webpack_exports__DocumentQuestionAnsweringPipeline, __webpack_exports__DonutFeatureExtractor, __webpack_exports__DonutImageProcessor, __webpack_exports__DonutSwinModel, __webpack_exports__DonutSwinPreTrainedModel, __webpack_exports__EdgeTamModel, __webpack_exports__EfficientNetForImageClassification, __webpack_exports__EfficientNetImageProcessor, __webpack_exports__EfficientNetModel, __webpack_exports__EfficientNetPreTrainedModel, __webpack_exports__ElectraForMaskedLM, __webpack_exports__ElectraForQuestionAnswering, __webpack_exports__ElectraForSequenceClassification, __webpack_exports__ElectraForTokenClassification, __webpack_exports__ElectraModel, __webpack_exports__ElectraPreTrainedModel, __webpack_exports__ElectraTokenizer, __webpack_exports__EncodecFeatureExtractor, __webpack_exports__EosTokenCriteria, __webpack_exports__Ernie4_5_ForCausalLM, __webpack_exports__Ernie4_5_Model, __webpack_exports__Ernie4_5_PretrainedModel, __webpack_exports__Ernie4_5_Tokenizer, __webpack_exports__EsmForMaskedLM, __webpack_exports__EsmForSequenceClassification, __webpack_exports__EsmForTokenClassification, __webpack_exports__EsmModel, __webpack_exports__EsmPreTrainedModel, __webpack_exports__EsmTokenizer, __webpack_exports__ExaoneForCausalLM, __webpack_exports__ExaoneModel, __webpack_exports__ExaonePreTrainedModel, __webpack_exports__FFT, __webpack_exports__FalconForCausalLM, __webpack_exports__FalconModel, __webpack_exports__FalconPreTrainedModel, __webpack_exports__FalconTokenizer, __webpack_exports__FastViTForImageClassification, __webpack_exports__FastViTModel, __webpack_exports__FastViTPreTrainedModel, __webpack_exports__FeatureExtractionPipeline, __webpack_exports__FeatureExtractor, __webpack_exports__FillMaskPipeline, __webpack_exports__Florence2ForConditionalGeneration, __webpack_exports__Florence2PreTrainedModel, __webpack_exports__Florence2Processor, __webpack_exports__ForcedBOSTokenLogitsProcessor, __webpack_exports__ForcedEOSTokenLogitsProcessor, __webpack_exports__GLPNFeatureExtractor, __webpack_exports__GLPNForDepthEstimation, __webpack_exports__GLPNModel, __webpack_exports__GLPNPreTrainedModel, __webpack_exports__GPT2LMHeadModel, __webpack_exports__GPT2Model, __webpack_exports__GPT2PreTrainedModel, __webpack_exports__GPT2Tokenizer, __webpack_exports__GPTBigCodeForCausalLM, __webpack_exports__GPTBigCodeModel, __webpack_exports__GPTBigCodePreTrainedModel, __webpack_exports__GPTJForCausalLM, __webpack_exports__GPTJModel, __webpack_exports__GPTJPreTrainedModel, __webpack_exports__GPTNeoForCausalLM, __webpack_exports__GPTNeoModel, __webpack_exports__GPTNeoPreTrainedModel, __webpack_exports__GPTNeoXForCausalLM, __webpack_exports__GPTNeoXModel, __webpack_exports__GPTNeoXPreTrainedModel, __webpack_exports__GPTNeoXTokenizer, __webpack_exports__Gemma2ForCausalLM, __webpack_exports__Gemma2Model, __webpack_exports__Gemma2PreTrainedModel, __webpack_exports__Gemma3ForCausalLM, __webpack_exports__Gemma3Model, __webpack_exports__Gemma3PreTrainedModel, __webpack_exports__Gemma3nAudioFeatureExtractor, __webpack_exports__Gemma3nForConditionalGeneration, __webpack_exports__Gemma3nPreTrainedModel, __webpack_exports__Gemma3nProcessor, __webpack_exports__GemmaForCausalLM, __webpack_exports__GemmaModel, __webpack_exports__GemmaPreTrainedModel, __webpack_exports__GemmaTokenizer, __webpack_exports__GlmForCausalLM, __webpack_exports__GlmModel, __webpack_exports__GlmPreTrainedModel, __webpack_exports__GraniteForCausalLM, __webpack_exports__GraniteModel, __webpack_exports__GraniteMoeHybridForCausalLM, __webpack_exports__GraniteMoeHybridModel, __webpack_exports__GraniteMoeHybridPreTrainedModel, __webpack_exports__GranitePreTrainedModel, __webpack_exports__Grok1Tokenizer, __webpack_exports__GroundingDinoForObjectDetection, __webpack_exports__GroundingDinoImageProcessor, __webpack_exports__GroundingDinoPreTrainedModel, __webpack_exports__GroundingDinoProcessor, __webpack_exports__GroupViTModel, __webpack_exports__GroupViTPreTrainedModel, __webpack_exports__HeliumForCausalLM, __webpack_exports__HeliumModel, __webpack_exports__HeliumPreTrainedModel, __webpack_exports__HerbertTokenizer, __webpack_exports__HieraForImageClassification, __webpack_exports__HieraModel, __webpack_exports__HieraPreTrainedModel, __webpack_exports__HubertForCTC, __webpack_exports__HubertForSequenceClassification, __webpack_exports__HubertModel, __webpack_exports__HubertPreTrainedModel, __webpack_exports__IJepaForImageClassification, __webpack_exports__IJepaModel, __webpack_exports__IJepaPreTrainedModel, __webpack_exports__Idefics3ForConditionalGeneration, __webpack_exports__Idefics3ImageProcessor, __webpack_exports__Idefics3PreTrainedModel, __webpack_exports__Idefics3Processor, __webpack_exports__ImageClassificationPipeline, __webpack_exports__ImageFeatureExtractionPipeline, __webpack_exports__ImageFeatureExtractor, __webpack_exports__ImageMattingOutput, __webpack_exports__ImageProcessor, __webpack_exports__ImageSegmentationPipeline, __webpack_exports__ImageToImagePipeline, __webpack_exports__ImageToTextPipeline, __webpack_exports__InterruptableStoppingCriteria, __webpack_exports__JAISLMHeadModel, __webpack_exports__JAISModel, __webpack_exports__JAISPreTrainedModel, __webpack_exports__JinaCLIPImageProcessor, __webpack_exports__JinaCLIPModel, __webpack_exports__JinaCLIPPreTrainedModel, __webpack_exports__JinaCLIPProcessor, __webpack_exports__JinaCLIPTextModel, __webpack_exports__JinaCLIPVisionModel, __webpack_exports__Lfm2ForCausalLM, __webpack_exports__Lfm2Model, __webpack_exports__Lfm2PreTrainedModel, __webpack_exports__LiteWhisperForConditionalGeneration, __webpack_exports__Llama4ForCausalLM, __webpack_exports__Llama4PreTrainedModel, __webpack_exports__LlamaForCausalLM, __webpack_exports__LlamaModel, __webpack_exports__LlamaPreTrainedModel, __webpack_exports__LlamaTokenizer, __webpack_exports__LlavaForConditionalGeneration, __webpack_exports__LlavaOnevisionForConditionalGeneration, __webpack_exports__LlavaOnevisionImageProcessor, __webpack_exports__LlavaPreTrainedModel, __webpack_exports__LlavaProcessor, __webpack_exports__LlavaQwen2ForCausalLM, __webpack_exports__LogitsProcessor, __webpack_exports__LogitsProcessorList, __webpack_exports__LogitsWarper, __webpack_exports__LongT5ForConditionalGeneration, __webpack_exports__LongT5Model, __webpack_exports__LongT5PreTrainedModel, __webpack_exports__M2M100ForConditionalGeneration, __webpack_exports__M2M100Model, __webpack_exports__M2M100PreTrainedModel, __webpack_exports__M2M100Tokenizer, __webpack_exports__MBart50Tokenizer, __webpack_exports__MBartForCausalLM, __webpack_exports__MBartForConditionalGeneration, __webpack_exports__MBartForSequenceClassification, __webpack_exports__MBartModel, __webpack_exports__MBartPreTrainedModel, __webpack_exports__MBartTokenizer, __webpack_exports__MPNetForMaskedLM, __webpack_exports__MPNetForQuestionAnswering, __webpack_exports__MPNetForSequenceClassification, __webpack_exports__MPNetForTokenClassification, __webpack_exports__MPNetModel, __webpack_exports__MPNetPreTrainedModel, __webpack_exports__MPNetTokenizer, __webpack_exports__MT5ForConditionalGeneration, __webpack_exports__MT5Model, __webpack_exports__MT5PreTrainedModel, __webpack_exports__MarianMTModel, __webpack_exports__MarianModel, __webpack_exports__MarianPreTrainedModel, __webpack_exports__MarianTokenizer, __webpack_exports__Mask2FormerImageProcessor, __webpack_exports__MaskFormerFeatureExtractor, __webpack_exports__MaskFormerForInstanceSegmentation, __webpack_exports__MaskFormerImageProcessor, __webpack_exports__MaskFormerModel, __webpack_exports__MaskFormerPreTrainedModel, __webpack_exports__MaskedLMOutput, __webpack_exports__MaxLengthCriteria, __webpack_exports__Metric3DForDepthEstimation, __webpack_exports__Metric3DPreTrainedModel, __webpack_exports__Metric3Dv2ForDepthEstimation, __webpack_exports__Metric3Dv2PreTrainedModel, __webpack_exports__MgpstrForSceneTextRecognition, __webpack_exports__MgpstrModelOutput, __webpack_exports__MgpstrPreTrainedModel, __webpack_exports__MgpstrProcessor, __webpack_exports__MgpstrTokenizer, __webpack_exports__MimiDecoderModel, __webpack_exports__MimiDecoderOutput, __webpack_exports__MimiEncoderModel, __webpack_exports__MimiEncoderOutput, __webpack_exports__MimiModel, __webpack_exports__MimiPreTrainedModel, __webpack_exports__MinLengthLogitsProcessor, __webpack_exports__MinNewTokensLengthLogitsProcessor, __webpack_exports__MistralForCausalLM, __webpack_exports__MistralModel, __webpack_exports__MistralPreTrainedModel, __webpack_exports__MobileBertForMaskedLM, __webpack_exports__MobileBertForQuestionAnswering, __webpack_exports__MobileBertForSequenceClassification, __webpack_exports__MobileBertModel, __webpack_exports__MobileBertPreTrainedModel, __webpack_exports__MobileBertTokenizer, __webpack_exports__MobileLLMForCausalLM, __webpack_exports__MobileLLMModel, __webpack_exports__MobileLLMPreTrainedModel, __webpack_exports__MobileNetV1FeatureExtractor, __webpack_exports__MobileNetV1ForImageClassification, __webpack_exports__MobileNetV1ForSemanticSegmentation, __webpack_exports__MobileNetV1ImageProcessor, __webpack_exports__MobileNetV1Model, __webpack_exports__MobileNetV1PreTrainedModel, __webpack_exports__MobileNetV2FeatureExtractor, __webpack_exports__MobileNetV2ForImageClassification, __webpack_exports__MobileNetV2ForSemanticSegmentation, __webpack_exports__MobileNetV2ImageProcessor, __webpack_exports__MobileNetV2Model, __webpack_exports__MobileNetV2PreTrainedModel, __webpack_exports__MobileNetV3FeatureExtractor, __webpack_exports__MobileNetV3ForImageClassification, __webpack_exports__MobileNetV3ForSemanticSegmentation, __webpack_exports__MobileNetV3ImageProcessor, __webpack_exports__MobileNetV3Model, __webpack_exports__MobileNetV3PreTrainedModel, __webpack_exports__MobileNetV4FeatureExtractor, __webpack_exports__MobileNetV4ForImageClassification, __webpack_exports__MobileNetV4ForSemanticSegmentation, __webpack_exports__MobileNetV4ImageProcessor, __webpack_exports__MobileNetV4Model, __webpack_exports__MobileNetV4PreTrainedModel, __webpack_exports__MobileViTFeatureExtractor, __webpack_exports__MobileViTForImageClassification, __webpack_exports__MobileViTImageProcessor, __webpack_exports__MobileViTModel, __webpack_exports__MobileViTPreTrainedModel, __webpack_exports__MobileViTV2ForImageClassification, __webpack_exports__MobileViTV2Model, __webpack_exports__MobileViTV2PreTrainedModel, __webpack_exports__ModelOutput, __webpack_exports__ModernBertDecoderForCausalLM, __webpack_exports__ModernBertDecoderModel, __webpack_exports__ModernBertDecoderPreTrainedModel, __webpack_exports__ModernBertForMaskedLM, __webpack_exports__ModernBertForSequenceClassification, __webpack_exports__ModernBertForTokenClassification, __webpack_exports__ModernBertModel, __webpack_exports__ModernBertPreTrainedModel, __webpack_exports__Moondream1ForConditionalGeneration, __webpack_exports__MoonshineFeatureExtractor, __webpack_exports__MoonshineForConditionalGeneration, __webpack_exports__MoonshineModel, __webpack_exports__MoonshinePreTrainedModel, __webpack_exports__MoonshineProcessor, __webpack_exports__MptForCausalLM, __webpack_exports__MptModel, __webpack_exports__MptPreTrainedModel, __webpack_exports__MultiModalityCausalLM, __webpack_exports__MultiModalityPreTrainedModel, __webpack_exports__MusicgenForCausalLM, __webpack_exports__MusicgenForConditionalGeneration, __webpack_exports__MusicgenModel, __webpack_exports__MusicgenPreTrainedModel, __webpack_exports__NanoChatForCausalLM, __webpack_exports__NanoChatModel, __webpack_exports__NanoChatPreTrainedModel, __webpack_exports__NeoBertForMaskedLM, __webpack_exports__NeoBertForQuestionAnswering, __webpack_exports__NeoBertForSequenceClassification, __webpack_exports__NeoBertForTokenClassification, __webpack_exports__NeoBertModel, __webpack_exports__NeoBertPreTrainedModel, __webpack_exports__NllbTokenizer, __webpack_exports__NoBadWordsLogitsProcessor, __webpack_exports__NoRepeatNGramLogitsProcessor, __webpack_exports__NomicBertModel, __webpack_exports__NomicBertPreTrainedModel, __webpack_exports__NougatImageProcessor, __webpack_exports__NougatTokenizer, __webpack_exports__OPTForCausalLM, __webpack_exports__OPTModel, __webpack_exports__OPTPreTrainedModel, __webpack_exports__ObjectDetectionPipeline, __webpack_exports__Olmo2ForCausalLM, __webpack_exports__Olmo2Model, __webpack_exports__Olmo2PreTrainedModel, __webpack_exports__OlmoForCausalLM, __webpack_exports__OlmoModel, __webpack_exports__OlmoPreTrainedModel, __webpack_exports__OpenELMForCausalLM, __webpack_exports__OpenELMModel, __webpack_exports__OpenELMPreTrainedModel, __webpack_exports__OwlViTFeatureExtractor, __webpack_exports__OwlViTForObjectDetection, __webpack_exports__OwlViTImageProcessor, __webpack_exports__OwlViTModel, __webpack_exports__OwlViTPreTrainedModel, __webpack_exports__OwlViTProcessor, __webpack_exports__Owlv2ForObjectDetection, __webpack_exports__Owlv2ImageProcessor, __webpack_exports__Owlv2Model, __webpack_exports__Owlv2PreTrainedModel, __webpack_exports__PaliGemmaForConditionalGeneration, __webpack_exports__PaliGemmaPreTrainedModel, __webpack_exports__PaliGemmaProcessor, __webpack_exports__ParakeetFeatureExtractor, __webpack_exports__ParakeetForCTC, __webpack_exports__ParakeetPreTrainedModel, __webpack_exports__PatchTSMixerForPrediction, __webpack_exports__PatchTSMixerModel, __webpack_exports__PatchTSMixerPreTrainedModel, __webpack_exports__PatchTSTForPrediction, __webpack_exports__PatchTSTModel, __webpack_exports__PatchTSTPreTrainedModel, __webpack_exports__Phi3ForCausalLM, __webpack_exports__Phi3Model, __webpack_exports__Phi3PreTrainedModel, __webpack_exports__Phi3VForCausalLM, __webpack_exports__Phi3VImageProcessor, __webpack_exports__Phi3VPreTrainedModel, __webpack_exports__Phi3VProcessor, __webpack_exports__PhiForCausalLM, __webpack_exports__PhiModel, __webpack_exports__PhiPreTrainedModel, __webpack_exports__Pipeline, __webpack_exports__PreTrainedModel, __webpack_exports__PreTrainedTokenizer, __webpack_exports__PretrainedConfig, __webpack_exports__PretrainedMixin, __webpack_exports__Processor, __webpack_exports__PvtForImageClassification, __webpack_exports__PvtImageProcessor, __webpack_exports__PvtModel, __webpack_exports__PvtPreTrainedModel, __webpack_exports__PyAnnoteFeatureExtractor, __webpack_exports__PyAnnoteForAudioFrameClassification, __webpack_exports__PyAnnoteModel, __webpack_exports__PyAnnotePreTrainedModel, __webpack_exports__PyAnnoteProcessor, __webpack_exports__QuestionAnsweringModelOutput, __webpack_exports__QuestionAnsweringPipeline, __webpack_exports__Qwen2ForCausalLM, __webpack_exports__Qwen2Model, __webpack_exports__Qwen2PreTrainedModel, __webpack_exports__Qwen2Tokenizer, __webpack_exports__Qwen2VLForConditionalGeneration, __webpack_exports__Qwen2VLImageProcessor, __webpack_exports__Qwen2VLPreTrainedModel, __webpack_exports__Qwen2VLProcessor, __webpack_exports__Qwen3ForCausalLM, __webpack_exports__Qwen3Model, __webpack_exports__Qwen3PreTrainedModel, __webpack_exports__RFDetrForObjectDetection, __webpack_exports__RFDetrModel, __webpack_exports__RFDetrObjectDetectionOutput, __webpack_exports__RFDetrPreTrainedModel, __webpack_exports__RTDetrForObjectDetection, __webpack_exports__RTDetrImageProcessor, __webpack_exports__RTDetrModel, __webpack_exports__RTDetrObjectDetectionOutput, __webpack_exports__RTDetrPreTrainedModel, __webpack_exports__RTDetrV2ForObjectDetection, __webpack_exports__RTDetrV2Model, __webpack_exports__RTDetrV2ObjectDetectionOutput, __webpack_exports__RTDetrV2PreTrainedModel, __webpack_exports__RawAudio, __webpack_exports__RawImage, __webpack_exports__RawVideo, __webpack_exports__RawVideoFrame, __webpack_exports__RepetitionPenaltyLogitsProcessor, __webpack_exports__ResNetForImageClassification, __webpack_exports__ResNetModel, __webpack_exports__ResNetPreTrainedModel, __webpack_exports__RoFormerForMaskedLM, __webpack_exports__RoFormerForQuestionAnswering, __webpack_exports__RoFormerForSequenceClassification, __webpack_exports__RoFormerForTokenClassification, __webpack_exports__RoFormerModel, __webpack_exports__RoFormerPreTrainedModel, __webpack_exports__RoFormerTokenizer, __webpack_exports__RobertaForMaskedLM, __webpack_exports__RobertaForQuestionAnswering, __webpack_exports__RobertaForSequenceClassification, __webpack_exports__RobertaForTokenClassification, __webpack_exports__RobertaModel, __webpack_exports__RobertaPreTrainedModel, __webpack_exports__RobertaTokenizer, __webpack_exports__Sam2ImageProcessor, __webpack_exports__Sam2ImageSegmentationOutput, __webpack_exports__Sam2Model, __webpack_exports__Sam2PreTrainedModel, __webpack_exports__Sam2Processor, __webpack_exports__Sam2VideoProcessor, __webpack_exports__Sam3ImageProcessor, __webpack_exports__Sam3TrackerModel, __webpack_exports__SamImageProcessor, __webpack_exports__SamImageSegmentationOutput, __webpack_exports__SamModel, __webpack_exports__SamPreTrainedModel, __webpack_exports__SamProcessor, __webpack_exports__SapiensForDepthEstimation, __webpack_exports__SapiensForNormalEstimation, __webpack_exports__SapiensForSemanticSegmentation, __webpack_exports__SapiensPreTrainedModel, __webpack_exports__SeamlessM4TFeatureExtractor, __webpack_exports__SegformerFeatureExtractor, __webpack_exports__SegformerForImageClassification, __webpack_exports__SegformerForSemanticSegmentation, __webpack_exports__SegformerImageProcessor, __webpack_exports__SegformerModel, __webpack_exports__SegformerPreTrainedModel, __webpack_exports__Seq2SeqLMOutput, __webpack_exports__SequenceClassifierOutput, __webpack_exports__SiglipImageProcessor, __webpack_exports__SiglipModel, __webpack_exports__SiglipPreTrainedModel, __webpack_exports__SiglipTextModel, __webpack_exports__SiglipTokenizer, __webpack_exports__SiglipVisionModel, __webpack_exports__SmolLM3ForCausalLM, __webpack_exports__SmolLM3Model, __webpack_exports__SmolLM3PreTrainedModel, __webpack_exports__SmolVLMForConditionalGeneration, __webpack_exports__SmolVLMImageProcessor, __webpack_exports__SmolVLMProcessor, __webpack_exports__SnacDecoderModel, __webpack_exports__SnacEncoderModel, __webpack_exports__SnacFeatureExtractor, __webpack_exports__SnacModel, __webpack_exports__SnacPreTrainedModel, __webpack_exports__SpeechT5FeatureExtractor, __webpack_exports__SpeechT5ForSpeechToText, __webpack_exports__SpeechT5ForTextToSpeech, __webpack_exports__SpeechT5HifiGan, __webpack_exports__SpeechT5Model, __webpack_exports__SpeechT5PreTrainedModel, __webpack_exports__SpeechT5Processor, __webpack_exports__SpeechT5Tokenizer, __webpack_exports__SqueezeBertForMaskedLM, __webpack_exports__SqueezeBertForQuestionAnswering, __webpack_exports__SqueezeBertForSequenceClassification, __webpack_exports__SqueezeBertModel, __webpack_exports__SqueezeBertPreTrainedModel, __webpack_exports__SqueezeBertTokenizer, __webpack_exports__StableLmForCausalLM, __webpack_exports__StableLmModel, __webpack_exports__StableLmPreTrainedModel, __webpack_exports__Starcoder2ForCausalLM, __webpack_exports__Starcoder2Model, __webpack_exports__Starcoder2PreTrainedModel, __webpack_exports__StoppingCriteria, __webpack_exports__StoppingCriteriaList, __webpack_exports__StyleTextToSpeech2Model, __webpack_exports__StyleTextToSpeech2PreTrainedModel, __webpack_exports__SummarizationPipeline, __webpack_exports__SupertonicForConditionalGeneration, __webpack_exports__SupertonicPreTrainedModel, __webpack_exports__SuppressTokensAtBeginLogitsProcessor, __webpack_exports__Swin2SRForImageSuperResolution, __webpack_exports__Swin2SRImageProcessor, __webpack_exports__Swin2SRModel, __webpack_exports__Swin2SRPreTrainedModel, __webpack_exports__SwinForImageClassification, __webpack_exports__SwinForSemanticSegmentation, __webpack_exports__SwinModel, __webpack_exports__SwinPreTrainedModel, __webpack_exports__T5ForConditionalGeneration, __webpack_exports__T5Model, __webpack_exports__T5PreTrainedModel, __webpack_exports__T5Tokenizer, __webpack_exports__TableTransformerForObjectDetection, __webpack_exports__TableTransformerModel, __webpack_exports__TableTransformerObjectDetectionOutput, __webpack_exports__TableTransformerPreTrainedModel, __webpack_exports__TemperatureLogitsWarper, __webpack_exports__Tensor, __webpack_exports__Text2TextGenerationPipeline, __webpack_exports__TextClassificationPipeline, __webpack_exports__TextGenerationPipeline, __webpack_exports__TextStreamer, __webpack_exports__TextToAudioPipeline, __webpack_exports__TokenClassificationPipeline, __webpack_exports__TokenClassifierOutput, __webpack_exports__TokenizerModel, __webpack_exports__TopKLogitsWarper, __webpack_exports__TopPLogitsWarper, __webpack_exports__TrOCRForCausalLM, __webpack_exports__TrOCRPreTrainedModel, __webpack_exports__TranslationPipeline, __webpack_exports__UltravoxModel, __webpack_exports__UltravoxPreTrainedModel, __webpack_exports__UltravoxProcessor, __webpack_exports__UniSpeechForCTC, __webpack_exports__UniSpeechForSequenceClassification, __webpack_exports__UniSpeechModel, __webpack_exports__UniSpeechPreTrainedModel, __webpack_exports__UniSpeechSatForAudioFrameClassification, __webpack_exports__UniSpeechSatForCTC, __webpack_exports__UniSpeechSatForSequenceClassification, __webpack_exports__UniSpeechSatModel, __webpack_exports__UniSpeechSatPreTrainedModel, __webpack_exports__VLChatProcessor, __webpack_exports__VLMImageProcessor, __webpack_exports__VaultGemmaForCausalLM, __webpack_exports__VaultGemmaModel, __webpack_exports__VaultGemmaPreTrainedModel, __webpack_exports__ViTFeatureExtractor, __webpack_exports__ViTForImageClassification, __webpack_exports__ViTImageProcessor, __webpack_exports__ViTMAEModel, __webpack_exports__ViTMAEPreTrainedModel, __webpack_exports__ViTMSNForImageClassification, __webpack_exports__ViTMSNModel, __webpack_exports__ViTMSNPreTrainedModel, __webpack_exports__ViTModel, __webpack_exports__ViTPreTrainedModel, __webpack_exports__VisionEncoderDecoderModel, __webpack_exports__VitMatteForImageMatting, __webpack_exports__VitMatteImageProcessor, __webpack_exports__VitMattePreTrainedModel, __webpack_exports__VitPoseForPoseEstimation, __webpack_exports__VitPoseImageProcessor, __webpack_exports__VitPosePreTrainedModel, __webpack_exports__VitsModel, __webpack_exports__VitsModelOutput, __webpack_exports__VitsPreTrainedModel, __webpack_exports__VitsTokenizer, __webpack_exports__VoxtralForConditionalGeneration, __webpack_exports__VoxtralProcessor, __webpack_exports__Wav2Vec2BertForCTC, __webpack_exports__Wav2Vec2BertForSequenceClassification, __webpack_exports__Wav2Vec2BertModel, __webpack_exports__Wav2Vec2BertPreTrainedModel, __webpack_exports__Wav2Vec2CTCTokenizer, __webpack_exports__Wav2Vec2FeatureExtractor, __webpack_exports__Wav2Vec2ForAudioFrameClassification, __webpack_exports__Wav2Vec2ForCTC, __webpack_exports__Wav2Vec2ForSequenceClassification, __webpack_exports__Wav2Vec2Model, __webpack_exports__Wav2Vec2PreTrainedModel, __webpack_exports__Wav2Vec2Processor, __webpack_exports__Wav2Vec2ProcessorWithLM, __webpack_exports__WavLMForAudioFrameClassification, __webpack_exports__WavLMForCTC, __webpack_exports__WavLMForSequenceClassification, __webpack_exports__WavLMForXVector, __webpack_exports__WavLMModel, __webpack_exports__WavLMPreTrainedModel, __webpack_exports__WeSpeakerFeatureExtractor, __webpack_exports__WeSpeakerResNetModel, __webpack_exports__WeSpeakerResNetPreTrainedModel, __webpack_exports__WhisperFeatureExtractor, __webpack_exports__WhisperForConditionalGeneration, __webpack_exports__WhisperModel, __webpack_exports__WhisperPreTrainedModel, __webpack_exports__WhisperProcessor, __webpack_exports__WhisperTextStreamer, __webpack_exports__WhisperTimeStampLogitsProcessor, __webpack_exports__WhisperTokenizer, __webpack_exports__XLMForQuestionAnswering, __webpack_exports__XLMForSequenceClassification, __webpack_exports__XLMForTokenClassification, __webpack_exports__XLMModel, __webpack_exports__XLMPreTrainedModel, __webpack_exports__XLMRobertaForMaskedLM, __webpack_exports__XLMRobertaForQuestionAnswering, __webpack_exports__XLMRobertaForSequenceClassification, __webpack_exports__XLMRobertaForTokenClassification, __webpack_exports__XLMRobertaModel, __webpack_exports__XLMRobertaPreTrainedModel, __webpack_exports__XLMRobertaTokenizer, __webpack_exports__XLMTokenizer, __webpack_exports__XLMWithLMHeadModel, __webpack_exports__XVectorOutput, __webpack_exports__YolosFeatureExtractor, __webpack_exports__YolosForObjectDetection, __webpack_exports__YolosImageProcessor, __webpack_exports__YolosModel, __webpack_exports__YolosObjectDetectionOutput, __webpack_exports__YolosPreTrainedModel, __webpack_exports__ZeroShotAudioClassificationPipeline, __webpack_exports__ZeroShotClassificationPipeline, __webpack_exports__ZeroShotImageClassificationPipeline, __webpack_exports__ZeroShotObjectDetectionPipeline, __webpack_exports__bankers_round, __webpack_exports__cat, __webpack_exports__cos_sim, __webpack_exports__dot, __webpack_exports__dynamic_time_warping, __webpack_exports__env, __webpack_exports__full, __webpack_exports__full_like, __webpack_exports__getCacheShapes, __webpack_exports__hamming, __webpack_exports__hanning, __webpack_exports__interpolate, __webpack_exports__interpolate_4d, __webpack_exports__interpolate_data, __webpack_exports__is_chinese_char, __webpack_exports__layer_norm, __webpack_exports__load_image, __webpack_exports__load_video, __webpack_exports__log_softmax, __webpack_exports__magnitude, __webpack_exports__matmul, __webpack_exports__max, __webpack_exports__mean, __webpack_exports__mean_pooling, __webpack_exports__medianFilter, __webpack_exports__mel_filter_bank, __webpack_exports__min, __webpack_exports__ones, __webpack_exports__ones_like, __webpack_exports__permute, __webpack_exports__permute_data, __webpack_exports__pipeline, __webpack_exports__quantize_embeddings, __webpack_exports__rand, __webpack_exports__randn, __webpack_exports__read_audio, __webpack_exports__rfft, __webpack_exports__round, __webpack_exports__slice, __webpack_exports__softmax, __webpack_exports__spectrogram, __webpack_exports__stack, __webpack_exports__std_mean, __webpack_exports__topk, __webpack_exports__window_function, __webpack_exports__zeros, __webpack_exports__zeros_like;
10213
+ var __WEBPACK_EXTERNAL_MODULE_node_fs_75ed2103__, __WEBPACK_EXTERNAL_MODULE_node_path_02319fef__, __WEBPACK_EXTERNAL_MODULE_node_url_da953c0c__, __WEBPACK_EXTERNAL_MODULE_onnxruntime_node_6a60201e__, __WEBPACK_EXTERNAL_MODULE_sharp__, import_meta, __webpack_modules__, __webpack_module_cache__, __webpack_exports__, __webpack_exports__ASTFeatureExtractor, __webpack_exports__ASTForAudioClassification, __webpack_exports__ASTModel, __webpack_exports__ASTPreTrainedModel, __webpack_exports__AlbertForMaskedLM, __webpack_exports__AlbertForQuestionAnswering, __webpack_exports__AlbertForSequenceClassification, __webpack_exports__AlbertModel, __webpack_exports__AlbertPreTrainedModel, __webpack_exports__AlbertTokenizer, __webpack_exports__ArceeForCausalLM, __webpack_exports__ArceeModel, __webpack_exports__ArceePreTrainedModel, __webpack_exports__AudioClassificationPipeline, __webpack_exports__AutoConfig, __webpack_exports__AutoFeatureExtractor, __webpack_exports__AutoImageProcessor, __webpack_exports__AutoModel, __webpack_exports__AutoModelForAudioClassification, __webpack_exports__AutoModelForAudioFrameClassification, __webpack_exports__AutoModelForAudioTextToText, __webpack_exports__AutoModelForCTC, __webpack_exports__AutoModelForCausalLM, __webpack_exports__AutoModelForDepthEstimation, __webpack_exports__AutoModelForDocumentQuestionAnswering, __webpack_exports__AutoModelForImageClassification, __webpack_exports__AutoModelForImageFeatureExtraction, __webpack_exports__AutoModelForImageMatting, __webpack_exports__AutoModelForImageSegmentation, __webpack_exports__AutoModelForImageTextToText, __webpack_exports__AutoModelForImageToImage, __webpack_exports__AutoModelForMaskGeneration, __webpack_exports__AutoModelForMaskedLM, __webpack_exports__AutoModelForNormalEstimation, __webpack_exports__AutoModelForObjectDetection, __webpack_exports__AutoModelForPoseEstimation, __webpack_exports__AutoModelForQuestionAnswering, __webpack_exports__AutoModelForSemanticSegmentation, __webpack_exports__AutoModelForSeq2SeqLM, __webpack_exports__AutoModelForSequenceClassification, __webpack_exports__AutoModelForSpeechSeq2Seq, __webpack_exports__AutoModelForTextToSpectrogram, __webpack_exports__AutoModelForTextToWaveform, __webpack_exports__AutoModelForTokenClassification, __webpack_exports__AutoModelForUniversalSegmentation, __webpack_exports__AutoModelForVision2Seq, __webpack_exports__AutoModelForXVector, __webpack_exports__AutoModelForZeroShotObjectDetection, __webpack_exports__AutoProcessor, __webpack_exports__AutoTokenizer, __webpack_exports__AutomaticSpeechRecognitionPipeline, __webpack_exports__BackgroundRemovalPipeline, __webpack_exports__BartForConditionalGeneration, __webpack_exports__BartForSequenceClassification, __webpack_exports__BartModel, __webpack_exports__BartPretrainedModel, __webpack_exports__BartTokenizer, __webpack_exports__BaseModelOutput, __webpack_exports__BaseStreamer, __webpack_exports__BeitFeatureExtractor, __webpack_exports__BeitForImageClassification, __webpack_exports__BeitModel, __webpack_exports__BeitPreTrainedModel, __webpack_exports__BertForMaskedLM, __webpack_exports__BertForQuestionAnswering, __webpack_exports__BertForSequenceClassification, __webpack_exports__BertForTokenClassification, __webpack_exports__BertModel, __webpack_exports__BertPreTrainedModel, __webpack_exports__BertTokenizer, __webpack_exports__BitImageProcessor, __webpack_exports__BlenderbotForConditionalGeneration, __webpack_exports__BlenderbotModel, __webpack_exports__BlenderbotPreTrainedModel, __webpack_exports__BlenderbotSmallForConditionalGeneration, __webpack_exports__BlenderbotSmallModel, __webpack_exports__BlenderbotSmallPreTrainedModel, __webpack_exports__BlenderbotSmallTokenizer, __webpack_exports__BlenderbotTokenizer, __webpack_exports__BloomForCausalLM, __webpack_exports__BloomModel, __webpack_exports__BloomPreTrainedModel, __webpack_exports__BloomTokenizer, __webpack_exports__CLIPFeatureExtractor, __webpack_exports__CLIPImageProcessor, __webpack_exports__CLIPModel, __webpack_exports__CLIPPreTrainedModel, __webpack_exports__CLIPSegForImageSegmentation, __webpack_exports__CLIPSegModel, __webpack_exports__CLIPSegPreTrainedModel, __webpack_exports__CLIPTextModel, __webpack_exports__CLIPTextModelWithProjection, __webpack_exports__CLIPTokenizer, __webpack_exports__CLIPVisionModel, __webpack_exports__CLIPVisionModelWithProjection, __webpack_exports__CamembertForMaskedLM, __webpack_exports__CamembertForQuestionAnswering, __webpack_exports__CamembertForSequenceClassification, __webpack_exports__CamembertForTokenClassification, __webpack_exports__CamembertModel, __webpack_exports__CamembertPreTrainedModel, __webpack_exports__CamembertTokenizer, __webpack_exports__CausalLMOutput, __webpack_exports__CausalLMOutputWithPast, __webpack_exports__ChineseCLIPFeatureExtractor, __webpack_exports__ChineseCLIPModel, __webpack_exports__ChineseCLIPPreTrainedModel, __webpack_exports__ClapAudioModelWithProjection, __webpack_exports__ClapFeatureExtractor, __webpack_exports__ClapModel, __webpack_exports__ClapPreTrainedModel, __webpack_exports__ClapTextModelWithProjection, __webpack_exports__ClassifierFreeGuidanceLogitsProcessor, __webpack_exports__CodeGenForCausalLM, __webpack_exports__CodeGenModel, __webpack_exports__CodeGenPreTrainedModel, __webpack_exports__CodeGenTokenizer, __webpack_exports__CodeLlamaTokenizer, __webpack_exports__CohereForCausalLM, __webpack_exports__CohereModel, __webpack_exports__CoherePreTrainedModel, __webpack_exports__CohereTokenizer, __webpack_exports__ConvBertForMaskedLM, __webpack_exports__ConvBertForQuestionAnswering, __webpack_exports__ConvBertForSequenceClassification, __webpack_exports__ConvBertForTokenClassification, __webpack_exports__ConvBertModel, __webpack_exports__ConvBertPreTrainedModel, __webpack_exports__ConvBertTokenizer, __webpack_exports__ConvNextFeatureExtractor, __webpack_exports__ConvNextForImageClassification, __webpack_exports__ConvNextImageProcessor, __webpack_exports__ConvNextModel, __webpack_exports__ConvNextPreTrainedModel, __webpack_exports__ConvNextV2ForImageClassification, __webpack_exports__ConvNextV2Model, __webpack_exports__ConvNextV2PreTrainedModel, __webpack_exports__DFineForObjectDetection, __webpack_exports__DFineModel, __webpack_exports__DFinePreTrainedModel, __webpack_exports__DINOv3ConvNextModel, __webpack_exports__DINOv3ConvNextPreTrainedModel, __webpack_exports__DINOv3ViTImageProcessor, __webpack_exports__DINOv3ViTModel, __webpack_exports__DINOv3ViTPreTrainedModel, __webpack_exports__DPTFeatureExtractor, __webpack_exports__DPTForDepthEstimation, __webpack_exports__DPTImageProcessor, __webpack_exports__DPTModel, __webpack_exports__DPTPreTrainedModel, __webpack_exports__DacDecoderModel, __webpack_exports__DacDecoderOutput, __webpack_exports__DacEncoderModel, __webpack_exports__DacEncoderOutput, __webpack_exports__DacFeatureExtractor, __webpack_exports__DacModel, __webpack_exports__DacPreTrainedModel, __webpack_exports__DataTypeMap, __webpack_exports__DebertaForMaskedLM, __webpack_exports__DebertaForQuestionAnswering, __webpack_exports__DebertaForSequenceClassification, __webpack_exports__DebertaForTokenClassification, __webpack_exports__DebertaModel, __webpack_exports__DebertaPreTrainedModel, __webpack_exports__DebertaTokenizer, __webpack_exports__DebertaV2ForMaskedLM, __webpack_exports__DebertaV2ForQuestionAnswering, __webpack_exports__DebertaV2ForSequenceClassification, __webpack_exports__DebertaV2ForTokenClassification, __webpack_exports__DebertaV2Model, __webpack_exports__DebertaV2PreTrainedModel, __webpack_exports__DebertaV2Tokenizer, __webpack_exports__DecisionTransformerModel, __webpack_exports__DecisionTransformerPreTrainedModel, __webpack_exports__DeiTFeatureExtractor, __webpack_exports__DeiTForImageClassification, __webpack_exports__DeiTImageProcessor, __webpack_exports__DeiTModel, __webpack_exports__DeiTPreTrainedModel, __webpack_exports__DepthAnythingForDepthEstimation, __webpack_exports__DepthAnythingPreTrainedModel, __webpack_exports__DepthEstimationPipeline, __webpack_exports__DepthProForDepthEstimation, __webpack_exports__DepthProPreTrainedModel, __webpack_exports__DetrFeatureExtractor, __webpack_exports__DetrForObjectDetection, __webpack_exports__DetrForSegmentation, __webpack_exports__DetrImageProcessor, __webpack_exports__DetrModel, __webpack_exports__DetrObjectDetectionOutput, __webpack_exports__DetrPreTrainedModel, __webpack_exports__DetrSegmentationOutput, __webpack_exports__Dinov2ForImageClassification, __webpack_exports__Dinov2Model, __webpack_exports__Dinov2PreTrainedModel, __webpack_exports__Dinov2WithRegistersForImageClassification, __webpack_exports__Dinov2WithRegistersModel, __webpack_exports__Dinov2WithRegistersPreTrainedModel, __webpack_exports__DistilBertForMaskedLM, __webpack_exports__DistilBertForQuestionAnswering, __webpack_exports__DistilBertForSequenceClassification, __webpack_exports__DistilBertForTokenClassification, __webpack_exports__DistilBertModel, __webpack_exports__DistilBertPreTrainedModel, __webpack_exports__DistilBertTokenizer, __webpack_exports__DocumentQuestionAnsweringPipeline, __webpack_exports__DonutFeatureExtractor, __webpack_exports__DonutImageProcessor, __webpack_exports__DonutSwinModel, __webpack_exports__DonutSwinPreTrainedModel, __webpack_exports__EdgeTamModel, __webpack_exports__EfficientNetForImageClassification, __webpack_exports__EfficientNetImageProcessor, __webpack_exports__EfficientNetModel, __webpack_exports__EfficientNetPreTrainedModel, __webpack_exports__ElectraForMaskedLM, __webpack_exports__ElectraForQuestionAnswering, __webpack_exports__ElectraForSequenceClassification, __webpack_exports__ElectraForTokenClassification, __webpack_exports__ElectraModel, __webpack_exports__ElectraPreTrainedModel, __webpack_exports__ElectraTokenizer, __webpack_exports__EncodecFeatureExtractor, __webpack_exports__EosTokenCriteria, __webpack_exports__Ernie4_5ForCausalLM, __webpack_exports__Ernie4_5Model, __webpack_exports__Ernie4_5PreTrainedModel, __webpack_exports__EsmForMaskedLM, __webpack_exports__EsmForSequenceClassification, __webpack_exports__EsmForTokenClassification, __webpack_exports__EsmModel, __webpack_exports__EsmPreTrainedModel, __webpack_exports__EsmTokenizer, __webpack_exports__ExaoneForCausalLM, __webpack_exports__ExaoneModel, __webpack_exports__ExaonePreTrainedModel, __webpack_exports__FFT, __webpack_exports__FalconForCausalLM, __webpack_exports__FalconModel, __webpack_exports__FalconPreTrainedModel, __webpack_exports__FalconTokenizer, __webpack_exports__FastViTForImageClassification, __webpack_exports__FastViTModel, __webpack_exports__FastViTPreTrainedModel, __webpack_exports__FeatureExtractionPipeline, __webpack_exports__FeatureExtractor, __webpack_exports__FillMaskPipeline, __webpack_exports__Florence2ForConditionalGeneration, __webpack_exports__Florence2PreTrainedModel, __webpack_exports__Florence2Processor, __webpack_exports__ForcedBOSTokenLogitsProcessor, __webpack_exports__ForcedEOSTokenLogitsProcessor, __webpack_exports__GLPNFeatureExtractor, __webpack_exports__GLPNForDepthEstimation, __webpack_exports__GLPNModel, __webpack_exports__GLPNPreTrainedModel, __webpack_exports__GPT2LMHeadModel, __webpack_exports__GPT2Model, __webpack_exports__GPT2PreTrainedModel, __webpack_exports__GPT2Tokenizer, __webpack_exports__GPTBigCodeForCausalLM, __webpack_exports__GPTBigCodeModel, __webpack_exports__GPTBigCodePreTrainedModel, __webpack_exports__GPTJForCausalLM, __webpack_exports__GPTJModel, __webpack_exports__GPTJPreTrainedModel, __webpack_exports__GPTNeoForCausalLM, __webpack_exports__GPTNeoModel, __webpack_exports__GPTNeoPreTrainedModel, __webpack_exports__GPTNeoXForCausalLM, __webpack_exports__GPTNeoXModel, __webpack_exports__GPTNeoXPreTrainedModel, __webpack_exports__GPTNeoXTokenizer, __webpack_exports__Gemma2ForCausalLM, __webpack_exports__Gemma2Model, __webpack_exports__Gemma2PreTrainedModel, __webpack_exports__Gemma3ForCausalLM, __webpack_exports__Gemma3Model, __webpack_exports__Gemma3PreTrainedModel, __webpack_exports__Gemma3nAudioFeatureExtractor, __webpack_exports__Gemma3nForConditionalGeneration, __webpack_exports__Gemma3nPreTrainedModel, __webpack_exports__Gemma3nProcessor, __webpack_exports__GemmaForCausalLM, __webpack_exports__GemmaModel, __webpack_exports__GemmaPreTrainedModel, __webpack_exports__GemmaTokenizer, __webpack_exports__GlmForCausalLM, __webpack_exports__GlmModel, __webpack_exports__GlmPreTrainedModel, __webpack_exports__GraniteForCausalLM, __webpack_exports__GraniteModel, __webpack_exports__GraniteMoeHybridForCausalLM, __webpack_exports__GraniteMoeHybridModel, __webpack_exports__GraniteMoeHybridPreTrainedModel, __webpack_exports__GranitePreTrainedModel, __webpack_exports__Grok1Tokenizer, __webpack_exports__GroundingDinoForObjectDetection, __webpack_exports__GroundingDinoImageProcessor, __webpack_exports__GroundingDinoPreTrainedModel, __webpack_exports__GroundingDinoProcessor, __webpack_exports__GroupViTModel, __webpack_exports__GroupViTPreTrainedModel, __webpack_exports__HeliumForCausalLM, __webpack_exports__HeliumModel, __webpack_exports__HeliumPreTrainedModel, __webpack_exports__HerbertTokenizer, __webpack_exports__HieraForImageClassification, __webpack_exports__HieraModel, __webpack_exports__HieraPreTrainedModel, __webpack_exports__HubertForCTC, __webpack_exports__HubertForSequenceClassification, __webpack_exports__HubertModel, __webpack_exports__HubertPreTrainedModel, __webpack_exports__IJepaForImageClassification, __webpack_exports__IJepaModel, __webpack_exports__IJepaPreTrainedModel, __webpack_exports__Idefics3ForConditionalGeneration, __webpack_exports__Idefics3ImageProcessor, __webpack_exports__Idefics3PreTrainedModel, __webpack_exports__Idefics3Processor, __webpack_exports__ImageClassificationPipeline, __webpack_exports__ImageFeatureExtractionPipeline, __webpack_exports__ImageFeatureExtractor, __webpack_exports__ImageMattingOutput, __webpack_exports__ImageProcessor, __webpack_exports__ImageSegmentationPipeline, __webpack_exports__ImageToImagePipeline, __webpack_exports__ImageToTextPipeline, __webpack_exports__InterruptableStoppingCriteria, __webpack_exports__JAISLMHeadModel, __webpack_exports__JAISModel, __webpack_exports__JAISPreTrainedModel, __webpack_exports__JinaCLIPImageProcessor, __webpack_exports__JinaCLIPModel, __webpack_exports__JinaCLIPPreTrainedModel, __webpack_exports__JinaCLIPProcessor, __webpack_exports__JinaCLIPTextModel, __webpack_exports__JinaCLIPVisionModel, __webpack_exports__Lfm2ForCausalLM, __webpack_exports__Lfm2Model, __webpack_exports__Lfm2PreTrainedModel, __webpack_exports__LiteWhisperForConditionalGeneration, __webpack_exports__Llama4ForCausalLM, __webpack_exports__Llama4PreTrainedModel, __webpack_exports__LlamaForCausalLM, __webpack_exports__LlamaModel, __webpack_exports__LlamaPreTrainedModel, __webpack_exports__LlamaTokenizer, __webpack_exports__LlavaForConditionalGeneration, __webpack_exports__LlavaOnevisionForConditionalGeneration, __webpack_exports__LlavaOnevisionImageProcessor, __webpack_exports__LlavaPreTrainedModel, __webpack_exports__LlavaProcessor, __webpack_exports__LlavaQwen2ForCausalLM, __webpack_exports__LogitsProcessor, __webpack_exports__LogitsProcessorList, __webpack_exports__LogitsWarper, __webpack_exports__LongT5ForConditionalGeneration, __webpack_exports__LongT5Model, __webpack_exports__LongT5PreTrainedModel, __webpack_exports__M2M100ForConditionalGeneration, __webpack_exports__M2M100Model, __webpack_exports__M2M100PreTrainedModel, __webpack_exports__M2M100Tokenizer, __webpack_exports__MBart50Tokenizer, __webpack_exports__MBartForCausalLM, __webpack_exports__MBartForConditionalGeneration, __webpack_exports__MBartForSequenceClassification, __webpack_exports__MBartModel, __webpack_exports__MBartPreTrainedModel, __webpack_exports__MBartTokenizer, __webpack_exports__MPNetForMaskedLM, __webpack_exports__MPNetForQuestionAnswering, __webpack_exports__MPNetForSequenceClassification, __webpack_exports__MPNetForTokenClassification, __webpack_exports__MPNetModel, __webpack_exports__MPNetPreTrainedModel, __webpack_exports__MPNetTokenizer, __webpack_exports__MT5ForConditionalGeneration, __webpack_exports__MT5Model, __webpack_exports__MT5PreTrainedModel, __webpack_exports__MarianMTModel, __webpack_exports__MarianModel, __webpack_exports__MarianPreTrainedModel, __webpack_exports__MarianTokenizer, __webpack_exports__Mask2FormerImageProcessor, __webpack_exports__MaskFormerFeatureExtractor, __webpack_exports__MaskFormerForInstanceSegmentation, __webpack_exports__MaskFormerImageProcessor, __webpack_exports__MaskFormerModel, __webpack_exports__MaskFormerPreTrainedModel, __webpack_exports__MaskedLMOutput, __webpack_exports__MaxLengthCriteria, __webpack_exports__Metric3DForDepthEstimation, __webpack_exports__Metric3DPreTrainedModel, __webpack_exports__Metric3Dv2ForDepthEstimation, __webpack_exports__Metric3Dv2PreTrainedModel, __webpack_exports__MgpstrForSceneTextRecognition, __webpack_exports__MgpstrModelOutput, __webpack_exports__MgpstrPreTrainedModel, __webpack_exports__MgpstrProcessor, __webpack_exports__MgpstrTokenizer, __webpack_exports__MimiDecoderModel, __webpack_exports__MimiDecoderOutput, __webpack_exports__MimiEncoderModel, __webpack_exports__MimiEncoderOutput, __webpack_exports__MimiModel, __webpack_exports__MimiPreTrainedModel, __webpack_exports__MinLengthLogitsProcessor, __webpack_exports__MinNewTokensLengthLogitsProcessor, __webpack_exports__Ministral3ForCausalLM, __webpack_exports__Ministral3Model, __webpack_exports__Ministral3PreTrainedModel, __webpack_exports__MinistralForCausalLM, __webpack_exports__MinistralModel, __webpack_exports__MinistralPreTrainedModel, __webpack_exports__Mistral3ForConditionalGeneration, __webpack_exports__MistralForCausalLM, __webpack_exports__MistralModel, __webpack_exports__MistralPreTrainedModel, __webpack_exports__MobileBertForMaskedLM, __webpack_exports__MobileBertForQuestionAnswering, __webpack_exports__MobileBertForSequenceClassification, __webpack_exports__MobileBertModel, __webpack_exports__MobileBertPreTrainedModel, __webpack_exports__MobileBertTokenizer, __webpack_exports__MobileLLMForCausalLM, __webpack_exports__MobileLLMModel, __webpack_exports__MobileLLMPreTrainedModel, __webpack_exports__MobileNetV1FeatureExtractor, __webpack_exports__MobileNetV1ForImageClassification, __webpack_exports__MobileNetV1ForSemanticSegmentation, __webpack_exports__MobileNetV1ImageProcessor, __webpack_exports__MobileNetV1Model, __webpack_exports__MobileNetV1PreTrainedModel, __webpack_exports__MobileNetV2FeatureExtractor, __webpack_exports__MobileNetV2ForImageClassification, __webpack_exports__MobileNetV2ForSemanticSegmentation, __webpack_exports__MobileNetV2ImageProcessor, __webpack_exports__MobileNetV2Model, __webpack_exports__MobileNetV2PreTrainedModel, __webpack_exports__MobileNetV3FeatureExtractor, __webpack_exports__MobileNetV3ForImageClassification, __webpack_exports__MobileNetV3ForSemanticSegmentation, __webpack_exports__MobileNetV3ImageProcessor, __webpack_exports__MobileNetV3Model, __webpack_exports__MobileNetV3PreTrainedModel, __webpack_exports__MobileNetV4FeatureExtractor, __webpack_exports__MobileNetV4ForImageClassification, __webpack_exports__MobileNetV4ForSemanticSegmentation, __webpack_exports__MobileNetV4ImageProcessor, __webpack_exports__MobileNetV4Model, __webpack_exports__MobileNetV4PreTrainedModel, __webpack_exports__MobileViTFeatureExtractor, __webpack_exports__MobileViTForImageClassification, __webpack_exports__MobileViTImageProcessor, __webpack_exports__MobileViTModel, __webpack_exports__MobileViTPreTrainedModel, __webpack_exports__MobileViTV2ForImageClassification, __webpack_exports__MobileViTV2Model, __webpack_exports__MobileViTV2PreTrainedModel, __webpack_exports__ModelOutput, __webpack_exports__ModernBertDecoderForCausalLM, __webpack_exports__ModernBertDecoderModel, __webpack_exports__ModernBertDecoderPreTrainedModel, __webpack_exports__ModernBertForMaskedLM, __webpack_exports__ModernBertForSequenceClassification, __webpack_exports__ModernBertForTokenClassification, __webpack_exports__ModernBertModel, __webpack_exports__ModernBertPreTrainedModel, __webpack_exports__Moondream1ForConditionalGeneration, __webpack_exports__MoonshineFeatureExtractor, __webpack_exports__MoonshineForConditionalGeneration, __webpack_exports__MoonshineModel, __webpack_exports__MoonshinePreTrainedModel, __webpack_exports__MoonshineProcessor, __webpack_exports__MptForCausalLM, __webpack_exports__MptModel, __webpack_exports__MptPreTrainedModel, __webpack_exports__MultiModalityCausalLM, __webpack_exports__MultiModalityPreTrainedModel, __webpack_exports__MusicgenForCausalLM, __webpack_exports__MusicgenForConditionalGeneration, __webpack_exports__MusicgenModel, __webpack_exports__MusicgenPreTrainedModel, __webpack_exports__NanoChatForCausalLM, __webpack_exports__NanoChatModel, __webpack_exports__NanoChatPreTrainedModel, __webpack_exports__NeoBertForMaskedLM, __webpack_exports__NeoBertForQuestionAnswering, __webpack_exports__NeoBertForSequenceClassification, __webpack_exports__NeoBertForTokenClassification, __webpack_exports__NeoBertModel, __webpack_exports__NeoBertPreTrainedModel, __webpack_exports__NllbTokenizer, __webpack_exports__NoBadWordsLogitsProcessor, __webpack_exports__NoRepeatNGramLogitsProcessor, __webpack_exports__NomicBertModel, __webpack_exports__NomicBertPreTrainedModel, __webpack_exports__NougatImageProcessor, __webpack_exports__NougatTokenizer, __webpack_exports__OPTForCausalLM, __webpack_exports__OPTModel, __webpack_exports__OPTPreTrainedModel, __webpack_exports__ObjectDetectionPipeline, __webpack_exports__Olmo2ForCausalLM, __webpack_exports__Olmo2Model, __webpack_exports__Olmo2PreTrainedModel, __webpack_exports__OlmoForCausalLM, __webpack_exports__OlmoModel, __webpack_exports__OlmoPreTrainedModel, __webpack_exports__OpenELMForCausalLM, __webpack_exports__OpenELMModel, __webpack_exports__OpenELMPreTrainedModel, __webpack_exports__OwlViTFeatureExtractor, __webpack_exports__OwlViTForObjectDetection, __webpack_exports__OwlViTImageProcessor, __webpack_exports__OwlViTModel, __webpack_exports__OwlViTPreTrainedModel, __webpack_exports__OwlViTProcessor, __webpack_exports__Owlv2ForObjectDetection, __webpack_exports__Owlv2ImageProcessor, __webpack_exports__Owlv2Model, __webpack_exports__Owlv2PreTrainedModel, __webpack_exports__PaliGemmaForConditionalGeneration, __webpack_exports__PaliGemmaPreTrainedModel, __webpack_exports__PaliGemmaProcessor, __webpack_exports__ParakeetFeatureExtractor, __webpack_exports__ParakeetForCTC, __webpack_exports__ParakeetPreTrainedModel, __webpack_exports__PatchTSMixerForPrediction, __webpack_exports__PatchTSMixerModel, __webpack_exports__PatchTSMixerPreTrainedModel, __webpack_exports__PatchTSTForPrediction, __webpack_exports__PatchTSTModel, __webpack_exports__PatchTSTPreTrainedModel, __webpack_exports__Phi3ForCausalLM, __webpack_exports__Phi3Model, __webpack_exports__Phi3PreTrainedModel, __webpack_exports__Phi3VForCausalLM, __webpack_exports__Phi3VImageProcessor, __webpack_exports__Phi3VPreTrainedModel, __webpack_exports__Phi3VProcessor, __webpack_exports__PhiForCausalLM, __webpack_exports__PhiModel, __webpack_exports__PhiPreTrainedModel, __webpack_exports__Pipeline, __webpack_exports__PixtralImageProcessor, __webpack_exports__PixtralProcessor, __webpack_exports__PreTrainedModel, __webpack_exports__PreTrainedTokenizer, __webpack_exports__PretrainedConfig, __webpack_exports__PretrainedMixin, __webpack_exports__Processor, __webpack_exports__PvtForImageClassification, __webpack_exports__PvtImageProcessor, __webpack_exports__PvtModel, __webpack_exports__PvtPreTrainedModel, __webpack_exports__PyAnnoteFeatureExtractor, __webpack_exports__PyAnnoteForAudioFrameClassification, __webpack_exports__PyAnnoteModel, __webpack_exports__PyAnnotePreTrainedModel, __webpack_exports__PyAnnoteProcessor, __webpack_exports__QuestionAnsweringModelOutput, __webpack_exports__QuestionAnsweringPipeline, __webpack_exports__Qwen2ForCausalLM, __webpack_exports__Qwen2Model, __webpack_exports__Qwen2PreTrainedModel, __webpack_exports__Qwen2Tokenizer, __webpack_exports__Qwen2VLForConditionalGeneration, __webpack_exports__Qwen2VLImageProcessor, __webpack_exports__Qwen2VLPreTrainedModel, __webpack_exports__Qwen2VLProcessor, __webpack_exports__Qwen3ForCausalLM, __webpack_exports__Qwen3Model, __webpack_exports__Qwen3PreTrainedModel, __webpack_exports__RFDetrForObjectDetection, __webpack_exports__RFDetrModel, __webpack_exports__RFDetrObjectDetectionOutput, __webpack_exports__RFDetrPreTrainedModel, __webpack_exports__RTDetrForObjectDetection, __webpack_exports__RTDetrImageProcessor, __webpack_exports__RTDetrModel, __webpack_exports__RTDetrObjectDetectionOutput, __webpack_exports__RTDetrPreTrainedModel, __webpack_exports__RTDetrV2ForObjectDetection, __webpack_exports__RTDetrV2Model, __webpack_exports__RTDetrV2ObjectDetectionOutput, __webpack_exports__RTDetrV2PreTrainedModel, __webpack_exports__RawAudio, __webpack_exports__RawImage, __webpack_exports__RawVideo, __webpack_exports__RawVideoFrame, __webpack_exports__RepetitionPenaltyLogitsProcessor, __webpack_exports__ResNetForImageClassification, __webpack_exports__ResNetModel, __webpack_exports__ResNetPreTrainedModel, __webpack_exports__RoFormerForMaskedLM, __webpack_exports__RoFormerForQuestionAnswering, __webpack_exports__RoFormerForSequenceClassification, __webpack_exports__RoFormerForTokenClassification, __webpack_exports__RoFormerModel, __webpack_exports__RoFormerPreTrainedModel, __webpack_exports__RoFormerTokenizer, __webpack_exports__RobertaForMaskedLM, __webpack_exports__RobertaForQuestionAnswering, __webpack_exports__RobertaForSequenceClassification, __webpack_exports__RobertaForTokenClassification, __webpack_exports__RobertaModel, __webpack_exports__RobertaPreTrainedModel, __webpack_exports__RobertaTokenizer, __webpack_exports__Sam2ImageProcessor, __webpack_exports__Sam2ImageSegmentationOutput, __webpack_exports__Sam2Model, __webpack_exports__Sam2PreTrainedModel, __webpack_exports__Sam2Processor, __webpack_exports__Sam2VideoProcessor, __webpack_exports__Sam3ImageProcessor, __webpack_exports__Sam3TrackerModel, __webpack_exports__SamImageProcessor, __webpack_exports__SamImageSegmentationOutput, __webpack_exports__SamModel, __webpack_exports__SamPreTrainedModel, __webpack_exports__SamProcessor, __webpack_exports__SapiensForDepthEstimation, __webpack_exports__SapiensForNormalEstimation, __webpack_exports__SapiensForSemanticSegmentation, __webpack_exports__SapiensPreTrainedModel, __webpack_exports__SeamlessM4TFeatureExtractor, __webpack_exports__SegformerFeatureExtractor, __webpack_exports__SegformerForImageClassification, __webpack_exports__SegformerForSemanticSegmentation, __webpack_exports__SegformerImageProcessor, __webpack_exports__SegformerModel, __webpack_exports__SegformerPreTrainedModel, __webpack_exports__Seq2SeqLMOutput, __webpack_exports__SequenceClassifierOutput, __webpack_exports__SiglipImageProcessor, __webpack_exports__SiglipModel, __webpack_exports__SiglipPreTrainedModel, __webpack_exports__SiglipTextModel, __webpack_exports__SiglipTokenizer, __webpack_exports__SiglipVisionModel, __webpack_exports__SmolLM3ForCausalLM, __webpack_exports__SmolLM3Model, __webpack_exports__SmolLM3PreTrainedModel, __webpack_exports__SmolVLMForConditionalGeneration, __webpack_exports__SmolVLMImageProcessor, __webpack_exports__SmolVLMProcessor, __webpack_exports__SnacDecoderModel, __webpack_exports__SnacEncoderModel, __webpack_exports__SnacFeatureExtractor, __webpack_exports__SnacModel, __webpack_exports__SnacPreTrainedModel, __webpack_exports__SpeechT5FeatureExtractor, __webpack_exports__SpeechT5ForSpeechToText, __webpack_exports__SpeechT5ForTextToSpeech, __webpack_exports__SpeechT5HifiGan, __webpack_exports__SpeechT5Model, __webpack_exports__SpeechT5PreTrainedModel, __webpack_exports__SpeechT5Processor, __webpack_exports__SpeechT5Tokenizer, __webpack_exports__SqueezeBertForMaskedLM, __webpack_exports__SqueezeBertForQuestionAnswering, __webpack_exports__SqueezeBertForSequenceClassification, __webpack_exports__SqueezeBertModel, __webpack_exports__SqueezeBertPreTrainedModel, __webpack_exports__SqueezeBertTokenizer, __webpack_exports__StableLmForCausalLM, __webpack_exports__StableLmModel, __webpack_exports__StableLmPreTrainedModel, __webpack_exports__Starcoder2ForCausalLM, __webpack_exports__Starcoder2Model, __webpack_exports__Starcoder2PreTrainedModel, __webpack_exports__StoppingCriteria, __webpack_exports__StoppingCriteriaList, __webpack_exports__StyleTextToSpeech2Model, __webpack_exports__StyleTextToSpeech2PreTrainedModel, __webpack_exports__SummarizationPipeline, __webpack_exports__SupertonicForConditionalGeneration, __webpack_exports__SupertonicPreTrainedModel, __webpack_exports__SuppressTokensAtBeginLogitsProcessor, __webpack_exports__Swin2SRForImageSuperResolution, __webpack_exports__Swin2SRImageProcessor, __webpack_exports__Swin2SRModel, __webpack_exports__Swin2SRPreTrainedModel, __webpack_exports__SwinForImageClassification, __webpack_exports__SwinForSemanticSegmentation, __webpack_exports__SwinModel, __webpack_exports__SwinPreTrainedModel, __webpack_exports__T5ForConditionalGeneration, __webpack_exports__T5Model, __webpack_exports__T5PreTrainedModel, __webpack_exports__T5Tokenizer, __webpack_exports__TableTransformerForObjectDetection, __webpack_exports__TableTransformerModel, __webpack_exports__TableTransformerObjectDetectionOutput, __webpack_exports__TableTransformerPreTrainedModel, __webpack_exports__TemperatureLogitsWarper, __webpack_exports__Tensor, __webpack_exports__Text2TextGenerationPipeline, __webpack_exports__TextClassificationPipeline, __webpack_exports__TextGenerationPipeline, __webpack_exports__TextStreamer, __webpack_exports__TextToAudioPipeline, __webpack_exports__TokenClassificationPipeline, __webpack_exports__TokenClassifierOutput, __webpack_exports__TokenizerModel, __webpack_exports__TopKLogitsWarper, __webpack_exports__TopPLogitsWarper, __webpack_exports__TrOCRForCausalLM, __webpack_exports__TrOCRPreTrainedModel, __webpack_exports__TranslationPipeline, __webpack_exports__UltravoxModel, __webpack_exports__UltravoxPreTrainedModel, __webpack_exports__UltravoxProcessor, __webpack_exports__UniSpeechForCTC, __webpack_exports__UniSpeechForSequenceClassification, __webpack_exports__UniSpeechModel, __webpack_exports__UniSpeechPreTrainedModel, __webpack_exports__UniSpeechSatForAudioFrameClassification, __webpack_exports__UniSpeechSatForCTC, __webpack_exports__UniSpeechSatForSequenceClassification, __webpack_exports__UniSpeechSatModel, __webpack_exports__UniSpeechSatPreTrainedModel, __webpack_exports__VLChatProcessor, __webpack_exports__VLMImageProcessor, __webpack_exports__VaultGemmaForCausalLM, __webpack_exports__VaultGemmaModel, __webpack_exports__VaultGemmaPreTrainedModel, __webpack_exports__ViTFeatureExtractor, __webpack_exports__ViTForImageClassification, __webpack_exports__ViTImageProcessor, __webpack_exports__ViTMAEModel, __webpack_exports__ViTMAEPreTrainedModel, __webpack_exports__ViTMSNForImageClassification, __webpack_exports__ViTMSNModel, __webpack_exports__ViTMSNPreTrainedModel, __webpack_exports__ViTModel, __webpack_exports__ViTPreTrainedModel, __webpack_exports__VisionEncoderDecoderModel, __webpack_exports__VitMatteForImageMatting, __webpack_exports__VitMatteImageProcessor, __webpack_exports__VitMattePreTrainedModel, __webpack_exports__VitPoseForPoseEstimation, __webpack_exports__VitPoseImageProcessor, __webpack_exports__VitPosePreTrainedModel, __webpack_exports__VitsModel, __webpack_exports__VitsModelOutput, __webpack_exports__VitsPreTrainedModel, __webpack_exports__VitsTokenizer, __webpack_exports__VoxtralForConditionalGeneration, __webpack_exports__VoxtralProcessor, __webpack_exports__Wav2Vec2BertForCTC, __webpack_exports__Wav2Vec2BertForSequenceClassification, __webpack_exports__Wav2Vec2BertModel, __webpack_exports__Wav2Vec2BertPreTrainedModel, __webpack_exports__Wav2Vec2CTCTokenizer, __webpack_exports__Wav2Vec2FeatureExtractor, __webpack_exports__Wav2Vec2ForAudioFrameClassification, __webpack_exports__Wav2Vec2ForCTC, __webpack_exports__Wav2Vec2ForSequenceClassification, __webpack_exports__Wav2Vec2Model, __webpack_exports__Wav2Vec2PreTrainedModel, __webpack_exports__Wav2Vec2Processor, __webpack_exports__Wav2Vec2ProcessorWithLM, __webpack_exports__WavLMForAudioFrameClassification, __webpack_exports__WavLMForCTC, __webpack_exports__WavLMForSequenceClassification, __webpack_exports__WavLMForXVector, __webpack_exports__WavLMModel, __webpack_exports__WavLMPreTrainedModel, __webpack_exports__WeSpeakerFeatureExtractor, __webpack_exports__WeSpeakerResNetModel, __webpack_exports__WeSpeakerResNetPreTrainedModel, __webpack_exports__WhisperFeatureExtractor, __webpack_exports__WhisperForConditionalGeneration, __webpack_exports__WhisperModel, __webpack_exports__WhisperPreTrainedModel, __webpack_exports__WhisperProcessor, __webpack_exports__WhisperTextStreamer, __webpack_exports__WhisperTimeStampLogitsProcessor, __webpack_exports__WhisperTokenizer, __webpack_exports__XLMForQuestionAnswering, __webpack_exports__XLMForSequenceClassification, __webpack_exports__XLMForTokenClassification, __webpack_exports__XLMModel, __webpack_exports__XLMPreTrainedModel, __webpack_exports__XLMRobertaForMaskedLM, __webpack_exports__XLMRobertaForQuestionAnswering, __webpack_exports__XLMRobertaForSequenceClassification, __webpack_exports__XLMRobertaForTokenClassification, __webpack_exports__XLMRobertaModel, __webpack_exports__XLMRobertaPreTrainedModel, __webpack_exports__XLMRobertaTokenizer, __webpack_exports__XLMTokenizer, __webpack_exports__XLMWithLMHeadModel, __webpack_exports__XVectorOutput, __webpack_exports__YolosFeatureExtractor, __webpack_exports__YolosForObjectDetection, __webpack_exports__YolosImageProcessor, __webpack_exports__YolosModel, __webpack_exports__YolosObjectDetectionOutput, __webpack_exports__YolosPreTrainedModel, __webpack_exports__ZeroShotAudioClassificationPipeline, __webpack_exports__ZeroShotClassificationPipeline, __webpack_exports__ZeroShotImageClassificationPipeline, __webpack_exports__ZeroShotObjectDetectionPipeline, __webpack_exports__bankers_round, __webpack_exports__cat, __webpack_exports__cos_sim, __webpack_exports__dot, __webpack_exports__dynamic_time_warping, __webpack_exports__env, __webpack_exports__full, __webpack_exports__full_like, __webpack_exports__getCacheShapes, __webpack_exports__hamming, __webpack_exports__hanning, __webpack_exports__interpolate, __webpack_exports__interpolate_4d, __webpack_exports__interpolate_data, __webpack_exports__is_chinese_char, __webpack_exports__layer_norm, __webpack_exports__load_image, __webpack_exports__load_video, __webpack_exports__log_softmax, __webpack_exports__magnitude, __webpack_exports__matmul, __webpack_exports__max, __webpack_exports__mean, __webpack_exports__mean_pooling, __webpack_exports__medianFilter, __webpack_exports__mel_filter_bank, __webpack_exports__min, __webpack_exports__ones, __webpack_exports__ones_like, __webpack_exports__permute, __webpack_exports__permute_data, __webpack_exports__pipeline, __webpack_exports__quantize_embeddings, __webpack_exports__rand, __webpack_exports__randn, __webpack_exports__read_audio, __webpack_exports__rfft, __webpack_exports__round, __webpack_exports__slice, __webpack_exports__softmax, __webpack_exports__spectrogram, __webpack_exports__stack, __webpack_exports__std_mean, __webpack_exports__topk, __webpack_exports__window_function, __webpack_exports__zeros, __webpack_exports__zeros_like;
10206
10214
  var init_transformers_node = __esm({
10207
- "node_modules/.pnpm/@huggingface+transformers@3.8.0/node_modules/@huggingface/transformers/dist/transformers.node.mjs"() {
10215
+ "node_modules/.pnpm/@huggingface+transformers@3.8.1/node_modules/@huggingface/transformers/dist/transformers.node.mjs"() {
10208
10216
  "use strict";
10209
10217
  __WEBPACK_EXTERNAL_MODULE_node_fs_75ed2103__ = __toESM(require("fs"), 1);
10210
10218
  __WEBPACK_EXTERNAL_MODULE_node_path_02319fef__ = __toESM(require("path"), 1);
@@ -10388,6 +10396,9 @@ var init_transformers_node = __esm({
10388
10396
  function isInteger(char) {
10389
10397
  return /[0-9]/.test(char);
10390
10398
  }
10399
+ function isWhitespace(char) {
10400
+ return /\s/.test(char);
10401
+ }
10391
10402
  var ORDERED_MAPPING_TABLE = [
10392
10403
  // Control sequences
10393
10404
  ["{%", TOKEN_TYPES.OpenStatement],
@@ -10452,7 +10463,7 @@ var init_transformers_node = __esm({
10452
10463
  if (options.trim_blocks) {
10453
10464
  template = template.replace(/([#%-]})\n/g, "$1");
10454
10465
  }
10455
- return template.replace(/-%}\s*/g, "%}").replace(/\s*{%-/g, "{%").replace(/-}}\s*/g, "}}").replace(/\s*{{-/g, "{{").replace(/-#}\s*/g, "#}").replace(/\s*{#-/g, "{#").replace(/{%\s*(end)?generation\s*%}/gs, "");
10466
+ return template.replace(/{%\s*(end)?generation\s*%}/gs, "");
10456
10467
  }
10457
10468
  function tokenize(source, options = {}) {
10458
10469
  const tokens = [];
@@ -10480,6 +10491,20 @@ var init_transformers_node = __esm({
10480
10491
  }
10481
10492
  return str;
10482
10493
  };
10494
+ const stripTrailingWhitespace = () => {
10495
+ const lastToken = tokens.at(-1);
10496
+ if (lastToken && lastToken.type === TOKEN_TYPES.Text) {
10497
+ lastToken.value = lastToken.value.trimEnd();
10498
+ if (lastToken.value === "") {
10499
+ tokens.pop();
10500
+ }
10501
+ }
10502
+ };
10503
+ const skipLeadingWhitespace = () => {
10504
+ while (cursorPosition < src.length && isWhitespace(src[cursorPosition])) {
10505
+ ++cursorPosition;
10506
+ }
10507
+ };
10483
10508
  main:
10484
10509
  while (cursorPosition < src.length) {
10485
10510
  const lastTokenType = tokens.at(-1)?.type;
@@ -10496,6 +10521,10 @@ var init_transformers_node = __esm({
10496
10521
  }
10497
10522
  if (src[cursorPosition] === "{" && src[cursorPosition + 1] === "#") {
10498
10523
  cursorPosition += 2;
10524
+ const stripBefore = src[cursorPosition] === "-";
10525
+ if (stripBefore) {
10526
+ ++cursorPosition;
10527
+ }
10499
10528
  let comment = "";
10500
10529
  while (src[cursorPosition] !== "#" || src[cursorPosition + 1] !== "}") {
10501
10530
  if (cursorPosition + 2 >= src.length) {
@@ -10503,11 +10532,46 @@ var init_transformers_node = __esm({
10503
10532
  }
10504
10533
  comment += src[cursorPosition++];
10505
10534
  }
10535
+ const stripAfter = comment.endsWith("-");
10536
+ if (stripAfter) {
10537
+ comment = comment.slice(0, -1);
10538
+ }
10539
+ if (stripBefore) {
10540
+ stripTrailingWhitespace();
10541
+ }
10506
10542
  tokens.push(new Token(comment, TOKEN_TYPES.Comment));
10507
10543
  cursorPosition += 2;
10544
+ if (stripAfter) {
10545
+ skipLeadingWhitespace();
10546
+ }
10547
+ continue;
10548
+ }
10549
+ if (src.slice(cursorPosition, cursorPosition + 3) === "{%-") {
10550
+ stripTrailingWhitespace();
10551
+ tokens.push(new Token("{%", TOKEN_TYPES.OpenStatement));
10552
+ cursorPosition += 3;
10553
+ continue;
10554
+ }
10555
+ if (src.slice(cursorPosition, cursorPosition + 3) === "{{-") {
10556
+ stripTrailingWhitespace();
10557
+ tokens.push(new Token("{{", TOKEN_TYPES.OpenExpression));
10558
+ curlyBracketDepth = 0;
10559
+ cursorPosition += 3;
10560
+ continue;
10561
+ }
10562
+ consumeWhile(isWhitespace);
10563
+ if (src.slice(cursorPosition, cursorPosition + 3) === "-%}") {
10564
+ tokens.push(new Token("%}", TOKEN_TYPES.CloseStatement));
10565
+ cursorPosition += 3;
10566
+ skipLeadingWhitespace();
10567
+ continue;
10568
+ }
10569
+ if (src.slice(cursorPosition, cursorPosition + 3) === "-}}") {
10570
+ tokens.push(new Token("}}", TOKEN_TYPES.CloseExpression));
10571
+ cursorPosition += 3;
10572
+ skipLeadingWhitespace();
10508
10573
  continue;
10509
10574
  }
10510
- consumeWhile((char2) => /\s/.test(char2));
10511
10575
  const char = src[cursorPosition];
10512
10576
  if (char === "-" || char === "+") {
10513
10577
  const lastTokenType2 = tokens.at(-1)?.type;
@@ -11589,6 +11653,40 @@ var init_transformers_node = __esm({
11589
11653
  __publicField(this, "type", "BooleanValue");
11590
11654
  }
11591
11655
  };
11656
+ function toJSON(input, indent, depth, convertUndefinedToNull = true) {
11657
+ const currentDepth = depth ?? 0;
11658
+ switch (input.type) {
11659
+ case "NullValue":
11660
+ return "null";
11661
+ case "UndefinedValue":
11662
+ return convertUndefinedToNull ? "null" : "undefined";
11663
+ case "IntegerValue":
11664
+ case "FloatValue":
11665
+ case "StringValue":
11666
+ case "BooleanValue":
11667
+ return JSON.stringify(input.value);
11668
+ case "ArrayValue":
11669
+ case "ObjectValue": {
11670
+ const indentValue = indent ? " ".repeat(indent) : "";
11671
+ const basePadding = "\n" + indentValue.repeat(currentDepth);
11672
+ const childrenPadding = basePadding + indentValue;
11673
+ if (input.type === "ArrayValue") {
11674
+ const core = input.value.map(
11675
+ (x) => toJSON(x, indent, currentDepth + 1, convertUndefinedToNull)
11676
+ );
11677
+ return indent ? `[${childrenPadding}${core.join(`,${childrenPadding}`)}${basePadding}]` : `[${core.join(", ")}]`;
11678
+ } else {
11679
+ const core = Array.from(input.value.entries()).map(([key, value]) => {
11680
+ const v = `"${key}": ${toJSON(value, indent, currentDepth + 1, convertUndefinedToNull)}`;
11681
+ return indent ? `${childrenPadding}${v}` : v;
11682
+ });
11683
+ return indent ? `{${core.join(",")}${basePadding}}` : `{${core.join(", ")}}`;
11684
+ }
11685
+ }
11686
+ default:
11687
+ throw new Error(`Cannot convert to JSON: ${input.type}`);
11688
+ }
11689
+ }
11592
11690
  var ObjectValue = class extends RuntimeValue {
11593
11691
  constructor() {
11594
11692
  super(...arguments);
@@ -11605,7 +11703,43 @@ var init_transformers_node = __esm({
11605
11703
  ],
11606
11704
  ["items", new FunctionValue(() => this.items())],
11607
11705
  ["keys", new FunctionValue(() => this.keys())],
11608
- ["values", new FunctionValue(() => this.values())]
11706
+ ["values", new FunctionValue(() => this.values())],
11707
+ [
11708
+ "dictsort",
11709
+ new FunctionValue((args) => {
11710
+ let kwargs = /* @__PURE__ */ new Map();
11711
+ const positionalArgs = args.filter((arg) => {
11712
+ if (arg instanceof KeywordArgumentsValue) {
11713
+ kwargs = arg.value;
11714
+ return false;
11715
+ }
11716
+ return true;
11717
+ });
11718
+ const caseSensitive = positionalArgs.at(0) ?? kwargs.get("case_sensitive") ?? new BooleanValue(false);
11719
+ if (!(caseSensitive instanceof BooleanValue)) {
11720
+ throw new Error("case_sensitive must be a boolean");
11721
+ }
11722
+ const by = positionalArgs.at(1) ?? kwargs.get("by") ?? new StringValue("key");
11723
+ if (!(by instanceof StringValue)) {
11724
+ throw new Error("by must be a string");
11725
+ }
11726
+ if (!["key", "value"].includes(by.value)) {
11727
+ throw new Error("by must be either 'key' or 'value'");
11728
+ }
11729
+ const reverse = positionalArgs.at(2) ?? kwargs.get("reverse") ?? new BooleanValue(false);
11730
+ if (!(reverse instanceof BooleanValue)) {
11731
+ throw new Error("reverse must be a boolean");
11732
+ }
11733
+ const items = Array.from(this.value.entries()).map(([key, value]) => new ArrayValue([new StringValue(key), value])).sort((a, b) => {
11734
+ const index = by.value === "key" ? 0 : 1;
11735
+ const aVal = a.value[index];
11736
+ const bVal = b.value[index];
11737
+ const result = compareRuntimeValues(aVal, bVal, caseSensitive.value);
11738
+ return reverse.value ? -result : result;
11739
+ });
11740
+ return new ArrayValue(items);
11741
+ })
11742
+ ]
11609
11743
  ]));
11610
11744
  }
11611
11745
  /**
@@ -11630,6 +11764,9 @@ var init_transformers_node = __esm({
11630
11764
  values() {
11631
11765
  return new ArrayValue(Array.from(this.value.values()));
11632
11766
  }
11767
+ toString() {
11768
+ return toJSON(this, null, 0, false);
11769
+ }
11633
11770
  };
11634
11771
  var KeywordArgumentsValue = class extends ObjectValue {
11635
11772
  constructor() {
@@ -11654,6 +11791,9 @@ var init_transformers_node = __esm({
11654
11791
  __bool__() {
11655
11792
  return new BooleanValue(this.value.length > 0);
11656
11793
  }
11794
+ toString() {
11795
+ return toJSON(this, null, 0, false);
11796
+ }
11657
11797
  };
11658
11798
  var TupleValue = class extends ArrayValue {
11659
11799
  constructor() {
@@ -11813,6 +11953,67 @@ var init_transformers_node = __esm({
11813
11953
  env3.set("False", false);
11814
11954
  env3.set("None", null);
11815
11955
  }
11956
+ function getAttributeValue(item, attributePath) {
11957
+ const parts = attributePath.split(".");
11958
+ let value = item;
11959
+ for (const part of parts) {
11960
+ if (value instanceof ObjectValue) {
11961
+ value = value.value.get(part) ?? new UndefinedValue();
11962
+ } else if (value instanceof ArrayValue) {
11963
+ const index = parseInt(part, 10);
11964
+ if (!isNaN(index) && index >= 0 && index < value.value.length) {
11965
+ value = value.value[index];
11966
+ } else {
11967
+ return new UndefinedValue();
11968
+ }
11969
+ } else {
11970
+ return new UndefinedValue();
11971
+ }
11972
+ }
11973
+ return value;
11974
+ }
11975
+ function compareRuntimeValues(a, b, caseSensitive = false) {
11976
+ if (a instanceof NullValue && b instanceof NullValue) {
11977
+ return 0;
11978
+ }
11979
+ if (a instanceof NullValue || b instanceof NullValue) {
11980
+ throw new Error(`Cannot compare ${a.type} with ${b.type}`);
11981
+ }
11982
+ if (a instanceof UndefinedValue && b instanceof UndefinedValue) {
11983
+ return 0;
11984
+ }
11985
+ if (a instanceof UndefinedValue || b instanceof UndefinedValue) {
11986
+ throw new Error(`Cannot compare ${a.type} with ${b.type}`);
11987
+ }
11988
+ const isNumericLike = (v) => v instanceof IntegerValue || v instanceof FloatValue || v instanceof BooleanValue;
11989
+ const getNumericValue = (v) => {
11990
+ if (v instanceof BooleanValue) {
11991
+ return v.value ? 1 : 0;
11992
+ }
11993
+ return v.value;
11994
+ };
11995
+ if (isNumericLike(a) && isNumericLike(b)) {
11996
+ const aNum = getNumericValue(a);
11997
+ const bNum = getNumericValue(b);
11998
+ return aNum < bNum ? -1 : aNum > bNum ? 1 : 0;
11999
+ }
12000
+ if (a.type !== b.type) {
12001
+ throw new Error(`Cannot compare different types: ${a.type} and ${b.type}`);
12002
+ }
12003
+ switch (a.type) {
12004
+ case "StringValue": {
12005
+ let aStr = a.value;
12006
+ let bStr = b.value;
12007
+ if (!caseSensitive) {
12008
+ aStr = aStr.toLowerCase();
12009
+ bStr = bStr.toLowerCase();
12010
+ }
12011
+ return aStr < bStr ? -1 : aStr > bStr ? 1 : 0;
12012
+ }
12013
+ default:
12014
+ throw new Error(`Cannot compare type: ${a.type}`);
12015
+ }
12016
+ }
11816
12017
  var Interpreter = class {
11817
12018
  constructor(env3) {
11818
12019
  __publicField(this, "global");
@@ -11957,28 +12158,14 @@ var init_transformers_node = __esm({
11957
12158
  case "length":
11958
12159
  return new IntegerValue(operand.value.length);
11959
12160
  case "reverse":
11960
- return new ArrayValue(operand.value.reverse());
11961
- case "sort":
11962
- return new ArrayValue(
11963
- operand.value.sort((a, b) => {
11964
- if (a.type !== b.type) {
11965
- throw new Error(`Cannot compare different types: ${a.type} and ${b.type}`);
11966
- }
11967
- switch (a.type) {
11968
- case "IntegerValue":
11969
- case "FloatValue":
11970
- return a.value - b.value;
11971
- case "StringValue":
11972
- return a.value.localeCompare(b.value);
11973
- default:
11974
- throw new Error(`Cannot compare type: ${a.type}`);
11975
- }
11976
- })
11977
- );
12161
+ return new ArrayValue(operand.value.slice().reverse());
12162
+ case "sort": {
12163
+ return new ArrayValue(operand.value.slice().sort((a, b) => compareRuntimeValues(a, b, false)));
12164
+ }
11978
12165
  case "join":
11979
12166
  return new StringValue(operand.value.map((x) => x.value).join(""));
11980
12167
  case "string":
11981
- return new StringValue(toJSON(operand));
12168
+ return new StringValue(toJSON(operand, null, 0, false));
11982
12169
  case "unique": {
11983
12170
  const seen = /* @__PURE__ */ new Set();
11984
12171
  const output = [];
@@ -12057,8 +12244,16 @@ var init_transformers_node = __esm({
12057
12244
  );
12058
12245
  case "length":
12059
12246
  return new IntegerValue(operand.value.size);
12060
- default:
12247
+ default: {
12248
+ const builtin = operand.builtins.get(filter.value);
12249
+ if (builtin) {
12250
+ if (builtin instanceof FunctionValue) {
12251
+ return builtin.value([], environment);
12252
+ }
12253
+ return builtin;
12254
+ }
12061
12255
  throw new Error(`Unknown ObjectValue filter: ${filter.value}`);
12256
+ }
12062
12257
  }
12063
12258
  } else if (operand instanceof BooleanValue) {
12064
12259
  switch (filter.value) {
@@ -12130,6 +12325,36 @@ var init_transformers_node = __esm({
12130
12325
  }
12131
12326
  if (operand instanceof ArrayValue) {
12132
12327
  switch (filterName) {
12328
+ case "sort": {
12329
+ const [args, kwargs] = this.evaluateArguments(filter.args, environment);
12330
+ const reverse = args.at(0) ?? kwargs.get("reverse") ?? new BooleanValue(false);
12331
+ if (!(reverse instanceof BooleanValue)) {
12332
+ throw new Error("reverse must be a boolean");
12333
+ }
12334
+ const caseSensitive = args.at(1) ?? kwargs.get("case_sensitive") ?? new BooleanValue(false);
12335
+ if (!(caseSensitive instanceof BooleanValue)) {
12336
+ throw new Error("case_sensitive must be a boolean");
12337
+ }
12338
+ const attribute = args.at(2) ?? kwargs.get("attribute") ?? new NullValue();
12339
+ if (!(attribute instanceof StringValue || attribute instanceof IntegerValue || attribute instanceof NullValue)) {
12340
+ throw new Error("attribute must be a string, integer, or null");
12341
+ }
12342
+ const getSortValue = (item) => {
12343
+ if (attribute instanceof NullValue) {
12344
+ return item;
12345
+ }
12346
+ const attrPath = attribute instanceof IntegerValue ? String(attribute.value) : attribute.value;
12347
+ return getAttributeValue(item, attrPath);
12348
+ };
12349
+ return new ArrayValue(
12350
+ operand.value.slice().sort((a, b) => {
12351
+ const aVal = getSortValue(a);
12352
+ const bVal = getSortValue(b);
12353
+ const result = compareRuntimeValues(aVal, bVal, caseSensitive.value);
12354
+ return reverse.value ? -result : result;
12355
+ })
12356
+ );
12357
+ }
12133
12358
  case "selectattr":
12134
12359
  case "rejectattr": {
12135
12360
  const select = filterName === "selectattr";
@@ -12169,7 +12394,8 @@ var init_transformers_node = __esm({
12169
12394
  if (!(item instanceof ObjectValue)) {
12170
12395
  throw new Error("items in map must be an object");
12171
12396
  }
12172
- return item.value.get(attr.value) ?? defaultValue ?? new UndefinedValue();
12397
+ const value = getAttributeValue(item, attr.value);
12398
+ return value instanceof UndefinedValue ? defaultValue ?? new UndefinedValue() : value;
12173
12399
  });
12174
12400
  return new ArrayValue(mapped);
12175
12401
  } else {
@@ -12205,6 +12431,16 @@ var init_transformers_node = __esm({
12205
12431
  }
12206
12432
  }
12207
12433
  throw new Error(`Unknown StringValue filter: ${filterName}`);
12434
+ } else if (operand instanceof ObjectValue) {
12435
+ const builtin = operand.builtins.get(filterName);
12436
+ if (builtin && builtin instanceof FunctionValue) {
12437
+ const [args, kwargs] = this.evaluateArguments(filter.args, environment);
12438
+ if (kwargs.size > 0) {
12439
+ args.push(new KeywordArgumentsValue(kwargs));
12440
+ }
12441
+ return builtin.value(args, environment);
12442
+ }
12443
+ throw new Error(`Unknown ObjectValue filter: ${filterName}`);
12208
12444
  } else {
12209
12445
  throw new Error(`Cannot apply filter "${filterName}" to type: ${operand.type}`);
12210
12446
  }
@@ -12634,37 +12870,6 @@ var init_transformers_node = __esm({
12634
12870
  throw new Error(`Cannot convert to runtime value: ${input}`);
12635
12871
  }
12636
12872
  }
12637
- function toJSON(input, indent, depth) {
12638
- const currentDepth = depth ?? 0;
12639
- switch (input.type) {
12640
- case "NullValue":
12641
- case "UndefinedValue":
12642
- return "null";
12643
- case "IntegerValue":
12644
- case "FloatValue":
12645
- case "StringValue":
12646
- case "BooleanValue":
12647
- return JSON.stringify(input.value);
12648
- case "ArrayValue":
12649
- case "ObjectValue": {
12650
- const indentValue = indent ? " ".repeat(indent) : "";
12651
- const basePadding = "\n" + indentValue.repeat(currentDepth);
12652
- const childrenPadding = basePadding + indentValue;
12653
- if (input.type === "ArrayValue") {
12654
- const core = input.value.map((x) => toJSON(x, indent, currentDepth + 1));
12655
- return indent ? `[${childrenPadding}${core.join(`,${childrenPadding}`)}${basePadding}]` : `[${core.join(", ")}]`;
12656
- } else {
12657
- const core = Array.from(input.value.entries()).map(([key, value]) => {
12658
- const v = `"${key}": ${toJSON(value, indent, currentDepth + 1)}`;
12659
- return indent ? `${childrenPadding}${v}` : v;
12660
- });
12661
- return indent ? `{${core.join(",")}${basePadding}}` : `{${core.join(", ")}}`;
12662
- }
12663
- }
12664
- default:
12665
- throw new Error(`Cannot convert to JSON: ${input.type}`);
12666
- }
12667
- }
12668
12873
  var NEWLINE = "\n";
12669
12874
  var OPEN_STATEMENT = "{%- ";
12670
12875
  var CLOSE_STATEMENT = " -%}";
@@ -13012,7 +13217,7 @@ var init_transformers_node = __esm({
13012
13217
  const supportedDevices = [];
13013
13218
  let defaultDevices;
13014
13219
  let ONNX;
13015
- const ORT_SYMBOL = Symbol.for("onnxruntime");
13220
+ const ORT_SYMBOL = /* @__PURE__ */ Symbol.for("onnxruntime");
13016
13221
  if (ORT_SYMBOL in globalThis) {
13017
13222
  ONNX = globalThis[ORT_SYMBOL];
13018
13223
  } else if (_env_js__WEBPACK_IMPORTED_MODULE_0__.apis.IS_NODE_ENV) {
@@ -14103,6 +14308,7 @@ var init_transformers_node = __esm({
14103
14308
  case "voxtral":
14104
14309
  case "smolvlm":
14105
14310
  case "gemma3n":
14311
+ case "mistral3":
14106
14312
  init_normalized_config = getNormalizedConfig(config.text_config);
14107
14313
  break;
14108
14314
  case "moondream1":
@@ -14168,6 +14374,8 @@ var init_transformers_node = __esm({
14168
14374
  case "glm":
14169
14375
  case "helium":
14170
14376
  case "ernie4_5":
14377
+ case "ministral":
14378
+ case "ministral3":
14171
14379
  mapping["num_heads"] = "num_key_value_heads";
14172
14380
  mapping["num_layers"] = "num_hidden_layers";
14173
14381
  mapping["dim_kv"] = "head_dim";
@@ -14444,7 +14652,7 @@ var init_transformers_node = __esm({
14444
14652
  /*! node:url */
14445
14653
  "node:url"
14446
14654
  );
14447
- const VERSION = "3.8.0";
14655
+ const VERSION = "3.8.1";
14448
14656
  const IS_BROWSER_ENV = typeof window !== "undefined" && typeof window.document !== "undefined";
14449
14657
  const IS_WEBWORKER_ENV = typeof self !== "undefined" && ["DedicatedWorkerGlobalScope", "ServiceWorkerGlobalScope", "SharedWorkerGlobalScope"].includes(self.constructor?.name);
14450
14658
  const IS_WEB_CACHE_AVAILABLE = typeof self !== "undefined" && "caches" in self;
@@ -16961,19 +17169,19 @@ var init_transformers_node = __esm({
16961
17169
  ElectraPreTrainedModel
16962
17170
  ),
16963
17171
  /* harmony export */
16964
- Ernie4_5_ForCausalLM: () => (
17172
+ Ernie4_5ForCausalLM: () => (
16965
17173
  /* binding */
16966
- Ernie4_5_ForCausalLM
17174
+ Ernie4_5ForCausalLM
16967
17175
  ),
16968
17176
  /* harmony export */
16969
- Ernie4_5_Model: () => (
17177
+ Ernie4_5Model: () => (
16970
17178
  /* binding */
16971
- Ernie4_5_Model
17179
+ Ernie4_5Model
16972
17180
  ),
16973
17181
  /* harmony export */
16974
- Ernie4_5_PretrainedModel: () => (
17182
+ Ernie4_5PreTrainedModel: () => (
16975
17183
  /* binding */
16976
- Ernie4_5_PretrainedModel
17184
+ Ernie4_5PreTrainedModel
16977
17185
  ),
16978
17186
  /* harmony export */
16979
17187
  EsmForMaskedLM: () => (
@@ -17646,6 +17854,41 @@ var init_transformers_node = __esm({
17646
17854
  MimiPreTrainedModel
17647
17855
  ),
17648
17856
  /* harmony export */
17857
+ Ministral3ForCausalLM: () => (
17858
+ /* binding */
17859
+ Ministral3ForCausalLM
17860
+ ),
17861
+ /* harmony export */
17862
+ Ministral3Model: () => (
17863
+ /* binding */
17864
+ Ministral3Model
17865
+ ),
17866
+ /* harmony export */
17867
+ Ministral3PreTrainedModel: () => (
17868
+ /* binding */
17869
+ Ministral3PreTrainedModel
17870
+ ),
17871
+ /* harmony export */
17872
+ MinistralForCausalLM: () => (
17873
+ /* binding */
17874
+ MinistralForCausalLM
17875
+ ),
17876
+ /* harmony export */
17877
+ MinistralModel: () => (
17878
+ /* binding */
17879
+ MinistralModel
17880
+ ),
17881
+ /* harmony export */
17882
+ MinistralPreTrainedModel: () => (
17883
+ /* binding */
17884
+ MinistralPreTrainedModel
17885
+ ),
17886
+ /* harmony export */
17887
+ Mistral3ForConditionalGeneration: () => (
17888
+ /* binding */
17889
+ Mistral3ForConditionalGeneration
17890
+ ),
17891
+ /* harmony export */
17649
17892
  MistralForCausalLM: () => (
17650
17893
  /* binding */
17651
17894
  MistralForCausalLM
@@ -21734,6 +21977,8 @@ var init_transformers_node = __esm({
21734
21977
  });
21735
21978
  }
21736
21979
  }
21980
+ class Mistral3ForConditionalGeneration extends LlavaQwen2ForCausalLM {
21981
+ }
21737
21982
  class Gemma3nPreTrainedModel extends PreTrainedModel {
21738
21983
  constructor() {
21739
21984
  super(...arguments);
@@ -23447,11 +23692,23 @@ var init_transformers_node = __esm({
23447
23692
  }
23448
23693
  class MistralForCausalLM extends MistralPreTrainedModel {
23449
23694
  }
23450
- class Ernie4_5_PretrainedModel extends PreTrainedModel {
23695
+ class MinistralPreTrainedModel extends PreTrainedModel {
23696
+ }
23697
+ class MinistralModel extends MinistralPreTrainedModel {
23698
+ }
23699
+ class MinistralForCausalLM extends MinistralPreTrainedModel {
23451
23700
  }
23452
- class Ernie4_5_Model extends Ernie4_5_PretrainedModel {
23701
+ class Ministral3PreTrainedModel extends PreTrainedModel {
23453
23702
  }
23454
- class Ernie4_5_ForCausalLM extends Ernie4_5_PretrainedModel {
23703
+ class Ministral3Model extends Ministral3PreTrainedModel {
23704
+ }
23705
+ class Ministral3ForCausalLM extends Ministral3PreTrainedModel {
23706
+ }
23707
+ class Ernie4_5PreTrainedModel extends PreTrainedModel {
23708
+ }
23709
+ class Ernie4_5Model extends Ernie4_5PreTrainedModel {
23710
+ }
23711
+ class Ernie4_5ForCausalLM extends Ernie4_5PreTrainedModel {
23455
23712
  }
23456
23713
  class Starcoder2PreTrainedModel extends PreTrainedModel {
23457
23714
  }
@@ -24182,7 +24439,9 @@ var init_transformers_node = __esm({
24182
24439
  ["mpt", ["MptModel", MptModel]],
24183
24440
  ["opt", ["OPTModel", OPTModel]],
24184
24441
  ["mistral", ["MistralModel", MistralModel]],
24185
- ["ernie4_5", ["Ernie4_5_Model", Ernie4_5_Model]],
24442
+ ["ministral", ["MinistralModel", MinistralModel]],
24443
+ ["ministral3", ["Ministral3Model", Ministral3Model]],
24444
+ ["ernie4_5", ["Ernie4_5Model", Ernie4_5Model]],
24186
24445
  ["starcoder2", ["Starcoder2Model", Starcoder2Model]],
24187
24446
  ["falcon", ["FalconModel", FalconModel]],
24188
24447
  ["stablelm", ["StableLmModel", StableLmModel]],
@@ -24289,7 +24548,9 @@ var init_transformers_node = __esm({
24289
24548
  ["opt", ["OPTForCausalLM", OPTForCausalLM]],
24290
24549
  ["mbart", ["MBartForCausalLM", MBartForCausalLM]],
24291
24550
  ["mistral", ["MistralForCausalLM", MistralForCausalLM]],
24292
- ["ernie4_5", ["Ernie4_5_ForCausalLM", Ernie4_5_ForCausalLM]],
24551
+ ["ministral", ["MinistralForCausalLM", MinistralForCausalLM]],
24552
+ ["ministral3", ["Ministral3ForCausalLM", Ministral3ForCausalLM]],
24553
+ ["ernie4_5", ["Ernie4_5ForCausalLM", Ernie4_5ForCausalLM]],
24293
24554
  ["starcoder2", ["Starcoder2ForCausalLM", Starcoder2ForCausalLM]],
24294
24555
  ["falcon", ["FalconForCausalLM", FalconForCausalLM]],
24295
24556
  ["trocr", ["TrOCRForCausalLM", TrOCRForCausalLM]],
@@ -24354,7 +24615,8 @@ var init_transformers_node = __esm({
24354
24615
  ["smolvlm", ["SmolVLMForConditionalGeneration", SmolVLMForConditionalGeneration]],
24355
24616
  ["paligemma", ["PaliGemmaForConditionalGeneration", PaliGemmaForConditionalGeneration]],
24356
24617
  ["llava_qwen2", ["LlavaQwen2ForCausalLM", LlavaQwen2ForCausalLM]],
24357
- ["gemma3n", ["Gemma3nForConditionalGeneration", Gemma3nForConditionalGeneration]]
24618
+ ["gemma3n", ["Gemma3nForConditionalGeneration", Gemma3nForConditionalGeneration]],
24619
+ ["mistral3", ["Mistral3ForConditionalGeneration", Mistral3ForConditionalGeneration]]
24358
24620
  ]);
24359
24621
  const MODEL_FOR_AUDIO_TEXT_TO_TEXT_MAPPING_NAMES = /* @__PURE__ */ new Map([
24360
24622
  ["ultravox", ["UltravoxModel", UltravoxModel]],
@@ -26935,59 +27197,64 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
26935
27197
  _phi3_v_image_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_27__.Phi3VImageProcessor
26936
27198
  ),
26937
27199
  /* harmony export */
27200
+ PixtralImageProcessor: () => (
27201
+ /* reexport safe */
27202
+ _pixtral_image_processing_pixtral_js__WEBPACK_IMPORTED_MODULE_28__.PixtralImageProcessor
27203
+ ),
27204
+ /* harmony export */
26938
27205
  PvtImageProcessor: () => (
26939
27206
  /* reexport safe */
26940
- _pvt_image_processing_pvt_js__WEBPACK_IMPORTED_MODULE_28__.PvtImageProcessor
27207
+ _pvt_image_processing_pvt_js__WEBPACK_IMPORTED_MODULE_29__.PvtImageProcessor
26941
27208
  ),
26942
27209
  /* harmony export */
26943
27210
  Qwen2VLImageProcessor: () => (
26944
27211
  /* reexport safe */
26945
- _qwen2_vl_image_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_29__.Qwen2VLImageProcessor
27212
+ _qwen2_vl_image_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_30__.Qwen2VLImageProcessor
26946
27213
  ),
26947
27214
  /* harmony export */
26948
27215
  RTDetrImageProcessor: () => (
26949
27216
  /* reexport safe */
26950
- _rt_detr_image_processing_rt_detr_js__WEBPACK_IMPORTED_MODULE_30__.RTDetrImageProcessor
27217
+ _rt_detr_image_processing_rt_detr_js__WEBPACK_IMPORTED_MODULE_31__.RTDetrImageProcessor
26951
27218
  ),
26952
27219
  /* harmony export */
26953
27220
  Sam2ImageProcessor: () => (
26954
27221
  /* reexport safe */
26955
- _sam2_image_processing_sam2_js__WEBPACK_IMPORTED_MODULE_32__.Sam2ImageProcessor
27222
+ _sam2_image_processing_sam2_js__WEBPACK_IMPORTED_MODULE_33__.Sam2ImageProcessor
26956
27223
  ),
26957
27224
  /* harmony export */
26958
27225
  Sam3ImageProcessor: () => (
26959
27226
  /* reexport safe */
26960
- _sam3_image_processing_sam3_js__WEBPACK_IMPORTED_MODULE_33__.Sam3ImageProcessor
27227
+ _sam3_image_processing_sam3_js__WEBPACK_IMPORTED_MODULE_34__.Sam3ImageProcessor
26961
27228
  ),
26962
27229
  /* harmony export */
26963
27230
  SamImageProcessor: () => (
26964
27231
  /* reexport safe */
26965
- _sam_image_processing_sam_js__WEBPACK_IMPORTED_MODULE_31__.SamImageProcessor
27232
+ _sam_image_processing_sam_js__WEBPACK_IMPORTED_MODULE_32__.SamImageProcessor
26966
27233
  ),
26967
27234
  /* harmony export */
26968
27235
  SegformerFeatureExtractor: () => (
26969
27236
  /* reexport safe */
26970
- _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_34__.SegformerFeatureExtractor
27237
+ _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_35__.SegformerFeatureExtractor
26971
27238
  ),
26972
27239
  /* harmony export */
26973
27240
  SegformerImageProcessor: () => (
26974
27241
  /* reexport safe */
26975
- _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_34__.SegformerImageProcessor
27242
+ _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_35__.SegformerImageProcessor
26976
27243
  ),
26977
27244
  /* harmony export */
26978
27245
  SiglipImageProcessor: () => (
26979
27246
  /* reexport safe */
26980
- _siglip_image_processing_siglip_js__WEBPACK_IMPORTED_MODULE_35__.SiglipImageProcessor
27247
+ _siglip_image_processing_siglip_js__WEBPACK_IMPORTED_MODULE_36__.SiglipImageProcessor
26981
27248
  ),
26982
27249
  /* harmony export */
26983
27250
  SmolVLMImageProcessor: () => (
26984
27251
  /* reexport safe */
26985
- _smolvlm_image_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_36__.SmolVLMImageProcessor
27252
+ _smolvlm_image_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_37__.SmolVLMImageProcessor
26986
27253
  ),
26987
27254
  /* harmony export */
26988
27255
  Swin2SRImageProcessor: () => (
26989
27256
  /* reexport safe */
26990
- _swin2sr_image_processing_swin2sr_js__WEBPACK_IMPORTED_MODULE_37__.Swin2SRImageProcessor
27257
+ _swin2sr_image_processing_swin2sr_js__WEBPACK_IMPORTED_MODULE_38__.Swin2SRImageProcessor
26991
27258
  ),
26992
27259
  /* harmony export */
26993
27260
  VLMImageProcessor: () => (
@@ -26997,32 +27264,32 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
26997
27264
  /* harmony export */
26998
27265
  ViTFeatureExtractor: () => (
26999
27266
  /* reexport safe */
27000
- _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_38__.ViTFeatureExtractor
27267
+ _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_39__.ViTFeatureExtractor
27001
27268
  ),
27002
27269
  /* harmony export */
27003
27270
  ViTImageProcessor: () => (
27004
27271
  /* reexport safe */
27005
- _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_38__.ViTImageProcessor
27272
+ _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_39__.ViTImageProcessor
27006
27273
  ),
27007
27274
  /* harmony export */
27008
27275
  VitMatteImageProcessor: () => (
27009
27276
  /* reexport safe */
27010
- _vitmatte_image_processing_vitmatte_js__WEBPACK_IMPORTED_MODULE_39__.VitMatteImageProcessor
27277
+ _vitmatte_image_processing_vitmatte_js__WEBPACK_IMPORTED_MODULE_40__.VitMatteImageProcessor
27011
27278
  ),
27012
27279
  /* harmony export */
27013
27280
  VitPoseImageProcessor: () => (
27014
27281
  /* reexport safe */
27015
- _vitpose_image_processing_vitpose_js__WEBPACK_IMPORTED_MODULE_40__.VitPoseImageProcessor
27282
+ _vitpose_image_processing_vitpose_js__WEBPACK_IMPORTED_MODULE_41__.VitPoseImageProcessor
27016
27283
  ),
27017
27284
  /* harmony export */
27018
27285
  YolosFeatureExtractor: () => (
27019
27286
  /* reexport safe */
27020
- _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_41__.YolosFeatureExtractor
27287
+ _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_42__.YolosFeatureExtractor
27021
27288
  ),
27022
27289
  /* harmony export */
27023
27290
  YolosImageProcessor: () => (
27024
27291
  /* reexport safe */
27025
- _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_41__.YolosImageProcessor
27292
+ _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_42__.YolosImageProcessor
27026
27293
  )
27027
27294
  /* harmony export */
27028
27295
  });
@@ -27138,59 +27405,63 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
27138
27405
  /*! ./phi3_v/image_processing_phi3_v.js */
27139
27406
  "./src/models/phi3_v/image_processing_phi3_v.js"
27140
27407
  );
27141
- var _pvt_image_processing_pvt_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__2(
27408
+ var _pixtral_image_processing_pixtral_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__2(
27409
+ /*! ./pixtral/image_processing_pixtral.js */
27410
+ "./src/models/pixtral/image_processing_pixtral.js"
27411
+ );
27412
+ var _pvt_image_processing_pvt_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__2(
27142
27413
  /*! ./pvt/image_processing_pvt.js */
27143
27414
  "./src/models/pvt/image_processing_pvt.js"
27144
27415
  );
27145
- var _qwen2_vl_image_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__2(
27416
+ var _qwen2_vl_image_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__2(
27146
27417
  /*! ./qwen2_vl/image_processing_qwen2_vl.js */
27147
27418
  "./src/models/qwen2_vl/image_processing_qwen2_vl.js"
27148
27419
  );
27149
- var _rt_detr_image_processing_rt_detr_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__2(
27420
+ var _rt_detr_image_processing_rt_detr_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__2(
27150
27421
  /*! ./rt_detr/image_processing_rt_detr.js */
27151
27422
  "./src/models/rt_detr/image_processing_rt_detr.js"
27152
27423
  );
27153
- var _sam_image_processing_sam_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__2(
27424
+ var _sam_image_processing_sam_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__2(
27154
27425
  /*! ./sam/image_processing_sam.js */
27155
27426
  "./src/models/sam/image_processing_sam.js"
27156
27427
  );
27157
- var _sam2_image_processing_sam2_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__2(
27428
+ var _sam2_image_processing_sam2_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__2(
27158
27429
  /*! ./sam2/image_processing_sam2.js */
27159
27430
  "./src/models/sam2/image_processing_sam2.js"
27160
27431
  );
27161
- var _sam3_image_processing_sam3_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__2(
27432
+ var _sam3_image_processing_sam3_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__2(
27162
27433
  /*! ./sam3/image_processing_sam3.js */
27163
27434
  "./src/models/sam3/image_processing_sam3.js"
27164
27435
  );
27165
- var _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__2(
27436
+ var _segformer_image_processing_segformer_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__2(
27166
27437
  /*! ./segformer/image_processing_segformer.js */
27167
27438
  "./src/models/segformer/image_processing_segformer.js"
27168
27439
  );
27169
- var _siglip_image_processing_siglip_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__2(
27440
+ var _siglip_image_processing_siglip_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__2(
27170
27441
  /*! ./siglip/image_processing_siglip.js */
27171
27442
  "./src/models/siglip/image_processing_siglip.js"
27172
27443
  );
27173
- var _smolvlm_image_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__2(
27444
+ var _smolvlm_image_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__2(
27174
27445
  /*! ./smolvlm/image_processing_smolvlm.js */
27175
27446
  "./src/models/smolvlm/image_processing_smolvlm.js"
27176
27447
  );
27177
- var _swin2sr_image_processing_swin2sr_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__2(
27448
+ var _swin2sr_image_processing_swin2sr_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__2(
27178
27449
  /*! ./swin2sr/image_processing_swin2sr.js */
27179
27450
  "./src/models/swin2sr/image_processing_swin2sr.js"
27180
27451
  );
27181
- var _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__2(
27452
+ var _vit_image_processing_vit_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__2(
27182
27453
  /*! ./vit/image_processing_vit.js */
27183
27454
  "./src/models/vit/image_processing_vit.js"
27184
27455
  );
27185
- var _vitmatte_image_processing_vitmatte_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__2(
27456
+ var _vitmatte_image_processing_vitmatte_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__2(
27186
27457
  /*! ./vitmatte/image_processing_vitmatte.js */
27187
27458
  "./src/models/vitmatte/image_processing_vitmatte.js"
27188
27459
  );
27189
- var _vitpose_image_processing_vitpose_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__2(
27460
+ var _vitpose_image_processing_vitpose_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__2(
27190
27461
  /*! ./vitpose/image_processing_vitpose.js */
27191
27462
  "./src/models/vitpose/image_processing_vitpose.js"
27192
27463
  );
27193
- var _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__2(
27464
+ var _yolos_image_processing_yolos_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__2(
27194
27465
  /*! ./yolos/image_processing_yolos.js */
27195
27466
  "./src/models/yolos/image_processing_yolos.js"
27196
27467
  );
@@ -28592,6 +28863,118 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
28592
28863
  })
28593
28864
  ),
28594
28865
  /***/
28866
+ "./src/models/pixtral/image_processing_pixtral.js": (
28867
+ /*!********************************************************!*\
28868
+ !*** ./src/models/pixtral/image_processing_pixtral.js ***!
28869
+ \********************************************************/
28870
+ /***/
28871
+ ((__unused_webpack___webpack_module__, __webpack_exports__2, __webpack_require__2) => {
28872
+ __webpack_require__2.r(__webpack_exports__2);
28873
+ __webpack_require__2.d(__webpack_exports__2, {
28874
+ /* harmony export */
28875
+ PixtralImageProcessor: () => (
28876
+ /* binding */
28877
+ PixtralImageProcessor
28878
+ )
28879
+ /* harmony export */
28880
+ });
28881
+ var _base_image_processors_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__2(
28882
+ /*! ../../base/image_processors_utils.js */
28883
+ "./src/base/image_processors_utils.js"
28884
+ );
28885
+ class PixtralImageProcessor extends _base_image_processors_utils_js__WEBPACK_IMPORTED_MODULE_0__.ImageProcessor {
28886
+ /** @type {ImageProcessor['get_resize_output_image_size']} */
28887
+ get_resize_output_image_size(image, size) {
28888
+ const { longest_edge } = size;
28889
+ if (longest_edge === void 0) {
28890
+ throw new Error("size must contain 'longest_edge'");
28891
+ }
28892
+ const [srcWidth, srcHeight] = image.size;
28893
+ const ratio = Math.max(srcWidth, srcHeight) / longest_edge;
28894
+ let newWidth = srcWidth;
28895
+ let newHeight = srcHeight;
28896
+ if (ratio > 1) {
28897
+ newWidth = Math.floor(srcWidth / ratio);
28898
+ newHeight = Math.floor(srcHeight / ratio);
28899
+ }
28900
+ const { patch_size, spatial_merge_size } = this.config;
28901
+ if (!spatial_merge_size) {
28902
+ throw new Error("config must contain 'spatial_merge_size'");
28903
+ }
28904
+ const real_patch_size = patch_size * spatial_merge_size;
28905
+ const num_width_tokens = Math.floor((newWidth - 1) / real_patch_size) + 1;
28906
+ const num_height_tokens = Math.floor((newHeight - 1) / real_patch_size) + 1;
28907
+ return [num_width_tokens * real_patch_size, num_height_tokens * real_patch_size];
28908
+ }
28909
+ }
28910
+ })
28911
+ ),
28912
+ /***/
28913
+ "./src/models/pixtral/processing_pixtral.js": (
28914
+ /*!**************************************************!*\
28915
+ !*** ./src/models/pixtral/processing_pixtral.js ***!
28916
+ \**************************************************/
28917
+ /***/
28918
+ ((__unused_webpack___webpack_module__, __webpack_exports__2, __webpack_require__2) => {
28919
+ __webpack_require__2.r(__webpack_exports__2);
28920
+ __webpack_require__2.d(__webpack_exports__2, {
28921
+ /* harmony export */
28922
+ PixtralProcessor: () => (
28923
+ /* binding */
28924
+ PixtralProcessor
28925
+ )
28926
+ /* harmony export */
28927
+ });
28928
+ var _base_processing_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__2(
28929
+ /*! ../../base/processing_utils.js */
28930
+ "./src/base/processing_utils.js"
28931
+ );
28932
+ var _auto_image_processing_auto_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__2(
28933
+ /*! ../auto/image_processing_auto.js */
28934
+ "./src/models/auto/image_processing_auto.js"
28935
+ );
28936
+ var _tokenizers_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__2(
28937
+ /*! ../../tokenizers.js */
28938
+ "./src/tokenizers.js"
28939
+ );
28940
+ class PixtralProcessor extends _base_processing_utils_js__WEBPACK_IMPORTED_MODULE_0__.Processor {
28941
+ /**
28942
+ * @typedef {import('../../utils/image.js').RawImage} RawImage
28943
+ */
28944
+ // `images` is required, `text` is optional
28945
+ async _call(images, text = null, kwargs = {}) {
28946
+ const image_inputs = await this.image_processor(images, kwargs);
28947
+ if (text) {
28948
+ const [height, width] = image_inputs.pixel_values.dims.slice(-2);
28949
+ const { image_token, image_break_token, image_end_token, patch_size, spatial_merge_size } = this.config;
28950
+ const real_patch_size = patch_size * spatial_merge_size;
28951
+ const num_height_tokens = Math.floor(height / real_patch_size);
28952
+ const num_width_tokens = Math.floor(width / real_patch_size);
28953
+ text = structuredClone(text);
28954
+ if (!Array.isArray(text)) {
28955
+ text = [text];
28956
+ }
28957
+ for (let i = 0; i < text.length; ++i) {
28958
+ const width_tokens = image_token.repeat(num_width_tokens);
28959
+ const row = width_tokens + image_break_token;
28960
+ const finalRow = width_tokens + image_end_token;
28961
+ const full = row.repeat(num_height_tokens - 1) + finalRow;
28962
+ text[i] = text[i].replace(image_token, full);
28963
+ }
28964
+ }
28965
+ const text_inputs = text ? this.tokenizer(text, kwargs) : {};
28966
+ return {
28967
+ ...image_inputs,
28968
+ ...text_inputs
28969
+ };
28970
+ }
28971
+ }
28972
+ __publicField(PixtralProcessor, "tokenizer_class", _tokenizers_js__WEBPACK_IMPORTED_MODULE_2__.AutoTokenizer);
28973
+ __publicField(PixtralProcessor, "image_processor_class", _auto_image_processing_auto_js__WEBPACK_IMPORTED_MODULE_1__.AutoImageProcessor);
28974
+ __publicField(PixtralProcessor, "uses_processor_config", true);
28975
+ })
28976
+ ),
28977
+ /***/
28595
28978
  "./src/models/processors.js": (
28596
28979
  /*!**********************************!*\
28597
28980
  !*** ./src/models/processors.js ***!
@@ -28648,52 +29031,57 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
28648
29031
  /* harmony export */
28649
29032
  PaliGemmaProcessor: () => (
28650
29033
  /* reexport safe */
28651
- _paligemma_processing_paligemma_js__WEBPACK_IMPORTED_MODULE_11__.PaliGemmaProcessor
29034
+ _paligemma_processing_paligemma_js__WEBPACK_IMPORTED_MODULE_10__.PaliGemmaProcessor
28652
29035
  ),
28653
29036
  /* harmony export */
28654
29037
  Phi3VProcessor: () => (
28655
29038
  /* reexport safe */
28656
- _phi3_v_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_10__.Phi3VProcessor
29039
+ _phi3_v_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_11__.Phi3VProcessor
29040
+ ),
29041
+ /* harmony export */
29042
+ PixtralProcessor: () => (
29043
+ /* reexport safe */
29044
+ _pixtral_processing_pixtral_js__WEBPACK_IMPORTED_MODULE_12__.PixtralProcessor
28657
29045
  ),
28658
29046
  /* harmony export */
28659
29047
  PyAnnoteProcessor: () => (
28660
29048
  /* reexport safe */
28661
- _pyannote_processing_pyannote_js__WEBPACK_IMPORTED_MODULE_12__.PyAnnoteProcessor
29049
+ _pyannote_processing_pyannote_js__WEBPACK_IMPORTED_MODULE_13__.PyAnnoteProcessor
28662
29050
  ),
28663
29051
  /* harmony export */
28664
29052
  Qwen2VLProcessor: () => (
28665
29053
  /* reexport safe */
28666
- _qwen2_vl_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_13__.Qwen2VLProcessor
29054
+ _qwen2_vl_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_14__.Qwen2VLProcessor
28667
29055
  ),
28668
29056
  /* harmony export */
28669
29057
  Sam2Processor: () => (
28670
29058
  /* reexport safe */
28671
- _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_15__.Sam2Processor
29059
+ _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_16__.Sam2Processor
28672
29060
  ),
28673
29061
  /* harmony export */
28674
29062
  Sam2VideoProcessor: () => (
28675
29063
  /* reexport safe */
28676
- _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_15__.Sam2VideoProcessor
29064
+ _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_16__.Sam2VideoProcessor
28677
29065
  ),
28678
29066
  /* harmony export */
28679
29067
  SamProcessor: () => (
28680
29068
  /* reexport safe */
28681
- _sam_processing_sam_js__WEBPACK_IMPORTED_MODULE_14__.SamProcessor
29069
+ _sam_processing_sam_js__WEBPACK_IMPORTED_MODULE_15__.SamProcessor
28682
29070
  ),
28683
29071
  /* harmony export */
28684
29072
  SmolVLMProcessor: () => (
28685
29073
  /* reexport safe */
28686
- _smolvlm_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_16__.SmolVLMProcessor
29074
+ _smolvlm_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_17__.SmolVLMProcessor
28687
29075
  ),
28688
29076
  /* harmony export */
28689
29077
  SpeechT5Processor: () => (
28690
29078
  /* reexport safe */
28691
- _speecht5_processing_speecht5_js__WEBPACK_IMPORTED_MODULE_17__.SpeechT5Processor
29079
+ _speecht5_processing_speecht5_js__WEBPACK_IMPORTED_MODULE_18__.SpeechT5Processor
28692
29080
  ),
28693
29081
  /* harmony export */
28694
29082
  UltravoxProcessor: () => (
28695
29083
  /* reexport safe */
28696
- _ultravox_processing_ultravox_js__WEBPACK_IMPORTED_MODULE_18__.UltravoxProcessor
29084
+ _ultravox_processing_ultravox_js__WEBPACK_IMPORTED_MODULE_19__.UltravoxProcessor
28697
29085
  ),
28698
29086
  /* harmony export */
28699
29087
  VLChatProcessor: () => (
@@ -28703,22 +29091,22 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
28703
29091
  /* harmony export */
28704
29092
  VoxtralProcessor: () => (
28705
29093
  /* reexport safe */
28706
- _voxtral_processing_voxtral_js__WEBPACK_IMPORTED_MODULE_19__.VoxtralProcessor
29094
+ _voxtral_processing_voxtral_js__WEBPACK_IMPORTED_MODULE_20__.VoxtralProcessor
28707
29095
  ),
28708
29096
  /* harmony export */
28709
29097
  Wav2Vec2Processor: () => (
28710
29098
  /* reexport safe */
28711
- _wav2vec2_processing_wav2vec2_js__WEBPACK_IMPORTED_MODULE_20__.Wav2Vec2Processor
29099
+ _wav2vec2_processing_wav2vec2_js__WEBPACK_IMPORTED_MODULE_21__.Wav2Vec2Processor
28712
29100
  ),
28713
29101
  /* harmony export */
28714
29102
  Wav2Vec2ProcessorWithLM: () => (
28715
29103
  /* reexport safe */
28716
- _wav2vec2_with_lm_processing_wav2vec2_with_lm_js__WEBPACK_IMPORTED_MODULE_21__.Wav2Vec2ProcessorWithLM
29104
+ _wav2vec2_with_lm_processing_wav2vec2_with_lm_js__WEBPACK_IMPORTED_MODULE_22__.Wav2Vec2ProcessorWithLM
28717
29105
  ),
28718
29106
  /* harmony export */
28719
29107
  WhisperProcessor: () => (
28720
29108
  /* reexport safe */
28721
- _whisper_processing_whisper_js__WEBPACK_IMPORTED_MODULE_22__.WhisperProcessor
29109
+ _whisper_processing_whisper_js__WEBPACK_IMPORTED_MODULE_23__.WhisperProcessor
28722
29110
  )
28723
29111
  /* harmony export */
28724
29112
  });
@@ -28762,55 +29150,59 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
28762
29150
  /*! ./owlvit/processing_owlvit.js */
28763
29151
  "./src/models/owlvit/processing_owlvit.js"
28764
29152
  );
28765
- var _phi3_v_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__2(
29153
+ var _paligemma_processing_paligemma_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__2(
29154
+ /*! ./paligemma/processing_paligemma.js */
29155
+ "./src/models/paligemma/processing_paligemma.js"
29156
+ );
29157
+ var _phi3_v_processing_phi3_v_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__2(
28766
29158
  /*! ./phi3_v/processing_phi3_v.js */
28767
29159
  "./src/models/phi3_v/processing_phi3_v.js"
28768
29160
  );
28769
- var _paligemma_processing_paligemma_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__2(
28770
- /*! ./paligemma/processing_paligemma.js */
28771
- "./src/models/paligemma/processing_paligemma.js"
29161
+ var _pixtral_processing_pixtral_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__2(
29162
+ /*! ./pixtral/processing_pixtral.js */
29163
+ "./src/models/pixtral/processing_pixtral.js"
28772
29164
  );
28773
- var _pyannote_processing_pyannote_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__2(
29165
+ var _pyannote_processing_pyannote_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__2(
28774
29166
  /*! ./pyannote/processing_pyannote.js */
28775
29167
  "./src/models/pyannote/processing_pyannote.js"
28776
29168
  );
28777
- var _qwen2_vl_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__2(
29169
+ var _qwen2_vl_processing_qwen2_vl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__2(
28778
29170
  /*! ./qwen2_vl/processing_qwen2_vl.js */
28779
29171
  "./src/models/qwen2_vl/processing_qwen2_vl.js"
28780
29172
  );
28781
- var _sam_processing_sam_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__2(
29173
+ var _sam_processing_sam_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__2(
28782
29174
  /*! ./sam/processing_sam.js */
28783
29175
  "./src/models/sam/processing_sam.js"
28784
29176
  );
28785
- var _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__2(
29177
+ var _sam2_processing_sam2_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__2(
28786
29178
  /*! ./sam2/processing_sam2.js */
28787
29179
  "./src/models/sam2/processing_sam2.js"
28788
29180
  );
28789
- var _smolvlm_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__2(
29181
+ var _smolvlm_processing_smolvlm_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__2(
28790
29182
  /*! ./smolvlm/processing_smolvlm.js */
28791
29183
  "./src/models/smolvlm/processing_smolvlm.js"
28792
29184
  );
28793
- var _speecht5_processing_speecht5_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__2(
29185
+ var _speecht5_processing_speecht5_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__2(
28794
29186
  /*! ./speecht5/processing_speecht5.js */
28795
29187
  "./src/models/speecht5/processing_speecht5.js"
28796
29188
  );
28797
- var _ultravox_processing_ultravox_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__2(
29189
+ var _ultravox_processing_ultravox_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__2(
28798
29190
  /*! ./ultravox/processing_ultravox.js */
28799
29191
  "./src/models/ultravox/processing_ultravox.js"
28800
29192
  );
28801
- var _voxtral_processing_voxtral_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__2(
29193
+ var _voxtral_processing_voxtral_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__2(
28802
29194
  /*! ./voxtral/processing_voxtral.js */
28803
29195
  "./src/models/voxtral/processing_voxtral.js"
28804
29196
  );
28805
- var _wav2vec2_processing_wav2vec2_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__2(
29197
+ var _wav2vec2_processing_wav2vec2_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__2(
28806
29198
  /*! ./wav2vec2/processing_wav2vec2.js */
28807
29199
  "./src/models/wav2vec2/processing_wav2vec2.js"
28808
29200
  );
28809
- var _wav2vec2_with_lm_processing_wav2vec2_with_lm_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__2(
29201
+ var _wav2vec2_with_lm_processing_wav2vec2_with_lm_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__2(
28810
29202
  /*! ./wav2vec2_with_lm/processing_wav2vec2_with_lm.js */
28811
29203
  "./src/models/wav2vec2_with_lm/processing_wav2vec2_with_lm.js"
28812
29204
  );
28813
- var _whisper_processing_whisper_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__2(
29205
+ var _whisper_processing_whisper_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__2(
28814
29206
  /*! ./whisper/processing_whisper.js */
28815
29207
  "./src/models/whisper/processing_whisper.js"
28816
29208
  );
@@ -33177,11 +33569,6 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
33177
33569
  ElectraTokenizer
33178
33570
  ),
33179
33571
  /* harmony export */
33180
- Ernie4_5_Tokenizer: () => (
33181
- /* binding */
33182
- Ernie4_5_Tokenizer
33183
- ),
33184
- /* harmony export */
33185
33572
  EsmTokenizer: () => (
33186
33573
  /* binding */
33187
33574
  EsmTokenizer
@@ -36471,8 +36858,6 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
36471
36858
  }
36472
36859
  class MgpstrTokenizer extends PreTrainedTokenizer {
36473
36860
  }
36474
- class Ernie4_5_Tokenizer extends PreTrainedTokenizer {
36475
- }
36476
36861
  class AutoTokenizer {
36477
36862
  /**
36478
36863
  * Instantiate one of the tokenizer classes of the library from a pretrained model.
@@ -36560,7 +36945,6 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
36560
36945
  Grok1Tokenizer,
36561
36946
  CohereTokenizer,
36562
36947
  MgpstrTokenizer,
36563
- Ernie4_5_Tokenizer,
36564
36948
  // Base case:
36565
36949
  PreTrainedTokenizer
36566
36950
  });
@@ -42605,24 +42989,19 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
42605
42989
  _generation_stopping_criteria_js__WEBPACK_IMPORTED_MODULE_20__.EosTokenCriteria
42606
42990
  ),
42607
42991
  /* harmony export */
42608
- Ernie4_5_ForCausalLM: () => (
42992
+ Ernie4_5ForCausalLM: () => (
42609
42993
  /* reexport safe */
42610
- _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5_ForCausalLM
42994
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5ForCausalLM
42611
42995
  ),
42612
42996
  /* harmony export */
42613
- Ernie4_5_Model: () => (
42997
+ Ernie4_5Model: () => (
42614
42998
  /* reexport safe */
42615
- _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5_Model
42999
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5Model
42616
43000
  ),
42617
43001
  /* harmony export */
42618
- Ernie4_5_PretrainedModel: () => (
43002
+ Ernie4_5PreTrainedModel: () => (
42619
43003
  /* reexport safe */
42620
- _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5_PretrainedModel
42621
- ),
42622
- /* harmony export */
42623
- Ernie4_5_Tokenizer: () => (
42624
- /* reexport safe */
42625
- _tokenizers_js__WEBPACK_IMPORTED_MODULE_3__.Ernie4_5_Tokenizer
43004
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ernie4_5PreTrainedModel
42626
43005
  ),
42627
43006
  /* harmony export */
42628
43007
  EsmForMaskedLM: () => (
@@ -43545,6 +43924,41 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
43545
43924
  _generation_logits_process_js__WEBPACK_IMPORTED_MODULE_21__.MinNewTokensLengthLogitsProcessor
43546
43925
  ),
43547
43926
  /* harmony export */
43927
+ Ministral3ForCausalLM: () => (
43928
+ /* reexport safe */
43929
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ministral3ForCausalLM
43930
+ ),
43931
+ /* harmony export */
43932
+ Ministral3Model: () => (
43933
+ /* reexport safe */
43934
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ministral3Model
43935
+ ),
43936
+ /* harmony export */
43937
+ Ministral3PreTrainedModel: () => (
43938
+ /* reexport safe */
43939
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Ministral3PreTrainedModel
43940
+ ),
43941
+ /* harmony export */
43942
+ MinistralForCausalLM: () => (
43943
+ /* reexport safe */
43944
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.MinistralForCausalLM
43945
+ ),
43946
+ /* harmony export */
43947
+ MinistralModel: () => (
43948
+ /* reexport safe */
43949
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.MinistralModel
43950
+ ),
43951
+ /* harmony export */
43952
+ MinistralPreTrainedModel: () => (
43953
+ /* reexport safe */
43954
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.MinistralPreTrainedModel
43955
+ ),
43956
+ /* harmony export */
43957
+ Mistral3ForConditionalGeneration: () => (
43958
+ /* reexport safe */
43959
+ _models_js__WEBPACK_IMPORTED_MODULE_2__.Mistral3ForConditionalGeneration
43960
+ ),
43961
+ /* harmony export */
43548
43962
  MistralForCausalLM: () => (
43549
43963
  /* reexport safe */
43550
43964
  _models_js__WEBPACK_IMPORTED_MODULE_2__.MistralForCausalLM
@@ -44195,6 +44609,16 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
44195
44609
  _pipelines_js__WEBPACK_IMPORTED_MODULE_1__.Pipeline
44196
44610
  ),
44197
44611
  /* harmony export */
44612
+ PixtralImageProcessor: () => (
44613
+ /* reexport safe */
44614
+ _models_image_processors_js__WEBPACK_IMPORTED_MODULE_14__.PixtralImageProcessor
44615
+ ),
44616
+ /* harmony export */
44617
+ PixtralProcessor: () => (
44618
+ /* reexport safe */
44619
+ _models_processors_js__WEBPACK_IMPORTED_MODULE_17__.PixtralProcessor
44620
+ ),
44621
+ /* harmony export */
44198
44622
  PreTrainedModel: () => (
44199
44623
  /* reexport safe */
44200
44624
  _models_js__WEBPACK_IMPORTED_MODULE_2__.PreTrainedModel
@@ -46039,10 +46463,9 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
46039
46463
  __webpack_exports__ElectraTokenizer = __webpack_exports__.ElectraTokenizer;
46040
46464
  __webpack_exports__EncodecFeatureExtractor = __webpack_exports__.EncodecFeatureExtractor;
46041
46465
  __webpack_exports__EosTokenCriteria = __webpack_exports__.EosTokenCriteria;
46042
- __webpack_exports__Ernie4_5_ForCausalLM = __webpack_exports__.Ernie4_5_ForCausalLM;
46043
- __webpack_exports__Ernie4_5_Model = __webpack_exports__.Ernie4_5_Model;
46044
- __webpack_exports__Ernie4_5_PretrainedModel = __webpack_exports__.Ernie4_5_PretrainedModel;
46045
- __webpack_exports__Ernie4_5_Tokenizer = __webpack_exports__.Ernie4_5_Tokenizer;
46466
+ __webpack_exports__Ernie4_5ForCausalLM = __webpack_exports__.Ernie4_5ForCausalLM;
46467
+ __webpack_exports__Ernie4_5Model = __webpack_exports__.Ernie4_5Model;
46468
+ __webpack_exports__Ernie4_5PreTrainedModel = __webpack_exports__.Ernie4_5PreTrainedModel;
46046
46469
  __webpack_exports__EsmForMaskedLM = __webpack_exports__.EsmForMaskedLM;
46047
46470
  __webpack_exports__EsmForSequenceClassification = __webpack_exports__.EsmForSequenceClassification;
46048
46471
  __webpack_exports__EsmForTokenClassification = __webpack_exports__.EsmForTokenClassification;
@@ -46227,6 +46650,13 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
46227
46650
  __webpack_exports__MimiPreTrainedModel = __webpack_exports__.MimiPreTrainedModel;
46228
46651
  __webpack_exports__MinLengthLogitsProcessor = __webpack_exports__.MinLengthLogitsProcessor;
46229
46652
  __webpack_exports__MinNewTokensLengthLogitsProcessor = __webpack_exports__.MinNewTokensLengthLogitsProcessor;
46653
+ __webpack_exports__Ministral3ForCausalLM = __webpack_exports__.Ministral3ForCausalLM;
46654
+ __webpack_exports__Ministral3Model = __webpack_exports__.Ministral3Model;
46655
+ __webpack_exports__Ministral3PreTrainedModel = __webpack_exports__.Ministral3PreTrainedModel;
46656
+ __webpack_exports__MinistralForCausalLM = __webpack_exports__.MinistralForCausalLM;
46657
+ __webpack_exports__MinistralModel = __webpack_exports__.MinistralModel;
46658
+ __webpack_exports__MinistralPreTrainedModel = __webpack_exports__.MinistralPreTrainedModel;
46659
+ __webpack_exports__Mistral3ForConditionalGeneration = __webpack_exports__.Mistral3ForConditionalGeneration;
46230
46660
  __webpack_exports__MistralForCausalLM = __webpack_exports__.MistralForCausalLM;
46231
46661
  __webpack_exports__MistralModel = __webpack_exports__.MistralModel;
46232
46662
  __webpack_exports__MistralPreTrainedModel = __webpack_exports__.MistralPreTrainedModel;
@@ -46357,6 +46787,8 @@ ${fake_token_around_image}${global_img_token}` + image_token.repeat(image_seq_le
46357
46787
  __webpack_exports__PhiModel = __webpack_exports__.PhiModel;
46358
46788
  __webpack_exports__PhiPreTrainedModel = __webpack_exports__.PhiPreTrainedModel;
46359
46789
  __webpack_exports__Pipeline = __webpack_exports__.Pipeline;
46790
+ __webpack_exports__PixtralImageProcessor = __webpack_exports__.PixtralImageProcessor;
46791
+ __webpack_exports__PixtralProcessor = __webpack_exports__.PixtralProcessor;
46360
46792
  __webpack_exports__PreTrainedModel = __webpack_exports__.PreTrainedModel;
46361
46793
  __webpack_exports__PreTrainedTokenizer = __webpack_exports__.PreTrainedTokenizer;
46362
46794
  __webpack_exports__PretrainedConfig = __webpack_exports__.PretrainedConfig;
@@ -46677,6 +47109,8 @@ __export(index_exports, {
46677
47109
  executeTool: () => executeTool,
46678
47110
  extractConversationContext: () => extractConversationContext,
46679
47111
  formatMemoriesForChat: () => formatMemoriesForChat,
47112
+ hasEncryptionKey: () => hasEncryptionKey,
47113
+ requestEncryptionKey: () => requestEncryptionKey,
46680
47114
  selectTool: () => selectTool,
46681
47115
  useChat: () => useChat,
46682
47116
  useEncryption: () => useEncryption,
@@ -48047,10 +48481,11 @@ Please inform the user about this issue and try to help them alternatively.`
48047
48481
  }
48048
48482
 
48049
48483
  // src/react/useEncryption.ts
48050
- var import_react2 = require("react");
48051
- var import_react_auth = require("@privy-io/react-auth");
48052
48484
  var SIGN_MESSAGE = "The app is asking you to sign this message to generate a key, which will be used to encrypt data.";
48053
- var SIGNATURE_STORAGE_KEY = "privy_encryption_key";
48485
+ var BASE_SIGNATURE_STORAGE_KEY = "privy_encryption_key";
48486
+ function getStorageKey(address) {
48487
+ return `${BASE_SIGNATURE_STORAGE_KEY}_${address}`;
48488
+ }
48054
48489
  function getStorageItem(key) {
48055
48490
  if (typeof window === "undefined" || !window.localStorage) {
48056
48491
  return null;
@@ -48092,8 +48527,9 @@ async function deriveKeyFromSignature(signature) {
48092
48527
  const hashBytes = new Uint8Array(hashBuffer);
48093
48528
  return bytesToHex(hashBytes);
48094
48529
  }
48095
- async function getEncryptionKey() {
48096
- const keyHex = getStorageItem(SIGNATURE_STORAGE_KEY);
48530
+ async function getEncryptionKey(address) {
48531
+ const storageKey = getStorageKey(address);
48532
+ const keyHex = getStorageItem(storageKey);
48097
48533
  if (!keyHex) {
48098
48534
  throw new Error("Encryption key not found. Please sign in first.");
48099
48535
  }
@@ -48106,8 +48542,8 @@ async function getEncryptionKey() {
48106
48542
  ["encrypt", "decrypt"]
48107
48543
  );
48108
48544
  }
48109
- async function encryptData(plaintext) {
48110
- const key = await getEncryptionKey();
48545
+ async function encryptData(plaintext, address) {
48546
+ const key = await getEncryptionKey(address);
48111
48547
  const plaintextBytes = typeof plaintext === "string" ? new TextEncoder().encode(plaintext) : plaintext;
48112
48548
  const iv = crypto.getRandomValues(new Uint8Array(12));
48113
48549
  const encryptedData = await crypto.subtle.encrypt(
@@ -48124,8 +48560,8 @@ async function encryptData(plaintext) {
48124
48560
  combined.set(encryptedBytes, iv.length);
48125
48561
  return bytesToHex(combined);
48126
48562
  }
48127
- async function decryptData(encryptedHex) {
48128
- const key = await getEncryptionKey();
48563
+ async function decryptData(encryptedHex, address) {
48564
+ const key = await getEncryptionKey(address);
48129
48565
  const combined = hexToBytes(encryptedHex);
48130
48566
  const iv = combined.slice(0, 12);
48131
48567
  const encryptedData = combined.slice(12);
@@ -48139,8 +48575,8 @@ async function decryptData(encryptedHex) {
48139
48575
  );
48140
48576
  return new TextDecoder().decode(decryptedData);
48141
48577
  }
48142
- async function decryptDataBytes(encryptedHex) {
48143
- const key = await getEncryptionKey();
48578
+ async function decryptDataBytes(encryptedHex, address) {
48579
+ const key = await getEncryptionKey(address);
48144
48580
  const combined = hexToBytes(encryptedHex);
48145
48581
  const iv = combined.slice(0, 12);
48146
48582
  const encryptedData = combined.slice(12);
@@ -48154,58 +48590,31 @@ async function decryptDataBytes(encryptedHex) {
48154
48590
  );
48155
48591
  return new Uint8Array(decryptedData);
48156
48592
  }
48157
- function useEncryption(authenticated) {
48158
- const { signMessage } = (0, import_react_auth.useSignMessage)();
48159
- const { wallets } = (0, import_react_auth.useWallets)();
48160
- const hasRequestedSignature = (0, import_react2.useRef)(false);
48161
- const hasCheckedStorage = (0, import_react2.useRef)(false);
48162
- (0, import_react2.useEffect)(() => {
48163
- if (!authenticated || wallets.length === 0) {
48164
- return;
48165
- }
48166
- const existingKey = getStorageItem(SIGNATURE_STORAGE_KEY);
48167
- if (existingKey) {
48168
- if (!hasCheckedStorage.current) {
48169
- hasCheckedStorage.current = true;
48170
- }
48171
- return;
48172
- }
48173
- const requestSignature = async () => {
48174
- if (!hasRequestedSignature.current) {
48175
- hasRequestedSignature.current = true;
48176
- try {
48177
- const { signature } = await signMessage(
48178
- { message: SIGN_MESSAGE },
48179
- {
48180
- address: wallets[0].address
48181
- }
48182
- );
48183
- const encryptionKey = await deriveKeyFromSignature(signature);
48184
- const stored = setStorageItem(SIGNATURE_STORAGE_KEY, encryptionKey);
48185
- if (!stored) {
48186
- throw new Error("Failed to store encryption key in localStorage");
48187
- }
48188
- } catch (error) {
48189
- hasRequestedSignature.current = false;
48190
- }
48191
- }
48192
- };
48193
- requestSignature();
48194
- }, [
48195
- authenticated,
48196
- wallets.length > 0 ? wallets[0]?.address : null,
48197
- signMessage
48198
- ]);
48199
- (0, import_react2.useEffect)(() => {
48200
- if (!authenticated) {
48201
- hasRequestedSignature.current = false;
48202
- hasCheckedStorage.current = false;
48203
- }
48204
- }, [authenticated]);
48593
+ function hasEncryptionKey(address) {
48594
+ const storageKey = getStorageKey(address);
48595
+ return getStorageItem(storageKey) !== null;
48596
+ }
48597
+ async function requestEncryptionKey(walletAddress, signMessage) {
48598
+ const storageKey = getStorageKey(walletAddress);
48599
+ const existingKey = getStorageItem(storageKey);
48600
+ if (existingKey) {
48601
+ return;
48602
+ }
48603
+ const signature = await signMessage(SIGN_MESSAGE);
48604
+ const encryptionKey = await deriveKeyFromSignature(signature);
48605
+ const stored = setStorageItem(storageKey, encryptionKey);
48606
+ if (!stored) {
48607
+ throw new Error("Failed to store encryption key in localStorage");
48608
+ }
48609
+ }
48610
+ function useEncryption(signMessage) {
48611
+ return {
48612
+ requestEncryptionKey: (walletAddress) => requestEncryptionKey(walletAddress, signMessage)
48613
+ };
48205
48614
  }
48206
48615
 
48207
48616
  // src/react/useMemory.ts
48208
- var import_react3 = require("react");
48617
+ var import_react2 = require("react");
48209
48618
  var import_client6 = require("@reverbia/sdk");
48210
48619
 
48211
48620
  // src/lib/memory/service.ts
@@ -48603,8 +49012,8 @@ function useMemory(options = {}) {
48603
49012
  baseUrl = BASE_URL
48604
49013
  } = options;
48605
49014
  const embeddingModel = userEmbeddingModel === void 0 ? embeddingProvider === "local" ? DEFAULT_LOCAL_EMBEDDING_MODEL : DEFAULT_API_EMBEDDING_MODEL : userEmbeddingModel;
48606
- const extractionInProgressRef = (0, import_react3.useRef)(false);
48607
- const extractMemoriesFromMessage = (0, import_react3.useCallback)(
49015
+ const extractionInProgressRef = (0, import_react2.useRef)(false);
49016
+ const extractMemoriesFromMessage = (0, import_react2.useCallback)(
48608
49017
  async (options2) => {
48609
49018
  const { messages, model } = options2;
48610
49019
  if (!getToken || extractionInProgressRef.current) {
@@ -48787,7 +49196,7 @@ function useMemory(options = {}) {
48787
49196
  baseUrl
48788
49197
  ]
48789
49198
  );
48790
- const searchMemories = (0, import_react3.useCallback)(
49199
+ const searchMemories = (0, import_react2.useCallback)(
48791
49200
  async (query, limit = 10, minSimilarity = 0.6) => {
48792
49201
  if (!embeddingModel) {
48793
49202
  console.warn("Cannot search memories: embeddingModel not provided");
@@ -48833,7 +49242,7 @@ function useMemory(options = {}) {
48833
49242
  }
48834
49243
 
48835
49244
  // src/react/usePdf.ts
48836
- var import_react4 = require("react");
49245
+ var import_react3 = require("react");
48837
49246
 
48838
49247
  // src/lib/pdf.ts
48839
49248
  var pdfjs = __toESM(require("pdfjs-dist"));
@@ -48861,9 +49270,9 @@ async function extractTextFromPdf(pdfDataUrl) {
48861
49270
  // src/react/usePdf.ts
48862
49271
  var PDF_MIME_TYPE = "application/pdf";
48863
49272
  function usePdf() {
48864
- const [isProcessing, setIsProcessing] = (0, import_react4.useState)(false);
48865
- const [error, setError] = (0, import_react4.useState)(null);
48866
- const extractPdfContext = (0, import_react4.useCallback)(
49273
+ const [isProcessing, setIsProcessing] = (0, import_react3.useState)(false);
49274
+ const [error, setError] = (0, import_react3.useState)(null);
49275
+ const extractPdfContext = (0, import_react3.useCallback)(
48867
49276
  async (files) => {
48868
49277
  setIsProcessing(true);
48869
49278
  setError(null);
@@ -48910,22 +49319,22 @@ ${text}`;
48910
49319
  }
48911
49320
 
48912
49321
  // src/react/useModels.ts
48913
- var import_react5 = require("react");
49322
+ var import_react4 = require("react");
48914
49323
  function useModels(options = {}) {
48915
49324
  const { getToken, baseUrl = BASE_URL, provider, autoFetch = true } = options;
48916
- const [models, setModels] = (0, import_react5.useState)([]);
48917
- const [isLoading, setIsLoading] = (0, import_react5.useState)(false);
48918
- const [error, setError] = (0, import_react5.useState)(null);
48919
- const getTokenRef = (0, import_react5.useRef)(getToken);
48920
- const baseUrlRef = (0, import_react5.useRef)(baseUrl);
48921
- const providerRef = (0, import_react5.useRef)(provider);
48922
- const abortControllerRef = (0, import_react5.useRef)(null);
48923
- (0, import_react5.useEffect)(() => {
49325
+ const [models, setModels] = (0, import_react4.useState)([]);
49326
+ const [isLoading, setIsLoading] = (0, import_react4.useState)(false);
49327
+ const [error, setError] = (0, import_react4.useState)(null);
49328
+ const getTokenRef = (0, import_react4.useRef)(getToken);
49329
+ const baseUrlRef = (0, import_react4.useRef)(baseUrl);
49330
+ const providerRef = (0, import_react4.useRef)(provider);
49331
+ const abortControllerRef = (0, import_react4.useRef)(null);
49332
+ (0, import_react4.useEffect)(() => {
48924
49333
  getTokenRef.current = getToken;
48925
49334
  baseUrlRef.current = baseUrl;
48926
49335
  providerRef.current = provider;
48927
49336
  });
48928
- (0, import_react5.useEffect)(() => {
49337
+ (0, import_react4.useEffect)(() => {
48929
49338
  return () => {
48930
49339
  if (abortControllerRef.current) {
48931
49340
  abortControllerRef.current.abort();
@@ -48933,7 +49342,7 @@ function useModels(options = {}) {
48933
49342
  }
48934
49343
  };
48935
49344
  }, []);
48936
- const fetchModels = (0, import_react5.useCallback)(async () => {
49345
+ const fetchModels = (0, import_react4.useCallback)(async () => {
48937
49346
  if (abortControllerRef.current) {
48938
49347
  abortControllerRef.current.abort();
48939
49348
  }
@@ -48991,12 +49400,12 @@ function useModels(options = {}) {
48991
49400
  }
48992
49401
  }
48993
49402
  }, []);
48994
- const refetch = (0, import_react5.useCallback)(async () => {
49403
+ const refetch = (0, import_react4.useCallback)(async () => {
48995
49404
  setModels([]);
48996
49405
  await fetchModels();
48997
49406
  }, [fetchModels]);
48998
- const hasFetchedRef = (0, import_react5.useRef)(false);
48999
- (0, import_react5.useEffect)(() => {
49407
+ const hasFetchedRef = (0, import_react4.useRef)(false);
49408
+ (0, import_react4.useEffect)(() => {
49000
49409
  if (autoFetch && !hasFetchedRef.current) {
49001
49410
  hasFetchedRef.current = true;
49002
49411
  fetchModels();
@@ -49014,15 +49423,15 @@ function useModels(options = {}) {
49014
49423
  }
49015
49424
 
49016
49425
  // src/react/useSearch.ts
49017
- var import_react6 = require("react");
49426
+ var import_react5 = require("react");
49018
49427
  function useSearch(options = {}) {
49019
49428
  const { getToken, baseUrl = BASE_URL, onError } = options;
49020
- const [isLoading, setIsLoading] = (0, import_react6.useState)(false);
49021
- const [results, setResults] = (0, import_react6.useState)(null);
49022
- const [response, setResponse] = (0, import_react6.useState)(null);
49023
- const [error, setError] = (0, import_react6.useState)(null);
49024
- const abortControllerRef = (0, import_react6.useRef)(null);
49025
- (0, import_react6.useEffect)(() => {
49429
+ const [isLoading, setIsLoading] = (0, import_react5.useState)(false);
49430
+ const [results, setResults] = (0, import_react5.useState)(null);
49431
+ const [response, setResponse] = (0, import_react5.useState)(null);
49432
+ const [error, setError] = (0, import_react5.useState)(null);
49433
+ const abortControllerRef = (0, import_react5.useRef)(null);
49434
+ (0, import_react5.useEffect)(() => {
49026
49435
  return () => {
49027
49436
  if (abortControllerRef.current) {
49028
49437
  abortControllerRef.current.abort();
@@ -49030,7 +49439,7 @@ function useSearch(options = {}) {
49030
49439
  }
49031
49440
  };
49032
49441
  }, []);
49033
- const search = (0, import_react6.useCallback)(
49442
+ const search = (0, import_react5.useCallback)(
49034
49443
  async (query, searchOptions = {}) => {
49035
49444
  if (abortControllerRef.current) {
49036
49445
  abortControllerRef.current.abort();
@@ -49098,12 +49507,12 @@ function useSearch(options = {}) {
49098
49507
  }
49099
49508
 
49100
49509
  // src/react/useImageGeneration.ts
49101
- var import_react7 = require("react");
49510
+ var import_react6 = require("react");
49102
49511
  function useImageGeneration(options = {}) {
49103
49512
  const { getToken, baseUrl = BASE_URL, onFinish, onError } = options;
49104
- const [isLoading, setIsLoading] = (0, import_react7.useState)(false);
49105
- const abortControllerRef = (0, import_react7.useRef)(null);
49106
- (0, import_react7.useEffect)(() => {
49513
+ const [isLoading, setIsLoading] = (0, import_react6.useState)(false);
49514
+ const abortControllerRef = (0, import_react6.useRef)(null);
49515
+ (0, import_react6.useEffect)(() => {
49107
49516
  return () => {
49108
49517
  if (abortControllerRef.current) {
49109
49518
  abortControllerRef.current.abort();
@@ -49111,13 +49520,13 @@ function useImageGeneration(options = {}) {
49111
49520
  }
49112
49521
  };
49113
49522
  }, []);
49114
- const stop = (0, import_react7.useCallback)(() => {
49523
+ const stop = (0, import_react6.useCallback)(() => {
49115
49524
  if (abortControllerRef.current) {
49116
49525
  abortControllerRef.current.abort();
49117
49526
  abortControllerRef.current = null;
49118
49527
  }
49119
49528
  }, []);
49120
- const generateImage = (0, import_react7.useCallback)(
49529
+ const generateImage = (0, import_react6.useCallback)(
49121
49530
  async (args) => {
49122
49531
  if (abortControllerRef.current) {
49123
49532
  abortControllerRef.current.abort();
@@ -49243,6 +49652,8 @@ var extractConversationContext = (messages, maxMessages = 3) => {
49243
49652
  executeTool,
49244
49653
  extractConversationContext,
49245
49654
  formatMemoriesForChat,
49655
+ hasEncryptionKey,
49656
+ requestEncryptionKey,
49246
49657
  selectTool,
49247
49658
  useChat,
49248
49659
  useEncryption,