@authhero/saml 0.4.6 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/saml.mjs CHANGED
@@ -370,932 +370,8 @@ function b(e) {
370
370
  return e.startIndex + e[1].length;
371
371
  }
372
372
  //#endregion
373
- //#region ../../node_modules/.pnpm/@nodable+entities@2.2.0/node_modules/@nodable/entities/src/entities.js
373
+ //#region ../../node_modules/.pnpm/@nodable+entities@3.0.0/node_modules/@nodable/entities/src/entities.js
374
374
  var de = {
375
- amp: "&",
376
- AMP: "&",
377
- lt: "<",
378
- LT: "<",
379
- gt: ">",
380
- GT: ">",
381
- quot: "\"",
382
- QUOT: "\"",
383
- apos: "'",
384
- lsquo: "‘",
385
- rsquo: "’",
386
- ldquo: "“",
387
- rdquo: "”",
388
- lsquor: "‚",
389
- rsquor: "’",
390
- ldquor: "„",
391
- bdquo: "„",
392
- comma: ",",
393
- period: ".",
394
- colon: ":",
395
- semi: ";",
396
- excl: "!",
397
- quest: "?",
398
- num: "#",
399
- dollar: "$",
400
- percent: "%",
401
- ast: "*",
402
- commat: "@",
403
- lowbar: "_",
404
- verbar: "|",
405
- vert: "|",
406
- sol: "/",
407
- bsol: "\\",
408
- lbrace: "{",
409
- rbrace: "}",
410
- lbrack: "[",
411
- rbrack: "]",
412
- lpar: "(",
413
- rpar: ")",
414
- nbsp: "\xA0",
415
- iexcl: "¡",
416
- cent: "¢",
417
- pound: "£",
418
- curren: "¤",
419
- yen: "¥",
420
- brvbar: "¦",
421
- sect: "§",
422
- uml: "¨",
423
- copy: "©",
424
- COPY: "©",
425
- ordf: "ª",
426
- laquo: "«",
427
- not: "¬",
428
- shy: "­",
429
- reg: "®",
430
- REG: "®",
431
- macr: "¯",
432
- deg: "°",
433
- plusmn: "±",
434
- sup2: "²",
435
- sup3: "³",
436
- acute: "´",
437
- micro: "µ",
438
- para: "¶",
439
- middot: "·",
440
- cedil: "¸",
441
- sup1: "¹",
442
- ordm: "º",
443
- raquo: "»",
444
- frac14: "¼",
445
- frac12: "½",
446
- half: "½",
447
- frac34: "¾",
448
- iquest: "¿",
449
- times: "×",
450
- div: "÷",
451
- divide: "÷"
452
- }, fe = {
453
- Agrave: "À",
454
- agrave: "à",
455
- Aacute: "Á",
456
- aacute: "á",
457
- Acirc: "Â",
458
- acirc: "â",
459
- Atilde: "Ã",
460
- atilde: "ã",
461
- Auml: "Ä",
462
- auml: "ä",
463
- Aring: "Å",
464
- aring: "å",
465
- AElig: "Æ",
466
- aelig: "æ",
467
- Ccedil: "Ç",
468
- ccedil: "ç",
469
- Egrave: "È",
470
- egrave: "è",
471
- Eacute: "É",
472
- eacute: "é",
473
- Ecirc: "Ê",
474
- ecirc: "ê",
475
- Euml: "Ë",
476
- euml: "ë",
477
- Igrave: "Ì",
478
- igrave: "ì",
479
- Iacute: "Í",
480
- iacute: "í",
481
- Icirc: "Î",
482
- icirc: "î",
483
- Iuml: "Ï",
484
- iuml: "ï",
485
- ETH: "Ð",
486
- eth: "ð",
487
- Ntilde: "Ñ",
488
- ntilde: "ñ",
489
- Ograve: "Ò",
490
- ograve: "ò",
491
- Oacute: "Ó",
492
- oacute: "ó",
493
- Ocirc: "Ô",
494
- ocirc: "ô",
495
- Otilde: "Õ",
496
- otilde: "õ",
497
- Ouml: "Ö",
498
- ouml: "ö",
499
- Oslash: "Ø",
500
- oslash: "ø",
501
- Ugrave: "Ù",
502
- ugrave: "ù",
503
- Uacute: "Ú",
504
- uacute: "ú",
505
- Ucirc: "Û",
506
- ucirc: "û",
507
- Uuml: "Ü",
508
- uuml: "ü",
509
- Yacute: "Ý",
510
- yacute: "ý",
511
- THORN: "Þ",
512
- thorn: "þ",
513
- szlig: "ß",
514
- yuml: "ÿ",
515
- Yuml: "Ÿ"
516
- }, pe = {
517
- Amacr: "Ā",
518
- amacr: "ā",
519
- Abreve: "Ă",
520
- abreve: "ă",
521
- Aogon: "Ą",
522
- aogon: "ą",
523
- Cacute: "Ć",
524
- cacute: "ć",
525
- Ccirc: "Ĉ",
526
- ccirc: "ĉ",
527
- Cdot: "Ċ",
528
- cdot: "ċ",
529
- Ccaron: "Č",
530
- ccaron: "č",
531
- Dcaron: "Ď",
532
- dcaron: "ď",
533
- Dstrok: "Đ",
534
- dstrok: "đ",
535
- Emacr: "Ē",
536
- emacr: "ē",
537
- Ecaron: "Ě",
538
- ecaron: "ě",
539
- Edot: "Ė",
540
- edot: "ė",
541
- Eogon: "Ę",
542
- eogon: "ę",
543
- Gcirc: "Ĝ",
544
- gcirc: "ĝ",
545
- Gbreve: "Ğ",
546
- gbreve: "ğ",
547
- Gdot: "Ġ",
548
- gdot: "ġ",
549
- Gcedil: "Ģ",
550
- Hcirc: "Ĥ",
551
- hcirc: "ĥ",
552
- Hstrok: "Ħ",
553
- hstrok: "ħ",
554
- Itilde: "Ĩ",
555
- itilde: "ĩ",
556
- Imacr: "Ī",
557
- imacr: "ī",
558
- Iogon: "Į",
559
- iogon: "į",
560
- Idot: "İ",
561
- IJlig: "IJ",
562
- ijlig: "ij",
563
- Jcirc: "Ĵ",
564
- jcirc: "ĵ",
565
- Kcedil: "Ķ",
566
- kcedil: "ķ",
567
- kgreen: "ĸ",
568
- Lacute: "Ĺ",
569
- lacute: "ĺ",
570
- Lcedil: "Ļ",
571
- lcedil: "ļ",
572
- Lcaron: "Ľ",
573
- lcaron: "ľ",
574
- Lmidot: "Ŀ",
575
- lmidot: "ŀ",
576
- Lstrok: "Ł",
577
- lstrok: "ł",
578
- Nacute: "Ń",
579
- nacute: "ń",
580
- Ncaron: "Ň",
581
- ncaron: "ň",
582
- Ncedil: "Ņ",
583
- ncedil: "ņ",
584
- ENG: "Ŋ",
585
- eng: "ŋ",
586
- Omacr: "Ō",
587
- omacr: "ō",
588
- Odblac: "Ő",
589
- odblac: "ő",
590
- OElig: "Œ",
591
- oelig: "œ",
592
- Racute: "Ŕ",
593
- racute: "ŕ",
594
- Rcaron: "Ř",
595
- rcaron: "ř",
596
- Rcedil: "Ŗ",
597
- rcedil: "ŗ",
598
- Sacute: "Ś",
599
- sacute: "ś",
600
- Scirc: "Ŝ",
601
- scirc: "ŝ",
602
- Scedil: "Ş",
603
- scedil: "ş",
604
- Scaron: "Š",
605
- scaron: "š",
606
- Tcedil: "Ţ",
607
- tcedil: "ţ",
608
- Tcaron: "Ť",
609
- tcaron: "ť",
610
- Tstrok: "Ŧ",
611
- tstrok: "ŧ",
612
- Utilde: "Ũ",
613
- utilde: "ũ",
614
- Umacr: "Ū",
615
- umacr: "ū",
616
- Ubreve: "Ŭ",
617
- ubreve: "ŭ",
618
- Uring: "Ů",
619
- uring: "ů",
620
- Udblac: "Ű",
621
- udblac: "ű",
622
- Uogon: "Ų",
623
- uogon: "ų",
624
- Wcirc: "Ŵ",
625
- wcirc: "ŵ",
626
- Ycirc: "Ŷ",
627
- ycirc: "ŷ",
628
- Zacute: "Ź",
629
- zacute: "ź",
630
- Zdot: "Ż",
631
- zdot: "ż",
632
- Zcaron: "Ž",
633
- zcaron: "ž"
634
- }, me = {
635
- Alpha: "Α",
636
- alpha: "α",
637
- Beta: "Β",
638
- beta: "β",
639
- Gamma: "Γ",
640
- gamma: "γ",
641
- Delta: "Δ",
642
- delta: "δ",
643
- Epsilon: "Ε",
644
- epsilon: "ε",
645
- epsiv: "ϵ",
646
- varepsilon: "ϵ",
647
- Zeta: "Ζ",
648
- zeta: "ζ",
649
- Eta: "Η",
650
- eta: "η",
651
- Theta: "Θ",
652
- theta: "θ",
653
- thetasym: "ϑ",
654
- vartheta: "ϑ",
655
- Iota: "Ι",
656
- iota: "ι",
657
- Kappa: "Κ",
658
- kappa: "κ",
659
- kappav: "ϰ",
660
- varkappa: "ϰ",
661
- Lambda: "Λ",
662
- lambda: "λ",
663
- Mu: "Μ",
664
- mu: "μ",
665
- Nu: "Ν",
666
- nu: "ν",
667
- Xi: "Ξ",
668
- xi: "ξ",
669
- Omicron: "Ο",
670
- omicron: "ο",
671
- Pi: "Π",
672
- pi: "π",
673
- piv: "ϖ",
674
- varpi: "ϖ",
675
- Rho: "Ρ",
676
- rho: "ρ",
677
- rhov: "ϱ",
678
- varrho: "ϱ",
679
- Sigma: "Σ",
680
- sigma: "σ",
681
- sigmaf: "ς",
682
- sigmav: "ς",
683
- varsigma: "ς",
684
- Tau: "Τ",
685
- tau: "τ",
686
- Upsilon: "Υ",
687
- upsilon: "υ",
688
- upsi: "υ",
689
- Upsi: "ϒ",
690
- upsih: "ϒ",
691
- Phi: "Φ",
692
- phi: "φ",
693
- phiv: "ϕ",
694
- varphi: "ϕ",
695
- Chi: "Χ",
696
- chi: "χ",
697
- Psi: "Ψ",
698
- psi: "ψ",
699
- Omega: "Ω",
700
- omega: "ω",
701
- ohm: "Ω",
702
- Gammad: "Ϝ",
703
- gammad: "ϝ",
704
- digamma: "ϝ"
705
- }, he = {
706
- Afr: "𝔄",
707
- afr: "𝔞",
708
- Acy: "А",
709
- acy: "а",
710
- Bcy: "Б",
711
- bcy: "б",
712
- Vcy: "В",
713
- vcy: "в",
714
- Gcy: "Г",
715
- gcy: "г",
716
- Dcy: "Д",
717
- dcy: "д",
718
- IEcy: "Е",
719
- iecy: "е",
720
- IOcy: "Ё",
721
- iocy: "ё",
722
- ZHcy: "Ж",
723
- zhcy: "ж",
724
- Zcy: "З",
725
- zcy: "з",
726
- Icy: "И",
727
- icy: "и",
728
- Jcy: "Й",
729
- jcy: "й",
730
- Kcy: "К",
731
- kcy: "к",
732
- Lcy: "Л",
733
- lcy: "л",
734
- Mcy: "М",
735
- mcy: "м",
736
- Ncy: "Н",
737
- ncy: "н",
738
- Ocy: "О",
739
- ocy: "о",
740
- Pcy: "П",
741
- pcy: "п",
742
- Rcy: "Р",
743
- rcy: "р",
744
- Scy: "С",
745
- scy: "с",
746
- Tcy: "Т",
747
- tcy: "т",
748
- Ucy: "У",
749
- ucy: "у",
750
- Fcy: "Ф",
751
- fcy: "ф",
752
- KHcy: "Х",
753
- khcy: "х",
754
- TScy: "Ц",
755
- tscy: "ц",
756
- CHcy: "Ч",
757
- chcy: "ч",
758
- SHcy: "Ш",
759
- shcy: "ш",
760
- SHCHcy: "Щ",
761
- shchcy: "щ",
762
- HARDcy: "Ъ",
763
- hardcy: "ъ",
764
- Ycy: "Ы",
765
- ycy: "ы",
766
- SOFTcy: "Ь",
767
- softcy: "ь",
768
- Ecy: "Э",
769
- ecy: "э",
770
- YUcy: "Ю",
771
- yucy: "ю",
772
- YAcy: "Я",
773
- yacy: "я",
774
- DJcy: "Ђ",
775
- djcy: "ђ",
776
- GJcy: "Ѓ",
777
- gjcy: "ѓ",
778
- Jukcy: "Є",
779
- jukcy: "є",
780
- DScy: "Ѕ",
781
- dscy: "ѕ",
782
- Iukcy: "І",
783
- iukcy: "і",
784
- YIcy: "Ї",
785
- yicy: "ї",
786
- Jsercy: "Ј",
787
- jsercy: "ј",
788
- LJcy: "Љ",
789
- ljcy: "љ",
790
- NJcy: "Њ",
791
- njcy: "њ",
792
- TSHcy: "Ћ",
793
- tshcy: "ћ",
794
- KJcy: "Ќ",
795
- kjcy: "ќ",
796
- Ubrcy: "Ў",
797
- ubrcy: "ў",
798
- DZcy: "Џ",
799
- dzcy: "џ"
800
- }, ge = {
801
- plus: "+",
802
- pm: "±",
803
- times: "×",
804
- div: "÷",
805
- divide: "÷",
806
- sdot: "⋅",
807
- star: "☆",
808
- starf: "★",
809
- bigstar: "★",
810
- lowast: "∗",
811
- ast: "*",
812
- midast: "*",
813
- compfn: "∘",
814
- smallcircle: "∘",
815
- bullet: "•",
816
- bull: "•",
817
- nbsp: "\xA0",
818
- hellip: "…",
819
- mldr: "…",
820
- prime: "′",
821
- Prime: "″",
822
- tprime: "‴",
823
- bprime: "‵",
824
- backprime: "‵",
825
- minus: "−",
826
- minusd: "∸",
827
- dotminus: "∸",
828
- plusdo: "∔",
829
- dotplus: "∔",
830
- plusmn: "±",
831
- minusplus: "∓",
832
- mnplus: "∓",
833
- mp: "∓",
834
- setminus: "∖",
835
- smallsetminus: "∖",
836
- Backslash: "∖",
837
- setmn: "∖",
838
- ssetmn: "∖",
839
- lowbar: "_",
840
- verbar: "|",
841
- vert: "|",
842
- VerticalLine: "|",
843
- colon: ":",
844
- Colon: "∷",
845
- Proportion: "∷",
846
- ratio: "∶",
847
- equals: "=",
848
- ne: "≠",
849
- nequiv: "≢",
850
- equiv: "≡",
851
- Congruent: "≡",
852
- sim: "∼",
853
- thicksim: "∼",
854
- thksim: "∼",
855
- sime: "≃",
856
- simeq: "≃",
857
- TildeEqual: "≃",
858
- asymp: "≈",
859
- approx: "≈",
860
- thickapprox: "≈",
861
- thkap: "≈",
862
- TildeTilde: "≈",
863
- ncong: "≇",
864
- cong: "≅",
865
- TildeFullEqual: "≅",
866
- asympeq: "≍",
867
- CupCap: "≍",
868
- bump: "≎",
869
- Bumpeq: "≎",
870
- HumpDownHump: "≎",
871
- bumpe: "≏",
872
- bumpeq: "≏",
873
- HumpEqual: "≏",
874
- le: "≤",
875
- LessEqual: "≤",
876
- ge: "≥",
877
- GreaterEqual: "≥",
878
- lesseqgtr: "⋚",
879
- lesseqqgtr: "⪋",
880
- greater: ">",
881
- less: "<"
882
- }, _e = {
883
- alefsym: "ℵ",
884
- aleph: "ℵ",
885
- beth: "ℶ",
886
- gimel: "ℷ",
887
- daleth: "ℸ",
888
- forall: "∀",
889
- ForAll: "∀",
890
- part: "∂",
891
- PartialD: "∂",
892
- exist: "∃",
893
- Exists: "∃",
894
- nexist: "∄",
895
- nexists: "∄",
896
- empty: "∅",
897
- emptyset: "∅",
898
- emptyv: "∅",
899
- varnothing: "∅",
900
- nabla: "∇",
901
- Del: "∇",
902
- isin: "∈",
903
- isinv: "∈",
904
- in: "∈",
905
- Element: "∈",
906
- notin: "∉",
907
- notinva: "∉",
908
- ni: "∋",
909
- niv: "∋",
910
- SuchThat: "∋",
911
- ReverseElement: "∋",
912
- notni: "∌",
913
- notniva: "∌",
914
- prod: "∏",
915
- Product: "∏",
916
- coprod: "∐",
917
- Coproduct: "∐",
918
- sum: "∑",
919
- Sum: "∑",
920
- minus: "−",
921
- mp: "∓",
922
- plusdo: "∔",
923
- dotplus: "∔",
924
- setminus: "∖",
925
- lowast: "∗",
926
- radic: "√",
927
- Sqrt: "√",
928
- prop: "∝",
929
- propto: "∝",
930
- Proportional: "∝",
931
- varpropto: "∝",
932
- infin: "∞",
933
- infintie: "⧝",
934
- ang: "∠",
935
- angle: "∠",
936
- angmsd: "∡",
937
- measuredangle: "∡",
938
- angsph: "∢",
939
- mid: "∣",
940
- VerticalBar: "∣",
941
- nmid: "∤",
942
- nsmid: "∤",
943
- npar: "∦",
944
- parallel: "∥",
945
- spar: "∥",
946
- nparallel: "∦",
947
- nspar: "∦",
948
- and: "∧",
949
- wedge: "∧",
950
- or: "∨",
951
- vee: "∨",
952
- cap: "∩",
953
- cup: "∪",
954
- int: "∫",
955
- Integral: "∫",
956
- conint: "∮",
957
- ContourIntegral: "∮",
958
- Conint: "∯",
959
- DoubleContourIntegral: "∯",
960
- Cconint: "∰",
961
- there4: "∴",
962
- therefore: "∴",
963
- Therefore: "∴",
964
- becaus: "∵",
965
- because: "∵",
966
- Because: "∵",
967
- ratio: "∶",
968
- Proportion: "∷",
969
- minusd: "∸",
970
- dotminus: "∸",
971
- mDDot: "∺",
972
- homtht: "∻",
973
- sim: "∼",
974
- bsimg: "∽",
975
- backsim: "∽",
976
- ac: "∾",
977
- mstpos: "∾",
978
- acd: "∿",
979
- VerticalTilde: "≀",
980
- wr: "≀",
981
- wreath: "≀",
982
- nsime: "≄",
983
- nsimeq: "≄",
984
- ncong: "≇",
985
- simne: "≆",
986
- ncongdot: "⩭̸",
987
- ngsim: "≵",
988
- nsim: "≁",
989
- napprox: "≉",
990
- nap: "≉",
991
- ngeq: "≱",
992
- nge: "≱",
993
- nleq: "≰",
994
- nle: "≰",
995
- ngtr: "≯",
996
- ngt: "≯",
997
- nless: "≮",
998
- nlt: "≮",
999
- nprec: "⊀",
1000
- npr: "⊀",
1001
- nsucc: "⊁",
1002
- nsc: "⊁"
1003
- }, ve = {
1004
- larr: "←",
1005
- leftarrow: "←",
1006
- LeftArrow: "←",
1007
- uarr: "↑",
1008
- uparrow: "↑",
1009
- UpArrow: "↑",
1010
- rarr: "→",
1011
- rightarrow: "→",
1012
- RightArrow: "→",
1013
- darr: "↓",
1014
- downarrow: "↓",
1015
- DownArrow: "↓",
1016
- harr: "↔",
1017
- leftrightarrow: "↔",
1018
- LeftRightArrow: "↔",
1019
- varr: "↕",
1020
- updownarrow: "↕",
1021
- UpDownArrow: "↕",
1022
- nwarr: "↖",
1023
- nwarrow: "↖",
1024
- UpperLeftArrow: "↖",
1025
- nearr: "↗",
1026
- nearrow: "↗",
1027
- UpperRightArrow: "↗",
1028
- searr: "↘",
1029
- searrow: "↘",
1030
- LowerRightArrow: "↘",
1031
- swarr: "↙",
1032
- swarrow: "↙",
1033
- LowerLeftArrow: "↙",
1034
- lArr: "⇐",
1035
- Leftarrow: "⇐",
1036
- uArr: "⇑",
1037
- Uparrow: "⇑",
1038
- rArr: "⇒",
1039
- Rightarrow: "⇒",
1040
- dArr: "⇓",
1041
- Downarrow: "⇓",
1042
- hArr: "⇔",
1043
- Leftrightarrow: "⇔",
1044
- iff: "⇔",
1045
- vArr: "⇕",
1046
- Updownarrow: "⇕",
1047
- lAarr: "⇚",
1048
- Lleftarrow: "⇚",
1049
- rAarr: "⇛",
1050
- Rrightarrow: "⇛",
1051
- lrarr: "⇆",
1052
- leftrightarrows: "⇆",
1053
- rlarr: "⇄",
1054
- rightleftarrows: "⇄",
1055
- lrhar: "⇋",
1056
- leftrightharpoons: "⇋",
1057
- ReverseEquilibrium: "⇋",
1058
- rlhar: "⇌",
1059
- rightleftharpoons: "⇌",
1060
- Equilibrium: "⇌",
1061
- udarr: "⇅",
1062
- UpArrowDownArrow: "⇅",
1063
- duarr: "⇵",
1064
- DownArrowUpArrow: "⇵",
1065
- llarr: "⇇",
1066
- leftleftarrows: "⇇",
1067
- rrarr: "⇉",
1068
- rightrightarrows: "⇉",
1069
- ddarr: "⇊",
1070
- downdownarrows: "⇊",
1071
- har: "↽",
1072
- lhard: "↽",
1073
- leftharpoondown: "↽",
1074
- lharu: "↼",
1075
- leftharpoonup: "↼",
1076
- rhard: "⇁",
1077
- rightharpoondown: "⇁",
1078
- rharu: "⇀",
1079
- rightharpoonup: "⇀",
1080
- lsh: "↰",
1081
- Lsh: "↰",
1082
- rsh: "↱",
1083
- Rsh: "↱",
1084
- ldsh: "↲",
1085
- rdsh: "↳",
1086
- hookleftarrow: "↩",
1087
- hookrightarrow: "↪",
1088
- mapstoleft: "↤",
1089
- mapstoup: "↥",
1090
- map: "↦",
1091
- mapsto: "↦",
1092
- mapstodown: "↧",
1093
- crarr: "↵",
1094
- nleftarrow: "↚",
1095
- nleftrightarrow: "↮",
1096
- nrightarrow: "↛",
1097
- nrarr: "↛",
1098
- larrtl: "↢",
1099
- rarrtl: "↣",
1100
- leftarrowtail: "↢",
1101
- rightarrowtail: "↣",
1102
- twoheadleftarrow: "↞",
1103
- twoheadrightarrow: "↠",
1104
- Larr: "↞",
1105
- Rarr: "↠",
1106
- larrhk: "↩",
1107
- rarrhk: "↪",
1108
- larrlp: "↫",
1109
- looparrowleft: "↫",
1110
- rarrlp: "↬",
1111
- looparrowright: "↬",
1112
- harrw: "↭",
1113
- leftrightsquigarrow: "↭",
1114
- nrarrw: "↝̸",
1115
- rarrw: "↝",
1116
- rightsquigarrow: "↝",
1117
- larrbfs: "⤟",
1118
- rarrbfs: "⤠",
1119
- nvHarr: "⤄",
1120
- nvlArr: "⤂",
1121
- nvrArr: "⤃",
1122
- larrfs: "⤝",
1123
- rarrfs: "⤞",
1124
- Map: "⤅",
1125
- larrsim: "⥳",
1126
- rarrsim: "⥴",
1127
- harrcir: "⥈",
1128
- Uarrocir: "⥉",
1129
- lurdshar: "⥊",
1130
- ldrdhar: "⥧",
1131
- ldrushar: "⥋",
1132
- rdldhar: "⥩",
1133
- lrhard: "⥭",
1134
- uharr: "↾",
1135
- uharl: "↿",
1136
- dharr: "⇂",
1137
- dharl: "⇃",
1138
- Uarr: "↟",
1139
- Darr: "↡",
1140
- zigrarr: "⇝",
1141
- nwArr: "⇖",
1142
- neArr: "⇗",
1143
- seArr: "⇘",
1144
- swArr: "⇙",
1145
- nharr: "↮",
1146
- nhArr: "⇎",
1147
- nlarr: "↚",
1148
- nlArr: "⇍",
1149
- nrArr: "⇏",
1150
- larrb: "⇤",
1151
- LeftArrowBar: "⇤",
1152
- rarrb: "⇥",
1153
- RightArrowBar: "⇥"
1154
- }, ye = {
1155
- square: "□",
1156
- Square: "□",
1157
- squ: "□",
1158
- squf: "▪",
1159
- squarf: "▪",
1160
- blacksquar: "▪",
1161
- blacksquare: "▪",
1162
- FilledVerySmallSquare: "▪",
1163
- blk34: "▓",
1164
- blk12: "▒",
1165
- blk14: "░",
1166
- block: "█",
1167
- srect: "▭",
1168
- rect: "▭",
1169
- sdot: "⋅",
1170
- sdotb: "⊡",
1171
- dotsquare: "⊡",
1172
- triangle: "▵",
1173
- tri: "▵",
1174
- trine: "▵",
1175
- utri: "▵",
1176
- triangledown: "▿",
1177
- dtri: "▿",
1178
- tridown: "▿",
1179
- triangleleft: "◃",
1180
- ltri: "◃",
1181
- triangleright: "▹",
1182
- rtri: "▹",
1183
- blacktriangle: "▴",
1184
- utrif: "▴",
1185
- blacktriangledown: "▾",
1186
- dtrif: "▾",
1187
- blacktriangleleft: "◂",
1188
- ltrif: "◂",
1189
- blacktriangleright: "▸",
1190
- rtrif: "▸",
1191
- loz: "◊",
1192
- lozenge: "◊",
1193
- blacklozenge: "⧫",
1194
- lozf: "⧫",
1195
- bigcirc: "◯",
1196
- xcirc: "◯",
1197
- circ: "ˆ",
1198
- Circle: "○",
1199
- cir: "○",
1200
- o: "○",
1201
- bullet: "•",
1202
- bull: "•",
1203
- hellip: "…",
1204
- mldr: "…",
1205
- nldr: "‥",
1206
- boxh: "─",
1207
- HorizontalLine: "─",
1208
- boxv: "│",
1209
- boxdr: "┌",
1210
- boxdl: "┐",
1211
- boxur: "└",
1212
- boxul: "┘",
1213
- boxvr: "├",
1214
- boxvl: "┤",
1215
- boxhd: "┬",
1216
- boxhu: "┴",
1217
- boxvh: "┼",
1218
- boxH: "═",
1219
- boxV: "║",
1220
- boxdR: "╒",
1221
- boxDr: "╓",
1222
- boxDR: "╔",
1223
- boxDl: "╕",
1224
- boxdL: "╖",
1225
- boxDL: "╗",
1226
- boxuR: "╘",
1227
- boxUr: "╙",
1228
- boxUR: "╚",
1229
- boxUl: "╜",
1230
- boxuL: "╛",
1231
- boxUL: "╝",
1232
- boxvR: "╞",
1233
- boxVr: "╟",
1234
- boxVR: "╠",
1235
- boxVl: "╢",
1236
- boxvL: "╡",
1237
- boxVL: "╣",
1238
- boxHd: "╤",
1239
- boxhD: "╥",
1240
- boxHD: "╦",
1241
- boxHu: "╧",
1242
- boxhU: "╨",
1243
- boxHU: "╩",
1244
- boxvH: "╪",
1245
- boxVh: "╫",
1246
- boxVH: "╬"
1247
- }, be = {
1248
- excl: "!",
1249
- iexcl: "¡",
1250
- brvbar: "¦",
1251
- sect: "§",
1252
- uml: "¨",
1253
- copy: "©",
1254
- ordf: "ª",
1255
- laquo: "«",
1256
- not: "¬",
1257
- shy: "­",
1258
- reg: "®",
1259
- macr: "¯",
1260
- deg: "°",
1261
- plusmn: "±",
1262
- sup2: "²",
1263
- sup3: "³",
1264
- acute: "´",
1265
- micro: "µ",
1266
- para: "¶",
1267
- middot: "·",
1268
- cedil: "¸",
1269
- sup1: "¹",
1270
- ordm: "º",
1271
- raquo: "»",
1272
- frac14: "¼",
1273
- frac12: "½",
1274
- frac34: "¾",
1275
- iquest: "¿",
1276
- nbsp: "\xA0",
1277
- comma: ",",
1278
- period: ".",
1279
- colon: ":",
1280
- semi: ";",
1281
- vert: "|",
1282
- Verbar: "‖",
1283
- verbar: "|",
1284
- dblac: "˝",
1285
- circ: "ˆ",
1286
- caron: "ˇ",
1287
- breve: "˘",
1288
- dot: "˙",
1289
- ring: "˚",
1290
- ogon: "˛",
1291
- tilde: "˜",
1292
- DiacriticalGrave: "`",
1293
- DiacriticalAcute: "´",
1294
- DiacriticalTilde: "˜",
1295
- DiacriticalDot: "˙",
1296
- DiacriticalDoubleAcute: "˝",
1297
- grave: "`"
1298
- }, xe = {
1299
375
  cent: "¢",
1300
376
  pound: "£",
1301
377
  curren: "¤",
@@ -1311,112 +387,13 @@ var de = {
1311
387
  won: "₩",
1312
388
  yuan: "¥",
1313
389
  cedil: "¸"
1314
- }, Se = {
1315
- frac12: "½",
1316
- half: "½",
1317
- frac13: "⅓",
1318
- frac14: "¼",
1319
- frac15: "⅕",
1320
- frac16: "⅙",
1321
- frac18: "⅛",
1322
- frac23: "⅔",
1323
- frac25: "⅖",
1324
- frac34: "¾",
1325
- frac35: "⅗",
1326
- frac38: "⅜",
1327
- frac45: "⅘",
1328
- frac56: "⅚",
1329
- frac58: "⅝",
1330
- frac78: "⅞",
1331
- frasl: "⁄"
1332
- }, Ce = {
1333
- trade: "™",
1334
- TRADE: "™",
1335
- telrec: "⌕",
1336
- target: "⌖",
1337
- ulcorn: "⌜",
1338
- ulcorner: "⌜",
1339
- urcorn: "⌝",
1340
- urcorner: "⌝",
1341
- dlcorn: "⌞",
1342
- llcorner: "⌞",
1343
- drcorn: "⌟",
1344
- lrcorner: "⌟",
1345
- intercal: "⊺",
1346
- intcal: "⊺",
1347
- oplus: "⊕",
1348
- CirclePlus: "⊕",
1349
- ominus: "⊖",
1350
- CircleMinus: "⊖",
1351
- otimes: "⊗",
1352
- CircleTimes: "⊗",
1353
- osol: "⊘",
1354
- odot: "⊙",
1355
- CircleDot: "⊙",
1356
- oast: "⊛",
1357
- circledast: "⊛",
1358
- odash: "⊝",
1359
- circleddash: "⊝",
1360
- ocirc: "⊚",
1361
- circledcirc: "⊚",
1362
- boxplus: "⊞",
1363
- plusb: "⊞",
1364
- boxminus: "⊟",
1365
- minusb: "⊟",
1366
- boxtimes: "⊠",
1367
- timesb: "⊠",
1368
- boxdot: "⊡",
1369
- sdotb: "⊡",
1370
- veebar: "⊻",
1371
- vee: "∨",
1372
- barvee: "⊽",
1373
- and: "∧",
1374
- wedge: "∧",
1375
- Cap: "⋒",
1376
- Cup: "⋓",
1377
- Fork: "⋔",
1378
- pitchfork: "⋔",
1379
- epar: "⋕",
1380
- ltlarr: "⥶",
1381
- nvap: "≍⃒",
1382
- nvsim: "∼⃒",
1383
- nvge: "≥⃒",
1384
- nvle: "≤⃒",
1385
- nvlt: "<⃒",
1386
- nvgt: ">⃒",
1387
- nvltrie: "⊴⃒",
1388
- nvrtrie: "⊵⃒",
1389
- Vdash: "⊩",
1390
- dashv: "⊣",
1391
- vDash: "⊨",
1392
- Vvdash: "⊪",
1393
- nvdash: "⊬",
1394
- nvDash: "⊭",
1395
- nVdash: "⊮",
1396
- nVDash: "⊯"
1397
- };
1398
- ({
1399
- ...de,
1400
- ...fe,
1401
- ...pe,
1402
- ...me,
1403
- ...he,
1404
- ...ge,
1405
- ..._e,
1406
- ...ve,
1407
- ...ye,
1408
- ...be,
1409
- ...xe,
1410
- ...Se,
1411
- ...Ce
1412
- });
1413
- var we = {
390
+ }, fe = {
1414
391
  amp: "&",
1415
392
  apos: "'",
1416
393
  gt: ">",
1417
394
  lt: "<",
1418
395
  quot: "\""
1419
- }, Te = {
396
+ }, pe = {
1420
397
  nbsp: "\xA0",
1421
398
  copy: "©",
1422
399
  reg: "®",
@@ -1441,10 +418,10 @@ var we = {
1441
418
  ALLOW: "allow",
1442
419
  BLOCK: "block",
1443
420
  THROW: "throw"
1444
- }), Ee = /* @__PURE__ */ new Set("!?\\\\/[]$%{}^&*()<>|+");
1445
- function De(e) {
421
+ }), me = /* @__PURE__ */ new Set("!?\\\\/[]$%{}^&*()<>|+");
422
+ function he(e) {
1446
423
  if (e[0] === "#") throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);
1447
- for (let t of e) if (Ee.has(t)) throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);
424
+ for (let t of e) if (me.has(t)) throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);
1448
425
  return e;
1449
426
  }
1450
427
  function S(...e) {
@@ -1459,21 +436,21 @@ function S(...e) {
1459
436
  }
1460
437
  return t;
1461
438
  }
1462
- var C = "external", w = "base", Oe = "all";
1463
- function ke(e) {
1464
- return !e || e === C ? /* @__PURE__ */ new Set([C]) : e === Oe ? /* @__PURE__ */ new Set([Oe]) : e === w ? /* @__PURE__ */ new Set([w]) : Array.isArray(e) ? new Set(e) : /* @__PURE__ */ new Set([C]);
439
+ var C = "external", w = "base", ge = "all";
440
+ function _e(e) {
441
+ return !e || e === C ? /* @__PURE__ */ new Set([C]) : e === ge ? /* @__PURE__ */ new Set([ge]) : e === w ? /* @__PURE__ */ new Set([w]) : Array.isArray(e) ? new Set(e) : /* @__PURE__ */ new Set([C]);
1465
442
  }
1466
443
  var T = Object.freeze({
1467
444
  allow: 0,
1468
445
  leave: 1,
1469
446
  remove: 2,
1470
447
  throw: 3
1471
- }), Ae = /* @__PURE__ */ new Set([
448
+ }), ve = /* @__PURE__ */ new Set([
1472
449
  9,
1473
450
  10,
1474
451
  13
1475
452
  ]);
1476
- function je(e) {
453
+ function ye(e) {
1477
454
  if (!e) return {
1478
455
  xmlVersion: 1,
1479
456
  onLevel: T.allow,
@@ -1486,10 +463,10 @@ function je(e) {
1486
463
  nullLevel: Math.max(r, T.remove)
1487
464
  };
1488
465
  }
1489
- var Me = class {
466
+ var be = class {
1490
467
  constructor(e = {}) {
1491
- this._limit = e.limit || {}, this._maxTotalExpansions = this._limit.maxTotalExpansions || 0, this._maxExpandedLength = this._limit.maxExpandedLength || 0, this._postCheck = typeof e.postCheck == "function" ? e.postCheck : (e) => e, this._limitTiers = ke(this._limit.applyLimitsTo ?? C), this._numericAllowed = e.numericAllowed ?? !0, this._baseMap = S(we, e.namedEntities || null), this._externalMap = Object.create(null), this._inputMap = Object.create(null), this._totalExpansions = 0, this._expandedLength = 0, this._removeSet = new Set(e.remove && Array.isArray(e.remove) ? e.remove : []), this._leaveSet = new Set(e.leave && Array.isArray(e.leave) ? e.leave : []);
1492
- let t = je(e.ncr);
468
+ this._limit = e.limit || {}, this._maxTotalExpansions = this._limit.maxTotalExpansions || 0, this._maxExpandedLength = this._limit.maxExpandedLength || 0, this._postCheck = typeof e.postCheck == "function" ? e.postCheck : (e) => e, this._limitTiers = _e(this._limit.applyLimitsTo ?? C), this._numericAllowed = e.numericAllowed ?? !0, this._baseMap = S(fe, e.namedEntities || null), this._externalMap = Object.create(null), this._inputMap = Object.create(null), this._totalExpansions = 0, this._expandedLength = 0, this._removeSet = new Set(e.remove && Array.isArray(e.remove) ? e.remove : []), this._leaveSet = new Set(e.leave && Array.isArray(e.leave) ? e.leave : []);
469
+ let t = ye(e.ncr);
1493
470
  this._ncrXmlVersion = t.xmlVersion, this._ncrOnLevel = t.onLevel, this._ncrNullLevel = t.nullLevel, this._onExternalEntity = typeof e.onExternalEntity == "function" ? e.onExternalEntity : null, this._onInputEntity = typeof e.onInputEntity == "function" ? e.onInputEntity : null;
1494
471
  }
1495
472
  _applyRegistrationHook(e, t, n, r) {
@@ -1500,7 +477,7 @@ var Me = class {
1500
477
  return !0;
1501
478
  }
1502
479
  setExternalEntities(e) {
1503
- if (e) for (let t of Object.keys(e)) De(t);
480
+ if (e) for (let t of Object.keys(e)) he(t);
1504
481
  if (!this._onExternalEntity) {
1505
482
  this._externalMap = S(e);
1506
483
  return;
@@ -1510,7 +487,7 @@ var Me = class {
1510
487
  this._externalMap = n;
1511
488
  }
1512
489
  addExternalEntity(e, t) {
1513
- De(e), typeof t == "string" && t.indexOf("&") === -1 && this._applyRegistrationHook(this._onExternalEntity, e, t, "external") && (this._externalMap[e] = t);
490
+ he(e), typeof t == "string" && t.indexOf("&") === -1 && this._applyRegistrationHook(this._onExternalEntity, e, t, "external") && (this._externalMap[e] = t);
1514
491
  }
1515
492
  addInputEntities(e) {
1516
493
  if (this._totalExpansions = 0, this._expandedLength = 0, !this._onInputEntity) {
@@ -1579,7 +556,7 @@ var Me = class {
1579
556
  return this._postCheck(l, t);
1580
557
  }
1581
558
  _tierCounts(e) {
1582
- return this._limitTiers.has(Oe) ? !0 : this._limitTiers.has(e);
559
+ return this._limitTiers.has(ge) ? !0 : this._limitTiers.has(e);
1583
560
  }
1584
561
  _resolveName(e) {
1585
562
  if (e in this._inputMap) return {
@@ -1596,7 +573,7 @@ var Me = class {
1596
573
  };
1597
574
  }
1598
575
  _classifyNCR(e) {
1599
- return e === 0 ? this._ncrNullLevel : e >= 55296 && e <= 57343 || this._ncrXmlVersion === 1 && e >= 1 && e <= 31 && !Ae.has(e) ? T.remove : -1;
576
+ return e === 0 ? this._ncrNullLevel : e >= 55296 && e <= 57343 || this._ncrXmlVersion === 1 && e >= 1 && e <= 31 && !ve.has(e) ? T.remove : -1;
1600
577
  }
1601
578
  _applyNCRAction(e, t, n) {
1602
579
  switch (e) {
@@ -1615,7 +592,7 @@ var Me = class {
1615
592
  let i = r === -1 ? this._ncrOnLevel : Math.max(this._ncrOnLevel, r);
1616
593
  return this._applyNCRAction(i, e, n);
1617
594
  }
1618
- }, Ne = (e) => p.includes(e) ? "__" + e : e, Pe = {
595
+ }, xe = (e) => p.includes(e) ? "__" + e : e, Se = {
1619
596
  preserveOrder: !1,
1620
597
  attributeNamePrefix: "@_",
1621
598
  attributesGroupName: !1,
@@ -1658,14 +635,14 @@ var Me = class {
1658
635
  maxNestedTags: 100,
1659
636
  strictReservedNames: !0,
1660
637
  jPath: !0,
1661
- onDangerousProperty: Ne
638
+ onDangerousProperty: xe
1662
639
  };
1663
- function Fe(e, t) {
640
+ function Ce(e, t) {
1664
641
  if (typeof e != "string") return;
1665
642
  let n = e.toLowerCase();
1666
643
  if (p.some((e) => n === e.toLowerCase()) || m.some((e) => n === e.toLowerCase())) throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);
1667
644
  }
1668
- function Ie(e, t) {
645
+ function we(e, t) {
1669
646
  return typeof e == "boolean" ? {
1670
647
  enabled: e,
1671
648
  maxEntitySize: 1e4,
@@ -1686,10 +663,10 @@ function Ie(e, t) {
1686
663
  allowedTags: e.allowedTags ?? null,
1687
664
  tagFilter: e.tagFilter ?? null,
1688
665
  appliesTo: e.appliesTo ?? "all"
1689
- } : Ie(!0);
666
+ } : we(!0);
1690
667
  }
1691
- var Le = function(e) {
1692
- let t = Object.assign({}, Pe, e), n = [
668
+ var Te = function(e) {
669
+ let t = Object.assign({}, Se, e), n = [
1693
670
  {
1694
671
  value: t.attributeNamePrefix,
1695
672
  name: "attributeNamePrefix"
@@ -1711,9 +688,9 @@ var Le = function(e) {
1711
688
  name: "commentPropName"
1712
689
  }
1713
690
  ];
1714
- for (let { value: e, name: t } of n) e && Fe(e, t);
1715
- return t.onDangerousProperty === null && (t.onDangerousProperty = Ne), t.processEntities = Ie(t.processEntities, t.htmlEntities), t.unpairedTagsSet = new Set(t.unpairedTags), t.stopNodes && Array.isArray(t.stopNodes) && (t.stopNodes = t.stopNodes.map((e) => typeof e == "string" && e.startsWith("*.") ? ".." + e.substring(2) : e)), t;
1716
- }, Re = typeof Symbol == "function" ? Symbol("XML Node Metadata") : "@@xmlMetadata", E = class {
691
+ for (let { value: e, name: t } of n) e && Ce(e, t);
692
+ return t.onDangerousProperty === null && (t.onDangerousProperty = xe), t.processEntities = we(t.processEntities, t.htmlEntities), t.unpairedTagsSet = new Set(t.unpairedTags), t.stopNodes && Array.isArray(t.stopNodes) && (t.stopNodes = t.stopNodes.map((e) => typeof e == "string" && e.startsWith("*.") ? ".." + e.substring(2) : e)), t;
693
+ }, Ee = typeof Symbol == "function" ? Symbol("XML Node Metadata") : "@@xmlMetadata", E = class {
1717
694
  constructor(e) {
1718
695
  this.tagname = e, this.child = [], this[":@"] = Object.create(null);
1719
696
  }
@@ -1724,12 +701,12 @@ var Le = function(e) {
1724
701
  e.tagname === "__proto__" && (e.tagname = "#__proto__"), e[":@"] && Object.keys(e[":@"]).length > 0 ? this.child.push({
1725
702
  [e.tagname]: e.child,
1726
703
  ":@": e[":@"]
1727
- }) : this.child.push({ [e.tagname]: e.child }), t !== void 0 && (this.child[this.child.length - 1][Re] = { startIndex: t });
704
+ }) : this.child.push({ [e.tagname]: e.child }), t !== void 0 && (this.child[this.child.length - 1][Ee] = { startIndex: t });
1728
705
  }
1729
706
  static getMetaDataSymbol() {
1730
- return Re;
707
+ return Ee;
1731
708
  }
1732
- }, ze = ":A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�", Be = ":A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\\-\\.\\d·̀-ͯ‿-⁀", Ve = ":A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", He = ":A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿\\-\\.\\d·̀-ͯ҇‿-⁀", D = (e, t, n = "") => {
709
+ }, De = ":A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�", Oe = ":A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\\-\\.\\d·̀-ͯ‿-⁀", ke = ":A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Ae = ":A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿\\-\\.\\d·̀-ͯ҇‿-⁀", D = (e, t, n = "") => {
1733
710
  let r = `[${e.replace(":", "")}][${t.replace(":", "")}]*`;
1734
711
  return {
1735
712
  name: RegExp(`^[${e}][${t}]*$`, n),
@@ -1738,15 +715,15 @@ var Le = function(e) {
1738
715
  nmToken: RegExp(`^[${t}]+$`, n),
1739
716
  nmTokens: RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`, n)
1740
717
  };
1741
- }, Ue = D(ze, Be), We = D(Ve, He, "u"), Ge = D(":A-Za-z_", ":A-Za-z_\\-\\.\\d"), Ke = (e = "1.0", t = !1) => t ? Ge : e === "1.1" ? We : Ue, qe = (e, { xmlVersion: t = "1.0", asciiOnly: n = !1 } = {}) => Ke(t, n).qName.test(e), Je = [
718
+ }, je = D(De, Oe), Me = D(ke, Ae, "u"), Ne = D(":A-Za-z_", ":A-Za-z_\\-\\.\\d"), Pe = (e = "1.0", t = !1) => t ? Ne : e === "1.1" ? Me : je, Fe = (e, { xmlVersion: t = "1.0", asciiOnly: n = !1 } = {}) => Pe(t, n).qName.test(e), Ie = [
1742
719
  "name",
1743
720
  "ncName",
1744
721
  "qName",
1745
722
  "nmToken",
1746
723
  "nmTokens"
1747
- ], Ye = (e, { xmlVersion: t = "1.0", asciiOnly: n = !1, maxCacheSize: r = 2048 } = {}) => {
1748
- if (!Je.includes(e)) throw TypeError(`Unknown production "${e}". Must be one of: ${Je.join(", ")}`);
1749
- let i = Ke(t, n)[e], a = /* @__PURE__ */ new Map(), o = (e) => {
724
+ ], Le = (e, { xmlVersion: t = "1.0", asciiOnly: n = !1, maxCacheSize: r = 2048 } = {}) => {
725
+ if (!Ie.includes(e)) throw TypeError(`Unknown production "${e}". Must be one of: ${Ie.join(", ")}`);
726
+ let i = Pe(t, n)[e], a = /* @__PURE__ */ new Map(), o = (e) => {
1750
727
  let t = a.get(e);
1751
728
  if (t !== void 0) return t;
1752
729
  let n = i.test(e);
@@ -1755,7 +732,7 @@ var Le = function(e) {
1755
732
  return o.reset = () => {
1756
733
  a = /* @__PURE__ */ new Map();
1757
734
  }, o;
1758
- }, Xe = class {
735
+ }, Re = class {
1759
736
  constructor(e, t) {
1760
737
  this.suppressValidationErr = !e, this.options = e, this.xmlVersion = t || 1;
1761
738
  }
@@ -1847,7 +824,7 @@ var Le = function(e) {
1847
824
  let n = t;
1848
825
  for (; t < e.length && !/\s/.test(e[t]);) t++;
1849
826
  let r = e.substring(n, t);
1850
- if (!this.suppressValidationErr && !qe(r, { xmlVersion: this.xmlVersion })) throw Error(`Invalid element name: "${r}"`);
827
+ if (!this.suppressValidationErr && !Fe(r, { xmlVersion: this.xmlVersion })) throw Error(`Invalid element name: "${r}"`);
1851
828
  t = O(e, t);
1852
829
  let i = "";
1853
830
  if (e[t] === "E" && k(e, "MPTY", t)) t += 4;
@@ -1920,12 +897,12 @@ function k(e, t, n) {
1920
897
  return !0;
1921
898
  }
1922
899
  function A(e, t) {
1923
- if (qe(e, { xmlVersion: t })) return e;
900
+ if (Fe(e, { xmlVersion: t })) return e;
1924
901
  throw Error(`Invalid entity name ${e}`);
1925
902
  }
1926
903
  //#endregion
1927
904
  //#region ../../node_modules/.pnpm/anynum@1.0.1/node_modules/anynum/digitTable.js
1928
- var Ze = [
905
+ var ze = [
1929
906
  48,
1930
907
  1632,
1931
908
  1776,
@@ -1987,28 +964,28 @@ var Ze = [
1987
964
  124144,
1988
965
  125264,
1989
966
  130032
1990
- ], j = /* @__PURE__ */ new Map(), Qe = 65535, $e = 1632, et = (/* @__PURE__ */ new Uint8Array(63904)).fill(255);
1991
- for (let e of Ze) for (let t = 0; t < 10; t++) {
967
+ ], j = /* @__PURE__ */ new Map(), Be = 65535, Ve = 1632, M = (/* @__PURE__ */ new Uint8Array(63904)).fill(255);
968
+ for (let e of ze) for (let t = 0; t < 10; t++) {
1992
969
  let n = e + t;
1993
- n <= Qe ? et[n - $e] = t : j.set(n, t);
970
+ n <= Be ? M[n - Ve] = t : j.set(n, t);
1994
971
  }
1995
972
  //#endregion
1996
973
  //#region ../../node_modules/.pnpm/anynum@1.0.1/node_modules/anynum/anynum.js
1997
- var tt = 48, nt = 57, rt = 45, M = /* @__PURE__ */ new Set([
974
+ var He = 48, Ue = 57, We = 45, N = /* @__PURE__ */ new Set([
1998
975
  8722,
1999
976
  65293,
2000
977
  65123
2001
978
  ]);
2002
- function it(e) {
979
+ function Ge(e) {
2003
980
  if (typeof e != "string") return e;
2004
981
  let t = e.length;
2005
982
  if (t === 0) return e;
2006
983
  let n = -1;
2007
984
  for (let r = 0; r < t; r++) {
2008
985
  let i = e.charCodeAt(r);
2009
- if (!(i >= tt && i <= nt || i === rt)) {
986
+ if (!(i >= He && i <= Ue || i === We)) {
2010
987
  if (i < 1632) {
2011
- if (M.has(i)) {
988
+ if (N.has(i)) {
2012
989
  n = r;
2013
990
  break;
2014
991
  }
@@ -2027,7 +1004,7 @@ function it(e) {
2027
1004
  }
2028
1005
  continue;
2029
1006
  }
2030
- if (et[i - 1632] !== 255 || M.has(i)) {
1007
+ if (M[i - 1632] !== 255 || N.has(i)) {
2031
1008
  n = r;
2032
1009
  break;
2033
1010
  }
@@ -2038,12 +1015,12 @@ function it(e) {
2038
1015
  n > 0 && r.push(e.slice(0, n));
2039
1016
  for (let i = n; i < t; i++) {
2040
1017
  let n = e.charCodeAt(i);
2041
- if (n >= tt && n <= nt || n === rt) {
1018
+ if (n >= He && n <= Ue || n === We) {
2042
1019
  r.push(e[i]);
2043
1020
  continue;
2044
1021
  }
2045
1022
  if (n < 1632) {
2046
- r.push(M.has(n) ? "-" : e[i]);
1023
+ r.push(N.has(n) ? "-" : e[i]);
2047
1024
  continue;
2048
1025
  }
2049
1026
  if (n >= 55296 && n <= 56319) {
@@ -2060,18 +1037,18 @@ function it(e) {
2060
1037
  r.push(e[i]);
2061
1038
  continue;
2062
1039
  }
2063
- if (M.has(n)) {
1040
+ if (N.has(n)) {
2064
1041
  r.push("-");
2065
1042
  continue;
2066
1043
  }
2067
- let a = et[n - $e];
1044
+ let a = M[n - Ve];
2068
1045
  r.push(a === 255 ? e[i] : String.fromCharCode(a + 48));
2069
1046
  }
2070
1047
  return r.join("");
2071
1048
  }
2072
1049
  //#endregion
2073
1050
  //#region ../../node_modules/.pnpm/strnum@2.4.1/node_modules/strnum/strnum.js
2074
- var at = /^[-+]?0x[a-fA-F0-9]+$/, ot = /^0b[01]+$/, st = /^0o[0-7]+$/, ct = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, lt = {
1051
+ var Ke = /^[-+]?0x[a-fA-F0-9]+$/, qe = /^0b[01]+$/, Je = /^0o[0-7]+$/, Ye = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, Xe = {
2075
1052
  hex: !0,
2076
1053
  binary: !1,
2077
1054
  octal: !1,
@@ -2081,20 +1058,20 @@ var at = /^[-+]?0x[a-fA-F0-9]+$/, ot = /^0b[01]+$/, st = /^0o[0-7]+$/, ct = /^([
2081
1058
  infinity: "original",
2082
1059
  unicode: !1
2083
1060
  };
2084
- function ut(e, t = {}) {
2085
- if (t = Object.assign({}, lt, t), !e || typeof e != "string") return e;
1061
+ function Ze(e, t = {}) {
1062
+ if (t = Object.assign({}, Xe, t), !e || typeof e != "string") return e;
2086
1063
  let n = e.trim();
2087
1064
  if (n.length === 0 || t.skipLike !== void 0 && t.skipLike.test(n)) return e;
2088
- if (n === "0" || t.unicode && (n = it(n), n === "0")) return 0;
2089
- if (t.hex && at.test(n)) return N(n, 16);
2090
- if (t.binary && ot.test(n)) return N(n, 2);
2091
- if (t.octal && st.test(n)) return N(n, 8);
2092
- if (!isFinite(n)) return mt(e, Number(n), t);
2093
- if (n.includes("e") || n.includes("E")) return ft(e, n, t);
1065
+ if (n === "0" || t.unicode && (n = Ge(n), n === "0")) return 0;
1066
+ if (t.hex && Ke.test(n)) return P(n, 16);
1067
+ if (t.binary && qe.test(n)) return P(n, 2);
1068
+ if (t.octal && Je.test(n)) return P(n, 8);
1069
+ if (!isFinite(n)) return tt(e, Number(n), t);
1070
+ if (n.includes("e") || n.includes("E")) return $e(e, n, t);
2094
1071
  {
2095
- let r = ct.exec(n);
1072
+ let r = Ye.exec(n);
2096
1073
  if (r) {
2097
- let i = r[1] || "", a = r[2], o = pt(r[3]), s = i ? e[a.length + 1] === "." : e[a.length] === ".";
1074
+ let i = r[1] || "", a = r[2], o = et(r[3]), s = i ? e[a.length + 1] === "." : e[a.length] === ".";
2098
1075
  if (!t.leadingZeros && (a.length > 1 || a.length === 1 && !s)) return e;
2099
1076
  {
2100
1077
  let r = Number(n), s = String(r);
@@ -2107,26 +1084,26 @@ function ut(e, t = {}) {
2107
1084
  } else return e;
2108
1085
  }
2109
1086
  }
2110
- var dt = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
2111
- function ft(e, t, n) {
1087
+ var Qe = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
1088
+ function $e(e, t, n) {
2112
1089
  if (!n.eNotation) return e;
2113
- let r = t.match(dt);
1090
+ let r = t.match(Qe);
2114
1091
  if (r) {
2115
1092
  let i = r[1] || "", a = r[3].indexOf("e") === -1 ? "E" : "e", o = r[2], s = i ? e[o.length + 1] === a : e[o.length] === a;
2116
1093
  return o.length > 1 && s ? e : o.length === 1 && (r[3].startsWith(`.${a}`) || r[3][0] === a) ? Number(t) : o.length > 0 ? n.leadingZeros && !s ? (t = (r[1] || "") + r[3], Number(t)) : e : Number(t);
2117
1094
  } else return e;
2118
1095
  }
2119
- function pt(e) {
1096
+ function et(e) {
2120
1097
  return e && e.indexOf(".") !== -1 ? (e = e.replace(/0+$/, ""), e === "." ? e = "0" : e[0] === "." ? e = "0" + e : e[e.length - 1] === "." && (e = e.substring(0, e.length - 1)), e) : e;
2121
1098
  }
2122
- function N(e, t) {
1099
+ function P(e, t) {
2123
1100
  let n = e.trim();
2124
1101
  if ((t === 2 || t === 8) && (e = n.substring(2)), parseInt) return parseInt(e, t);
2125
1102
  if (Number.parseInt) return Number.parseInt(e, t);
2126
1103
  if (window && window.parseInt) return window.parseInt(e, t);
2127
1104
  throw Error("parseInt, Number.parseInt, window.parseInt are not supported");
2128
1105
  }
2129
- function mt(e, t, n) {
1106
+ function tt(e, t, n) {
2130
1107
  let r = t === Infinity;
2131
1108
  switch (n.infinity.toLowerCase()) {
2132
1109
  case "null": return null;
@@ -2136,15 +1113,15 @@ function mt(e, t, n) {
2136
1113
  }
2137
1114
  }
2138
1115
  //#endregion
2139
- //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.0/node_modules/fast-xml-parser/src/ignoreAttributes.js
2140
- function ht(e) {
1116
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.1/node_modules/fast-xml-parser/src/ignoreAttributes.js
1117
+ function nt(e) {
2141
1118
  return typeof e == "function" ? e : Array.isArray(e) ? (t) => {
2142
1119
  for (let n of e) if (typeof n == "string" && t === n || n instanceof RegExp && n.test(t)) return !0;
2143
1120
  } : () => !1;
2144
1121
  }
2145
1122
  //#endregion
2146
1123
  //#region ../../node_modules/.pnpm/path-expression-matcher@1.6.2/node_modules/path-expression-matcher/src/Expression.js
2147
- var P = class {
1124
+ var F = class {
2148
1125
  constructor(e, t = {}, n) {
2149
1126
  this.pattern = e, this.separator = t.separator || ".", this.segments = this._parse(e), this.data = n, this._hasDeepWildcard = this.segments.some((e) => e.type === "deep-wildcard"), this._hasAttributeCondition = this.segments.some((e) => e.attrName !== void 0), this._hasPositionSelector = this.segments.some((e) => e.position !== void 0);
2150
1127
  }
@@ -2200,7 +1177,7 @@ var P = class {
2200
1177
  toString() {
2201
1178
  return this.pattern;
2202
1179
  }
2203
- }, gt = class {
1180
+ }, rt = class {
2204
1181
  constructor() {
2205
1182
  this._byDepthAndTag = /* @__PURE__ */ new Map(), this._wildcardByDepth = /* @__PURE__ */ new Map(), this._deepWildcards = [], this._deepByTerminalTag = /* @__PURE__ */ new Map(), this._patterns = /* @__PURE__ */ new Set(), this._sealed = !1;
2206
1183
  }
@@ -2258,7 +1235,7 @@ var P = class {
2258
1235
  for (let t = 0; t < this._deepWildcards.length; t++) if (e.matches(this._deepWildcards[t])) return this._deepWildcards[t];
2259
1236
  return null;
2260
1237
  }
2261
- }, _t = class {
1238
+ }, it = class {
2262
1239
  constructor(e) {
2263
1240
  this._matcher = e;
2264
1241
  }
@@ -2315,9 +1292,9 @@ var P = class {
2315
1292
  matchesAny(e) {
2316
1293
  return e.matchesAny(this._matcher);
2317
1294
  }
2318
- }, F = class {
1295
+ }, I = class {
2319
1296
  constructor(e = {}) {
2320
- this.separator = e.separator || ".", this.path = [], this.siblingStacks = [], this._pathStringCache = null, this._view = new _t(this), this._keptAttrs = [];
1297
+ this.separator = e.separator || ".", this.path = [], this.siblingStacks = [], this._pathStringCache = null, this._view = new it(this), this._keptAttrs = [];
2321
1298
  }
2322
1299
  push(e, t = null, n = null, r = null) {
2323
1300
  this._pathStringCache = null, this.path.length > 0 && (this.path[this.path.length - 1].values = void 0);
@@ -2468,7 +1445,7 @@ var P = class {
2468
1445
  readOnly() {
2469
1446
  return this._view;
2470
1447
  }
2471
- }, vt = [
1448
+ }, L = [
2472
1449
  {
2473
1450
  id: "html-script-open",
2474
1451
  description: "<script opening tag",
@@ -2554,7 +1531,7 @@ var P = class {
2554
1531
  description: "<form tag — can be used for phishing / credential harvesting injection",
2555
1532
  pattern: /<form[\s>/]/i
2556
1533
  }
2557
- ], yt = [
1534
+ ], R = [
2558
1535
  {
2559
1536
  id: "xml-cdata-injection",
2560
1537
  description: "CDATA section injection: <![CDATA[ breaks out of text node context",
@@ -2615,7 +1592,7 @@ var P = class {
2615
1592
  description: "?> closes an enclosing processing instruction",
2616
1593
  pattern: /\?>/
2617
1594
  }
2618
- ], bt = [
1595
+ ], at = [
2619
1596
  {
2620
1597
  id: "svg-script-element",
2621
1598
  description: "<script element inside SVG executes JavaScript",
@@ -2681,7 +1658,7 @@ var P = class {
2681
1658
  description: "style= attribute containing javascript: (e.g. background:url(javascript:...))",
2682
1659
  pattern: /style\s*=[\s\S]{0,60}javascript\s*:/i
2683
1660
  }
2684
- ], xt = [
1661
+ ], z = [
2685
1662
  {
2686
1663
  id: "sql-block-comment-open",
2687
1664
  description: "SQL block comment open: /* ... */ — unusual in legitimate user text",
@@ -2757,7 +1734,7 @@ var P = class {
2757
1734
  description: "INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",
2758
1735
  pattern: /\bINFORMATION_SCHEMA\b/i
2759
1736
  }
2760
- ], St = [
1737
+ ], ot = [
2761
1738
  {
2762
1739
  id: "shell-path-traversal-unix",
2763
1740
  description: "Unix path traversal: ../ — climbing the directory tree",
@@ -2848,7 +1825,7 @@ var P = class {
2848
1825
  description: "curl/wget with URL or flags — can exfiltrate data or download payloads",
2849
1826
  pattern: /\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i
2850
1827
  }
2851
- ], Ct = [
1828
+ ], st = [
2852
1829
  {
2853
1830
  id: "redos-nested-quantifier-plus",
2854
1831
  description: "Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",
@@ -2889,71 +1866,71 @@ var P = class {
2889
1866
  description: "Long alternation with many similar branches — polynomial backtracking risk",
2890
1867
  pattern: /\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/
2891
1868
  }
2892
- ], I = "[\"'\\s]*:", wt = [
1869
+ ], B = "[\"'\\s]*:", ct = [
2893
1870
  {
2894
1871
  id: "nosql-where-operator",
2895
1872
  description: "$where — executes arbitrary JavaScript server-side in MongoDB",
2896
- pattern: RegExp(`\\$where${I}`, "i")
1873
+ pattern: RegExp(`\\$where${B}`, "i")
2897
1874
  },
2898
1875
  {
2899
1876
  id: "nosql-ne-operator",
2900
1877
  description: "$ne — \"not equal\" operator used to bypass equality checks",
2901
- pattern: RegExp(`\\$ne${I}`, "i")
1878
+ pattern: RegExp(`\\$ne${B}`, "i")
2902
1879
  },
2903
1880
  {
2904
1881
  id: "nosql-gt-operator",
2905
1882
  description: "$gt — \"greater than\" used to bypass password/value checks",
2906
- pattern: RegExp(`\\$gte?${I}`, "i")
1883
+ pattern: RegExp(`\\$gte?${B}`, "i")
2907
1884
  },
2908
1885
  {
2909
1886
  id: "nosql-lt-operator",
2910
1887
  description: "$lt / $lte — \"less than\" bypass variants",
2911
- pattern: RegExp(`\\$lte?${I}`, "i")
1888
+ pattern: RegExp(`\\$lte?${B}`, "i")
2912
1889
  },
2913
1890
  {
2914
1891
  id: "nosql-regex-operator",
2915
1892
  description: "$regex — can be used to extract data character by character (blind injection)",
2916
- pattern: RegExp(`\\$regex${I}`, "i")
1893
+ pattern: RegExp(`\\$regex${B}`, "i")
2917
1894
  },
2918
1895
  {
2919
1896
  id: "nosql-or-operator",
2920
1897
  description: "$or — logical OR; used to create always-true conditions",
2921
- pattern: RegExp(`\\$or${I}\\s*\\[`, "i")
1898
+ pattern: RegExp(`\\$or${B}\\s*\\[`, "i")
2922
1899
  },
2923
1900
  {
2924
1901
  id: "nosql-and-operator",
2925
1902
  description: "$and — logical AND operator injection",
2926
- pattern: RegExp(`\\$and${I}\\s*\\[`, "i")
1903
+ pattern: RegExp(`\\$and${B}\\s*\\[`, "i")
2927
1904
  },
2928
1905
  {
2929
1906
  id: "nosql-nor-operator",
2930
1907
  description: "$nor — logical NOR operator injection",
2931
- pattern: RegExp(`\\$nor${I}\\s*\\[`, "i")
1908
+ pattern: RegExp(`\\$nor${B}\\s*\\[`, "i")
2932
1909
  },
2933
1910
  {
2934
1911
  id: "nosql-exists-operator",
2935
1912
  description: "$exists — can enumerate fields to determine schema",
2936
- pattern: RegExp(`\\$exists${I}`, "i")
1913
+ pattern: RegExp(`\\$exists${B}`, "i")
2937
1914
  },
2938
1915
  {
2939
1916
  id: "nosql-in-operator",
2940
1917
  description: "$in — matches any value in a list; can enumerate values",
2941
- pattern: RegExp(`\\$in${I}\\s*\\[`, "i")
1918
+ pattern: RegExp(`\\$in${B}\\s*\\[`, "i")
2942
1919
  },
2943
1920
  {
2944
1921
  id: "nosql-expr-operator",
2945
1922
  description: "$expr — allows aggregation expressions in queries (MongoDB 3.6+)",
2946
- pattern: RegExp(`\\$expr${I}`, "i")
1923
+ pattern: RegExp(`\\$expr${B}`, "i")
2947
1924
  },
2948
1925
  {
2949
1926
  id: "nosql-function-operator",
2950
1927
  description: "$function — executes arbitrary JavaScript in MongoDB 4.4+",
2951
- pattern: RegExp(`\\$function${I}`, "i")
1928
+ pattern: RegExp(`\\$function${B}`, "i")
2952
1929
  },
2953
1930
  {
2954
1931
  id: "nosql-accumulator-operator",
2955
1932
  description: "$accumulator — custom aggregation with arbitrary JS execution",
2956
- pattern: RegExp(`\\$accumulator${I}`, "i")
1933
+ pattern: RegExp(`\\$accumulator${B}`, "i")
2957
1934
  },
2958
1935
  {
2959
1936
  id: "nosql-proto-pollution",
@@ -2970,7 +1947,7 @@ var P = class {
2970
1947
  description: "[\"__proto__\"] — bracket-notation prototype pollution",
2971
1948
  pattern: /\[["']__proto__["']\]/
2972
1949
  }
2973
- ], Tt = [
1950
+ ], lt = [
2974
1951
  {
2975
1952
  id: "log-crlf-injection",
2976
1953
  description: "CRLF injection: literal \\r or \\n embeds fake log lines",
@@ -3031,7 +2008,7 @@ var P = class {
3031
2008
  description: "ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",
3032
2009
  pattern: /\x1b\[/
3033
2010
  }
3034
- ], Et = [
2011
+ ], ut = [
3035
2012
  {
3036
2013
  id: "sql-line-comment",
3037
2014
  description: "SQL line comment: -- followed by whitespace or end of string",
@@ -3047,22 +2024,22 @@ var P = class {
3047
2024
  description: "Hex-encoded string injection: 0x41414141 style (MySQL)",
3048
2025
  pattern: /\b0x[0-9a-f]{4,}/i
3049
2026
  }
3050
- ], Dt = [...xt, ...Et];
3051
- vt.label = "HTML", yt.label = "XML", bt.label = "SVG", xt.label = "SQL", Dt.label = "SQL-STRICT", St.label = "SHELL", Ct.label = "REDOS", wt.label = "NOSQL", Tt.label = "LOG", Object.freeze({
3052
- HTML: vt,
3053
- XML: yt,
3054
- SVG: bt,
3055
- SQL: xt,
3056
- "SQL-STRICT": Dt,
3057
- SHELL: St,
3058
- REDOS: Ct,
3059
- NOSQL: wt,
3060
- LOG: Tt
2027
+ ], dt = [...z, ...ut];
2028
+ L.label = "HTML", R.label = "XML", at.label = "SVG", z.label = "SQL", dt.label = "SQL-STRICT", ot.label = "SHELL", st.label = "REDOS", ct.label = "NOSQL", lt.label = "LOG", Object.freeze({
2029
+ HTML: L,
2030
+ XML: R,
2031
+ SVG: at,
2032
+ SQL: z,
2033
+ "SQL-STRICT": dt,
2034
+ SHELL: ot,
2035
+ REDOS: st,
2036
+ NOSQL: ct,
2037
+ LOG: lt
3061
2038
  });
3062
- function Ot(e) {
2039
+ function ft(e) {
3063
2040
  if (typeof e != "string") throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);
3064
2041
  }
3065
- function kt(e) {
2042
+ function pt(e) {
3066
2043
  if (!(e instanceof RegExp)) {
3067
2044
  if (Array.isArray(e)) {
3068
2045
  if (e.length === 0) throw TypeError("is-unsafe: context must not be an empty array");
@@ -3074,7 +2051,7 @@ function kt(e) {
3074
2051
  throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`);
3075
2052
  }
3076
2053
  }
3077
- function At(e) {
2054
+ function mt(e) {
3078
2055
  return e instanceof RegExp ? {
3079
2056
  lists: null,
3080
2057
  regex: e
@@ -3086,7 +2063,7 @@ function At(e) {
3086
2063
  regex: null
3087
2064
  };
3088
2065
  }
3089
- function jt(e, t) {
2066
+ function ht(e, t) {
3090
2067
  let n = t.label ?? "CUSTOM";
3091
2068
  for (let r of t) if (r.pattern.test(e)) return {
3092
2069
  context: n,
@@ -3096,16 +2073,16 @@ function jt(e, t) {
3096
2073
  };
3097
2074
  return null;
3098
2075
  }
3099
- function Mt(e, t) {
3100
- Ot(e), kt(t);
3101
- let { lists: n, regex: r } = At(t);
2076
+ function gt(e, t) {
2077
+ ft(e), pt(t);
2078
+ let { lists: n, regex: r } = mt(t);
3102
2079
  if (r) return r.test(e);
3103
- for (let t of n) if (jt(e, t) !== null) return !0;
2080
+ for (let t of n) if (ht(e, t) !== null) return !0;
3104
2081
  return !1;
3105
2082
  }
3106
2083
  //#endregion
3107
- //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.0/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js
3108
- function Nt(e, t) {
2084
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.1/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js
2085
+ function _t(e, t) {
3109
2086
  if (!e) return {};
3110
2087
  let n = t.attributesGroupName ? e[t.attributesGroupName] : e;
3111
2088
  if (!n) return {};
@@ -3116,7 +2093,7 @@ function Nt(e, t) {
3116
2093
  } else r[e] = n[e];
3117
2094
  return r;
3118
2095
  }
3119
- function Pt(e) {
2096
+ function vt(e) {
3120
2097
  if (!e || typeof e != "string") return;
3121
2098
  let t = e.indexOf(":");
3122
2099
  if (t !== -1 && t > 0) {
@@ -3124,14 +2101,14 @@ function Pt(e) {
3124
2101
  if (n !== "xmlns") return n;
3125
2102
  }
3126
2103
  }
3127
- var Ft = class {
2104
+ var yt = class {
3128
2105
  constructor(e, t) {
3129
- this.options = e, this.currentNode = null, this.tagsNodeStack = [], this.parseXml = Bt, this.parseTextData = It, this.resolveNameSpace = Lt, this.buildAttributesMap = zt, this.isItStopNode = Wt, this.replaceEntitiesValue = Ht, this.readStopNodeData = Jt, this.saveTextToParentTag = Ut, this.addChild = Vt, this.ignoreAttributesFn = ht(this.options.ignoreAttributes), this.entityExpansionCount = 0, this.currentExpandedLength = 0;
3130
- let n = { ...we };
2106
+ this.options = e, this.currentNode = null, this.tagsNodeStack = [], this.parseXml = wt, this.parseTextData = bt, this.resolveNameSpace = xt, this.buildAttributesMap = Ct, this.isItStopNode = Ot, this.replaceEntitiesValue = Et, this.readStopNodeData = jt, this.saveTextToParentTag = Dt, this.addChild = Tt, this.ignoreAttributesFn = nt(this.options.ignoreAttributes), this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.doctypefound = !1;
2107
+ let n = { ...fe };
3131
2108
  this.options.entityDecoder ? this.entityDecoder = this.options.entityDecoder : (typeof this.options.htmlEntities == "object" ? n = this.options.htmlEntities : this.options.htmlEntities === !0 && (n = {
3132
- ...Te,
3133
- ...xe
3134
- }), this.entityDecoder = new Me({
2109
+ ...pe,
2110
+ ...de
2111
+ }), this.entityDecoder = new be({
3135
2112
  namedEntities: {
3136
2113
  ...n,
3137
2114
  ...t
@@ -3142,27 +2119,27 @@ var Ft = class {
3142
2119
  maxExpandedLength: this.options.processEntities.maxExpandedLength,
3143
2120
  applyLimitsTo: this.options.processEntities.appliesTo
3144
2121
  },
3145
- onInputEntity: (e, t) => Mt(t, [vt, yt]) ? x.BLOCK : x.ALLOW
3146
- })), this.matcher = new F(), this.readonlyMatcher = this.matcher.readOnly(), this.isCurrentNodeStopNode = !1, this.stopNodeExpressionsSet = new gt();
2122
+ onInputEntity: (e, t) => gt(t, [L, R]) ? x.BLOCK : x.ALLOW
2123
+ })), this.matcher = new I(), this.readonlyMatcher = this.matcher.readOnly(), this.isCurrentNodeStopNode = !1, this.stopNodeExpressionsSet = new rt();
3147
2124
  let r = this.options.stopNodes;
3148
2125
  if (r && r.length > 0) {
3149
2126
  for (let e = 0; e < r.length; e++) {
3150
2127
  let t = r[e];
3151
- typeof t == "string" ? this.stopNodeExpressionsSet.add(new P(t)) : t instanceof P && this.stopNodeExpressionsSet.add(t);
2128
+ typeof t == "string" ? this.stopNodeExpressionsSet.add(new F(t)) : t instanceof F && this.stopNodeExpressionsSet.add(t);
3152
2129
  }
3153
2130
  this.stopNodeExpressionsSet.seal();
3154
2131
  }
3155
2132
  }
3156
2133
  };
3157
- function It(e, t, n, r, i, a, o) {
2134
+ function bt(e, t, n, r, i, a, o) {
3158
2135
  let s = this.options;
3159
2136
  if (e !== void 0 && (s.trimValues && !r && (e = e.trim()), e.length > 0)) {
3160
2137
  o || (e = this.replaceEntitiesValue(e, t, n));
3161
2138
  let r = s.jPath ? n.toString() : n, c = s.tagValueProcessor(t, e, r, i, a);
3162
- return c == null ? e : typeof c != typeof e || c !== e ? c : s.trimValues || e.trim() === e ? Yt(e, s.parseTagValue, s.numberParseOptions) : e;
2139
+ return c == null ? e : typeof c != typeof e || c !== e ? c : s.trimValues || e.trim() === e ? Mt(e, s.parseTagValue, s.numberParseOptions) : e;
3163
2140
  }
3164
2141
  }
3165
- function Lt(e) {
2142
+ function xt(e) {
3166
2143
  if (this.options.removeNSPrefix) {
3167
2144
  let t = e.split(":"), n = e.charAt(0) === "/" ? "/" : "";
3168
2145
  if (t[0] === "xmlns") return "";
@@ -3170,11 +2147,11 @@ function Lt(e) {
3170
2147
  }
3171
2148
  return e;
3172
2149
  }
3173
- var Rt = /* @__PURE__ */ RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?", "gm");
3174
- function zt(e, t, n, r = !1) {
2150
+ var St = /* @__PURE__ */ RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?", "gm");
2151
+ function Ct(e, t, n, r = !1) {
3175
2152
  let i = this.options;
3176
2153
  if (r === !0 || i.ignoreAttributes !== !0 && typeof e == "string") {
3177
- let r = u(e, Rt), a = r.length, o = {}, s = Array(a), c = !1, l = {};
2154
+ let r = u(e, St), a = r.length, o = {}, s = Array(a), c = !1, l = {};
3178
2155
  for (let e = 0; e < a; e++) {
3179
2156
  let t = this.resolveNameSpace(r[e][1]), a = r[e][4];
3180
2157
  if (t.length && a !== void 0) {
@@ -3188,9 +2165,9 @@ function zt(e, t, n, r = !1) {
3188
2165
  let t = this.resolveNameSpace(r[e][1]);
3189
2166
  if (this.ignoreAttributesFn(t, d)) continue;
3190
2167
  let n = i.attributeNamePrefix + t;
3191
- if (t.length) if (i.transformAttributeName && (n = i.transformAttributeName(n)), n = Zt(n, i), r[e][4] !== void 0) {
2168
+ if (t.length) if (i.transformAttributeName && (n = i.transformAttributeName(n)), n = Pt(n, i), r[e][4] !== void 0) {
3192
2169
  let r = s[e], a = i.attributeValueProcessor(t, r, d);
3193
- a == null ? o[n] = r : typeof a != typeof r || a !== r ? o[n] = a : o[n] = Yt(r, i.parseAttributeValue, i.numberParseOptions), f = !0;
2170
+ a == null ? o[n] = r : typeof a != typeof r || a !== r ? o[n] = a : o[n] = Mt(r, i.parseAttributeValue, i.numberParseOptions), f = !0;
3194
2171
  } else i.allowBooleanAttributes && (o[n] = !0, f = !0);
3195
2172
  }
3196
2173
  if (!f) return;
@@ -3201,25 +2178,25 @@ function zt(e, t, n, r = !1) {
3201
2178
  return o;
3202
2179
  }
3203
2180
  }
3204
- var Bt = function(e) {
2181
+ var wt = function(e) {
3205
2182
  e = e.replace(/\r\n?/g, "\n");
3206
2183
  let t = new E("!xml"), n = t, r = "";
3207
- this.matcher.reset(), this.entityDecoder.reset(), this.entityExpansionCount = 0, this.currentExpandedLength = 0;
3208
- let i = this.options, a = new Xe(i.processEntities), o = e.length;
2184
+ this.matcher.reset(), this.entityDecoder.reset(), this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.doctypefound = !1;
2185
+ let i = this.options, a = new Re(i.processEntities), o = e.length;
3209
2186
  for (let s = 0; s < o; s++) if (e[s] === "<") {
3210
2187
  let c = e.charCodeAt(s + 1);
3211
2188
  if (c === 47) {
3212
- let t = L(e, ">", s, "Closing Tag is not closed."), a = e.substring(s + 2, t).trim();
2189
+ let t = V(e, ">", s, "Closing Tag is not closed."), a = e.substring(s + 2, t).trim();
3213
2190
  if (i.removeNSPrefix) {
3214
2191
  let e = a.indexOf(":");
3215
2192
  e !== -1 && (a = a.substr(e + 1));
3216
2193
  }
3217
- a = Xt(i.transformTagName, a, "", i).tagName, n && (r = this.saveTextToParentTag(r, n, this.readonlyMatcher));
2194
+ a = Nt(i.transformTagName, a, "", i).tagName, n && (r = this.saveTextToParentTag(r, n, this.readonlyMatcher));
3218
2195
  let o = this.matcher.getCurrentTag();
3219
2196
  if (a && i.unpairedTagsSet.has(a)) throw Error(`Unpaired tag can not be used as closing tag: </${a}>`);
3220
2197
  o && i.unpairedTagsSet.has(o) && (this.matcher.pop(), this.tagsNodeStack.pop()), this.matcher.pop(), this.isCurrentNodeStopNode = !1, n = this.tagsNodeStack.pop(), r = "", s = t;
3221
2198
  } else if (c === 63) {
3222
- let t = qt(e, s, !1, "?>");
2199
+ let t = H(e, s, !1, "?>");
3223
2200
  if (!t) throw Error("Pi Tag is not closed.");
3224
2201
  r = this.saveTextToParentTag(r, n, this.readonlyMatcher);
3225
2202
  let o = this.buildAttributesMap(t.tagExp, this.matcher, t.tagName, !0);
@@ -3233,35 +2210,37 @@ var Bt = function(e) {
3233
2210
  }
3234
2211
  s = t.closeIndex + 1;
3235
2212
  } else if (c === 33 && e.charCodeAt(s + 2) === 45 && e.charCodeAt(s + 3) === 45) {
3236
- let t = L(e, "-->", s + 4, "Comment is not closed.");
2213
+ let t = V(e, "-->", s + 4, "Comment is not closed.");
3237
2214
  if (i.commentPropName) {
3238
2215
  let a = e.substring(s + 4, t - 2);
3239
2216
  r = this.saveTextToParentTag(r, n, this.readonlyMatcher), n.add(i.commentPropName, [{ [i.textNodeName]: a }]);
3240
2217
  }
3241
2218
  s = t;
3242
2219
  } else if (c === 33 && e.charCodeAt(s + 2) === 68) {
2220
+ if (this.doctypefound) throw Error("Multiple DOCTYPE declarations found.");
2221
+ this.doctypefound = !0;
3243
2222
  let t = a.readDocType(e, s);
3244
2223
  this.entityDecoder.addInputEntities(t.entities), s = t.i;
3245
2224
  } else if (c === 33 && e.charCodeAt(s + 2) === 91) {
3246
- let t = L(e, "]]>", s, "CDATA is not closed.") - 2, a = e.substring(s + 9, t);
2225
+ let t = V(e, "]]>", s, "CDATA is not closed.") - 2, a = e.substring(s + 9, t);
3247
2226
  r = this.saveTextToParentTag(r, n, this.readonlyMatcher);
3248
2227
  let o = this.parseTextData(a, n.tagname, this.readonlyMatcher, !0, !1, !0, !0);
3249
2228
  o ??= "", i.cdataPropName ? n.add(i.cdataPropName, [{ [i.textNodeName]: a }]) : n.add(i.textNodeName, o), s = t + 2;
3250
2229
  } else {
3251
- let a = qt(e, s, i.removeNSPrefix);
2230
+ let a = H(e, s, i.removeNSPrefix);
3252
2231
  if (!a) {
3253
2232
  let t = e.substring(Math.max(0, s - 50), Math.min(o, s + 50));
3254
2233
  throw Error(`readTagExp returned undefined at position ${s}. Context: "${t}"`);
3255
2234
  }
3256
2235
  let c = a.tagName, l = a.rawTagName, u = a.tagExp, d = a.attrExpPresent, f = a.closeIndex;
3257
- if ({tagName: c, tagExp: u} = Xt(i.transformTagName, c, u, i), i.strictReservedNames && (c === i.commentPropName || c === i.cdataPropName || c === i.textNodeName || c === i.attributesGroupName)) throw Error(`Invalid tag name: ${c}`);
2236
+ if ({tagName: c, tagExp: u} = Nt(i.transformTagName, c, u, i), i.strictReservedNames && (c === i.commentPropName || c === i.cdataPropName || c === i.textNodeName || c === i.attributesGroupName)) throw Error(`Invalid tag name: ${c}`);
3258
2237
  n && r && n.tagname !== "!xml" && (r = this.saveTextToParentTag(r, n, this.readonlyMatcher, !1));
3259
2238
  let p = n;
3260
2239
  p && i.unpairedTagsSet.has(p.tagname) && (n = this.tagsNodeStack.pop(), this.matcher.pop());
3261
2240
  let m = !1;
3262
2241
  u.length > 0 && u.lastIndexOf("/") === u.length - 1 && (m = !0, c[c.length - 1] === "/" ? (c = c.substr(0, c.length - 1), u = c) : u = u.substr(0, u.length - 1), d = c !== u);
3263
2242
  let h = null, g;
3264
- g = Pt(l), c !== t.tagname && this.matcher.push(c, {}, g), c !== u && d && (h = this.buildAttributesMap(u, this.matcher, c), h && Nt(h, i)), c !== t.tagname && (this.isCurrentNodeStopNode = this.isItStopNode());
2243
+ g = vt(l), c !== t.tagname && this.matcher.push(c, {}, g), c !== u && d && (h = this.buildAttributesMap(u, this.matcher, c), h && _t(h, i)), c !== t.tagname && (this.isCurrentNodeStopNode = this.isItStopNode());
3265
2244
  let _ = s;
3266
2245
  if (this.isCurrentNodeStopNode) {
3267
2246
  let t = "";
@@ -3276,7 +2255,7 @@ var Bt = function(e) {
3276
2255
  h && (r[":@"] = h), r.add(i.textNodeName, t), this.matcher.pop(), this.isCurrentNodeStopNode = !1, this.addChild(n, r, this.readonlyMatcher, _);
3277
2256
  } else {
3278
2257
  if (m) {
3279
- ({tagName: c, tagExp: u} = Xt(i.transformTagName, c, u, i));
2258
+ ({tagName: c, tagExp: u} = Nt(i.transformTagName, c, u, i));
3280
2259
  let e = new E(c);
3281
2260
  h && (e[":@"] = h), this.addChild(n, e, this.readonlyMatcher, _), this.matcher.pop(), this.isCurrentNodeStopNode = !1;
3282
2261
  } else if (i.unpairedTagsSet.has(c)) {
@@ -3294,12 +2273,12 @@ var Bt = function(e) {
3294
2273
  } else r += e[s];
3295
2274
  return t.child;
3296
2275
  };
3297
- function Vt(e, t, n, r) {
2276
+ function Tt(e, t, n, r) {
3298
2277
  this.options.captureMetaData || (r = void 0);
3299
2278
  let i = this.options.jPath ? n.toString() : n, a = this.options.updateTag(t.tagname, i, t[":@"]);
3300
2279
  a === !1 || (typeof a == "string" && (t.tagname = a), e.addChild(t, r));
3301
2280
  }
3302
- function Ht(e, t, n) {
2281
+ function Et(e, t, n) {
3303
2282
  let r = this.options.processEntities;
3304
2283
  if (!r || !r.enabled) return e;
3305
2284
  if (r.allowedTags) {
@@ -3312,13 +2291,13 @@ function Ht(e, t, n) {
3312
2291
  }
3313
2292
  return this.entityDecoder.decode(e);
3314
2293
  }
3315
- function Ut(e, t, n, r) {
2294
+ function Dt(e, t, n, r) {
3316
2295
  return e &&= (r === void 0 && (r = t.child.length === 0), e = this.parseTextData(e, t.tagname, n, !1, t[":@"] ? Object.keys(t[":@"]).length !== 0 : !1, r), e !== void 0 && e !== "" && t.add(this.options.textNodeName, e), ""), e;
3317
2296
  }
3318
- function Wt() {
2297
+ function Ot() {
3319
2298
  return this.stopNodeExpressionsSet.size !== 0 && this.matcher.matchesAny(this.stopNodeExpressionsSet);
3320
2299
  }
3321
- function Gt(e, t, n = ">") {
2300
+ function kt(e, t, n = ">") {
3322
2301
  let r = 0, i = e.length, a = n.charCodeAt(0), o = n.length > 1 ? n.charCodeAt(1) : -1, s = "", c = t;
3323
2302
  for (let n = t; n < i; n++) {
3324
2303
  let t = e.charCodeAt(n);
@@ -3336,18 +2315,18 @@ function Gt(e, t, n = ">") {
3336
2315
  else t === 9 && !r && (s += e.substring(c, n) + " ", c = n + 1);
3337
2316
  }
3338
2317
  }
3339
- function L(e, t, n, r) {
2318
+ function V(e, t, n, r) {
3340
2319
  let i = e.indexOf(t, n);
3341
2320
  if (i === -1) throw Error(r);
3342
2321
  return i + t.length - 1;
3343
2322
  }
3344
- function Kt(e, t, n, r) {
2323
+ function At(e, t, n, r) {
3345
2324
  let i = e.indexOf(t, n);
3346
2325
  if (i === -1) throw Error(r);
3347
2326
  return i;
3348
2327
  }
3349
- function qt(e, t, n, r = ">") {
3350
- let i = Gt(e, t + 1, r);
2328
+ function H(e, t, n, r = ">") {
2329
+ let i = kt(e, t + 1, r);
3351
2330
  if (!i) return;
3352
2331
  let a = i.data, o = i.index, s = a.search(/\s/), c = a, l = !0;
3353
2332
  s !== -1 && (c = a.substring(0, s), a = a.substring(s + 1).trimStart());
@@ -3364,51 +2343,51 @@ function qt(e, t, n, r = ">") {
3364
2343
  rawTagName: u
3365
2344
  };
3366
2345
  }
3367
- function Jt(e, t, n) {
2346
+ function jt(e, t, n) {
3368
2347
  let r = n, i = 1, a = e.length;
3369
2348
  for (; n < a; n++) if (e[n] === "<") {
3370
2349
  let a = e.charCodeAt(n + 1);
3371
2350
  if (a === 47) {
3372
- let a = Kt(e, ">", n, `${t} is not closed`);
2351
+ let a = At(e, ">", n, `${t} is not closed`);
3373
2352
  if (e.substring(n + 2, a).trim() === t && (i--, i === 0)) return {
3374
2353
  tagContent: e.substring(r, n),
3375
2354
  i: a
3376
2355
  };
3377
2356
  n = a;
3378
- } else if (a === 63) n = L(e, "?>", n + 1, "StopNode is not closed.");
3379
- else if (a === 33 && e.charCodeAt(n + 2) === 45 && e.charCodeAt(n + 3) === 45) n = L(e, "-->", n + 3, "StopNode is not closed.");
3380
- else if (a === 33 && e.charCodeAt(n + 2) === 91) n = L(e, "]]>", n, "StopNode is not closed.") - 2;
2357
+ } else if (a === 63) n = V(e, "?>", n + 1, "StopNode is not closed.");
2358
+ else if (a === 33 && e.charCodeAt(n + 2) === 45 && e.charCodeAt(n + 3) === 45) n = V(e, "-->", n + 3, "StopNode is not closed.");
2359
+ else if (a === 33 && e.charCodeAt(n + 2) === 91) n = V(e, "]]>", n, "StopNode is not closed.") - 2;
3381
2360
  else {
3382
- let r = qt(e, n, !1);
2361
+ let r = H(e, n, !1);
3383
2362
  r && ((r && r.tagName) === t && r.tagExp[r.tagExp.length - 1] !== "/" && i++, n = r.closeIndex);
3384
2363
  }
3385
2364
  }
3386
2365
  }
3387
- function Yt(e, t, n) {
2366
+ function Mt(e, t, n) {
3388
2367
  if (t && typeof e == "string") {
3389
2368
  let t = e.trim();
3390
- return t === "true" || t !== "false" && ut(e, n);
2369
+ return t === "true" || t !== "false" && Ze(e, n);
3391
2370
  } else if (f(e)) return e;
3392
2371
  else return "";
3393
2372
  }
3394
- function Xt(e, t, n, r) {
2373
+ function Nt(e, t, n, r) {
3395
2374
  if (e) {
3396
2375
  let r = e(t);
3397
2376
  n === t && (n = r), t = r;
3398
2377
  }
3399
- return t = Zt(t, r), {
2378
+ return t = Pt(t, r), {
3400
2379
  tagName: t,
3401
2380
  tagExp: n
3402
2381
  };
3403
2382
  }
3404
- function Zt(e, t) {
2383
+ function Pt(e, t) {
3405
2384
  if (m.includes(e)) throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);
3406
2385
  return p.includes(e) ? t.onDangerousProperty(e) : e;
3407
2386
  }
3408
2387
  //#endregion
3409
- //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.0/node_modules/fast-xml-parser/src/xmlparser/node2json.js
3410
- var R = E.getMetaDataSymbol();
3411
- function Qt(e, t) {
2388
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.1/node_modules/fast-xml-parser/src/xmlparser/node2json.js
2389
+ var Ft = E.getMetaDataSymbol();
2390
+ function It(e, t) {
3412
2391
  if (!e || typeof e != "object") return {};
3413
2392
  if (!t) return e;
3414
2393
  let n = {};
@@ -3418,22 +2397,22 @@ function Qt(e, t) {
3418
2397
  } else n[r] = e[r];
3419
2398
  return n;
3420
2399
  }
3421
- function $t(e, t, n, r) {
3422
- return en(e, t, n, r);
2400
+ function Lt(e, t, n, r) {
2401
+ return Rt(e, t, n, r);
3423
2402
  }
3424
- function en(e, t, n, r) {
2403
+ function Rt(e, t, n, r) {
3425
2404
  let i, a = {};
3426
2405
  for (let o = 0; o < e.length; o++) {
3427
- let s = e[o], c = tn(s);
2406
+ let s = e[o], c = zt(s);
3428
2407
  if (c !== void 0 && c !== t.textNodeName) {
3429
- let e = Qt(s[":@"] || {}, t.attributeNamePrefix);
2408
+ let e = It(s[":@"] || {}, t.attributeNamePrefix);
3430
2409
  n.push(c, e);
3431
2410
  }
3432
2411
  if (c === t.textNodeName) i === void 0 ? i = s[c] : i += "" + s[c];
3433
2412
  else if (c === void 0) continue;
3434
2413
  else if (s[c]) {
3435
- let e = en(s[c], t, n, r), i = rn(e, t);
3436
- if (Object.keys(e).length === 0 && t.alwaysCreateTextNode && (e[t.textNodeName] = ""), s[":@"] ? nn(e, s[":@"], r, t) : Object.keys(e).length === 1 && e[t.textNodeName] !== void 0 && !t.alwaysCreateTextNode ? e = e[t.textNodeName] : Object.keys(e).length === 0 && (t.alwaysCreateTextNode ? e[t.textNodeName] = "" : e = ""), s[R] !== void 0 && typeof e == "object" && e && (e[R] = s[R]), a[c] !== void 0 && Object.prototype.hasOwnProperty.call(a, c)) Array.isArray(a[c]) || (a[c] = [a[c]]), a[c].push(e);
2414
+ let e = Rt(s[c], t, n, r), i = Vt(e, t);
2415
+ if (Object.keys(e).length === 0 && t.alwaysCreateTextNode && (e[t.textNodeName] = ""), s[":@"] ? Bt(e, s[":@"], r, t) : Object.keys(e).length === 1 && e[t.textNodeName] !== void 0 && !t.alwaysCreateTextNode ? e = e[t.textNodeName] : Object.keys(e).length === 0 && (t.alwaysCreateTextNode ? e[t.textNodeName] = "" : e = ""), s[Ft] !== void 0 && typeof e == "object" && e && (e[Ft] = s[Ft]), a[c] !== void 0 && Object.prototype.hasOwnProperty.call(a, c)) Array.isArray(a[c]) || (a[c] = [a[c]]), a[c].push(e);
3437
2416
  else {
3438
2417
  let n = t.jPath ? r.toString() : r;
3439
2418
  t.isArray(c, n, i) ? a[c] = [e] : a[c] = e;
@@ -3443,14 +2422,14 @@ function en(e, t, n, r) {
3443
2422
  }
3444
2423
  return typeof i == "string" ? i.length > 0 && (a[t.textNodeName] = i) : i !== void 0 && (a[t.textNodeName] = i), a;
3445
2424
  }
3446
- function tn(e) {
2425
+ function zt(e) {
3447
2426
  let t = Object.keys(e);
3448
2427
  for (let e = 0; e < t.length; e++) {
3449
2428
  let n = t[e];
3450
2429
  if (n !== ":@") return n;
3451
2430
  }
3452
2431
  }
3453
- function nn(e, t, n, r) {
2432
+ function Bt(e, t, n, r) {
3454
2433
  if (t) {
3455
2434
  let i = Object.keys(t), a = i.length;
3456
2435
  for (let o = 0; o < a; o++) {
@@ -3459,15 +2438,15 @@ function nn(e, t, n, r) {
3459
2438
  }
3460
2439
  }
3461
2440
  }
3462
- function rn(e, t) {
2441
+ function Vt(e, t) {
3463
2442
  let { textNodeName: n } = t, r = Object.keys(e).length;
3464
2443
  return !!(r === 0 || r === 1 && (e[n] || typeof e[n] == "boolean" || e[n] === 0));
3465
2444
  }
3466
2445
  //#endregion
3467
- //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.0/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
3468
- var an = class {
2446
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.1/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
2447
+ var Ht = class {
3469
2448
  constructor(e) {
3470
- this.externalEntities = {}, this.options = Le(e);
2449
+ this.externalEntities = {}, this.options = Te(e);
3471
2450
  }
3472
2451
  parse(e, t) {
3473
2452
  if (typeof e != "string" && e.toString) e = e.toString();
@@ -3477,8 +2456,8 @@ var an = class {
3477
2456
  let n = g(e, t);
3478
2457
  if (n !== !0) throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`);
3479
2458
  }
3480
- let n = new Ft(this.options, this.externalEntities), r = n.parseXml(e);
3481
- return this.options.preserveOrder || r === void 0 ? r : $t(r, this.options, n.matcher, n.readonlyMatcher);
2459
+ let n = new yt(this.options, this.externalEntities), r = n.parseXml(e);
2460
+ return this.options.preserveOrder || r === void 0 ? r : Lt(r, this.options, n.matcher, n.readonlyMatcher);
3482
2461
  }
3483
2462
  addEntity(e, t) {
3484
2463
  if (t.indexOf("&") !== -1) throw Error("Entity value can't have '&'");
@@ -3492,22 +2471,22 @@ var an = class {
3492
2471
  };
3493
2472
  //#endregion
3494
2473
  //#region ../../node_modules/.pnpm/fast-xml-builder@1.3.0/node_modules/fast-xml-builder/src/util.js
3495
- function z(e) {
2474
+ function Ut(e) {
3496
2475
  return String(e).replace(/--/g, "- -").replace(/--/g, "- -").replace(/-$/, "- ");
3497
2476
  }
3498
- function on(e) {
2477
+ function Wt(e) {
3499
2478
  return String(e).replace(/\]\]>/g, "]]]]><![CDATA[>");
3500
2479
  }
3501
- function B(e) {
2480
+ function U(e) {
3502
2481
  return String(e).replace(/"/g, "&quot;").replace(/'/g, "&apos;");
3503
2482
  }
3504
2483
  //#endregion
3505
2484
  //#region ../../node_modules/.pnpm/fast-xml-builder@1.3.0/node_modules/fast-xml-builder/src/orderedJs2Xml.js
3506
- var sn = "\n";
3507
- function cn(e, t) {
2485
+ var Gt = "\n";
2486
+ function Kt(e, t) {
3508
2487
  if (!Array.isArray(e) || e.length === 0) return "1.0";
3509
2488
  let n = e[0];
3510
- if (V(n) === "?xml") {
2489
+ if ($t(n) === "?xml") {
3511
2490
  let e = n[":@"];
3512
2491
  if (e) {
3513
2492
  let n = t.attributeNamePrefix + "version";
@@ -3516,121 +2495,121 @@ function cn(e, t) {
3516
2495
  }
3517
2496
  return "1.0";
3518
2497
  }
3519
- function ln(e, t, n, r, i) {
2498
+ function qt(e, t, n, r, i) {
3520
2499
  return !n.sanitizeName || i(e) ? e : n.sanitizeName(e, {
3521
2500
  isAttribute: t,
3522
2501
  matcher: r.readOnly()
3523
2502
  });
3524
2503
  }
3525
- function un(e, t) {
2504
+ function Jt(e, t) {
3526
2505
  let n = "";
3527
- t.format && (n = sn);
2506
+ t.format && (n = Gt);
3528
2507
  let r = [];
3529
2508
  if (t.stopNodes && Array.isArray(t.stopNodes)) for (let e = 0; e < t.stopNodes.length; e++) {
3530
2509
  let n = t.stopNodes[e];
3531
- typeof n == "string" ? r.push(new P(n)) : n instanceof P && r.push(n);
2510
+ typeof n == "string" ? r.push(new F(n)) : n instanceof F && r.push(n);
3532
2511
  }
3533
- let i = Ye("qName", { xmlVersion: cn(e, t) }), a = new F();
3534
- return dn(e, t, n, a, r, i);
2512
+ let i = Le("qName", { xmlVersion: Kt(e, t) }), a = new I();
2513
+ return Yt(e, t, n, a, r, i);
3535
2514
  }
3536
- function dn(e, t, n, r, i, a) {
2515
+ function Yt(e, t, n, r, i, a) {
3537
2516
  let o = "", s = !1;
3538
2517
  if (t.maxNestedTags && r.getDepth() > t.maxNestedTags) throw Error("Maximum nested tags exceeded");
3539
2518
  if (!Array.isArray(e)) {
3540
2519
  if (e != null) {
3541
2520
  let n = e.toString();
3542
- return n = H(n, t), n;
2521
+ return n = nn(n, t), n;
3543
2522
  }
3544
2523
  return "";
3545
2524
  }
3546
2525
  for (let c = 0; c < e.length; c++) {
3547
- let l = e[c], u = V(l);
2526
+ let l = e[c], u = $t(l);
3548
2527
  if (u === void 0) continue;
3549
- let d = u === t.textNodeName || u === t.cdataPropName || u === t.commentPropName || u[0] === "?" ? u : ln(u, !1, t, r, a), f = fn(l[":@"], t);
2528
+ let d = u === t.textNodeName || u === t.cdataPropName || u === t.commentPropName || u[0] === "?" ? u : qt(u, !1, t, r, a), f = Xt(l[":@"], t);
3550
2529
  r.push(d, f);
3551
- let p = gn(r, i);
2530
+ let p = tn(r, i);
3552
2531
  if (d === t.textNodeName) {
3553
2532
  let e = l[u];
3554
- p || (e = t.tagValueProcessor(d, e), e = H(e, t)), s && (o += n), o += e, s = !1, r.pop();
2533
+ p || (e = t.tagValueProcessor(d, e), e = nn(e, t)), s && (o += n), o += e, s = !1, r.pop();
3555
2534
  continue;
3556
2535
  } else if (d === t.cdataPropName) {
3557
2536
  s && (o += n);
3558
- let e = l[u][0][t.textNodeName], i = on(e);
2537
+ let e = l[u][0][t.textNodeName], i = Wt(e);
3559
2538
  o += `<![CDATA[${i}]]>`, s = !1, r.pop();
3560
2539
  continue;
3561
2540
  } else if (d === t.commentPropName) {
3562
- let e = l[u][0][t.textNodeName], i = z(e);
2541
+ let e = l[u][0][t.textNodeName], i = Ut(e);
3563
2542
  o += n + `<!--${i}-->`, s = !0, r.pop();
3564
2543
  continue;
3565
2544
  } else if (d[0] === "?") {
3566
- let e = hn(l[":@"], t, p, r, a);
2545
+ let e = en(l[":@"], t, p, r, a);
3567
2546
  o += (d === "?xml" ? "" : n) + `<${d}${e}?>`, s = !0, r.pop();
3568
2547
  continue;
3569
2548
  }
3570
2549
  let m = n;
3571
2550
  m !== "" && (m += t.indentBy);
3572
- let h = n + `<${d}${hn(l[":@"], t, p, r, a)}`, g;
3573
- g = p ? pn(l[u], t) : dn(l[u], t, m, r, i, a), t.unpairedTags.indexOf(d) === -1 ? (!g || g.length === 0) && t.suppressEmptyNode ? o += h + "/>" : g && g.endsWith(">") ? o += h + `>${g}${n}</${d}>` : (o += h + ">", g && n !== "" && (g.includes("/>") || g.includes("</")) ? o += n + t.indentBy + g + n : o += g, o += `</${d}>`) : t.suppressUnpairedNode ? o += h + ">" : o += h + "/>", s = !0, r.pop();
2551
+ let h = n + `<${d}${en(l[":@"], t, p, r, a)}`, g;
2552
+ g = p ? Zt(l[u], t) : Yt(l[u], t, m, r, i, a), t.unpairedTags.indexOf(d) === -1 ? (!g || g.length === 0) && t.suppressEmptyNode ? o += h + "/>" : g && g.endsWith(">") ? o += h + `>${g}${n}</${d}>` : (o += h + ">", g && n !== "" && (g.includes("/>") || g.includes("</")) ? o += n + t.indentBy + g + n : o += g, o += `</${d}>`) : t.suppressUnpairedNode ? o += h + ">" : o += h + "/>", s = !0, r.pop();
3574
2553
  }
3575
2554
  return o;
3576
2555
  }
3577
- function fn(e, t) {
2556
+ function Xt(e, t) {
3578
2557
  if (!e || t.ignoreAttributes) return null;
3579
2558
  let n = {}, r = !1;
3580
2559
  for (let i in e) {
3581
2560
  if (!Object.prototype.hasOwnProperty.call(e, i)) continue;
3582
2561
  let a = i.startsWith(t.attributeNamePrefix) ? i.substr(t.attributeNamePrefix.length) : i;
3583
- n[a] = B(e[i]), r = !0;
2562
+ n[a] = U(e[i]), r = !0;
3584
2563
  }
3585
2564
  return r ? n : null;
3586
2565
  }
3587
- function pn(e, t) {
2566
+ function Zt(e, t) {
3588
2567
  if (!Array.isArray(e)) return e == null ? "" : e.toString();
3589
2568
  let n = "";
3590
2569
  for (let r = 0; r < e.length; r++) {
3591
- let i = e[r], a = V(i);
2570
+ let i = e[r], a = $t(i);
3592
2571
  if (a === t.textNodeName) n += i[a];
3593
2572
  else if (a === t.cdataPropName) n += i[a][0][t.textNodeName];
3594
2573
  else if (a === t.commentPropName) n += i[a][0][t.textNodeName];
3595
2574
  else if (a && a[0] === "?") continue;
3596
2575
  else if (a) {
3597
- let e = mn(i[":@"], t), r = pn(i[a], t);
2576
+ let e = Qt(i[":@"], t), r = Zt(i[a], t);
3598
2577
  !r || r.length === 0 ? n += `<${a}${e}/>` : n += `<${a}${e}>${r}</${a}>`;
3599
2578
  }
3600
2579
  }
3601
2580
  return n;
3602
2581
  }
3603
- function mn(e, t) {
2582
+ function Qt(e, t) {
3604
2583
  let n = "";
3605
2584
  if (e && !t.ignoreAttributes) for (let r in e) {
3606
2585
  if (!Object.prototype.hasOwnProperty.call(e, r)) continue;
3607
2586
  let i = e[r];
3608
- i === !0 && t.suppressBooleanAttributes ? n += ` ${r.substr(t.attributeNamePrefix.length)}` : n += ` ${r.substr(t.attributeNamePrefix.length)}="${B(i)}"`;
2587
+ i === !0 && t.suppressBooleanAttributes ? n += ` ${r.substr(t.attributeNamePrefix.length)}` : n += ` ${r.substr(t.attributeNamePrefix.length)}="${U(i)}"`;
3609
2588
  }
3610
2589
  return n;
3611
2590
  }
3612
- function V(e) {
2591
+ function $t(e) {
3613
2592
  let t = Object.keys(e);
3614
2593
  for (let n = 0; n < t.length; n++) {
3615
2594
  let r = t[n];
3616
2595
  if (Object.prototype.hasOwnProperty.call(e, r) && r !== ":@") return r;
3617
2596
  }
3618
2597
  }
3619
- function hn(e, t, n, r, i) {
2598
+ function en(e, t, n, r, i) {
3620
2599
  let a = "";
3621
2600
  if (e && !t.ignoreAttributes) for (let o in e) {
3622
2601
  if (!Object.prototype.hasOwnProperty.call(e, o)) continue;
3623
- let s = o.substr(t.attributeNamePrefix.length), c = n ? s : ln(s, !0, t, r, i), l;
3624
- n ? l = e[o] : (l = t.attributeValueProcessor(o, e[o]), l = H(l, t)), l === !0 && t.suppressBooleanAttributes ? a += ` ${c}` : a += ` ${c}="${B(l)}"`;
2602
+ let s = o.substr(t.attributeNamePrefix.length), c = n ? s : qt(s, !0, t, r, i), l;
2603
+ n ? l = e[o] : (l = t.attributeValueProcessor(o, e[o]), l = nn(l, t)), l === !0 && t.suppressBooleanAttributes ? a += ` ${c}` : a += ` ${c}="${U(l)}"`;
3625
2604
  }
3626
2605
  return a;
3627
2606
  }
3628
- function gn(e, t) {
2607
+ function tn(e, t) {
3629
2608
  if (!t || t.length === 0) return !1;
3630
2609
  for (let n = 0; n < t.length; n++) if (e.matches(t[n])) return !0;
3631
2610
  return !1;
3632
2611
  }
3633
- function H(e, t) {
2612
+ function nn(e, t) {
3634
2613
  if (e && e.length > 0 && t.processEntities) for (let n = 0; n < t.entities.length; n++) {
3635
2614
  let r = t.entities[n];
3636
2615
  e = e.replace(r.regex, r.val);
@@ -3639,14 +2618,14 @@ function H(e, t) {
3639
2618
  }
3640
2619
  //#endregion
3641
2620
  //#region ../../node_modules/.pnpm/fast-xml-builder@1.3.0/node_modules/fast-xml-builder/src/ignoreAttributes.js
3642
- function _n(e) {
2621
+ function rn(e) {
3643
2622
  return typeof e == "function" ? e : Array.isArray(e) ? (t) => {
3644
2623
  for (let n of e) if (typeof n == "string" && t === n || n instanceof RegExp && n.test(t)) return !0;
3645
2624
  } : () => !1;
3646
2625
  }
3647
2626
  //#endregion
3648
2627
  //#region ../../node_modules/.pnpm/fast-xml-builder@1.3.0/node_modules/fast-xml-builder/src/fxb.js
3649
- var vn = {
2628
+ var an = {
3650
2629
  attributeNamePrefix: "@_",
3651
2630
  attributesGroupName: !1,
3652
2631
  textNodeName: "#text",
@@ -3695,18 +2674,18 @@ var vn = {
3695
2674
  jPath: !0,
3696
2675
  sanitizeName: !1
3697
2676
  };
3698
- function U(e) {
3699
- if (this.options = Object.assign({}, vn, e), this.options.stopNodes && Array.isArray(this.options.stopNodes) && (this.options.stopNodes = this.options.stopNodes.map((e) => typeof e == "string" && e.startsWith("*.") ? ".." + e.substring(2) : e)), this.stopNodeExpressions = [], this.options.stopNodes && Array.isArray(this.options.stopNodes)) for (let e = 0; e < this.options.stopNodes.length; e++) {
2677
+ function W(e) {
2678
+ if (this.options = Object.assign({}, an, e), this.options.stopNodes && Array.isArray(this.options.stopNodes) && (this.options.stopNodes = this.options.stopNodes.map((e) => typeof e == "string" && e.startsWith("*.") ? ".." + e.substring(2) : e)), this.stopNodeExpressions = [], this.options.stopNodes && Array.isArray(this.options.stopNodes)) for (let e = 0; e < this.options.stopNodes.length; e++) {
3700
2679
  let t = this.options.stopNodes[e];
3701
- typeof t == "string" ? this.stopNodeExpressions.push(new P(t)) : t instanceof P && this.stopNodeExpressions.push(t);
2680
+ typeof t == "string" ? this.stopNodeExpressions.push(new F(t)) : t instanceof F && this.stopNodeExpressions.push(t);
3702
2681
  }
3703
2682
  this.options.ignoreAttributes === !0 || this.options.attributesGroupName ? this.isAttribute = function() {
3704
2683
  return !1;
3705
- } : (this.ignoreAttributesFn = _n(this.options.ignoreAttributes), this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = Sn), this.processTextOrObjNode = bn, this.options.format ? (this.indentate = xn, this.tagEndChar = ">\n", this.newLine = "\n") : (this.indentate = function() {
2684
+ } : (this.ignoreAttributesFn = rn(this.options.ignoreAttributes), this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = un), this.processTextOrObjNode = cn, this.options.format ? (this.indentate = ln, this.tagEndChar = ">\n", this.newLine = "\n") : (this.indentate = function() {
3706
2685
  return "";
3707
2686
  }, this.tagEndChar = ">", this.newLine = "");
3708
2687
  }
3709
- function yn(e, t) {
2688
+ function on(e, t) {
3710
2689
  let n = e["?xml"];
3711
2690
  if (n && typeof n == "object") {
3712
2691
  if (t.attributesGroupName && n[t.attributesGroupName]) {
@@ -3718,33 +2697,33 @@ function yn(e, t) {
3718
2697
  }
3719
2698
  return "1.0";
3720
2699
  }
3721
- function W(e, t, n, r, i) {
2700
+ function sn(e, t, n, r, i) {
3722
2701
  return !n.sanitizeName || i(e) ? e : n.sanitizeName(e, {
3723
2702
  isAttribute: t,
3724
2703
  matcher: r.readOnly()
3725
2704
  });
3726
2705
  }
3727
- U.prototype.build = function(e) {
3728
- if (this.options.preserveOrder) return un(e, this.options);
2706
+ W.prototype.build = function(e) {
2707
+ if (this.options.preserveOrder) return Jt(e, this.options);
3729
2708
  {
3730
2709
  Array.isArray(e) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (e = { [this.options.arrayNodeName]: e });
3731
- let t = new F(), n = Ye("qName", { xmlVersion: yn(e, this.options) });
2710
+ let t = new I(), n = Le("qName", { xmlVersion: on(e, this.options) });
3732
2711
  return this.j2x(e, 0, t, n).val;
3733
2712
  }
3734
- }, U.prototype.j2x = function(e, t, n, r) {
2713
+ }, W.prototype.j2x = function(e, t, n, r) {
3735
2714
  let i = "", a = "";
3736
2715
  if (this.options.maxNestedTags && n.getDepth() >= this.options.maxNestedTags) throw Error("Maximum nested tags exceeded");
3737
2716
  let o = this.options.jPath ? n.toString() : n, s = this.checkStopNode(n);
3738
2717
  for (let c in e) {
3739
2718
  if (!Object.prototype.hasOwnProperty.call(e, c)) continue;
3740
- let l = c === this.options.textNodeName || c === this.options.cdataPropName || c === this.options.commentPropName || this.options.attributesGroupName && c === this.options.attributesGroupName || this.isAttribute(c) || c[0] === "?" ? c : W(c, !1, this.options, n, r);
2719
+ let l = c === this.options.textNodeName || c === this.options.cdataPropName || c === this.options.commentPropName || this.options.attributesGroupName && c === this.options.attributesGroupName || this.isAttribute(c) || c[0] === "?" ? c : sn(c, !1, this.options, n, r);
3741
2720
  if (e[c] === void 0) this.isAttribute(c) && (a += "");
3742
2721
  else if (e[c] === null) this.isAttribute(c) || l === this.options.cdataPropName || l === this.options.commentPropName ? a += "" : l[0] === "?" ? a += this.indentate(t) + "<" + l + "?" + this.tagEndChar : a += this.indentate(t) + "<" + l + "/" + this.tagEndChar;
3743
2722
  else if (e[c] instanceof Date) a += this.buildTextValNode(e[c], l, "", t, n);
3744
2723
  else if (typeof e[c] != "object") {
3745
2724
  let u = this.isAttribute(c);
3746
2725
  if (u && !this.ignoreAttributesFn(u, o)) {
3747
- let t = W(u, !0, this.options, n, r);
2726
+ let t = sn(u, !0, this.options, n, r);
3748
2727
  i += this.buildAttrPairStr(t, "" + e[c], s);
3749
2728
  } else if (!u) if (c === this.options.textNodeName) {
3750
2729
  let t = this.options.tagValueProcessor(c, "" + e[c]);
@@ -3783,7 +2762,7 @@ U.prototype.build = function(e) {
3783
2762
  } else if (this.options.attributesGroupName && c === this.options.attributesGroupName) {
3784
2763
  let t = Object.keys(e[c]), a = t.length;
3785
2764
  for (let o = 0; o < a; o++) {
3786
- let a = W(t[o], !0, this.options, n, r);
2765
+ let a = sn(t[o], !0, this.options, n, r);
3787
2766
  i += this.buildAttrPairStr(a, "" + e[c][t[o]], s);
3788
2767
  }
3789
2768
  } else a += this.processTextOrObjNode(e[c], l, t, n, r);
@@ -3792,10 +2771,10 @@ U.prototype.build = function(e) {
3792
2771
  attrStr: i,
3793
2772
  val: a
3794
2773
  };
3795
- }, U.prototype.buildAttrPairStr = function(e, t, n) {
3796
- return n || (t = this.options.attributeValueProcessor(e, "" + t), t = this.replaceEntitiesValue(t)), this.options.suppressBooleanAttributes && t === "true" ? " " + e : " " + e + "=\"" + B(t) + "\"";
2774
+ }, W.prototype.buildAttrPairStr = function(e, t, n) {
2775
+ return n || (t = this.options.attributeValueProcessor(e, "" + t), t = this.replaceEntitiesValue(t)), this.options.suppressBooleanAttributes && t === "true" ? " " + e : " " + e + "=\"" + U(t) + "\"";
3797
2776
  };
3798
- function bn(e, t, n, r, i) {
2777
+ function cn(e, t, n, r, i) {
3799
2778
  let a = this.extractAttributes(e);
3800
2779
  if (r.push(t, a), this.checkStopNode(r)) {
3801
2780
  let i = this.buildRawContent(e), a = this.buildAttributesForStopNode(e);
@@ -3804,7 +2783,7 @@ function bn(e, t, n, r, i) {
3804
2783
  let o = this.j2x(e, n + 1, r, i);
3805
2784
  return r.pop(), t[0] === "?" ? this.buildTextValNode("", t, o.attrStr, n, r) : e[this.options.textNodeName] !== void 0 && Object.keys(e).length === 1 ? this.buildTextValNode(e[this.options.textNodeName], t, o.attrStr, n, r) : this.buildObjectNode(o.val, t, o.attrStr, n);
3806
2785
  }
3807
- U.prototype.extractAttributes = function(e) {
2786
+ W.prototype.extractAttributes = function(e) {
3808
2787
  if (!e || typeof e != "object") return null;
3809
2788
  let t = {}, n = !1;
3810
2789
  if (this.options.attributesGroupName && e[this.options.attributesGroupName]) {
@@ -3812,15 +2791,15 @@ U.prototype.extractAttributes = function(e) {
3812
2791
  for (let e in r) {
3813
2792
  if (!Object.prototype.hasOwnProperty.call(r, e)) continue;
3814
2793
  let i = e.startsWith(this.options.attributeNamePrefix) ? e.substring(this.options.attributeNamePrefix.length) : e;
3815
- t[i] = B(r[e]), n = !0;
2794
+ t[i] = U(r[e]), n = !0;
3816
2795
  }
3817
2796
  } else for (let r in e) {
3818
2797
  if (!Object.prototype.hasOwnProperty.call(e, r)) continue;
3819
2798
  let i = this.isAttribute(r);
3820
- i && (t[i] = B(e[r]), n = !0);
2799
+ i && (t[i] = U(e[r]), n = !0);
3821
2800
  }
3822
2801
  return n ? t : null;
3823
- }, U.prototype.buildRawContent = function(e) {
2802
+ }, W.prototype.buildRawContent = function(e) {
3824
2803
  if (typeof e == "string") return e;
3825
2804
  if (typeof e != "object" || !e) return String(e);
3826
2805
  if (e[this.options.textNodeName] !== void 0) return e[this.options.textNodeName];
@@ -3841,7 +2820,7 @@ U.prototype.extractAttributes = function(e) {
3841
2820
  } else t += `<${n}>${r}</${n}>`;
3842
2821
  }
3843
2822
  return t;
3844
- }, U.prototype.buildAttributesForStopNode = function(e) {
2823
+ }, W.prototype.buildAttributesForStopNode = function(e) {
3845
2824
  if (!e || typeof e != "object") return "";
3846
2825
  let t = "";
3847
2826
  if (this.options.attributesGroupName && e[this.options.attributesGroupName]) {
@@ -3849,84 +2828,84 @@ U.prototype.extractAttributes = function(e) {
3849
2828
  for (let e in n) {
3850
2829
  if (!Object.prototype.hasOwnProperty.call(n, e)) continue;
3851
2830
  let r = e.startsWith(this.options.attributeNamePrefix) ? e.substring(this.options.attributeNamePrefix.length) : e, i = n[e];
3852
- i === !0 && this.options.suppressBooleanAttributes ? t += " " + r : t += " " + r + "=\"" + B(i) + "\"";
2831
+ i === !0 && this.options.suppressBooleanAttributes ? t += " " + r : t += " " + r + "=\"" + U(i) + "\"";
3853
2832
  }
3854
2833
  } else for (let n in e) {
3855
2834
  if (!Object.prototype.hasOwnProperty.call(e, n)) continue;
3856
2835
  let r = this.isAttribute(n);
3857
2836
  if (r) {
3858
2837
  let i = e[n];
3859
- i === !0 && this.options.suppressBooleanAttributes ? t += " " + r : t += " " + r + "=\"" + B(i) + "\"";
2838
+ i === !0 && this.options.suppressBooleanAttributes ? t += " " + r : t += " " + r + "=\"" + U(i) + "\"";
3860
2839
  }
3861
2840
  }
3862
2841
  return t;
3863
- }, U.prototype.buildObjectNode = function(e, t, n, r) {
2842
+ }, W.prototype.buildObjectNode = function(e, t, n, r) {
3864
2843
  if (e === "") return t[0] === "?" ? this.indentate(r) + "<" + t + n + "?" + this.tagEndChar : this.indentate(r) + "<" + t + n + this.closeTag(t) + this.tagEndChar;
3865
2844
  if (t[0] === "?") return this.indentate(r) + "<" + t + n + "?" + this.tagEndChar;
3866
2845
  {
3867
2846
  let i = "</" + t + this.tagEndChar, a = "";
3868
- return t[0] === "?" && (a = "?", i = ""), (n || n === "") && e.indexOf("<") === -1 ? this.indentate(r) + "<" + t + n + a + ">" + e + i : this.options.commentPropName !== !1 && t === this.options.commentPropName && a.length === 0 ? this.indentate(r) + `<!--${z(e)}-->` + this.newLine : this.indentate(r) + "<" + t + n + a + this.tagEndChar + e + this.indentate(r) + i;
2847
+ return t[0] === "?" && (a = "?", i = ""), (n || n === "") && e.indexOf("<") === -1 ? this.indentate(r) + "<" + t + n + a + ">" + e + i : this.options.commentPropName !== !1 && t === this.options.commentPropName && a.length === 0 ? this.indentate(r) + `<!--${Ut(e)}-->` + this.newLine : this.indentate(r) + "<" + t + n + a + this.tagEndChar + e + this.indentate(r) + i;
3869
2848
  }
3870
- }, U.prototype.closeTag = function(e) {
2849
+ }, W.prototype.closeTag = function(e) {
3871
2850
  let t = "";
3872
2851
  return this.options.unpairedTags.indexOf(e) === -1 ? t = this.options.suppressEmptyNode ? "/" : `></${e}` : this.options.suppressUnpairedNode || (t = "/"), t;
3873
- }, U.prototype.checkStopNode = function(e) {
2852
+ }, W.prototype.checkStopNode = function(e) {
3874
2853
  if (!this.stopNodeExpressions || this.stopNodeExpressions.length === 0) return !1;
3875
2854
  for (let t = 0; t < this.stopNodeExpressions.length; t++) if (e.matches(this.stopNodeExpressions[t])) return !0;
3876
2855
  return !1;
3877
- }, U.prototype.buildTextValNode = function(e, t, n, r, i) {
2856
+ }, W.prototype.buildTextValNode = function(e, t, n, r, i) {
3878
2857
  if (this.options.cdataPropName !== !1 && t === this.options.cdataPropName) {
3879
- let t = on(e);
2858
+ let t = Wt(e);
3880
2859
  return this.indentate(r) + `<![CDATA[${t}]]>` + this.newLine;
3881
2860
  } else if (this.options.commentPropName !== !1 && t === this.options.commentPropName) {
3882
- let t = z(e);
2861
+ let t = Ut(e);
3883
2862
  return this.indentate(r) + `<!--${t}-->` + this.newLine;
3884
2863
  } else if (t[0] === "?") return this.indentate(r) + "<" + t + n + "?" + this.tagEndChar;
3885
2864
  else {
3886
2865
  let i = this.options.tagValueProcessor(t, e);
3887
2866
  return i = this.replaceEntitiesValue(i), i === "" ? this.indentate(r) + "<" + t + n + this.closeTag(t) + this.tagEndChar : this.indentate(r) + "<" + t + n + ">" + i + "</" + t + this.tagEndChar;
3888
2867
  }
3889
- }, U.prototype.replaceEntitiesValue = function(e) {
2868
+ }, W.prototype.replaceEntitiesValue = function(e) {
3890
2869
  if (e && e.length > 0 && this.options.processEntities) for (let t = 0; t < this.options.entities.length; t++) {
3891
2870
  let n = this.options.entities[t];
3892
2871
  e = e.replace(n.regex, n.val);
3893
2872
  }
3894
2873
  return e;
3895
2874
  };
3896
- function xn(e) {
2875
+ function ln(e) {
3897
2876
  return this.options.indentBy.repeat(e);
3898
2877
  }
3899
- function Sn(e) {
2878
+ function un(e) {
3900
2879
  return e.startsWith(this.options.attributeNamePrefix) && e !== this.options.textNodeName ? e.substr(this.attrPrefixLen) : !1;
3901
2880
  }
3902
2881
  //#endregion
3903
- //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.0/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js
3904
- var Cn = U, G = e.object({
2882
+ //#region ../../node_modules/.pnpm/fast-xml-parser@5.10.1/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js
2883
+ var dn = W, G = e.object({
3905
2884
  created_at: e.string(),
3906
2885
  updated_at: e.string()
3907
- }), wn = e.object({
2886
+ }), fn = e.object({
3908
2887
  id: e.string(),
3909
2888
  version: e.string().optional()
3910
- }), Tn = e.object({
2889
+ }), pn = e.object({
3911
2890
  name: e.string(),
3912
2891
  version: e.string()
3913
- }), En = e.object({
2892
+ }), mn = e.object({
3914
2893
  name: e.string(),
3915
2894
  value: e.string().optional()
3916
- }), Dn = e.object({
2895
+ }), hn = e.object({
3917
2896
  name: e.string().max(255),
3918
2897
  code: e.string().max(1e5),
3919
- supported_triggers: e.array(wn).optional(),
2898
+ supported_triggers: e.array(fn).optional(),
3920
2899
  runtime: e.string().max(50).optional(),
3921
- dependencies: e.array(Tn).optional(),
3922
- secrets: e.array(En).optional(),
2900
+ dependencies: e.array(pn).optional(),
2901
+ secrets: e.array(mn).optional(),
3923
2902
  is_system: e.boolean().optional(),
3924
2903
  inherit: e.boolean().optional()
3925
2904
  });
3926
- Dn.partial().extend({
2905
+ hn.partial().extend({
3927
2906
  status: e.enum(["draft", "built"]).optional(),
3928
2907
  deployed_at: e.string().optional()
3929
- }), Dn.extend({
2908
+ }), hn.extend({
3930
2909
  id: e.string(),
3931
2910
  tenant_id: e.string(),
3932
2911
  status: e.enum(["draft", "built"]).default("built"),
@@ -3936,23 +2915,23 @@ Dn.partial().extend({
3936
2915
  value: e.string().optional()
3937
2916
  })).optional()
3938
2917
  }).extend(G.shape);
3939
- var On = e.string(), kn = e.enum([
2918
+ var gn = e.string(), _n = e.enum([
3940
2919
  "unspecified",
3941
2920
  "pending",
3942
2921
  "final",
3943
2922
  "partial",
3944
2923
  "canceled",
3945
2924
  "suspended"
3946
- ]), An = e.object({
2925
+ ]), vn = e.object({
3947
2926
  id: e.string(),
3948
2927
  msg: e.string(),
3949
2928
  url: e.string().optional()
3950
- }), jn = e.object({
2929
+ }), yn = e.object({
3951
2930
  action_name: e.string(),
3952
- error: An.nullable(),
2931
+ error: vn.nullable(),
3953
2932
  started_at: e.string(),
3954
2933
  ended_at: e.string()
3955
- }), Mn = e.object({
2934
+ }), bn = e.object({
3956
2935
  level: e.enum([
3957
2936
  "log",
3958
2937
  "info",
@@ -3961,17 +2940,17 @@ var On = e.string(), kn = e.enum([
3961
2940
  "debug"
3962
2941
  ]),
3963
2942
  message: e.string()
3964
- }), Nn = e.array(e.object({
2943
+ }), xn = e.array(e.object({
3965
2944
  action_name: e.string(),
3966
- lines: e.array(Mn)
2945
+ lines: e.array(bn)
3967
2946
  }));
3968
2947
  e.object({
3969
2948
  id: e.string(),
3970
2949
  tenant_id: e.string(),
3971
- trigger_id: On,
3972
- status: kn,
3973
- results: e.array(jn),
3974
- logs: Nn.optional(),
2950
+ trigger_id: gn,
2951
+ status: _n,
2952
+ results: e.array(yn),
2953
+ logs: xn.optional(),
3975
2954
  created_at: e.string(),
3976
2955
  updated_at: e.string()
3977
2956
  }).omit({
@@ -3982,21 +2961,21 @@ e.object({
3982
2961
  action_id: e.string(),
3983
2962
  code: e.string().max(1e5),
3984
2963
  runtime: e.string().max(50).optional(),
3985
- dependencies: e.array(Tn).optional(),
3986
- secrets: e.array(En).optional(),
3987
- supported_triggers: e.array(wn).optional(),
2964
+ dependencies: e.array(pn).optional(),
2965
+ secrets: e.array(mn).optional(),
2966
+ supported_triggers: e.array(fn).optional(),
3988
2967
  deployed: e.boolean().default(!0)
3989
2968
  }).extend({
3990
2969
  id: e.string(),
3991
2970
  tenant_id: e.string(),
3992
2971
  number: e.number().int()
3993
2972
  }).extend(G.shape);
3994
- var Pn = e.enum([
2973
+ var Sn = e.enum([
3995
2974
  "user_action",
3996
2975
  "admin_action",
3997
2976
  "system",
3998
2977
  "api"
3999
- ]), Fn = e.object({
2978
+ ]), Cn = e.object({
4000
2979
  type: e.enum([
4001
2980
  "user",
4002
2981
  "admin",
@@ -4010,7 +2989,7 @@ var Pn = e.enum([
4010
2989
  org_name: e.string().optional(),
4011
2990
  scopes: e.array(e.string()).optional(),
4012
2991
  client_id: e.string().optional()
4013
- }), In = e.object({
2992
+ }), wn = e.object({
4014
2993
  type: e.string(),
4015
2994
  id: e.string(),
4016
2995
  before: e.record(e.string(), e.unknown()).optional(),
@@ -4019,7 +2998,7 @@ var Pn = e.enum([
4019
2998
  old: e.unknown(),
4020
2999
  new: e.unknown()
4021
3000
  })).optional()
4022
- }), Ln = e.object({
3001
+ }), Tn = e.object({
4023
3002
  method: e.string(),
4024
3003
  path: e.string(),
4025
3004
  query: e.record(e.string(), e.string()).optional(),
@@ -4027,17 +3006,17 @@ var Pn = e.enum([
4027
3006
  ip: e.string(),
4028
3007
  user_agent: e.string().optional(),
4029
3008
  correlation_id: e.string().optional()
4030
- }), Rn = e.object({
3009
+ }), En = e.object({
4031
3010
  status_code: e.number(),
4032
3011
  body: e.unknown().optional()
4033
- }), zn = e.object({
3012
+ }), Dn = e.object({
4034
3013
  country_code: e.string(),
4035
3014
  city_name: e.string(),
4036
3015
  latitude: e.string(),
4037
3016
  longitude: e.string(),
4038
3017
  time_zone: e.string(),
4039
3018
  continent_code: e.string()
4040
- }), Bn = e.object({
3019
+ }), On = e.object({
4041
3020
  name: e.string(),
4042
3021
  version: e.string(),
4043
3022
  env: e.record(e.string(), e.string()).optional()
@@ -4047,11 +3026,11 @@ e.object({
4047
3026
  event_type: e.string(),
4048
3027
  log_type: e.string(),
4049
3028
  description: e.string().optional(),
4050
- category: Pn,
4051
- actor: Fn,
4052
- target: In,
4053
- request: Ln,
4054
- response: Rn.optional(),
3029
+ category: Sn,
3030
+ actor: Cn,
3031
+ target: wn,
3032
+ request: Tn,
3033
+ response: En.optional(),
4055
3034
  connection: e.string().optional(),
4056
3035
  connection_id: e.string().optional(),
4057
3036
  client_name: e.string().optional(),
@@ -4059,8 +3038,8 @@ e.object({
4059
3038
  strategy_type: e.string().optional(),
4060
3039
  audience: e.string().optional(),
4061
3040
  scope: e.string().optional(),
4062
- location: zn.optional(),
4063
- auth0_client: Bn.optional(),
3041
+ location: Dn.optional(),
3042
+ auth0_client: On.optional(),
4064
3043
  hostname: e.string(),
4065
3044
  is_mobile: e.boolean().optional(),
4066
3045
  timestamp: e.string()
@@ -4075,14 +3054,14 @@ e.object({
4075
3054
  "SEND_REQUEST",
4076
3055
  "SEND_EMAIL"
4077
3056
  ]), e.enum(["VERIFY_EMAIL"]);
4078
- var Vn = e.object({
3057
+ var kn = e.object({
4079
3058
  require_mx_record: e.boolean().optional(),
4080
3059
  block_aliases: e.boolean().optional(),
4081
3060
  block_free_emails: e.boolean().optional(),
4082
3061
  block_disposable_emails: e.boolean().optional(),
4083
3062
  blocklist: e.array(e.string()).optional(),
4084
3063
  allowlist: e.array(e.string()).optional()
4085
- }), Hn = e.object({
3064
+ }), An = e.object({
4086
3065
  id: e.string(),
4087
3066
  alias: e.string().max(100).optional(),
4088
3067
  type: e.literal("AUTH0"),
@@ -4094,7 +3073,7 @@ var Vn = e.object({
4094
3073
  user_id: e.string(),
4095
3074
  changes: e.record(e.string(), e.any())
4096
3075
  })
4097
- }), Un = e.object({
3076
+ }), jn = e.object({
4098
3077
  id: e.string(),
4099
3078
  alias: e.string().max(100).optional(),
4100
3079
  type: e.literal("EMAIL"),
@@ -4103,13 +3082,13 @@ var Vn = e.object({
4103
3082
  mask_output: e.boolean().optional(),
4104
3083
  params: e.object({
4105
3084
  email: e.string(),
4106
- rules: Vn.optional()
3085
+ rules: kn.optional()
4107
3086
  })
4108
- }), Wn = e.enum([
3087
+ }), Mn = e.enum([
4109
3088
  "change-email",
4110
3089
  "account",
4111
3090
  "custom"
4112
- ]), Gn = e.object({
3091
+ ]), Nn = e.object({
4113
3092
  id: e.string(),
4114
3093
  alias: e.string().max(100).optional(),
4115
3094
  type: e.literal("REDIRECT"),
@@ -4117,17 +3096,17 @@ var Vn = e.object({
4117
3096
  allow_failure: e.boolean().optional(),
4118
3097
  mask_output: e.boolean().optional(),
4119
3098
  params: e.object({
4120
- target: Wn.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
3099
+ target: Mn.openapi({ description: "The predefined target to redirect to, or 'custom' for a custom URL" }),
4121
3100
  custom_url: e.string().optional().openapi({ description: "Custom URL to redirect to when target is 'custom'" })
4122
3101
  })
4123
- }), Kn = e.union([
4124
- Hn,
4125
- Un,
4126
- Gn
3102
+ }), Pn = e.union([
3103
+ An,
3104
+ jn,
3105
+ Nn
4127
3106
  ]);
4128
3107
  e.object({
4129
3108
  name: e.string().min(1).max(150).openapi({ description: "The name of the flow" }),
4130
- actions: e.array(Kn).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
3109
+ actions: e.array(Pn).optional().default([]).openapi({ description: "The list of actions to execute in sequence" })
4131
3110
  }).extend(G.shape).extend({ id: e.string().openapi({
4132
3111
  description: "Unique identifier for the flow",
4133
3112
  example: "af_12tMpdJ3iek7svMyZkSh5M"
@@ -4144,7 +3123,7 @@ e.object({
4144
3123
  total: e.number().optional(),
4145
3124
  next: e.string().optional()
4146
3125
  });
4147
- var qn = e.object({
3126
+ var Fn = e.object({
4148
3127
  email: e.string().optional(),
4149
3128
  email_verified: e.boolean().optional(),
4150
3129
  name: e.string().optional(),
@@ -4153,7 +3132,7 @@ var qn = e.object({
4153
3132
  phone_number: e.string().optional(),
4154
3133
  phone_verified: e.boolean().optional(),
4155
3134
  family_name: e.string().optional()
4156
- }).catchall(e.any()), Jn = e.object({
3135
+ }).catchall(e.any()), In = e.object({
4157
3136
  connection: e.string(),
4158
3137
  user_id: e.string(),
4159
3138
  provider: e.string(),
@@ -4166,15 +3145,15 @@ var qn = e.object({
4166
3145
  access_token: e.string().optional(),
4167
3146
  access_token_secret: e.string().optional(),
4168
3147
  refresh_token: e.string().optional(),
4169
- profileData: qn.optional()
4170
- }), Yn = e.object({
3148
+ profileData: Fn.optional()
3149
+ }), Ln = e.object({
4171
3150
  formatted: e.string().optional(),
4172
3151
  street_address: e.string().optional(),
4173
3152
  locality: e.string().optional(),
4174
3153
  region: e.string().optional(),
4175
3154
  postal_code: e.string().optional(),
4176
3155
  country: e.string().optional()
4177
- }).optional(), Xn = e.object({
3156
+ }).optional(), Rn = e.object({
4178
3157
  email: e.string().transform((e) => e.toLowerCase()).optional(),
4179
3158
  username: e.string().refine((e) => !e.includes("@"), { message: "Usernames must not contain \"@\". Use the email field for email addresses." }).optional(),
4180
3159
  phone_number: e.string().optional(),
@@ -4197,9 +3176,9 @@ var qn = e.object({
4197
3176
  gender: e.string().optional(),
4198
3177
  birthdate: e.string().optional(),
4199
3178
  zoneinfo: e.string().optional(),
4200
- address: Yn
3179
+ address: Ln
4201
3180
  });
4202
- Xn.extend({
3181
+ Rn.extend({
4203
3182
  email_verified: e.boolean().default(!1),
4204
3183
  verify_email: e.boolean().optional(),
4205
3184
  last_ip: e.string().optional(),
@@ -4219,24 +3198,24 @@ Xn.extend({
4219
3198
  is_social: e.boolean(),
4220
3199
  email: e.string().optional(),
4221
3200
  login_count: e.number().default(0),
4222
- identities: e.array(Jn).optional()
4223
- }).omit({ registration_completed_at: !0 }), Xn.extend({
3201
+ identities: e.array(In).optional()
3202
+ }).omit({ registration_completed_at: !0 }), Rn.extend({
4224
3203
  login_count: e.number(),
4225
3204
  multifactor: e.array(e.string()).optional(),
4226
3205
  last_ip: e.string().optional(),
4227
3206
  last_login: e.string().optional(),
4228
3207
  user_id: e.string()
4229
3208
  }).catchall(e.any());
4230
- var Zn = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Qn = (e = 21) => {
3209
+ var zn = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Bn = (e = 21) => {
4231
3210
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
4232
- for (; e--;) t += Zn[n[e] & 63];
3211
+ for (; e--;) t += zn[n[e] & 63];
4233
3212
  return t;
4234
- }, $n = e.object({
3213
+ }, Vn = e.object({
4235
3214
  client_id: e.string().optional().openapi({ description: "ID of this client. Generated server-side if omitted (Auth0 behavior)." }),
4236
3215
  name: e.string().min(1).openapi({ description: "Name of this client (min length: 1 character, does not allow < or >)." }),
4237
3216
  description: e.string().max(140).optional().openapi({ description: "Free text description of this client (max length: 140 characters)." }),
4238
3217
  global: e.boolean().default(!1).openapi({ description: "Whether this is your global 'All Applications' client representing legacy tenant settings (true) or a regular client (false)." }),
4239
- client_secret: e.string().default(() => Qn()).optional().openapi({ description: "Client secret (which you must not make public)." }),
3218
+ client_secret: e.string().default(() => Bn()).optional().openapi({ description: "Client secret (which you must not make public)." }),
4240
3219
  app_type: e.enum([
4241
3220
  "native",
4242
3221
  "spa",
@@ -4353,8 +3332,8 @@ var Zn = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Qn
4353
3332
  e.object({
4354
3333
  created_at: e.string(),
4355
3334
  updated_at: e.string()
4356
- }).extend($n.shape).extend({ client_id: e.string() });
4357
- var er = e.object({
3335
+ }).extend(Vn.shape).extend({ client_id: e.string() });
3336
+ var Hn = e.object({
4358
3337
  client_id: e.string().min(1).openapi({ description: "ID of the client." }),
4359
3338
  audience: e.string().min(1).openapi({ description: "The audience (API identifier) of this client grant." }),
4360
3339
  scope: e.array(e.string()).optional().openapi({ description: "Scopes allowed for this client grant." }),
@@ -4367,15 +3346,15 @@ var er = e.object({
4367
3346
  is_system: e.boolean().optional().openapi({ description: "If enabled, this grant is a special grant created by Auth0. It cannot be modified or deleted directly." }),
4368
3347
  subject_type: e.enum(["client", "user"]).optional().openapi({ description: "The type of application access the client grant allows. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." }),
4369
3348
  authorization_details_types: e.array(e.string()).optional().openapi({ description: "Types of authorization_details allowed for this client grant. Use of this field is subject to the applicable Free Trial terms in Okta's Master Subscription Agreement." })
4370
- }), tr = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(er.shape).extend({
3349
+ }), Un = e.object({ id: e.string().openapi({ description: "ID of the client grant." }) }).extend(Hn.shape).extend({
4371
3350
  created_at: e.string().optional(),
4372
3351
  updated_at: e.string().optional()
4373
3352
  });
4374
- e.array(tr);
4375
- var nr = e.enum(["iat", "rat"]), rr = e.object({
3353
+ e.array(Un);
3354
+ var Wn = e.enum(["iat", "rat"]), Gn = e.object({
4376
3355
  id: e.string(),
4377
3356
  token_hash: e.string(),
4378
- type: nr,
3357
+ type: Wn,
4379
3358
  client_id: e.string().optional(),
4380
3359
  sub: e.string().optional(),
4381
3360
  constraints: e.record(e.string(), e.unknown()).optional(),
@@ -4386,23 +3365,23 @@ e.object({
4386
3365
  created_at: e.string(),
4387
3366
  used_at: e.string().optional(),
4388
3367
  revoked_at: e.string().optional()
4389
- }).extend(rr.shape);
3368
+ }).extend(Gn.shape);
4390
3369
  var K = e.object({
4391
3370
  x: e.number(),
4392
3371
  y: e.number()
4393
- }), ir = /* @__PURE__ */ function(e) {
3372
+ }), Kn = /* @__PURE__ */ function(e) {
4394
3373
  return e.RICH_TEXT = "RICH_TEXT", e.NEXT_BUTTON = "NEXT_BUTTON", e.BACK_BUTTON = "BACK_BUTTON", e.SUBMIT_BUTTON = "SUBMIT_BUTTON", e.DIVIDER = "DIVIDER", e.TEXT = "TEXT", e.EMAIL = "EMAIL", e.PASSWORD = "PASSWORD", e.NUMBER = "NUMBER", e.PHONE = "PHONE", e.DATE = "DATE", e.CHECKBOX = "CHECKBOX", e.RADIO = "RADIO", e.SELECT = "SELECT", e.HIDDEN = "HIDDEN", e.LEGAL = "LEGAL", e;
4395
- }({}), ar = /* @__PURE__ */ function(e) {
3374
+ }({}), qn = /* @__PURE__ */ function(e) {
4396
3375
  return e.BLOCK = "BLOCK", e.FIELD = "FIELD", e;
4397
3376
  }({}), q = e.object({
4398
3377
  id: e.string(),
4399
- category: e.nativeEnum(ar),
4400
- type: e.nativeEnum(ir)
4401
- }), or = q.extend({
3378
+ category: e.nativeEnum(qn),
3379
+ type: e.nativeEnum(Kn)
3380
+ }), Jn = q.extend({
4402
3381
  category: e.literal("BLOCK"),
4403
3382
  type: e.literal("RICH_TEXT"),
4404
3383
  config: e.object({ content: e.string() }).passthrough()
4405
- }), sr = q.extend({
3384
+ }), Yn = q.extend({
4406
3385
  category: e.literal("BLOCK"),
4407
3386
  type: e.union([
4408
3387
  e.literal("NEXT_BUTTON"),
@@ -4410,13 +3389,13 @@ var K = e.object({
4410
3389
  e.literal("SUBMIT_BUTTON")
4411
3390
  ]),
4412
3391
  config: e.object({ text: e.string() }).passthrough()
4413
- }), cr = q.extend({
3392
+ }), Xn = q.extend({
4414
3393
  category: e.literal("FIELD"),
4415
3394
  type: e.literal("LEGAL"),
4416
3395
  required: e.boolean().optional(),
4417
3396
  sensitive: e.boolean().optional(),
4418
3397
  config: e.object({ text: e.string() }).passthrough()
4419
- }), lr = q.extend({
3398
+ }), Zn = q.extend({
4420
3399
  category: e.literal("FIELD"),
4421
3400
  type: e.union([
4422
3401
  e.literal("TEXT"),
@@ -4436,26 +3415,26 @@ var K = e.object({
4436
3415
  label: e.string().optional(),
4437
3416
  placeholder: e.string().optional()
4438
3417
  }).passthrough()
4439
- }), ur = e.object({
3418
+ }), Qn = e.object({
4440
3419
  id: e.string(),
4441
3420
  category: e.string(),
4442
3421
  type: e.string()
4443
- }).passthrough(), dr = e.union([
4444
- or,
4445
- sr,
4446
- cr,
4447
- lr,
4448
- ur
4449
- ]), fr = e.object({
3422
+ }).passthrough(), $n = e.union([
3423
+ Jn,
3424
+ Yn,
3425
+ Xn,
3426
+ Zn,
3427
+ Qn
3428
+ ]), er = e.object({
4450
3429
  id: e.string(),
4451
3430
  type: e.literal("STEP"),
4452
3431
  coordinates: K,
4453
3432
  alias: e.string().optional(),
4454
3433
  config: e.object({
4455
- components: e.array(dr),
3434
+ components: e.array($n),
4456
3435
  next_node: e.string()
4457
3436
  }).passthrough()
4458
- }), pr = e.object({
3437
+ }), tr = e.object({
4459
3438
  id: e.string(),
4460
3439
  type: e.literal("FLOW"),
4461
3440
  coordinates: K,
@@ -4464,7 +3443,7 @@ var K = e.object({
4464
3443
  flow_id: e.string(),
4465
3444
  next_node: e.string()
4466
3445
  })
4467
- }), mr = e.object({
3446
+ }), nr = e.object({
4468
3447
  id: e.string(),
4469
3448
  type: e.literal("ACTION"),
4470
3449
  coordinates: K,
@@ -4479,19 +3458,19 @@ var K = e.object({
4479
3458
  custom_url: e.string().optional().openapi({ description: "Custom URL when target is 'custom'" }),
4480
3459
  next_node: e.string().openapi({ description: "The next node to navigate to after action (for non-redirect actions)" })
4481
3460
  }).passthrough()
4482
- }), hr = e.object({
3461
+ }), rr = e.object({
4483
3462
  id: e.string(),
4484
3463
  type: e.string(),
4485
3464
  coordinates: K
4486
- }).passthrough(), gr = e.union([
4487
- fr,
4488
- pr,
4489
- mr,
4490
- hr
4491
- ]), _r = e.object({
3465
+ }).passthrough(), ir = e.union([
3466
+ er,
3467
+ tr,
3468
+ nr,
3469
+ rr
3470
+ ]), ar = e.object({
4492
3471
  next_node: e.string(),
4493
3472
  coordinates: K
4494
- }).passthrough(), vr = e.object({
3473
+ }).passthrough(), or = e.object({
4495
3474
  resume_flow: e.boolean().optional(),
4496
3475
  coordinates: K
4497
3476
  }).passthrough();
@@ -4499,9 +3478,9 @@ e.object({
4499
3478
  id: e.string(),
4500
3479
  name: e.string(),
4501
3480
  languages: e.object({ primary: e.string() }).passthrough(),
4502
- nodes: e.array(gr),
4503
- start: _r,
4504
- ending: vr,
3481
+ nodes: e.array(ir),
3482
+ start: ar,
3483
+ ending: or,
4505
3484
  created_at: e.string(),
4506
3485
  updated_at: e.string(),
4507
3486
  links: e.object({
@@ -4513,24 +3492,24 @@ e.object({
4513
3492
  created_at: !0,
4514
3493
  updated_at: !0
4515
3494
  });
4516
- var yr = /* @__PURE__ */ function(e) {
3495
+ var sr = /* @__PURE__ */ function(e) {
4517
3496
  return e.TOKEN = "token", e.ID_TOKEN = "id_token", e.TOKEN_ID_TOKEN = "id_token token", e.CODE = "code", e.CODE_ID_TOKEN = "code id_token", e.CODE_TOKEN = "code token", e.CODE_ID_TOKEN_TOKEN = "code id_token token", e;
4518
- }({}), br = /* @__PURE__ */ function(e) {
3497
+ }({}), cr = /* @__PURE__ */ function(e) {
4519
3498
  return e.QUERY = "query", e.FRAGMENT = "fragment", e.FORM_POST = "form_post", e.WEB_MESSAGE = "web_message", e.SAML_POST = "saml_post", e;
4520
- }({}), xr = /* @__PURE__ */ function(e) {
3499
+ }({}), lr = /* @__PURE__ */ function(e) {
4521
3500
  return e.S256 = "S256", e.Plain = "plain", e;
4522
- }({}), Sr = e.union([e.null(), e.object({
3501
+ }({}), ur = e.union([e.null(), e.object({
4523
3502
  essential: e.boolean().optional(),
4524
3503
  value: e.unknown().optional(),
4525
3504
  values: e.array(e.unknown()).optional()
4526
- })]).nullable(), Cr = e.object({
4527
- userinfo: e.record(e.string(), Sr).optional(),
4528
- id_token: e.record(e.string(), Sr).optional()
4529
- }), wr = e.object({
3505
+ })]).nullable(), dr = e.object({
3506
+ userinfo: e.record(e.string(), ur).optional(),
3507
+ id_token: e.record(e.string(), ur).optional()
3508
+ }), fr = e.object({
4530
3509
  client_id: e.string(),
4531
3510
  act_as: e.string().optional(),
4532
- response_type: e.nativeEnum(yr).optional(),
4533
- response_mode: e.nativeEnum(br).optional(),
3511
+ response_type: e.nativeEnum(sr).optional(),
3512
+ response_mode: e.nativeEnum(cr).optional(),
4534
3513
  redirect_uri: e.string().optional(),
4535
3514
  audience: e.string().optional(),
4536
3515
  organization: e.string().optional(),
@@ -4538,13 +3517,13 @@ var yr = /* @__PURE__ */ function(e) {
4538
3517
  nonce: e.string().optional(),
4539
3518
  scope: e.string().optional(),
4540
3519
  prompt: e.string().optional(),
4541
- code_challenge_method: e.nativeEnum(xr).optional(),
3520
+ code_challenge_method: e.nativeEnum(lr).optional(),
4542
3521
  code_challenge: e.string().optional(),
4543
3522
  username: e.string().optional(),
4544
3523
  ui_locales: e.string().optional(),
4545
3524
  max_age: e.number().optional(),
4546
3525
  acr_values: e.string().optional(),
4547
- claims: Cr.optional(),
3526
+ claims: dr.optional(),
4548
3527
  vendor_id: e.string().optional()
4549
3528
  });
4550
3529
  e.object({
@@ -4567,7 +3546,7 @@ e.object({
4567
3546
  "auto"
4568
3547
  ]).optional()
4569
3548
  });
4570
- var Tr = e.enum([
3549
+ var pr = e.enum([
4571
3550
  "password_reset",
4572
3551
  "email_verification",
4573
3552
  "otp",
@@ -4580,7 +3559,7 @@ e.object({
4580
3559
  code_id: e.string().openapi({ description: "The code that will be used in for instance an email verification flow" }),
4581
3560
  login_id: e.string().openapi({ description: "The id of the login session that the code is connected to" }),
4582
3561
  connection_id: e.string().optional().openapi({ description: "The connection that the code is connected to" }),
4583
- code_type: Tr,
3562
+ code_type: pr,
4584
3563
  code_verifier: e.string().optional().openapi({ description: "The code verifier used in PKCE in outbound flows" }),
4585
3564
  code_challenge: e.string().optional().openapi({ description: "The code challenge used in PKCE in outbound flows" }),
4586
3565
  code_challenge_method: e.enum(["plain", "S256"]).optional().openapi({ description: "The code challenge method used in PKCE in outbound flows" }),
@@ -4592,7 +3571,7 @@ e.object({
4592
3571
  used_at: e.string().optional(),
4593
3572
  user_id: e.string().optional()
4594
3573
  }).extend({ created_at: e.string() });
4595
- var Er = e.object({
3574
+ var mr = e.object({
4596
3575
  kid: e.string().optional(),
4597
3576
  team_id: e.string().optional(),
4598
3577
  realms: e.string().optional(),
@@ -4708,23 +3687,23 @@ var Er = e.object({
4708
3687
  "never_on_login"
4709
3688
  ]).optional()
4710
3689
  });
4711
- function Dr(e) {
3690
+ function hr(e) {
4712
3691
  if (e !== null) {
4713
- if (Array.isArray(e)) return e.filter((e) => e !== null).map(Dr);
3692
+ if (Array.isArray(e)) return e.filter((e) => e !== null).map(hr);
4714
3693
  if (e && typeof e == "object") {
4715
3694
  let t = {};
4716
- for (let [n, r] of Object.entries(e)) r !== null && (t[n] = Dr(r));
3695
+ for (let [n, r] of Object.entries(e)) r !== null && (t[n] = hr(r));
4717
3696
  return t;
4718
3697
  }
4719
3698
  return e;
4720
3699
  }
4721
3700
  }
4722
- var Or = e.object({
3701
+ var gr = e.object({
4723
3702
  id: e.string().optional(),
4724
3703
  name: e.string(),
4725
3704
  display_name: e.string().optional(),
4726
3705
  strategy: e.string(),
4727
- options: e.preprocess((e) => e === null ? {} : Dr(e), Er).default({}),
3706
+ options: e.preprocess((e) => e === null ? {} : hr(e), mr).default({}),
4728
3707
  enabled_clients: e.array(e.string()).default([]).optional(),
4729
3708
  response_type: e.custom().optional(),
4730
3709
  response_mode: e.custom().optional(),
@@ -4737,8 +3716,8 @@ e.object({
4737
3716
  id: e.string(),
4738
3717
  created_at: e.string().transform((e) => e === null ? "" : e),
4739
3718
  updated_at: e.string().transform((e) => e === null ? "" : e)
4740
- }).extend(Or.shape);
4741
- var kr = e.object({
3719
+ }).extend(gr.shape);
3720
+ var _r = e.object({
4742
3721
  domain: e.string(),
4743
3722
  custom_domain_id: e.string().optional(),
4744
3723
  type: e.enum(["auth0_managed_certs", "self_managed_certs"]),
@@ -4752,7 +3731,7 @@ var kr = e.object({
4752
3731
  "null"
4753
3732
  ]).optional(),
4754
3733
  domain_metadata: e.record(e.string(), e.string().max(255)).optional()
4755
- }), Ar = e.discriminatedUnion("name", [e.object({
3734
+ }), vr = e.discriminatedUnion("name", [e.object({
4756
3735
  name: e.literal("txt"),
4757
3736
  record: e.string(),
4758
3737
  domain: e.string()
@@ -4760,7 +3739,7 @@ var kr = e.object({
4760
3739
  name: e.literal("http"),
4761
3740
  http_body: e.string(),
4762
3741
  http_url: e.string()
4763
- })]), jr = kr.extend({
3742
+ })]), yr = _r.extend({
4764
3743
  custom_domain_id: e.string(),
4765
3744
  primary: e.boolean(),
4766
3745
  status: e.enum([
@@ -4770,28 +3749,28 @@ var kr = e.object({
4770
3749
  "ready"
4771
3750
  ]),
4772
3751
  origin_domain_name: e.string().optional(),
4773
- verification: e.object({ methods: e.array(Ar) }).optional(),
3752
+ verification: e.object({ methods: e.array(vr) }).optional(),
4774
3753
  tls_policy: e.string().optional()
4775
3754
  });
4776
- kr.pick({
3755
+ _r.pick({
4777
3756
  tls_policy: !0,
4778
3757
  custom_client_ip_header: !0,
4779
3758
  domain_metadata: !0
4780
- }).strict(), jr.extend({ tenant_id: e.string() }), e.object({
3759
+ }).strict(), yr.extend({ tenant_id: e.string() }), e.object({
4781
3760
  certificate: e.string().regex(/^-----BEGIN CERTIFICATE-----[\s\S]+-----END CERTIFICATE-----\s*$/, "must be PEM-encoded; include the full certificate chain in leaf-first order"),
4782
3761
  private_key: e.string().regex(/-----BEGIN (RSA |EC |ENCRYPTED )?PRIVATE KEY-----[\s\S]+-----END \1PRIVATE KEY-----\s*$/, "must be a PEM-encoded private key")
4783
3762
  });
4784
- var Mr = e.object({
3763
+ var br = e.object({
4785
3764
  id: e.string(),
4786
3765
  order: e.number().optional(),
4787
3766
  visible: e.boolean().optional().default(!0)
4788
- }), J = Mr.extend({ category: e.literal("BLOCK").optional() }), Nr = J.extend({
3767
+ }), J = br.extend({ category: e.literal("BLOCK").optional() }), xr = J.extend({
4789
3768
  type: e.literal("DIVIDER"),
4790
3769
  config: e.object({ text: e.string().optional() }).optional()
4791
- }), Pr = J.extend({
3770
+ }), Sr = J.extend({
4792
3771
  type: e.literal("HTML"),
4793
3772
  config: e.object({ content: e.string().optional() }).optional()
4794
- }), Fr = J.extend({
3773
+ }), Cr = J.extend({
4795
3774
  type: e.literal("IMAGE"),
4796
3775
  config: e.object({
4797
3776
  src: e.string().optional(),
@@ -4799,43 +3778,43 @@ var Mr = e.object({
4799
3778
  width: e.number().optional(),
4800
3779
  height: e.number().optional()
4801
3780
  }).optional()
4802
- }), Ir = J.extend({
3781
+ }), wr = J.extend({
4803
3782
  type: e.literal("JUMP_BUTTON"),
4804
3783
  config: e.object({
4805
3784
  text: e.string().optional(),
4806
3785
  target_step: e.string().optional()
4807
3786
  })
4808
- }), Lr = J.extend({
3787
+ }), Tr = J.extend({
4809
3788
  type: e.literal("RESEND_BUTTON"),
4810
3789
  config: e.object({
4811
3790
  text: e.string().optional(),
4812
3791
  resend_action: e.string().optional()
4813
3792
  })
4814
- }), Rr = J.extend({
3793
+ }), Er = J.extend({
4815
3794
  type: e.literal("NEXT_BUTTON"),
4816
3795
  config: e.object({ text: e.string().optional() })
4817
- }), zr = J.extend({
3796
+ }), Dr = J.extend({
4818
3797
  type: e.literal("PREVIOUS_BUTTON"),
4819
3798
  config: e.object({ text: e.string().optional() })
4820
- }), Br = J.extend({
3799
+ }), Or = J.extend({
4821
3800
  type: e.literal("RICH_TEXT"),
4822
3801
  config: e.object({ content: e.string().optional() }).optional()
4823
- }), Vr = Mr.extend({
3802
+ }), kr = br.extend({
4824
3803
  category: e.literal("WIDGET").optional(),
4825
3804
  label: e.string().min(1).optional(),
4826
3805
  hint: e.string().min(1).max(500).optional(),
4827
3806
  required: e.boolean().optional(),
4828
3807
  sensitive: e.boolean().optional()
4829
- }), Hr = Vr.extend({
3808
+ }), Ar = kr.extend({
4830
3809
  type: e.literal("AUTH0_VERIFIABLE_CREDENTIALS"),
4831
3810
  config: e.object({ credential_type: e.string().optional() })
4832
- }), Ur = Vr.extend({
3811
+ }), jr = kr.extend({
4833
3812
  type: e.literal("GMAPS_ADDRESS"),
4834
3813
  config: e.object({ api_key: e.string().optional() })
4835
- }), Wr = Vr.extend({
3814
+ }), Mr = kr.extend({
4836
3815
  type: e.literal("RECAPTCHA"),
4837
3816
  config: e.object({ site_key: e.string().optional() })
4838
- }), Y = Mr.extend({
3817
+ }), Y = br.extend({
4839
3818
  category: e.literal("FIELD").optional(),
4840
3819
  label: e.string().min(1).optional(),
4841
3820
  hint: e.string().min(1).max(500).optional(),
@@ -4851,10 +3830,10 @@ var Mr = e.object({
4851
3830
  })).optional(),
4852
3831
  required: e.boolean().optional(),
4853
3832
  sensitive: e.boolean().optional()
4854
- }), Gr = Y.extend({
3833
+ }), Nr = Y.extend({
4855
3834
  type: e.literal("BOOLEAN"),
4856
3835
  config: e.object({ default_value: e.boolean().optional() }).optional()
4857
- }), Kr = Y.extend({
3836
+ }), Pr = Y.extend({
4858
3837
  type: e.literal("CARDS"),
4859
3838
  config: e.object({
4860
3839
  options: e.array(e.object({
@@ -4865,7 +3844,7 @@ var Mr = e.object({
4865
3844
  })).optional(),
4866
3845
  multi_select: e.boolean().optional()
4867
3846
  }).optional()
4868
- }), qr = Y.extend({
3847
+ }), Fr = Y.extend({
4869
3848
  type: e.literal("CHOICE"),
4870
3849
  config: e.object({
4871
3850
  options: e.array(e.object({
@@ -4876,7 +3855,7 @@ var Mr = e.object({
4876
3855
  multiple: e.boolean().optional(),
4877
3856
  default_value: e.union([e.string(), e.array(e.string())]).optional()
4878
3857
  }).optional()
4879
- }), Jr = Y.extend({
3858
+ }), Ir = Y.extend({
4880
3859
  type: e.literal("CODE"),
4881
3860
  config: e.object({
4882
3861
  length: e.number().int().positive().max(100).optional(),
@@ -4893,7 +3872,7 @@ var Mr = e.object({
4893
3872
  message: "default_value is longer than the configured length",
4894
3873
  path: ["default_value"]
4895
3874
  }).optional()
4896
- }), Yr = Y.extend({
3875
+ }), Lr = Y.extend({
4897
3876
  type: e.literal("CUSTOM"),
4898
3877
  config: e.object({
4899
3878
  component: e.string().optional(),
@@ -4901,7 +3880,7 @@ var Mr = e.object({
4901
3880
  schema: e.record(e.string(), e.any()).optional(),
4902
3881
  code: e.string().optional()
4903
3882
  })
4904
- }), Xr = Y.extend({
3883
+ }), Rr = Y.extend({
4905
3884
  type: e.literal("DATE"),
4906
3885
  config: e.object({
4907
3886
  format: e.string().optional(),
@@ -4909,7 +3888,7 @@ var Mr = e.object({
4909
3888
  max: e.string().optional(),
4910
3889
  default_value: e.string().optional()
4911
3890
  }).optional()
4912
- }), Zr = Y.extend({
3891
+ }), zr = Y.extend({
4913
3892
  type: e.literal("DROPDOWN"),
4914
3893
  config: e.object({
4915
3894
  options: e.array(e.object({
@@ -4921,26 +3900,26 @@ var Mr = e.object({
4921
3900
  multiple: e.boolean().optional(),
4922
3901
  default_value: e.union([e.string(), e.array(e.string())]).optional()
4923
3902
  }).optional()
4924
- }), Qr = Y.extend({
3903
+ }), Br = Y.extend({
4925
3904
  type: e.literal("EMAIL"),
4926
3905
  config: e.object({
4927
3906
  placeholder: e.string().optional(),
4928
3907
  default_value: e.string().optional()
4929
3908
  }).optional()
4930
- }), $r = Y.extend({
3909
+ }), Vr = Y.extend({
4931
3910
  type: e.literal("FILE"),
4932
3911
  config: e.object({
4933
3912
  accept: e.string().optional(),
4934
3913
  max_size: e.number().optional(),
4935
3914
  multiple: e.boolean().optional()
4936
3915
  }).optional()
4937
- }), ei = Y.extend({
3916
+ }), Hr = Y.extend({
4938
3917
  type: e.literal("LEGAL"),
4939
3918
  config: e.object({
4940
3919
  text: e.string(),
4941
3920
  html: e.boolean().optional()
4942
3921
  }).optional()
4943
- }), ti = Y.extend({
3922
+ }), Ur = Y.extend({
4944
3923
  type: e.literal("NUMBER"),
4945
3924
  config: e.object({
4946
3925
  placeholder: e.string().optional(),
@@ -4949,7 +3928,7 @@ var Mr = e.object({
4949
3928
  step: e.number().optional(),
4950
3929
  default_value: e.string().optional()
4951
3930
  }).optional()
4952
- }), ni = Y.extend({
3931
+ }), Wr = Y.extend({
4953
3932
  type: e.literal("PASSWORD"),
4954
3933
  config: e.object({
4955
3934
  placeholder: e.string().optional(),
@@ -4958,13 +3937,13 @@ var Mr = e.object({
4958
3937
  forgot_password_link: e.string().optional(),
4959
3938
  default_value: e.string().optional()
4960
3939
  }).optional()
4961
- }), ri = Y.extend({
3940
+ }), Gr = Y.extend({
4962
3941
  type: e.literal("PAYMENT"),
4963
3942
  config: e.object({
4964
3943
  provider: e.string().optional(),
4965
3944
  currency: e.string().optional()
4966
3945
  }).optional()
4967
- }), ii = Y.extend({
3946
+ }), Kr = Y.extend({
4968
3947
  type: e.literal("SOCIAL"),
4969
3948
  config: e.object({
4970
3949
  providers: e.array(e.string()).optional(),
@@ -4976,7 +3955,7 @@ var Mr = e.object({
4976
3955
  href: e.string().optional()
4977
3956
  })).optional()
4978
3957
  }).optional()
4979
- }), ai = Y.extend({
3958
+ }), qr = Y.extend({
4980
3959
  type: e.literal("TEL"),
4981
3960
  config: e.object({
4982
3961
  placeholder: e.string().optional(),
@@ -4984,7 +3963,7 @@ var Mr = e.object({
4984
3963
  default_value: e.string().optional(),
4985
3964
  allow_email: e.boolean().optional()
4986
3965
  }).optional()
4987
- }), oi = Y.extend({
3966
+ }), Jr = Y.extend({
4988
3967
  type: e.literal("TEXT"),
4989
3968
  config: e.object({
4990
3969
  placeholder: e.string().optional(),
@@ -4992,54 +3971,54 @@ var Mr = e.object({
4992
3971
  max_length: e.number().optional(),
4993
3972
  default_value: e.string().optional()
4994
3973
  }).optional()
4995
- }), si = Y.extend({
3974
+ }), Yr = Y.extend({
4996
3975
  type: e.literal("COUNTRY"),
4997
3976
  config: e.object({
4998
3977
  placeholder: e.string().optional(),
4999
3978
  default_value: e.string().optional()
5000
3979
  }).optional()
5001
- }), ci = Y.extend({
3980
+ }), Xr = Y.extend({
5002
3981
  type: e.literal("URL"),
5003
3982
  config: e.object({
5004
3983
  placeholder: e.string().optional(),
5005
3984
  default_value: e.string().optional()
5006
3985
  }).optional()
5007
- }), li = e.discriminatedUnion("type", [
3986
+ }), Zr = e.discriminatedUnion("type", [
3987
+ xr,
3988
+ Sr,
3989
+ Cr,
3990
+ wr,
3991
+ Tr,
3992
+ Er,
3993
+ Dr,
3994
+ Or
3995
+ ]), Qr = e.discriminatedUnion("type", [
3996
+ Ar,
3997
+ jr,
3998
+ Mr
3999
+ ]), $r = e.discriminatedUnion("type", [
5008
4000
  Nr,
5009
4001
  Pr,
5010
4002
  Fr,
5011
4003
  Ir,
4004
+ Yr,
5012
4005
  Lr,
5013
4006
  Rr,
5014
4007
  zr,
5015
- Br
5016
- ]), ui = e.discriminatedUnion("type", [
4008
+ Br,
4009
+ Vr,
5017
4010
  Hr,
5018
4011
  Ur,
5019
- Wr
5020
- ]), di = e.discriminatedUnion("type", [
4012
+ Wr,
5021
4013
  Gr,
5022
4014
  Kr,
5023
4015
  qr,
5024
4016
  Jr,
5025
- si,
5026
- Yr,
5027
- Xr,
4017
+ Xr
4018
+ ]), ei = e.union([
5028
4019
  Zr,
5029
4020
  Qr,
5030
- $r,
5031
- ei,
5032
- ti,
5033
- ni,
5034
- ri,
5035
- ii,
5036
- ai,
5037
- oi,
5038
- ci
5039
- ]), fi = e.union([
5040
- li,
5041
- ui,
5042
- di
4021
+ $r
5043
4022
  ]);
5044
4023
  e.object({
5045
4024
  id: e.string(),
@@ -5054,7 +4033,7 @@ e.object({
5054
4033
  var X = e.object({
5055
4034
  x: e.number(),
5056
4035
  y: e.number()
5057
- }), pi = e.object({
4036
+ }), ti = e.object({
5058
4037
  id: e.string(),
5059
4038
  type: e.literal("FLOW"),
5060
4039
  coordinates: X,
@@ -5063,7 +4042,7 @@ var X = e.object({
5063
4042
  flow_id: e.string().max(30),
5064
4043
  next_node: e.string().optional()
5065
4044
  })
5066
- }), mi = e.object({
4045
+ }), ni = e.object({
5067
4046
  id: e.string(),
5068
4047
  type: e.literal("ROUTER"),
5069
4048
  coordinates: X,
@@ -5077,20 +4056,20 @@ var X = e.object({
5077
4056
  })),
5078
4057
  fallback: e.string()
5079
4058
  })
5080
- }), hi = e.object({
4059
+ }), ri = e.object({
5081
4060
  id: e.string(),
5082
4061
  type: e.literal("STEP"),
5083
4062
  coordinates: X,
5084
4063
  alias: e.string().min(1).max(150).optional(),
5085
4064
  config: e.object({
5086
- components: e.array(fi),
4065
+ components: e.array(ei),
5087
4066
  next_node: e.string().optional()
5088
4067
  })
5089
- }), gi = e.discriminatedUnion("type", [
5090
- pi,
5091
- mi,
5092
- hi
5093
- ]), _i = e.object({
4068
+ }), ii = e.discriminatedUnion("type", [
4069
+ ti,
4070
+ ni,
4071
+ ri
4072
+ ]), ai = e.object({
5094
4073
  name: e.string().openapi({ description: "The name of the form" }),
5095
4074
  messages: e.object({
5096
4075
  errors: e.record(e.string(), e.any()).optional(),
@@ -5101,7 +4080,7 @@ var X = e.object({
5101
4080
  default: e.string().optional()
5102
4081
  }).optional(),
5103
4082
  translations: e.record(e.string(), e.any()).optional(),
5104
- nodes: e.array(gi).optional(),
4083
+ nodes: e.array(ii).optional(),
5105
4084
  start: e.object({
5106
4085
  hidden_fields: e.array(e.object({
5107
4086
  key: e.string(),
@@ -5125,8 +4104,8 @@ var X = e.object({
5125
4104
  sdk_src: e.string().optional()
5126
4105
  }).optional()
5127
4106
  }).openapi({ description: "Schema for flow-based forms (matches Auth0 Forms structure)" });
5128
- G.extend(_i.shape).extend({ id: e.string() });
5129
- var vi = e.object({
4107
+ G.extend(ai.shape).extend({ id: e.string() });
4108
+ var oi = e.object({
5130
4109
  id: e.number().optional(),
5131
4110
  text: e.string(),
5132
4111
  type: e.enum([
@@ -5135,7 +4114,7 @@ var vi = e.object({
5135
4114
  "success",
5136
4115
  "warning"
5137
4116
  ])
5138
- }), yi = e.object({
4117
+ }), si = e.object({
5139
4118
  id: e.string().optional(),
5140
4119
  text: e.string(),
5141
4120
  href: e.string(),
@@ -5147,12 +4126,12 @@ e.object({
5147
4126
  method: e.enum(["POST", "GET"]),
5148
4127
  title: e.string().optional(),
5149
4128
  description: e.string().optional(),
5150
- components: e.array(fi),
5151
- messages: e.array(vi).optional(),
5152
- links: e.array(yi).optional(),
4129
+ components: e.array(ei),
4130
+ messages: e.array(oi).optional(),
4131
+ links: e.array(si).optional(),
5153
4132
  footer: e.string().optional()
5154
4133
  });
5155
- var bi = e.enum([
4134
+ var ci = e.enum([
5156
4135
  "pre-user-registration",
5157
4136
  "post-user-registration",
5158
4137
  "post-user-login",
@@ -5160,24 +4139,24 @@ var bi = e.enum([
5160
4139
  "validate-registration-username",
5161
4140
  "pre-user-deletion",
5162
4141
  "post-user-deletion"
5163
- ]), xi = e.enum([
4142
+ ]), li = e.enum([
5164
4143
  "pre-user-registration",
5165
4144
  "post-user-registration",
5166
4145
  "post-user-login",
5167
4146
  "validate-registration-username",
5168
4147
  "pre-user-deletion",
5169
4148
  "post-user-deletion"
5170
- ]), Si = e.enum([
4149
+ ]), ui = e.enum([
5171
4150
  "post-user-login",
5172
4151
  "post-user-registration",
5173
4152
  "post-user-update",
5174
4153
  "credentials-exchange"
5175
- ]), Ci = e.enum([
4154
+ ]), di = e.enum([
5176
4155
  "post-user-login",
5177
4156
  "credentials-exchange",
5178
4157
  "pre-user-registration",
5179
4158
  "post-user-registration"
5180
- ]), wi = e.enum([
4159
+ ]), fi = e.enum([
5181
4160
  "ensure-username",
5182
4161
  "set-preferred-username",
5183
4162
  "account-linking"
@@ -5187,59 +4166,59 @@ var bi = e.enum([
5187
4166
  priority: e.number().optional(),
5188
4167
  hook_id: e.string().optional(),
5189
4168
  metadata: e.record(e.string(), e.unknown()).optional()
5190
- }, Ti = e.object({
4169
+ }, pi = e.object({
5191
4170
  ...Z,
5192
- trigger_id: bi,
4171
+ trigger_id: ci,
5193
4172
  url: e.string()
5194
- }), Ei = e.object({
4173
+ }), mi = e.object({
5195
4174
  ...Z,
5196
- trigger_id: xi,
4175
+ trigger_id: li,
5197
4176
  form_id: e.string()
5198
- }), Di = e.object({
4177
+ }), hi = e.object({
5199
4178
  ...Z,
5200
- trigger_id: Si,
5201
- template_id: wi
5202
- }), Oi = e.object({
4179
+ trigger_id: ui,
4180
+ template_id: fi
4181
+ }), gi = e.object({
5203
4182
  ...Z,
5204
- trigger_id: Ci,
4183
+ trigger_id: di,
5205
4184
  code_id: e.string()
5206
4185
  });
5207
4186
  e.union([
5208
- Ti,
5209
- Ei,
5210
- Di,
5211
- Oi
4187
+ pi,
4188
+ mi,
4189
+ hi,
4190
+ gi
5212
4191
  ]);
5213
- var ki = e.object({
4192
+ var _i = e.object({
5214
4193
  ...Z,
5215
- trigger_id: bi
4194
+ trigger_id: ci
5216
4195
  }).extend(G.shape).extend({
5217
4196
  hook_id: e.string(),
5218
4197
  url: e.string()
5219
- }), Ai = e.object({
4198
+ }), vi = e.object({
5220
4199
  ...Z,
5221
- trigger_id: xi
4200
+ trigger_id: li
5222
4201
  }).extend(G.shape).extend({
5223
4202
  hook_id: e.string(),
5224
4203
  form_id: e.string()
5225
- }), ji = e.object({
4204
+ }), yi = e.object({
5226
4205
  ...Z,
5227
- trigger_id: Si
4206
+ trigger_id: ui
5228
4207
  }).extend(G.shape).extend({
5229
4208
  hook_id: e.string(),
5230
- template_id: wi
5231
- }), Mi = e.object({
4209
+ template_id: fi
4210
+ }), bi = e.object({
5232
4211
  ...Z,
5233
- trigger_id: Ci
4212
+ trigger_id: di
5234
4213
  }).extend(G.shape).extend({
5235
4214
  hook_id: e.string(),
5236
4215
  code_id: e.string()
5237
4216
  });
5238
4217
  e.union([
5239
- ki,
5240
- Ai,
5241
- ji,
5242
- Mi
4218
+ _i,
4219
+ vi,
4220
+ yi,
4221
+ bi
5243
4222
  ]), e.object({
5244
4223
  code: e.string().max(1e5),
5245
4224
  secrets: e.record(e.string(), e.string()).optional()
@@ -5247,11 +4226,11 @@ e.union([
5247
4226
  id: e.string(),
5248
4227
  tenant_id: e.string()
5249
4228
  }).extend(G.shape);
5250
- var Ni = e.object({ name: e.string().optional() }), Pi = e.object({ email: e.string().optional() }), Fi = e.object({
4229
+ var xi = e.object({ name: e.string().optional() }), Si = e.object({ email: e.string().optional() }), Ci = e.object({
5251
4230
  id: e.string().optional(),
5252
4231
  organization_id: e.string().max(50),
5253
- inviter: Ni,
5254
- invitee: Pi,
4232
+ inviter: xi,
4233
+ invitee: Si,
5255
4234
  invitation_url: e.string().url(),
5256
4235
  client_id: e.string(),
5257
4236
  connection_id: e.string().optional(),
@@ -5267,8 +4246,8 @@ e.object({
5267
4246
  created_at: e.string().datetime(),
5268
4247
  expires_at: e.string().datetime(),
5269
4248
  ticket_id: e.string().optional()
5270
- }).extend(Fi.omit({ id: !0 }).shape);
5271
- var Ii = e.object({
4249
+ }).extend(Ci.omit({ id: !0 }).shape);
4250
+ var wi = e.object({
5272
4251
  alg: e.enum([
5273
4252
  "RS256",
5274
4253
  "RS384",
@@ -5310,7 +4289,7 @@ var Ii = e.object({
5310
4289
  message: `EC JWK is missing required member '${r}'`
5311
4290
  });
5312
4291
  });
5313
- e.object({ keys: e.array(Ii) }), e.object({
4292
+ e.object({ keys: e.array(wi) }), e.object({
5314
4293
  issuer: e.string(),
5315
4294
  authorization_endpoint: e.string(),
5316
4295
  token_endpoint: e.string(),
@@ -5337,28 +4316,28 @@ e.object({ keys: e.array(Ii) }), e.object({
5337
4316
  backchannel_logout_supported: e.boolean().optional(),
5338
4317
  backchannel_logout_session_supported: e.boolean().optional()
5339
4318
  });
5340
- var Li = /* @__PURE__ */ function(e) {
4319
+ var Ti = /* @__PURE__ */ function(e) {
5341
4320
  return e.PENDING = "pending", e.AUTHENTICATED = "authenticated", e.AWAITING_EMAIL_VERIFICATION = "awaiting_email_verification", e.AWAITING_MFA = "awaiting_mfa", e.AWAITING_HOOK = "awaiting_hook", e.AWAITING_CONTINUATION = "awaiting_continuation", e.AWAITING_CONSENT = "awaiting_consent", e.COMPLETED = "completed", e.FAILED = "failed", e.EXPIRED = "expired", e;
5342
- }({}), Ri = e.nativeEnum(Li), zi = e.object({
4321
+ }({}), Ei = e.nativeEnum(Ti), Di = e.object({
5343
4322
  strategy: e.string(),
5344
4323
  strategy_type: e.string()
5345
4324
  });
5346
4325
  e.object({
5347
4326
  csrf_token: e.string(),
5348
4327
  auth0Client: e.string().optional(),
5349
- authParams: wr,
4328
+ authParams: fr,
5350
4329
  expires_at: e.string(),
5351
4330
  deleted_at: e.string().optional(),
5352
4331
  ip: e.string().optional(),
5353
4332
  useragent: e.string().optional(),
5354
4333
  session_id: e.string().optional(),
5355
4334
  authorization_url: e.string().optional(),
5356
- state: Ri.optional().default("pending"),
4335
+ state: Ei.optional().default("pending"),
5357
4336
  state_data: e.string().optional(),
5358
4337
  failure_reason: e.string().optional(),
5359
4338
  user_id: e.string().optional(),
5360
4339
  auth_connection: e.string().optional(),
5361
- auth_strategy: zi.optional(),
4340
+ auth_strategy: Di.optional(),
5362
4341
  authenticated_at: e.string().optional()
5363
4342
  }).openapi({ description: "This represents a login sesion" }).extend({
5364
4343
  id: e.string().openapi({ description: "This is is used as the state in the universal login" }),
@@ -5525,17 +4504,17 @@ var Q = {
5525
4504
  WARNING_DURING_LOGIN: "w",
5526
4505
  WARNING_SENDING_NOTIFICATION: "wn",
5527
4506
  WARNING_USER_MANAGEMENT: "wum"
5528
- }, Bi = e.string().refine((e) => Object.values(Q).includes(e), { message: "Invalid log type" });
4507
+ }, Oi = e.string().refine((e) => Object.values(Q).includes(e), { message: "Invalid log type" });
5529
4508
  Q.ACLS_SUMMARY, Q.ACTIONS_EXECUTION_FAILED, Q.API_LIMIT, Q.API_LIMIT_WARNING, Q.APPI, Q.CIBA_EXCHANGE_FAILED, Q.CIBA_EXCHANGE_SUCCEEDED, Q.CIBA_START_FAILED, Q.CIBA_START_SUCCEEDED, Q.CODE_LINK_SENT, Q.CODE_SENT, Q.DEPRECATION_NOTICE, Q.FAILED_LOGIN, Q.FAILED_BY_CONNECTOR, Q.FAILED_CHANGE_EMAIL, Q.FAILED_BY_CORS, Q.FAILED_CROSS_ORIGIN_AUTHENTICATION, Q.FAILED_CHANGE_PASSWORD, Q.FAILED_POST_CHANGE_PASSWORD_HOOK, Q.FAILED_CHANGE_PHONE_NUMBER, Q.FAILED_CHANGE_PASSWORD_REQUEST, Q.FAILED_CONNECTOR_PROVISIONING, Q.FAILED_CHANGE_USERNAME, Q.FAILED_DELEGATION, Q.FAILED_DEVICE_ACTIVATION, Q.FAILED_DEVICE_AUTHORIZATION_REQUEST, Q.USER_CANCELED_DEVICE_CONFIRMATION, Q.FAILED_USER_DELETION, Q.FAILED_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN, Q.FAILED_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS, Q.FAILED_EXCHANGE_CUSTOM_TOKEN, Q.FAILED_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN, Q.FAILED_FEDERATED_LOGOUT, Q.FAILED_EXCHANGE_NATIVE_SOCIAL_LOGIN, Q.FAILED_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN, Q.FAILED_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN, Q.FAILED_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN, Q.FAILED_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN, Q.FAILED_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN, Q.FAILED_EXCHANGE_ROTATING_REFRESH_TOKEN, Q.FAILED_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN, Q.FAILED_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN, Q.FAILED_HOOK, Q.FAILED_IMPERSONATION, Q.FAILED_INVITE_ACCEPT, Q.FAILED_LOGOUT, Q.FLOWS_EXECUTION_COMPLETED, Q.FLOWS_EXECUTION_FAILED, Q.FAILED_SENDING_NOTIFICATION, Q.FORMS_SUBMISSION_FAILED, Q.FORMS_SUBMISSION_SUCCEEDED, Q.FAILED_LOGIN_INCORRECT_PASSWORD, Q.FAILED_PUSHED_AUTHORIZATION_REQUEST, Q.FAILED_POST_USER_REGISTRATION_HOOK, Q.FAILED_SIGNUP, Q.FAILED_SILENT_AUTH, Q.FAILED_LOGIN_INVALID_EMAIL_USERNAME, Q.FAILED_USERS_IMPORT, Q.FAILED_VERIFICATION_EMAIL, Q.FAILED_VERIFICATION_EMAIL_REQUEST, Q.EMAIL_VERIFICATION_CONFIRMED, Q.EMAIL_VERIFICATION_FAILED, Q.MFA_AUTH_FAILED, Q.MFA_AUTH_REJECTED, Q.MFA_AUTH_SUCCESS, Q.MFA_ENROLLMENT_COMPLETE, Q.TOO_MANY_MFA_FAILURES, Q.MFA_RECOVERY_FAILED, Q.MFA_RECOVERY_RATE_LIMIT_EXCEED, Q.MFA_RECOVERY_SUCCESS, Q.MFA_EMAIL_SENT, Q.EMAIL_VERIFICATION_SENT, Q.EMAIL_VERIFICATION_SEND_FAILURE, Q.PUSH_NOTIFICATION_SENT, Q.ERROR_SENDING_MFA_PUSH_NOTIFICATION, Q.MFA_SMS_SENT, Q.ERROR_SENDING_MFA_SMS, Q.MFA_VOICE_CALL_SUCCESS, Q.MFA_VOICE_CALL_FAILED, Q.SECOND_FACTOR_STARTED, Q.MFA_ENROLL_STARTED, Q.MFA_ENROLLMENT_FAILED, Q.GUARDIAN_TENANT_UPDATE, Q.UNENROLL_DEVICE_ACCOUNT, Q.UPDATE_DEVICE_ACCOUNT, Q.WEBAUTHN_CHALLENGE_FAILED, Q.WEBAUTHN_ENROLLMENT_FAILED, Q.FAILED_KMS_API_OPERATION, Q.SUCCESS_KMS_API_OPERATION, Q.KMS_KEY_STATE_CHANGED, Q.TOO_MANY_CALLS_TO_DELEGATION, Q.BLOCKED_IP_ADDRESS, Q.BLOCKED_ACCOUNT_IP, Q.BLOCKED_ACCOUNT_EMAIL, Q.INFORMATION, Q.MFA_REQUIRED, Q.MANAGEMENT_API_READ_OPERATION, Q.FAILED_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT, Q.SUCCESSFUL_AUTHENTICATION_METHOD_OPERATION_MY_ACCOUNT, Q.FAILED_OIDC_BACKCHANNEL_LOGOUT, Q.SUCCESSFUL_OIDC_BACKCHANNEL_LOGOUT, Q.ORGANIZATION_MEMBER_ADDED, Q.PASSKEY_CHALLENGE_FAILED, Q.PASSKEY_CHALLENGE_STARTED, Q.PRE_LOGIN_ASSESSMENT, Q.BREACHED_PASSWORD, Q.BREACHED_PASSWORD_ON_RESET, Q.SUCCESS_RESOURCE_CLEANUP, Q.RICH_CONSENTS_ACCESS_ERROR, Q.SUCCESS_LOGIN, Q.SUCCESS_API_OPERATION, Q.FAILED_API_OPERATION, Q.SUCCESS_CHANGE_EMAIL, Q.SUCCESS_CROSS_ORIGIN_AUTHENTICATION, Q.SUCCESS_CHANGE_PASSWORD, Q.SUCCESS_CHANGE_PHONE_NUMBER, Q.SUCCESS_CHANGE_PASSWORD_REQUEST, Q.SUCCESS_CHANGE_USERNAME, Q.SUCCESS_CREDENTIAL_VALIDATION, Q.SUCCESS_DELEGATION, Q.SUCCESS_USER_DELETION, Q.SUCCESS_EXCHANGE_AUTHORIZATION_CODE_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_ACCESS_TOKEN_FOR_CLIENT_CREDENTIALS, Q.SUCCESS_EXCHANGE_CUSTOM_TOKEN, Q.SUCCESS_EXCHANGE_DEVICE_CODE_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_NATIVE_SOCIAL_LOGIN, Q.SUCCESS_EXCHANGE_PASSWORD_OOB_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_PASSWORD_OTP_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_PASSWORDLESS_OTP_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_PASSWORD_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_PASSKEY_OOB_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_PASSKEY_OTP_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_PASSKEY_MFA_RECOVERY_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_PASSWORD_MFA_RECOVERY_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_REFRESH_TOKEN_FOR_ACCESS_TOKEN, Q.SUCCESS_EXCHANGE_SUBJECT_TOKEN_FOR_ACCESS_TOKEN, Q.SUCCESS_IMPERSONATION, Q.SUCCESSFULLY_ACCEPTED_USER_INVITE, Q.BREACHED_PASSWORD_ON_SIGNUP, Q.SUCCESS_LOGOUT, Q.SUCCESS_HOOK, Q.SUCCESS_PASSWORD_MIGRATION, Q.SUCCESS_REVOCATION, Q.SUCCESS_SIGNUP, Q.FAILED_SS_SSO_OPERATION, Q.INFORMATION_FROM_SS_SSO_OPERATION, Q.SUCCESS_SS_SSO_OPERATION, Q.SUCCESS_SILENT_AUTH, Q.SUCCESSFUL_SCIM_OPERATION, Q.SUCCESSFULLY_IMPORTED_USERS, Q.SUCCESS_VERIFICATION_EMAIL, Q.SUCCESS_VERIFICATION_EMAIL_REQUEST, Q.MAX_AMOUNT_OF_AUTHENTICATORS, Q.USER_LOGIN_BLOCK_RELEASED, Q.FAILED_UNIVERSAL_LOGOUT, Q.SUCCESSFUL_UNIVERSAL_LOGOUT, Q.WARNING_DURING_LOGIN, Q.WARNING_SENDING_NOTIFICATION, Q.WARNING_USER_MANAGEMENT, (() => {
5530
4509
  let e = {};
5531
4510
  for (let [t, n] of Object.entries(Q)) t.startsWith("SUCCESS_") || t.startsWith("SUCCESSFUL_") || t.startsWith("SUCCESSFULLY_") || t.endsWith("_SUCCEEDED") || t.endsWith("_COMPLETED") ? e[n] = "success" : t.startsWith("FAILED_") || t.startsWith("ERROR_") || t.startsWith("BREACHED_") || t.startsWith("BLOCKED_") || t === "MFA_AUTH_FAILED" || t === "MFA_AUTH_REJECTED" || t === "MFA_RECOVERY_FAILED" || t === "MFA_ENROLLMENT_FAILED" || t === "EMAIL_VERIFICATION_FAILED" || t === "WEBAUTHN_CHALLENGE_FAILED" || t === "WEBAUTHN_ENROLLMENT_FAILED" || t === "PASSKEY_CHALLENGE_FAILED" || t === "FLOWS_EXECUTION_FAILED" || t === "FORMS_SUBMISSION_FAILED" || t === "CIBA_EXCHANGE_FAILED" || t === "CIBA_START_FAILED" || t === "ACTIONS_EXECUTION_FAILED" || t === "RICH_CONSENTS_ACCESS_ERROR" || t === "USER_CANCELED_DEVICE_CONFIRMATION" || t === "TOO_MANY_MFA_FAILURES" || t === "MFA_RECOVERY_RATE_LIMIT_EXCEED" || t === "API_LIMIT" || t === "MAX_AMOUNT_OF_AUTHENTICATORS" ? e[n] = "failure" : t.startsWith("WARNING_") || t === "API_LIMIT_WARNING" || t === "DEPRECATION_NOTICE" || t === "PRE_LOGIN_ASSESSMENT" ? e[n] = "warning" : t === "CODE_SENT" || t === "CODE_LINK_SENT" || t === "MFA_EMAIL_SENT" || t === "MFA_SMS_SENT" || t === "EMAIL_VERIFICATION_SENT" || t === "PUSH_NOTIFICATION_SENT" ? e[n] = "code_sent" : t === "INFORMATION" || t === "INFORMATION_FROM_SS_SSO_OPERATION" || t === "MANAGEMENT_API_READ_OPERATION" || t === "APPI" || t === "ACLS_SUMMARY" || t === "ORGANIZATION_MEMBER_ADDED" ? e[n] = "info" : e[n] = "other";
5532
4511
  return e;
5533
4512
  })();
5534
- var Vi = e.object({
4513
+ var ki = e.object({
5535
4514
  name: e.string(),
5536
4515
  version: e.string(),
5537
4516
  env: e.object({ node: e.string().optional() }).optional()
5538
- }), Hi = e.object({
4517
+ }), Ai = e.object({
5539
4518
  country_code: e.string().length(2),
5540
4519
  city_name: e.string(),
5541
4520
  latitude: e.string(),
@@ -5544,7 +4523,7 @@ var Vi = e.object({
5544
4523
  continent_code: e.string()
5545
4524
  });
5546
4525
  e.object({
5547
- type: Bi,
4526
+ type: Oi,
5548
4527
  date: e.string(),
5549
4528
  description: e.string().optional(),
5550
4529
  ip: e.string().optional(),
@@ -5562,63 +4541,63 @@ e.object({
5562
4541
  strategy: e.string().optional(),
5563
4542
  strategy_type: e.string().optional(),
5564
4543
  hostname: e.string().optional(),
5565
- auth0_client: Vi.optional(),
4544
+ auth0_client: ki.optional(),
5566
4545
  log_id: e.string().optional(),
5567
- location_info: Hi.optional()
4546
+ location_info: Ai.optional()
5568
4547
  }).extend({ log_id: e.string() });
5569
- var Ui = e.enum([
4548
+ var ji = e.enum([
5570
4549
  "http",
5571
4550
  "eventbridge",
5572
4551
  "eventgrid",
5573
4552
  "splunk",
5574
4553
  "datadog",
5575
4554
  "sumo"
5576
- ]), Wi = e.enum([
4555
+ ]), Mi = e.enum([
5577
4556
  "active",
5578
4557
  "paused",
5579
4558
  "suspended"
5580
- ]), Gi = e.object({
4559
+ ]), Ni = e.object({
5581
4560
  type: e.string(),
5582
4561
  name: e.string()
5583
4562
  });
5584
4563
  e.object({
5585
4564
  name: e.string(),
5586
- type: Ui,
5587
- status: Wi.optional(),
4565
+ type: ji,
4566
+ status: Mi.optional(),
5588
4567
  sink: e.record(e.string(), e.unknown()),
5589
- filters: e.array(Gi).optional(),
4568
+ filters: e.array(Ni).optional(),
5590
4569
  isPriority: e.boolean().optional()
5591
4570
  }).extend({
5592
4571
  id: e.string(),
5593
- status: Wi,
4572
+ status: Mi,
5594
4573
  created_at: e.string().optional(),
5595
4574
  updated_at: e.string().optional()
5596
4575
  });
5597
- var Ki = e.enum([
4576
+ var Pi = e.enum([
5598
4577
  "auth0",
5599
4578
  "cognito",
5600
4579
  "okta",
5601
4580
  "oidc"
5602
- ]), qi = e.object({
4581
+ ]), Fi = e.object({
5603
4582
  domain: e.string(),
5604
4583
  client_id: e.string(),
5605
4584
  client_secret: e.string(),
5606
4585
  audience: e.string().optional(),
5607
4586
  scope: e.string().optional()
5608
- }), Ji = e.object({
4587
+ }), Ii = e.object({
5609
4588
  id: e.string().optional(),
5610
4589
  name: e.string(),
5611
- provider: Ki,
4590
+ provider: Pi,
5612
4591
  connection: e.string(),
5613
4592
  enabled: e.boolean().default(!0),
5614
- credentials: qi
4593
+ credentials: Fi
5615
4594
  });
5616
4595
  e.object({
5617
4596
  id: e.string(),
5618
4597
  created_at: e.string(),
5619
4598
  updated_at: e.string()
5620
- }).extend(Ji.shape);
5621
- var Yi = e.object({
4599
+ }).extend(Ii.shape);
4600
+ var Li = e.object({
5622
4601
  enabled: e.boolean().optional(),
5623
4602
  shields: e.array(e.string()).optional(),
5624
4603
  admin_notification_frequency: e.array(e.string()).optional(),
@@ -5627,13 +4606,13 @@ var Yi = e.object({
5627
4606
  "pre-user-registration": e.object({ shields: e.array(e.string()).optional() }).optional(),
5628
4607
  "pre-change-password": e.object({ shields: e.array(e.string()).optional() }).optional()
5629
4608
  }).optional()
5630
- }), Xi = e.object({
4609
+ }), Ri = e.object({
5631
4610
  enabled: e.boolean().optional(),
5632
4611
  shields: e.array(e.string()).optional(),
5633
4612
  allowlist: e.array(e.string()).optional(),
5634
4613
  mode: e.string().optional(),
5635
4614
  max_attempts: e.number().optional()
5636
- }), Zi = e.object({
4615
+ }), zi = e.object({
5637
4616
  enabled: e.boolean().optional(),
5638
4617
  shields: e.array(e.string()).optional(),
5639
4618
  allowlist: e.array(e.string()).optional(),
@@ -5647,10 +4626,10 @@ var Yi = e.object({
5647
4626
  rate: e.number().optional()
5648
4627
  }).optional()
5649
4628
  }).optional()
5650
- }), Qi = e.object({
5651
- breached_password_detection: Yi.optional(),
5652
- brute_force_protection: Xi.optional(),
5653
- suspicious_ip_throttling: Zi.optional()
4629
+ }), Bi = e.object({
4630
+ breached_password_detection: Li.optional(),
4631
+ brute_force_protection: Ri.optional(),
4632
+ suspicious_ip_throttling: zi.optional()
5654
4633
  });
5655
4634
  e.object({
5656
4635
  id: e.string().optional(),
@@ -5663,14 +4642,14 @@ e.object({
5663
4642
  created_at: e.string(),
5664
4643
  updated_at: e.string()
5665
4644
  });
5666
- var $i = e.object({
4645
+ var Vi = e.object({
5667
4646
  initial_user_agent: e.string().describe("First user agent of the device from which this user logged in"),
5668
4647
  initial_ip: e.string().describe("First IP address associated with this session"),
5669
4648
  initial_asn: e.string().describe("First autonomous system number associated with this session"),
5670
4649
  last_user_agent: e.string().describe("Last user agent of the device from which this user logged in"),
5671
4650
  last_ip: e.string().describe("Last IP address from which this user logged in"),
5672
4651
  last_asn: e.string().describe("Last autonomous system number from which this user logged in")
5673
- }), ea = e.object({
4652
+ }), Hi = e.object({
5674
4653
  id: e.string(),
5675
4654
  revoked_at: e.string().optional(),
5676
4655
  used_at: e.string().optional(),
@@ -5678,7 +4657,7 @@ var $i = e.object({
5678
4657
  expires_at: e.string().optional(),
5679
4658
  login_session_id: e.string(),
5680
4659
  idle_expires_at: e.string().optional(),
5681
- device: $i.describe("Metadata related to the device used in the session"),
4660
+ device: Vi.describe("Metadata related to the device used in the session"),
5682
4661
  clients: e.array(e.string()).describe("List of client details for the session")
5683
4662
  });
5684
4663
  e.object({
@@ -5686,7 +4665,7 @@ e.object({
5686
4665
  updated_at: e.string(),
5687
4666
  authenticated_at: e.string(),
5688
4667
  last_interaction_at: e.string()
5689
- }).extend(ea.shape), e.object({
4668
+ }).extend(Hi.shape), e.object({
5690
4669
  kid: e.string().openapi({ description: "The key id of the signing key" }),
5691
4670
  tenant_id: e.string().optional().openapi({ description: "The tenant the key belongs to. Omitted means the key is shared / control-plane scoped." }),
5692
4671
  cert: e.string().openapi({ description: "The public certificate of the signing key" }),
@@ -5703,7 +4682,7 @@ e.object({
5703
4682
  connection: e.string().optional().openapi({ description: "The connection identifier associated with the key" }),
5704
4683
  type: e.enum(["jwt_signing", "saml_encryption"]).openapi({ description: "The type of the signing key" })
5705
4684
  });
5706
- var ta = e.object({
4685
+ var Ui = e.object({
5707
4686
  id: e.string().optional(),
5708
4687
  audience: e.string().optional(),
5709
4688
  friendly_name: e.string(),
@@ -5821,7 +4800,7 @@ var ta = e.object({
5821
4800
  "shared_planetscale"
5822
4801
  ]).optional(),
5823
4802
  d1_database_id: e.string().max(64).optional(),
5824
- attack_protection: Qi.optional(),
4803
+ attack_protection: Bi.optional(),
5825
4804
  mfa: e.object({
5826
4805
  policy: e.enum(["never", "always"]).default("never").optional(),
5827
4806
  factors: e.object({
@@ -5852,35 +4831,35 @@ var ta = e.object({
5852
4831
  e.object({
5853
4832
  created_at: e.string().nullable().transform((e) => e ?? ""),
5854
4833
  updated_at: e.string().nullable().transform((e) => e ?? "")
5855
- }).extend(ta.shape).extend({
4834
+ }).extend(Ui.shape).extend({
5856
4835
  id: e.string(),
5857
4836
  is_control_plane: e.boolean().optional()
5858
4837
  });
5859
- var na = e.enum([
4838
+ var Wi = e.enum([
5860
4839
  "provision",
5861
4840
  "seed",
5862
4841
  "upgrade",
5863
4842
  "backup",
5864
4843
  "deprovision"
5865
- ]), ra = e.enum([
4844
+ ]), Gi = e.enum([
5866
4845
  "pending",
5867
4846
  "running",
5868
4847
  "succeeded",
5869
4848
  "failed",
5870
4849
  "cancelled"
5871
- ]), ia = e.enum(["inline", "cloudflare-workflows"]);
4850
+ ]), Ki = e.enum(["inline", "cloudflare-workflows"]);
5872
4851
  e.object({
5873
4852
  tenant_id: e.string().max(255).nullable().default(null),
5874
4853
  rollout_id: e.string().max(255).nullable().optional(),
5875
- kind: na,
5876
- engine: ia,
4854
+ kind: Wi,
4855
+ engine: Ki,
5877
4856
  engine_instance_id: e.string().max(100).nullable().optional(),
5878
4857
  target_worker_version: e.string().max(255).nullable().optional(),
5879
4858
  target_database_version: e.string().max(255).nullable().optional(),
5880
4859
  initiated_by: e.string().max(255).nullable().optional()
5881
4860
  }).extend({
5882
4861
  id: e.string(),
5883
- status: ra,
4862
+ status: Gi,
5884
4863
  current_step: e.string().max(255).nullable().optional(),
5885
4864
  error: e.string().nullable().optional(),
5886
4865
  created_at: e.string(),
@@ -5895,7 +4874,7 @@ e.object({
5895
4874
  error: !0,
5896
4875
  finished_at: !0
5897
4876
  }).partial();
5898
- var aa = e.enum([
4877
+ var qi = e.enum([
5899
4878
  "started",
5900
4879
  "succeeded",
5901
4880
  "failed",
@@ -5906,18 +4885,18 @@ var aa = e.enum([
5906
4885
  e.object({
5907
4886
  operation_id: e.string().max(255),
5908
4887
  step: e.string().max(255),
5909
- outcome: aa,
4888
+ outcome: qi,
5910
4889
  detail: e.record(e.string(), e.unknown()).nullable().optional(),
5911
4890
  attempt: e.number().int().min(1).default(1)
5912
4891
  }).extend({
5913
4892
  id: e.string(),
5914
4893
  created_at: e.string()
5915
4894
  });
5916
- var oa = e.enum([
4895
+ var Ji = e.enum([
5917
4896
  "upgrade",
5918
4897
  "reseed",
5919
4898
  "backup"
5920
- ]), sa = e.enum([
4899
+ ]), Yi = e.enum([
5921
4900
  "pending",
5922
4901
  "canary",
5923
4902
  "rolling",
@@ -5926,7 +4905,7 @@ var oa = e.enum([
5926
4905
  "failed"
5927
4906
  ]);
5928
4907
  e.object({
5929
- kind: oa,
4908
+ kind: Ji,
5930
4909
  target_worker_version: e.string().max(255).nullable().optional(),
5931
4910
  target_database_version: e.string().max(255).nullable().optional(),
5932
4911
  wave_size: e.number().int().min(1).default(10),
@@ -5935,7 +4914,7 @@ e.object({
5935
4914
  initiated_by: e.string().max(255).nullable().optional()
5936
4915
  }).extend({
5937
4916
  id: e.string(),
5938
- status: sa,
4917
+ status: Yi,
5939
4918
  created_at: e.string(),
5940
4919
  updated_at: e.string(),
5941
4920
  finished_at: e.string().nullable().optional()
@@ -5957,7 +4936,7 @@ e.object({
5957
4936
  code: e.string(),
5958
4937
  state: e.string().optional()
5959
4938
  });
5960
- var ca = e.object({
4939
+ var Xi = e.object({
5961
4940
  button_border_radius: e.number(),
5962
4941
  button_border_weight: e.number(),
5963
4942
  buttons_style: e.enum([
@@ -5975,7 +4954,7 @@ var ca = e.object({
5975
4954
  show_widget_shadow: e.boolean(),
5976
4955
  widget_border_weight: e.number(),
5977
4956
  widget_corner_radius: e.number()
5978
- }), la = e.object({
4957
+ }), Zi = e.object({
5979
4958
  base_focus_color: e.string(),
5980
4959
  base_hover_color: e.string(),
5981
4960
  body_text: e.string(),
@@ -6002,7 +4981,7 @@ var ca = e.object({
6002
4981
  }), $ = e.object({
6003
4982
  bold: e.boolean(),
6004
4983
  size: e.number()
6005
- }), ua = e.object({
4984
+ }), Qi = e.object({
6006
4985
  body_text: $,
6007
4986
  buttons_text: $,
6008
4987
  font_url: e.string(),
@@ -6012,7 +4991,7 @@ var ca = e.object({
6012
4991
  reference_text_size: e.number(),
6013
4992
  subtitle: $,
6014
4993
  title: $
6015
- }), da = e.object({
4994
+ }), $i = e.object({
6016
4995
  background_color: e.string(),
6017
4996
  background_image_url: e.string(),
6018
4997
  page_layout: e.enum([
@@ -6025,7 +5004,7 @@ var ca = e.object({
6025
5004
  "chip",
6026
5005
  "none"
6027
5006
  ]).optional()
6028
- }), fa = e.object({
5007
+ }), ea = e.object({
6029
5008
  header_text_alignment: e.enum([
6030
5009
  "center",
6031
5010
  "left",
@@ -6042,40 +5021,40 @@ var ca = e.object({
6042
5021
  social_buttons_layout: e.enum(["bottom", "top"])
6043
5022
  });
6044
5023
  e.object({
6045
- borders: ca,
6046
- colors: la,
5024
+ borders: Xi,
5025
+ colors: Zi,
6047
5026
  displayName: e.string(),
6048
- fonts: ua,
6049
- page_background: da,
6050
- widget: fa
5027
+ fonts: Qi,
5028
+ page_background: $i,
5029
+ widget: ea
6051
5030
  }).extend({ themeId: e.string() }), e.object({
6052
5031
  universal_login_experience: e.enum(["new", "classic"]).default("new"),
6053
5032
  identifier_first: e.boolean().default(!0),
6054
5033
  password_first: e.boolean().default(!1),
6055
5034
  webauthn_platform_first_factor: e.boolean()
6056
5035
  });
6057
- var pa = e.object({
5036
+ var ta = e.object({
6058
5037
  hosts: e.array(e.string()).optional(),
6059
5038
  methods: e.array(e.string()).optional(),
6060
5039
  path: e.string().default("/*"),
6061
5040
  headers: e.record(e.string(), e.string()).optional(),
6062
5041
  query: e.record(e.string(), e.string()).optional()
6063
- }), ma = e.object({
5042
+ }), na = e.object({
6064
5043
  type: e.string(),
6065
5044
  options: e.record(e.string(), e.unknown()).default({})
6066
- }), ha = e.object({
5045
+ }), ra = e.object({
6067
5046
  id: e.string().optional(),
6068
5047
  custom_domain_id: e.string(),
6069
5048
  priority: e.number().int().default(100),
6070
- match: pa,
6071
- handlers: e.array(ma).min(1)
5049
+ match: ta,
5050
+ handlers: e.array(na).min(1)
6072
5051
  });
6073
- ha.extend({
5052
+ ra.extend({
6074
5053
  id: e.string(),
6075
5054
  tenant_id: e.string(),
6076
5055
  created_at: e.string(),
6077
5056
  updated_at: e.string()
6078
- }), ha.partial().omit({
5057
+ }), ra.partial().omit({
6079
5058
  id: !0,
6080
5059
  custom_domain_id: !0
6081
5060
  }), e.object({
@@ -6085,7 +5064,7 @@ ha.extend({
6085
5064
  credentials: e.record(e.string(), e.unknown()),
6086
5065
  settings: e.object({}).optional()
6087
5066
  });
6088
- var ga = e.enum([
5067
+ var ia = e.enum([
6089
5068
  "verify_email",
6090
5069
  "verify_email_by_code",
6091
5070
  "reset_email",
@@ -6100,7 +5079,7 @@ var ga = e.enum([
6100
5079
  "user_invitation"
6101
5080
  ]);
6102
5081
  e.object({
6103
- template: ga,
5082
+ template: ia,
6104
5083
  body: e.string(),
6105
5084
  from: e.string(),
6106
5085
  subject: e.string(),
@@ -6117,7 +5096,7 @@ e.object({
6117
5096
  expires_at: e.string().optional(),
6118
5097
  idle_expires_at: e.string().optional(),
6119
5098
  last_exchanged_at: e.string().optional(),
6120
- device: $i,
5099
+ device: Vi,
6121
5100
  resource_servers: e.array(e.object({
6122
5101
  audience: e.string(),
6123
5102
  scopes: e.string()
@@ -6138,10 +5117,10 @@ e.object({
6138
5117
  name: e.string(),
6139
5118
  options: e.object({})
6140
5119
  });
6141
- var _a = e.object({
5120
+ var aa = e.object({
6142
5121
  value: e.string(),
6143
5122
  description: e.string().optional()
6144
- }), va = e.object({
5123
+ }), oa = e.object({
6145
5124
  token_dialect: e.enum(["access_token", "access_token_authz"]).optional(),
6146
5125
  enforce_policies: e.boolean().optional(),
6147
5126
  allow_skipping_userinfo: e.boolean().optional(),
@@ -6149,11 +5128,11 @@ var _a = e.object({
6149
5128
  persist_client_authorization: e.boolean().optional(),
6150
5129
  enable_introspection_endpoint: e.boolean().optional(),
6151
5130
  mtls: e.object({ bound_access_tokens: e.boolean().optional() }).optional()
6152
- }), ya = e.object({
5131
+ }), sa = e.object({
6153
5132
  id: e.string().optional(),
6154
5133
  name: e.string(),
6155
5134
  identifier: e.string(),
6156
- scopes: e.array(_a).optional(),
5135
+ scopes: e.array(aa).optional(),
6157
5136
  signing_alg: e.string().optional(),
6158
5137
  signing_secret: e.string().optional(),
6159
5138
  token_lifetime: e.number().default(86400),
@@ -6161,20 +5140,20 @@ var _a = e.object({
6161
5140
  skip_consent_for_verifiable_first_party_clients: e.boolean().optional(),
6162
5141
  allow_offline_access: e.boolean().optional(),
6163
5142
  verificationKey: e.string().optional(),
6164
- options: va.optional(),
5143
+ options: oa.optional(),
6165
5144
  is_system: e.boolean().optional(),
6166
5145
  metadata: e.record(e.string(), e.any()).optional()
6167
5146
  }).extend({
6168
5147
  created_at: e.string().optional(),
6169
5148
  updated_at: e.string().optional()
6170
5149
  });
6171
- e.array(ya);
6172
- var ba = e.object({
5150
+ e.array(sa);
5151
+ var ca = e.object({
6173
5152
  role_id: e.string(),
6174
5153
  resource_server_identifier: e.string(),
6175
5154
  permission_name: e.string()
6176
5155
  }).extend({ created_at: e.string() });
6177
- e.array(ba), e.object({
5156
+ e.array(ca), e.object({
6178
5157
  user_id: e.string().openapi({ description: "The id of the user that granted the consent" }),
6179
5158
  clientID: e.string().openapi({ description: "The id of the client the grant was issued to" }),
6180
5159
  audience: e.string().optional().openapi({ description: "The audience the grant applies to" }),
@@ -6187,7 +5166,7 @@ e.array(ba), e.object({
6187
5166
  failed_logins: e.array(e.string()).optional(),
6188
5167
  last_password_reset: e.string().optional()
6189
5168
  });
6190
- var xa = e.object({
5169
+ var la = e.object({
6191
5170
  user_id: e.string(),
6192
5171
  resource_server_identifier: e.string(),
6193
5172
  permission_name: e.string(),
@@ -6196,8 +5175,8 @@ var xa = e.object({
6196
5175
  tenant_id: e.string(),
6197
5176
  created_at: e.string().optional()
6198
5177
  });
6199
- e.array(xa);
6200
- var Sa = e.object({
5178
+ e.array(la);
5179
+ var ua = e.object({
6201
5180
  user_id: e.string(),
6202
5181
  resource_server_identifier: e.string(),
6203
5182
  resource_server_name: e.string(),
@@ -6206,8 +5185,8 @@ var Sa = e.object({
6206
5185
  created_at: e.string().optional(),
6207
5186
  organization_id: e.string().optional()
6208
5187
  });
6209
- e.array(Sa);
6210
- var Ca = e.object({
5188
+ e.array(ua);
5189
+ var da = e.object({
6211
5190
  user_id: e.string(),
6212
5191
  role_id: e.string(),
6213
5192
  organization_id: e.string().optional()
@@ -6215,8 +5194,8 @@ var Ca = e.object({
6215
5194
  tenant_id: e.string(),
6216
5195
  created_at: e.string().optional()
6217
5196
  });
6218
- e.array(Ca);
6219
- var wa = e.object({
5197
+ e.array(da);
5198
+ var fa = e.object({
6220
5199
  id: e.string().optional().openapi({ description: "The unique identifier of the role. If not provided, one will be generated." }),
6221
5200
  name: e.string().min(1).max(50).openapi({ description: "The name of the role. Cannot include '<' or '>'" }),
6222
5201
  description: e.string().max(255).optional().openapi({ description: "The description of the role" }),
@@ -6227,19 +5206,19 @@ var wa = e.object({
6227
5206
  created_at: e.string().optional(),
6228
5207
  updated_at: e.string().optional()
6229
5208
  });
6230
- e.array(wa);
6231
- var Ta = e.object({
5209
+ e.array(fa);
5210
+ var pa = e.object({
6232
5211
  logo_url: e.string().optional().openapi({ description: "URL of the organization's logo" }),
6233
5212
  colors: e.object({
6234
5213
  primary: e.string().optional().openapi({ description: "Primary color in hex format (e.g., #FF0000)" }),
6235
5214
  page_background: e.string().optional().openapi({ description: "Page background color in hex format (e.g., #FFFFFF)" })
6236
5215
  }).optional()
6237
- }).optional(), Ea = e.object({
5216
+ }).optional(), ma = e.object({
6238
5217
  connection_id: e.string().openapi({ description: "ID of the connection" }),
6239
5218
  assign_membership_on_login: e.boolean().default(!1).openapi({ description: "Whether to assign membership to the organization on login" }),
6240
5219
  show_as_button: e.boolean().default(!0).openapi({ description: "Whether to show this connection as a button in the login screen" }),
6241
5220
  is_signup_enabled: e.boolean().default(!0).openapi({ description: "Whether signup is enabled for this connection" })
6242
- }), Da = e.object({ client_credentials: e.object({
5221
+ }), ha = e.object({ client_credentials: e.object({
6243
5222
  enforce: e.boolean().default(!1).openapi({ description: "Whether to enforce token quota limits" }),
6244
5223
  per_day: e.number().min(0).default(0).openapi({ description: "Maximum tokens per day (0 = unlimited)" }),
6245
5224
  per_hour: e.number().min(0).default(0).openapi({ description: "Maximum tokens per hour (0 = unlimited)" })
@@ -6248,15 +5227,15 @@ e.object({
6248
5227
  id: e.string().optional(),
6249
5228
  name: e.string().min(1).regex(/^[a-z0-9_-]+$/, { message: "Organization name must be lowercase and can only contain letters, numbers, hyphens, and underscores" }).openapi({ description: "The name of the organization. Must be lowercase and can only contain letters, numbers, hyphens, and underscores." }),
6250
5229
  display_name: e.string().optional().openapi({ description: "The display name of the organization" }),
6251
- branding: Ta,
5230
+ branding: pa,
6252
5231
  metadata: e.record(e.string(), e.any()).default({}).optional().openapi({ description: "Custom metadata for the organization" }),
6253
- enabled_connections: e.array(Ea).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
6254
- token_quota: Da
5232
+ enabled_connections: e.array(ma).default([]).optional().openapi({ description: "List of enabled connections for the organization" }),
5233
+ token_quota: ha
6255
5234
  }).extend(G.shape).extend({
6256
5235
  id: e.string(),
6257
5236
  name: e.string().min(1).openapi({ description: "The name of the organization" })
6258
5237
  });
6259
- var Oa = e.object({
5238
+ var ga = e.object({
6260
5239
  connection_id: e.string().openapi({ description: "ID of the tenant-level connection to enable for the org." }),
6261
5240
  assign_membership_on_login: e.boolean().optional().default(!1),
6262
5241
  show_as_button: e.boolean().optional().default(!0),
@@ -6269,7 +5248,7 @@ var Oa = e.object({
6269
5248
  created_at: e.string().optional(),
6270
5249
  updated_at: e.string().optional()
6271
5250
  });
6272
- e.array(Oa), e.object({
5251
+ e.array(ga), e.object({
6273
5252
  user_id: e.string().openapi({ description: "ID of the user" }),
6274
5253
  organization_id: e.string().openapi({ description: "ID of the organization" })
6275
5254
  }).extend(G.shape).extend({ id: e.string() }), e.object({
@@ -6408,22 +5387,22 @@ e.array(Oa), e.object({
6408
5387
  "passwordless",
6409
5388
  "enterprise"
6410
5389
  ]);
6411
- var ka = e.object({
5390
+ var _a = e.object({
6412
5391
  name: e.string(),
6413
5392
  type: e.string()
6414
- }), Aa = e.object({
5393
+ }), va = e.object({
6415
5394
  elapsed: e.number(),
6416
5395
  rows_read: e.number().optional(),
6417
5396
  bytes_read: e.number().optional()
6418
5397
  });
6419
5398
  e.object({
6420
- meta: e.array(ka),
5399
+ meta: e.array(_a),
6421
5400
  data: e.array(e.record(e.string(), e.any())),
6422
5401
  rows: e.number(),
6423
5402
  rows_before_limit_at_least: e.number().optional(),
6424
- statistics: Aa.optional()
5403
+ statistics: va.optional()
6425
5404
  });
6426
- var ja = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), Ma = e.record(e.string(), e.record(e.string(), e.string())).openapi({
5405
+ var ya = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.signup-password.reset-password.consent.mfa.mfa-push.mfa-otp.mfa-voice.mfa-phone.mfa-webauthn.mfa-email.mfa-recovery-code.status.device-flow.email-verification.email-otp-challenge.organizations.invitation.common.passkeys.captcha.custom-form.login-passwordless.mfa-login-options".split(".")), ba = e.record(e.string(), e.record(e.string(), e.string())).openapi({
6427
5406
  type: "object",
6428
5407
  additionalProperties: {
6429
5408
  type: "object",
@@ -6431,11 +5410,11 @@ var ja = e.enum(/* @__PURE__ */ "login.login-id.login-password.signup.signup-id.
6431
5410
  }
6432
5411
  });
6433
5412
  e.object({
6434
- prompt: ja,
5413
+ prompt: ya,
6435
5414
  language: e.string(),
6436
- custom_text: Ma
5415
+ custom_text: ba
6437
5416
  });
6438
- var Na = e.enum([
5417
+ var xa = e.enum([
6439
5418
  "phone",
6440
5419
  "totp",
6441
5420
  "email",
@@ -6443,9 +5422,9 @@ var Na = e.enum([
6443
5422
  "webauthn-roaming",
6444
5423
  "webauthn-platform",
6445
5424
  "passkey"
6446
- ]), Pa = e.object({
5425
+ ]), Sa = e.object({
6447
5426
  user_id: e.string(),
6448
- type: Na,
5427
+ type: xa,
6449
5428
  phone_number: e.string().optional(),
6450
5429
  totp_secret: e.string().optional(),
6451
5430
  credential_id: e.string().optional(),
@@ -6456,7 +5435,7 @@ var Na = e.enum([
6456
5435
  friendly_name: e.string().optional(),
6457
5436
  confirmed: e.boolean().default(!1)
6458
5437
  });
6459
- function Fa(t, n) {
5438
+ function Ca(t, n) {
6460
5439
  t.type === "phone" && !t.phone_number && n.addIssue({
6461
5440
  code: e.ZodIssueCode.custom,
6462
5441
  message: "phone_number is required when type is 'phone'",
@@ -6479,51 +5458,51 @@ function Fa(t, n) {
6479
5458
  path: ["public_key"]
6480
5459
  }));
6481
5460
  }
6482
- Pa.superRefine(Fa), Pa.extend({
5461
+ Sa.superRefine(Ca), Sa.extend({
6483
5462
  id: e.string(),
6484
5463
  created_at: e.string(),
6485
5464
  updated_at: e.string()
6486
- }).superRefine(Fa), e.object({
5465
+ }).superRefine(Ca), e.object({
6487
5466
  id: e.string().optional(),
6488
5467
  created_at: e.string().datetime({ offset: !0 }).optional(),
6489
5468
  updated_at: e.string().datetime({ offset: !0 }).optional()
6490
5469
  });
6491
- function Ia(e) {
5470
+ function wa(e) {
6492
5471
  let t = atob(e), n = new Uint8Array(t.length);
6493
5472
  for (let e = 0; e < t.length; e++) n[e] = t.charCodeAt(e);
6494
5473
  return n;
6495
5474
  }
6496
5475
  //#endregion
6497
5476
  //#region ../../node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/url-alphabet/index.js
6498
- var La = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ra = (e = 21) => {
5477
+ var Ta = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Ea = (e = 21) => {
6499
5478
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
6500
- for (; e--;) t += La[n[e] & 63];
5479
+ for (; e--;) t += Ta[n[e] & 63];
6501
5480
  return t;
6502
5481
  };
6503
5482
  //#endregion
6504
5483
  //#region src/helpers.ts
6505
- async function za(e) {
5484
+ async function Da(e) {
6506
5485
  let t = new DecompressionStream("deflate-raw"), n = new Uint8Array(e), r = new Blob([n]).stream().pipeThrough(t);
6507
5486
  return new Uint8Array(await new Response(r).arrayBuffer());
6508
5487
  }
6509
- async function Ba(e) {
6510
- let t = Ia(e.replace(/ /g, "+"));
5488
+ async function Oa(e) {
5489
+ let t = wa(e.replace(/ /g, "+"));
6511
5490
  try {
6512
- let e = await za(t);
5491
+ let e = await Da(t);
6513
5492
  return new TextDecoder().decode(e);
6514
5493
  } catch (e) {
6515
5494
  return console.warn("Decompression failed, assuming data is not compressed:", e), new TextDecoder().decode(t);
6516
5495
  }
6517
5496
  }
6518
- async function Va(e) {
6519
- let t = await Ba(e), n = new an({
5497
+ async function ka(e) {
5498
+ let t = await Oa(e), n = new Ht({
6520
5499
  attributeNamePrefix: "@_",
6521
5500
  alwaysCreateTextNode: !0,
6522
5501
  ignoreAttributes: !1
6523
5502
  }).parse(t);
6524
5503
  return r.parse(n);
6525
5504
  }
6526
- function Ha(e) {
5505
+ function Aa(e) {
6527
5506
  let t = e.certificates.map((e) => ({
6528
5507
  "@_use": "signing",
6529
5508
  KeyInfo: {
@@ -6589,7 +5568,7 @@ function Ha(e) {
6589
5568
  ]
6590
5569
  }
6591
5570
  } };
6592
- return new Cn({
5571
+ return new dn({
6593
5572
  ignoreAttributes: !1,
6594
5573
  suppressEmptyNode: !0,
6595
5574
  preserveOrder: !1,
@@ -6597,8 +5576,8 @@ function Ha(e) {
6597
5576
  attributeNamePrefix: "@_"
6598
5577
  }).build(n);
6599
5578
  }
6600
- async function Ua(e, t) {
6601
- let n = e.notBefore || (/* @__PURE__ */ new Date()).toISOString(), r = e.notAfter || new Date(new Date(n).getTime() + 600 * 1e3).toISOString(), i = e.issueInstant || n, a = e.sessionNotOnOrAfter || r, o = e.responseId || `_${Ra()}`, s = e.assertionId || `_${Ra()}`, c = [{
5579
+ async function ja(e, t) {
5580
+ let n = e.notBefore || (/* @__PURE__ */ new Date()).toISOString(), r = e.notAfter || new Date(new Date(n).getTime() + 600 * 1e3).toISOString(), i = e.issueInstant || n, a = e.sessionNotOnOrAfter || r, o = e.responseId || `_${Ea()}`, s = e.assertionId || `_${Ea()}`, c = [{
6602
5581
  "samlp:Response": [
6603
5582
  { "saml:Issuer": [{ "#text": e.issuer }] },
6604
5583
  { "samlp:Status": [{
@@ -6770,7 +5749,7 @@ async function Ua(e, t) {
6770
5749
  "@_IssueInstant": i,
6771
5750
  "@_Version": "2.0"
6772
5751
  }
6773
- }], l = new Cn({
5752
+ }], l = new dn({
6774
5753
  ignoreAttributes: !1,
6775
5754
  suppressEmptyNode: !0,
6776
5755
  preserveOrder: !0
@@ -6779,7 +5758,7 @@ async function Ua(e, t) {
6779
5758
  }
6780
5759
  //#endregion
6781
5760
  //#region src/signers/local.ts
6782
- var Wa = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256", Ga = "http://www.w3.org/2001/04/xmlenc#sha256", Ka = "http://www.w3.org/2001/10/xml-exc-c14n#", qa = class {
5761
+ var Ma = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256", Na = "http://www.w3.org/2001/04/xmlenc#sha256", Pa = "http://www.w3.org/2001/10/xml-exc-c14n#", Fa = class {
6783
5762
  async signSAML(e, t, n) {
6784
5763
  try {
6785
5764
  let r = await import("xml-crypto"), i = r.SignedXml || r.default?.SignedXml;
@@ -6788,11 +5767,11 @@ var Wa = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256", Ga = "http://www.w
6788
5767
  privateKey: t,
6789
5768
  publicCert: n
6790
5769
  });
6791
- a.canonicalizationAlgorithm = Ka, a.addReference({
5770
+ a.canonicalizationAlgorithm = Pa, a.addReference({
6792
5771
  xpath: "(/*[local-name()='Response']/*[local-name()='Assertion'])[1]",
6793
- digestAlgorithm: Ga,
6794
- transforms: ["http://www.w3.org/2000/09/xmldsig#enveloped-signature", Ka]
6795
- }), a.signatureAlgorithm = Wa;
5772
+ digestAlgorithm: Na,
5773
+ transforms: ["http://www.w3.org/2000/09/xmldsig#enveloped-signature", Pa]
5774
+ }), a.signatureAlgorithm = Ma;
6796
5775
  let o = n.replace(/-----BEGIN CERTIFICATE-----|-----END CERTIFICATE-----/g, "").replace(/\s/g, "");
6797
5776
  return a.keyInfoProvider = { getKeyInfo: () => `<X509Data><X509Certificate>${o}</X509Certificate></X509Data>` }, a.computeSignature(e, { location: {
6798
5777
  reference: "/*[local-name()='Response']/*[local-name()='Assertion']/*[local-name()='Issuer']",
@@ -6802,7 +5781,7 @@ var Wa = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256", Ga = "http://www.w
6802
5781
  throw Error(`Failed to sign SAML locally. Make sure xml-crypto is installed. Error: ${e}`);
6803
5782
  }
6804
5783
  }
6805
- }, Ja = class {
5784
+ }, Ia = class {
6806
5785
  signUrl;
6807
5786
  constructor(e) {
6808
5787
  this.signUrl = e;
@@ -6822,4 +5801,4 @@ var Wa = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256", Ga = "http://www.w
6822
5801
  }
6823
5802
  };
6824
5803
  //#endregion
6825
- export { Ja as HttpSamlSigner, qa as LocalSamlSigner, Ha as createSamlMetadata, Ua as createSamlResponse, s as dsSignatureSchema, Ba as inflateDecompress, za as inflateRaw, Va as parseSamlRequestQuery, n as samlIssuerSchema, i as samlMetadataResponseSchema, r as samlRequestSchema, c as samlResponseJsonSchema };
5804
+ export { Ia as HttpSamlSigner, Fa as LocalSamlSigner, Aa as createSamlMetadata, ja as createSamlResponse, s as dsSignatureSchema, Oa as inflateDecompress, Da as inflateRaw, ka as parseSamlRequestQuery, n as samlIssuerSchema, i as samlMetadataResponseSchema, r as samlRequestSchema, c as samlResponseJsonSchema };