@uipath/case-tool 1.199.0-preview.97 → 1.199.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/tool.js +124 -1965
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -257466,1540 +257466,6 @@ return { upsertKeys: allEventsUpdatedKeys, deleteKeys: [...exitedStageKeysToDele
257466
257466
  */
257467
257467
  });
257468
257468
 
257469
- // ../../node_modules/sax/lib/sax.js
257470
- var require_sax = __commonJS((exports) => {
257471
- (function(sax) {
257472
- sax.parser = function(strict, opt) {
257473
- return new SAXParser(strict, opt);
257474
- };
257475
- sax.SAXParser = SAXParser;
257476
- sax.SAXStream = SAXStream;
257477
- sax.createStream = createStream;
257478
- sax.MAX_BUFFER_LENGTH = 64 * 1024;
257479
- var buffers = [
257480
- "comment",
257481
- "sgmlDecl",
257482
- "textNode",
257483
- "tagName",
257484
- "doctype",
257485
- "procInstName",
257486
- "procInstBody",
257487
- "entity",
257488
- "attribName",
257489
- "attribValue",
257490
- "cdata",
257491
- "script"
257492
- ];
257493
- sax.EVENTS = [
257494
- "text",
257495
- "processinginstruction",
257496
- "sgmldeclaration",
257497
- "doctype",
257498
- "comment",
257499
- "opentagstart",
257500
- "attribute",
257501
- "opentag",
257502
- "closetag",
257503
- "opencdata",
257504
- "cdata",
257505
- "closecdata",
257506
- "error",
257507
- "end",
257508
- "ready",
257509
- "script",
257510
- "opennamespace",
257511
- "closenamespace"
257512
- ];
257513
- function SAXParser(strict, opt) {
257514
- if (!(this instanceof SAXParser)) {
257515
- return new SAXParser(strict, opt);
257516
- }
257517
- var parser = this;
257518
- clearBuffers(parser);
257519
- parser.q = parser.c = "";
257520
- parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH;
257521
- parser.encoding = null;
257522
- parser.opt = opt || {};
257523
- parser.opt.lowercase = parser.opt.lowercase || parser.opt.lowercasetags;
257524
- parser.looseCase = parser.opt.lowercase ? "toLowerCase" : "toUpperCase";
257525
- parser.opt.maxEntityCount = parser.opt.maxEntityCount || 512;
257526
- parser.opt.maxEntityDepth = parser.opt.maxEntityDepth || 4;
257527
- parser.entityCount = parser.entityDepth = 0;
257528
- parser.tags = [];
257529
- parser.closed = parser.closedRoot = parser.sawRoot = false;
257530
- parser.tag = parser.error = null;
257531
- parser.strict = !!strict;
257532
- parser.noscript = !!(strict || parser.opt.noscript);
257533
- parser.state = S.BEGIN;
257534
- parser.strictEntities = parser.opt.strictEntities;
257535
- parser.ENTITIES = parser.strictEntities ? Object.create(sax.XML_ENTITIES) : Object.create(sax.ENTITIES);
257536
- parser.attribList = [];
257537
- if (parser.opt.xmlns) {
257538
- parser.ns = Object.create(rootNS);
257539
- }
257540
- if (parser.opt.unquotedAttributeValues === undefined) {
257541
- parser.opt.unquotedAttributeValues = !strict;
257542
- }
257543
- parser.trackPosition = parser.opt.position !== false;
257544
- if (parser.trackPosition) {
257545
- parser.position = parser.line = parser.column = 0;
257546
- }
257547
- emit(parser, "onready");
257548
- }
257549
- if (!Object.create) {
257550
- Object.create = function(o) {
257551
- function F() {}
257552
- F.prototype = o;
257553
- var newf = new F;
257554
- return newf;
257555
- };
257556
- }
257557
- if (!Object.keys) {
257558
- Object.keys = function(o) {
257559
- var a = [];
257560
- for (var i in o)
257561
- if (o.hasOwnProperty(i))
257562
- a.push(i);
257563
- return a;
257564
- };
257565
- }
257566
- function checkBufferLength(parser) {
257567
- var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10);
257568
- var maxActual = 0;
257569
- for (var i = 0, l = buffers.length;i < l; i++) {
257570
- var len = parser[buffers[i]].length;
257571
- if (len > maxAllowed) {
257572
- switch (buffers[i]) {
257573
- case "textNode":
257574
- closeText(parser);
257575
- break;
257576
- case "cdata":
257577
- emitNode(parser, "oncdata", parser.cdata);
257578
- parser.cdata = "";
257579
- break;
257580
- case "script":
257581
- emitNode(parser, "onscript", parser.script);
257582
- parser.script = "";
257583
- break;
257584
- default:
257585
- error(parser, "Max buffer length exceeded: " + buffers[i]);
257586
- }
257587
- }
257588
- maxActual = Math.max(maxActual, len);
257589
- }
257590
- var m = sax.MAX_BUFFER_LENGTH - maxActual;
257591
- parser.bufferCheckPosition = m + parser.position;
257592
- }
257593
- function clearBuffers(parser) {
257594
- for (var i = 0, l = buffers.length;i < l; i++) {
257595
- parser[buffers[i]] = "";
257596
- }
257597
- }
257598
- function flushBuffers(parser) {
257599
- closeText(parser);
257600
- if (parser.cdata !== "") {
257601
- emitNode(parser, "oncdata", parser.cdata);
257602
- parser.cdata = "";
257603
- }
257604
- if (parser.script !== "") {
257605
- emitNode(parser, "onscript", parser.script);
257606
- parser.script = "";
257607
- }
257608
- }
257609
- SAXParser.prototype = {
257610
- end: function() {
257611
- end(this);
257612
- },
257613
- write,
257614
- resume: function() {
257615
- this.error = null;
257616
- return this;
257617
- },
257618
- close: function() {
257619
- return this.write(null);
257620
- },
257621
- flush: function() {
257622
- flushBuffers(this);
257623
- }
257624
- };
257625
- var Stream;
257626
- try {
257627
- Stream = __require("stream").Stream;
257628
- } catch (ex) {
257629
- Stream = function() {};
257630
- }
257631
- if (!Stream)
257632
- Stream = function() {};
257633
- var streamWraps = sax.EVENTS.filter(function(ev) {
257634
- return ev !== "error" && ev !== "end";
257635
- });
257636
- function createStream(strict, opt) {
257637
- return new SAXStream(strict, opt);
257638
- }
257639
- function determineBufferEncoding(data, isEnd) {
257640
- if (data.length >= 2) {
257641
- if (data[0] === 255 && data[1] === 254) {
257642
- return "utf-16le";
257643
- }
257644
- if (data[0] === 254 && data[1] === 255) {
257645
- return "utf-16be";
257646
- }
257647
- }
257648
- if (data.length >= 3 && data[0] === 239 && data[1] === 187 && data[2] === 191) {
257649
- return "utf8";
257650
- }
257651
- if (data.length >= 4) {
257652
- if (data[0] === 60 && data[1] === 0 && data[2] === 63 && data[3] === 0) {
257653
- return "utf-16le";
257654
- }
257655
- if (data[0] === 0 && data[1] === 60 && data[2] === 0 && data[3] === 63) {
257656
- return "utf-16be";
257657
- }
257658
- return "utf8";
257659
- }
257660
- return isEnd ? "utf8" : null;
257661
- }
257662
- function SAXStream(strict, opt) {
257663
- if (!(this instanceof SAXStream)) {
257664
- return new SAXStream(strict, opt);
257665
- }
257666
- Stream.apply(this);
257667
- this._parser = new SAXParser(strict, opt);
257668
- this.writable = true;
257669
- this.readable = true;
257670
- var me = this;
257671
- this._parser.onend = function() {
257672
- me.emit("end");
257673
- };
257674
- this._parser.onerror = function(er) {
257675
- me.emit("error", er);
257676
- me._parser.error = null;
257677
- };
257678
- this._decoder = null;
257679
- this._decoderBuffer = null;
257680
- streamWraps.forEach(function(ev) {
257681
- Object.defineProperty(me, "on" + ev, {
257682
- get: function() {
257683
- return me._parser["on" + ev];
257684
- },
257685
- set: function(h) {
257686
- if (!h) {
257687
- me.removeAllListeners(ev);
257688
- me._parser["on" + ev] = h;
257689
- return h;
257690
- }
257691
- me.on(ev, h);
257692
- },
257693
- enumerable: true,
257694
- configurable: false
257695
- });
257696
- });
257697
- }
257698
- SAXStream.prototype = Object.create(Stream.prototype, {
257699
- constructor: {
257700
- value: SAXStream
257701
- }
257702
- });
257703
- SAXStream.prototype._decodeBuffer = function(data, isEnd) {
257704
- if (this._decoderBuffer) {
257705
- data = Buffer.concat([this._decoderBuffer, data]);
257706
- this._decoderBuffer = null;
257707
- }
257708
- if (!this._decoder) {
257709
- var encoding = determineBufferEncoding(data, isEnd);
257710
- if (!encoding) {
257711
- this._decoderBuffer = data;
257712
- return "";
257713
- }
257714
- this._parser.encoding = encoding;
257715
- this._decoder = new TextDecoder(encoding);
257716
- }
257717
- return this._decoder.decode(data, { stream: !isEnd });
257718
- };
257719
- SAXStream.prototype.write = function(data) {
257720
- if (typeof Buffer === "function" && typeof Buffer.isBuffer === "function" && Buffer.isBuffer(data)) {
257721
- data = this._decodeBuffer(data, false);
257722
- } else if (this._decoderBuffer) {
257723
- var remaining = this._decodeBuffer(Buffer.alloc(0), true);
257724
- if (remaining) {
257725
- this._parser.write(remaining);
257726
- this.emit("data", remaining);
257727
- }
257728
- }
257729
- this._parser.write(data.toString());
257730
- this.emit("data", data);
257731
- return true;
257732
- };
257733
- SAXStream.prototype.end = function(chunk) {
257734
- if (chunk && chunk.length) {
257735
- this.write(chunk);
257736
- }
257737
- if (this._decoderBuffer) {
257738
- var finalChunk = this._decodeBuffer(Buffer.alloc(0), true);
257739
- if (finalChunk) {
257740
- this._parser.write(finalChunk);
257741
- this.emit("data", finalChunk);
257742
- }
257743
- } else if (this._decoder) {
257744
- var remaining = this._decoder.decode();
257745
- if (remaining) {
257746
- this._parser.write(remaining);
257747
- this.emit("data", remaining);
257748
- }
257749
- }
257750
- this._parser.end();
257751
- return true;
257752
- };
257753
- SAXStream.prototype.on = function(ev, handler) {
257754
- var me = this;
257755
- if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
257756
- me._parser["on" + ev] = function() {
257757
- var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
257758
- args.splice(0, 0, ev);
257759
- me.emit.apply(me, args);
257760
- };
257761
- }
257762
- return Stream.prototype.on.call(me, ev, handler);
257763
- };
257764
- var CDATA = "[CDATA[";
257765
- var DOCTYPE = "DOCTYPE";
257766
- var XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace";
257767
- var XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/";
257768
- var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE };
257769
- var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;
257770
- var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
257771
- var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;
257772
- var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;
257773
- function isWhitespace(c) {
257774
- return c === " " || c === `
257775
- ` || c === "\r" || c === "\t";
257776
- }
257777
- function isQuote(c) {
257778
- return c === '"' || c === "'";
257779
- }
257780
- function isAttribEnd(c) {
257781
- return c === ">" || isWhitespace(c);
257782
- }
257783
- function isMatch(regex, c) {
257784
- return regex.test(c);
257785
- }
257786
- function notMatch(regex, c) {
257787
- return !isMatch(regex, c);
257788
- }
257789
- var S = 0;
257790
- sax.STATE = {
257791
- BEGIN: S++,
257792
- BEGIN_WHITESPACE: S++,
257793
- TEXT: S++,
257794
- TEXT_ENTITY: S++,
257795
- OPEN_WAKA: S++,
257796
- SGML_DECL: S++,
257797
- SGML_DECL_QUOTED: S++,
257798
- DOCTYPE: S++,
257799
- DOCTYPE_QUOTED: S++,
257800
- DOCTYPE_DTD: S++,
257801
- DOCTYPE_DTD_QUOTED: S++,
257802
- COMMENT_STARTING: S++,
257803
- COMMENT: S++,
257804
- COMMENT_ENDING: S++,
257805
- COMMENT_ENDED: S++,
257806
- CDATA: S++,
257807
- CDATA_ENDING: S++,
257808
- CDATA_ENDING_2: S++,
257809
- PROC_INST: S++,
257810
- PROC_INST_BODY: S++,
257811
- PROC_INST_ENDING: S++,
257812
- OPEN_TAG: S++,
257813
- OPEN_TAG_SLASH: S++,
257814
- ATTRIB: S++,
257815
- ATTRIB_NAME: S++,
257816
- ATTRIB_NAME_SAW_WHITE: S++,
257817
- ATTRIB_VALUE: S++,
257818
- ATTRIB_VALUE_QUOTED: S++,
257819
- ATTRIB_VALUE_CLOSED: S++,
257820
- ATTRIB_VALUE_UNQUOTED: S++,
257821
- ATTRIB_VALUE_ENTITY_Q: S++,
257822
- ATTRIB_VALUE_ENTITY_U: S++,
257823
- CLOSE_TAG: S++,
257824
- CLOSE_TAG_SAW_WHITE: S++,
257825
- SCRIPT: S++,
257826
- SCRIPT_ENDING: S++
257827
- };
257828
- sax.XML_ENTITIES = {
257829
- amp: "&",
257830
- gt: ">",
257831
- lt: "<",
257832
- quot: '"',
257833
- apos: "'"
257834
- };
257835
- sax.ENTITIES = {
257836
- amp: "&",
257837
- gt: ">",
257838
- lt: "<",
257839
- quot: '"',
257840
- apos: "'",
257841
- AElig: 198,
257842
- Aacute: 193,
257843
- Acirc: 194,
257844
- Agrave: 192,
257845
- Aring: 197,
257846
- Atilde: 195,
257847
- Auml: 196,
257848
- Ccedil: 199,
257849
- ETH: 208,
257850
- Eacute: 201,
257851
- Ecirc: 202,
257852
- Egrave: 200,
257853
- Euml: 203,
257854
- Iacute: 205,
257855
- Icirc: 206,
257856
- Igrave: 204,
257857
- Iuml: 207,
257858
- Ntilde: 209,
257859
- Oacute: 211,
257860
- Ocirc: 212,
257861
- Ograve: 210,
257862
- Oslash: 216,
257863
- Otilde: 213,
257864
- Ouml: 214,
257865
- THORN: 222,
257866
- Uacute: 218,
257867
- Ucirc: 219,
257868
- Ugrave: 217,
257869
- Uuml: 220,
257870
- Yacute: 221,
257871
- aacute: 225,
257872
- acirc: 226,
257873
- aelig: 230,
257874
- agrave: 224,
257875
- aring: 229,
257876
- atilde: 227,
257877
- auml: 228,
257878
- ccedil: 231,
257879
- eacute: 233,
257880
- ecirc: 234,
257881
- egrave: 232,
257882
- eth: 240,
257883
- euml: 235,
257884
- iacute: 237,
257885
- icirc: 238,
257886
- igrave: 236,
257887
- iuml: 239,
257888
- ntilde: 241,
257889
- oacute: 243,
257890
- ocirc: 244,
257891
- ograve: 242,
257892
- oslash: 248,
257893
- otilde: 245,
257894
- ouml: 246,
257895
- szlig: 223,
257896
- thorn: 254,
257897
- uacute: 250,
257898
- ucirc: 251,
257899
- ugrave: 249,
257900
- uuml: 252,
257901
- yacute: 253,
257902
- yuml: 255,
257903
- copy: 169,
257904
- reg: 174,
257905
- nbsp: 160,
257906
- iexcl: 161,
257907
- cent: 162,
257908
- pound: 163,
257909
- curren: 164,
257910
- yen: 165,
257911
- brvbar: 166,
257912
- sect: 167,
257913
- uml: 168,
257914
- ordf: 170,
257915
- laquo: 171,
257916
- not: 172,
257917
- shy: 173,
257918
- macr: 175,
257919
- deg: 176,
257920
- plusmn: 177,
257921
- sup1: 185,
257922
- sup2: 178,
257923
- sup3: 179,
257924
- acute: 180,
257925
- micro: 181,
257926
- para: 182,
257927
- middot: 183,
257928
- cedil: 184,
257929
- ordm: 186,
257930
- raquo: 187,
257931
- frac14: 188,
257932
- frac12: 189,
257933
- frac34: 190,
257934
- iquest: 191,
257935
- times: 215,
257936
- divide: 247,
257937
- OElig: 338,
257938
- oelig: 339,
257939
- Scaron: 352,
257940
- scaron: 353,
257941
- Yuml: 376,
257942
- fnof: 402,
257943
- circ: 710,
257944
- tilde: 732,
257945
- Alpha: 913,
257946
- Beta: 914,
257947
- Gamma: 915,
257948
- Delta: 916,
257949
- Epsilon: 917,
257950
- Zeta: 918,
257951
- Eta: 919,
257952
- Theta: 920,
257953
- Iota: 921,
257954
- Kappa: 922,
257955
- Lambda: 923,
257956
- Mu: 924,
257957
- Nu: 925,
257958
- Xi: 926,
257959
- Omicron: 927,
257960
- Pi: 928,
257961
- Rho: 929,
257962
- Sigma: 931,
257963
- Tau: 932,
257964
- Upsilon: 933,
257965
- Phi: 934,
257966
- Chi: 935,
257967
- Psi: 936,
257968
- Omega: 937,
257969
- alpha: 945,
257970
- beta: 946,
257971
- gamma: 947,
257972
- delta: 948,
257973
- epsilon: 949,
257974
- zeta: 950,
257975
- eta: 951,
257976
- theta: 952,
257977
- iota: 953,
257978
- kappa: 954,
257979
- lambda: 955,
257980
- mu: 956,
257981
- nu: 957,
257982
- xi: 958,
257983
- omicron: 959,
257984
- pi: 960,
257985
- rho: 961,
257986
- sigmaf: 962,
257987
- sigma: 963,
257988
- tau: 964,
257989
- upsilon: 965,
257990
- phi: 966,
257991
- chi: 967,
257992
- psi: 968,
257993
- omega: 969,
257994
- thetasym: 977,
257995
- upsih: 978,
257996
- piv: 982,
257997
- ensp: 8194,
257998
- emsp: 8195,
257999
- thinsp: 8201,
258000
- zwnj: 8204,
258001
- zwj: 8205,
258002
- lrm: 8206,
258003
- rlm: 8207,
258004
- ndash: 8211,
258005
- mdash: 8212,
258006
- lsquo: 8216,
258007
- rsquo: 8217,
258008
- sbquo: 8218,
258009
- ldquo: 8220,
258010
- rdquo: 8221,
258011
- bdquo: 8222,
258012
- dagger: 8224,
258013
- Dagger: 8225,
258014
- bull: 8226,
258015
- hellip: 8230,
258016
- permil: 8240,
258017
- prime: 8242,
258018
- Prime: 8243,
258019
- lsaquo: 8249,
258020
- rsaquo: 8250,
258021
- oline: 8254,
258022
- frasl: 8260,
258023
- euro: 8364,
258024
- image: 8465,
258025
- weierp: 8472,
258026
- real: 8476,
258027
- trade: 8482,
258028
- alefsym: 8501,
258029
- larr: 8592,
258030
- uarr: 8593,
258031
- rarr: 8594,
258032
- darr: 8595,
258033
- harr: 8596,
258034
- crarr: 8629,
258035
- lArr: 8656,
258036
- uArr: 8657,
258037
- rArr: 8658,
258038
- dArr: 8659,
258039
- hArr: 8660,
258040
- forall: 8704,
258041
- part: 8706,
258042
- exist: 8707,
258043
- empty: 8709,
258044
- nabla: 8711,
258045
- isin: 8712,
258046
- notin: 8713,
258047
- ni: 8715,
258048
- prod: 8719,
258049
- sum: 8721,
258050
- minus: 8722,
258051
- lowast: 8727,
258052
- radic: 8730,
258053
- prop: 8733,
258054
- infin: 8734,
258055
- ang: 8736,
258056
- and: 8743,
258057
- or: 8744,
258058
- cap: 8745,
258059
- cup: 8746,
258060
- int: 8747,
258061
- there4: 8756,
258062
- sim: 8764,
258063
- cong: 8773,
258064
- asymp: 8776,
258065
- ne: 8800,
258066
- equiv: 8801,
258067
- le: 8804,
258068
- ge: 8805,
258069
- sub: 8834,
258070
- sup: 8835,
258071
- nsub: 8836,
258072
- sube: 8838,
258073
- supe: 8839,
258074
- oplus: 8853,
258075
- otimes: 8855,
258076
- perp: 8869,
258077
- sdot: 8901,
258078
- lceil: 8968,
258079
- rceil: 8969,
258080
- lfloor: 8970,
258081
- rfloor: 8971,
258082
- lang: 9001,
258083
- rang: 9002,
258084
- loz: 9674,
258085
- spades: 9824,
258086
- clubs: 9827,
258087
- hearts: 9829,
258088
- diams: 9830
258089
- };
258090
- Object.keys(sax.ENTITIES).forEach(function(key) {
258091
- var e = sax.ENTITIES[key];
258092
- var s2 = typeof e === "number" ? String.fromCharCode(e) : e;
258093
- sax.ENTITIES[key] = s2;
258094
- });
258095
- for (var s in sax.STATE) {
258096
- sax.STATE[sax.STATE[s]] = s;
258097
- }
258098
- S = sax.STATE;
258099
- function emit(parser, event, data) {
258100
- parser[event] && parser[event](data);
258101
- }
258102
- function getDeclaredEncoding(body) {
258103
- var match = body && body.match(/(?:^|\s)encoding\s*=\s*(['"])([^'"]+)\1/i);
258104
- return match ? match[2] : null;
258105
- }
258106
- function normalizeEncodingName(encoding) {
258107
- if (!encoding) {
258108
- return null;
258109
- }
258110
- return encoding.toLowerCase().replace(/[^a-z0-9]/g, "");
258111
- }
258112
- function encodingsMatch(detectedEncoding, declaredEncoding) {
258113
- const detected = normalizeEncodingName(detectedEncoding);
258114
- const declared = normalizeEncodingName(declaredEncoding);
258115
- if (!detected || !declared) {
258116
- return true;
258117
- }
258118
- if (declared === "utf16") {
258119
- return detected === "utf16le" || detected === "utf16be";
258120
- }
258121
- return detected === declared;
258122
- }
258123
- function validateXmlDeclarationEncoding(parser, data) {
258124
- if (!parser.strict || !parser.encoding || !data || data.name !== "xml") {
258125
- return;
258126
- }
258127
- var declaredEncoding = getDeclaredEncoding(data.body);
258128
- if (declaredEncoding && !encodingsMatch(parser.encoding, declaredEncoding)) {
258129
- strictFail(parser, "XML declaration encoding " + declaredEncoding + " does not match detected stream encoding " + parser.encoding.toUpperCase());
258130
- }
258131
- }
258132
- function emitNode(parser, nodeType, data) {
258133
- if (parser.textNode)
258134
- closeText(parser);
258135
- emit(parser, nodeType, data);
258136
- }
258137
- function closeText(parser) {
258138
- parser.textNode = textopts(parser.opt, parser.textNode);
258139
- if (parser.textNode)
258140
- emit(parser, "ontext", parser.textNode);
258141
- parser.textNode = "";
258142
- }
258143
- function textopts(opt, text) {
258144
- if (opt.trim)
258145
- text = text.trim();
258146
- if (opt.normalize)
258147
- text = text.replace(/\s+/g, " ");
258148
- return text;
258149
- }
258150
- function error(parser, er) {
258151
- closeText(parser);
258152
- if (parser.trackPosition) {
258153
- er += `
258154
- Line: ` + parser.line + `
258155
- Column: ` + parser.column + `
258156
- Char: ` + parser.c;
258157
- }
258158
- er = new Error(er);
258159
- parser.error = er;
258160
- emit(parser, "onerror", er);
258161
- return parser;
258162
- }
258163
- function end(parser) {
258164
- if (parser.sawRoot && !parser.closedRoot)
258165
- strictFail(parser, "Unclosed root tag");
258166
- if (parser.state !== S.BEGIN && parser.state !== S.BEGIN_WHITESPACE && parser.state !== S.TEXT) {
258167
- error(parser, "Unexpected end");
258168
- }
258169
- closeText(parser);
258170
- parser.c = "";
258171
- parser.closed = true;
258172
- emit(parser, "onend");
258173
- SAXParser.call(parser, parser.strict, parser.opt);
258174
- return parser;
258175
- }
258176
- function strictFail(parser, message) {
258177
- if (typeof parser !== "object" || !(parser instanceof SAXParser)) {
258178
- throw new Error("bad call to strictFail");
258179
- }
258180
- if (parser.strict) {
258181
- error(parser, message);
258182
- }
258183
- }
258184
- function newTag(parser) {
258185
- if (!parser.strict)
258186
- parser.tagName = parser.tagName[parser.looseCase]();
258187
- var parent = parser.tags[parser.tags.length - 1] || parser;
258188
- var tag = parser.tag = { name: parser.tagName, attributes: {} };
258189
- if (parser.opt.xmlns) {
258190
- tag.ns = parent.ns;
258191
- }
258192
- parser.attribList.length = 0;
258193
- emitNode(parser, "onopentagstart", tag);
258194
- }
258195
- function qname(name2, attribute) {
258196
- var i = name2.indexOf(":");
258197
- var qualName = i < 0 ? ["", name2] : name2.split(":");
258198
- var prefix = qualName[0];
258199
- var local = qualName[1];
258200
- if (attribute && name2 === "xmlns") {
258201
- prefix = "xmlns";
258202
- local = "";
258203
- }
258204
- return { prefix, local };
258205
- }
258206
- function attrib(parser) {
258207
- if (!parser.strict) {
258208
- parser.attribName = parser.attribName[parser.looseCase]();
258209
- }
258210
- if (parser.attribList.indexOf(parser.attribName) !== -1 || parser.tag.attributes.hasOwnProperty(parser.attribName)) {
258211
- parser.attribName = parser.attribValue = "";
258212
- return;
258213
- }
258214
- if (parser.opt.xmlns) {
258215
- var qn = qname(parser.attribName, true);
258216
- var prefix = qn.prefix;
258217
- var local = qn.local;
258218
- if (prefix === "xmlns") {
258219
- if (local === "xml" && parser.attribValue !== XML_NAMESPACE) {
258220
- strictFail(parser, "xml: prefix must be bound to " + XML_NAMESPACE + `
258221
- ` + "Actual: " + parser.attribValue);
258222
- } else if (local === "xmlns" && parser.attribValue !== XMLNS_NAMESPACE) {
258223
- strictFail(parser, "xmlns: prefix must be bound to " + XMLNS_NAMESPACE + `
258224
- ` + "Actual: " + parser.attribValue);
258225
- } else {
258226
- var tag = parser.tag;
258227
- var parent = parser.tags[parser.tags.length - 1] || parser;
258228
- if (tag.ns === parent.ns) {
258229
- tag.ns = Object.create(parent.ns);
258230
- }
258231
- tag.ns[local] = parser.attribValue;
258232
- }
258233
- }
258234
- parser.attribList.push([parser.attribName, parser.attribValue]);
258235
- } else {
258236
- parser.tag.attributes[parser.attribName] = parser.attribValue;
258237
- emitNode(parser, "onattribute", {
258238
- name: parser.attribName,
258239
- value: parser.attribValue
258240
- });
258241
- }
258242
- parser.attribName = parser.attribValue = "";
258243
- }
258244
- function openTag(parser, selfClosing) {
258245
- if (parser.opt.xmlns) {
258246
- var tag = parser.tag;
258247
- var qn = qname(parser.tagName);
258248
- tag.prefix = qn.prefix;
258249
- tag.local = qn.local;
258250
- tag.uri = tag.ns[qn.prefix] || "";
258251
- if (tag.prefix && !tag.uri) {
258252
- strictFail(parser, "Unbound namespace prefix: " + JSON.stringify(parser.tagName));
258253
- tag.uri = qn.prefix;
258254
- }
258255
- var parent = parser.tags[parser.tags.length - 1] || parser;
258256
- if (tag.ns && parent.ns !== tag.ns) {
258257
- Object.keys(tag.ns).forEach(function(p) {
258258
- emitNode(parser, "onopennamespace", {
258259
- prefix: p,
258260
- uri: tag.ns[p]
258261
- });
258262
- });
258263
- }
258264
- for (var i = 0, l = parser.attribList.length;i < l; i++) {
258265
- var nv = parser.attribList[i];
258266
- var name2 = nv[0];
258267
- var value = nv[1];
258268
- var qualName = qname(name2, true);
258269
- var prefix = qualName.prefix;
258270
- var local = qualName.local;
258271
- var uri = prefix === "" ? "" : tag.ns[prefix] || "";
258272
- var a = {
258273
- name: name2,
258274
- value,
258275
- prefix,
258276
- local,
258277
- uri
258278
- };
258279
- if (prefix && prefix !== "xmlns" && !uri) {
258280
- strictFail(parser, "Unbound namespace prefix: " + JSON.stringify(prefix));
258281
- a.uri = prefix;
258282
- }
258283
- parser.tag.attributes[name2] = a;
258284
- emitNode(parser, "onattribute", a);
258285
- }
258286
- parser.attribList.length = 0;
258287
- }
258288
- parser.tag.isSelfClosing = !!selfClosing;
258289
- parser.sawRoot = true;
258290
- parser.tags.push(parser.tag);
258291
- emitNode(parser, "onopentag", parser.tag);
258292
- if (!selfClosing) {
258293
- if (!parser.noscript && parser.tagName.toLowerCase() === "script") {
258294
- parser.state = S.SCRIPT;
258295
- } else {
258296
- parser.state = S.TEXT;
258297
- }
258298
- parser.tag = null;
258299
- parser.tagName = "";
258300
- }
258301
- parser.attribName = parser.attribValue = "";
258302
- parser.attribList.length = 0;
258303
- }
258304
- function closeTag(parser) {
258305
- if (!parser.tagName) {
258306
- strictFail(parser, "Weird empty close tag.");
258307
- parser.textNode += "</>";
258308
- parser.state = S.TEXT;
258309
- return;
258310
- }
258311
- if (parser.script) {
258312
- if (parser.tagName !== "script") {
258313
- parser.script += "</" + parser.tagName + ">";
258314
- parser.tagName = "";
258315
- parser.state = S.SCRIPT;
258316
- return;
258317
- }
258318
- emitNode(parser, "onscript", parser.script);
258319
- parser.script = "";
258320
- }
258321
- var t = parser.tags.length;
258322
- var tagName = parser.tagName;
258323
- if (!parser.strict) {
258324
- tagName = tagName[parser.looseCase]();
258325
- }
258326
- var closeTo = tagName;
258327
- while (t--) {
258328
- var close = parser.tags[t];
258329
- if (close.name !== closeTo) {
258330
- strictFail(parser, "Unexpected close tag");
258331
- } else {
258332
- break;
258333
- }
258334
- }
258335
- if (t < 0) {
258336
- strictFail(parser, "Unmatched closing tag: " + parser.tagName);
258337
- parser.textNode += "</" + parser.tagName + ">";
258338
- parser.state = S.TEXT;
258339
- return;
258340
- }
258341
- parser.tagName = tagName;
258342
- var s2 = parser.tags.length;
258343
- while (s2-- > t) {
258344
- var tag = parser.tag = parser.tags.pop();
258345
- parser.tagName = parser.tag.name;
258346
- emitNode(parser, "onclosetag", parser.tagName);
258347
- var x = {};
258348
- for (var i in tag.ns) {
258349
- x[i] = tag.ns[i];
258350
- }
258351
- var parent = parser.tags[parser.tags.length - 1] || parser;
258352
- if (parser.opt.xmlns && tag.ns !== parent.ns) {
258353
- Object.keys(tag.ns).forEach(function(p) {
258354
- var n = tag.ns[p];
258355
- emitNode(parser, "onclosenamespace", { prefix: p, uri: n });
258356
- });
258357
- }
258358
- }
258359
- if (t === 0)
258360
- parser.closedRoot = true;
258361
- parser.tagName = parser.attribValue = parser.attribName = "";
258362
- parser.attribList.length = 0;
258363
- parser.state = S.TEXT;
258364
- }
258365
- function parseEntity(parser) {
258366
- var entity = parser.entity;
258367
- var entityLC = entity.toLowerCase();
258368
- var num;
258369
- var numStr = "";
258370
- if (parser.ENTITIES[entity]) {
258371
- return parser.ENTITIES[entity];
258372
- }
258373
- if (parser.ENTITIES[entityLC]) {
258374
- return parser.ENTITIES[entityLC];
258375
- }
258376
- entity = entityLC;
258377
- if (entity.charAt(0) === "#") {
258378
- if (entity.charAt(1) === "x") {
258379
- entity = entity.slice(2);
258380
- num = parseInt(entity, 16);
258381
- numStr = num.toString(16);
258382
- } else {
258383
- entity = entity.slice(1);
258384
- num = parseInt(entity, 10);
258385
- numStr = num.toString(10);
258386
- }
258387
- }
258388
- entity = entity.replace(/^0+/, "");
258389
- if (isNaN(num) || numStr.toLowerCase() !== entity || num < 0 || num > 1114111) {
258390
- strictFail(parser, "Invalid character entity");
258391
- return "&" + parser.entity + ";";
258392
- }
258393
- return String.fromCodePoint(num);
258394
- }
258395
- function beginWhiteSpace(parser, c) {
258396
- if (c === "<") {
258397
- parser.state = S.OPEN_WAKA;
258398
- parser.startTagPosition = parser.position;
258399
- } else if (!isWhitespace(c)) {
258400
- strictFail(parser, "Non-whitespace before first tag.");
258401
- parser.textNode = c;
258402
- parser.state = S.TEXT;
258403
- }
258404
- }
258405
- function charAt(chunk, i) {
258406
- var result = "";
258407
- if (i < chunk.length) {
258408
- result = chunk.charAt(i);
258409
- }
258410
- return result;
258411
- }
258412
- function write(chunk) {
258413
- var parser = this;
258414
- if (this.error) {
258415
- throw this.error;
258416
- }
258417
- if (parser.closed) {
258418
- return error(parser, "Cannot write after close. Assign an onready handler.");
258419
- }
258420
- if (chunk === null) {
258421
- return end(parser);
258422
- }
258423
- if (typeof chunk === "object") {
258424
- chunk = chunk.toString();
258425
- }
258426
- var i = 0;
258427
- var c = "";
258428
- while (true) {
258429
- c = charAt(chunk, i++);
258430
- parser.c = c;
258431
- if (!c) {
258432
- break;
258433
- }
258434
- if (parser.trackPosition) {
258435
- parser.position++;
258436
- if (c === `
258437
- `) {
258438
- parser.line++;
258439
- parser.column = 0;
258440
- } else {
258441
- parser.column++;
258442
- }
258443
- }
258444
- switch (parser.state) {
258445
- case S.BEGIN:
258446
- parser.state = S.BEGIN_WHITESPACE;
258447
- if (c === "\uFEFF") {
258448
- continue;
258449
- }
258450
- beginWhiteSpace(parser, c);
258451
- continue;
258452
- case S.BEGIN_WHITESPACE:
258453
- beginWhiteSpace(parser, c);
258454
- continue;
258455
- case S.TEXT:
258456
- if (parser.sawRoot && !parser.closedRoot) {
258457
- var starti = i - 1;
258458
- while (c && c !== "<" && c !== "&") {
258459
- c = charAt(chunk, i++);
258460
- if (c && parser.trackPosition) {
258461
- parser.position++;
258462
- if (c === `
258463
- `) {
258464
- parser.line++;
258465
- parser.column = 0;
258466
- } else {
258467
- parser.column++;
258468
- }
258469
- }
258470
- }
258471
- parser.textNode += chunk.substring(starti, i - 1);
258472
- }
258473
- if (c === "<" && !(parser.sawRoot && parser.closedRoot && !parser.strict)) {
258474
- parser.state = S.OPEN_WAKA;
258475
- parser.startTagPosition = parser.position;
258476
- } else {
258477
- if (!isWhitespace(c) && (!parser.sawRoot || parser.closedRoot)) {
258478
- strictFail(parser, "Text data outside of root node.");
258479
- }
258480
- if (c === "&") {
258481
- parser.state = S.TEXT_ENTITY;
258482
- } else {
258483
- parser.textNode += c;
258484
- }
258485
- }
258486
- continue;
258487
- case S.SCRIPT:
258488
- if (c === "<") {
258489
- parser.state = S.SCRIPT_ENDING;
258490
- } else {
258491
- parser.script += c;
258492
- }
258493
- continue;
258494
- case S.SCRIPT_ENDING:
258495
- if (c === "/") {
258496
- parser.state = S.CLOSE_TAG;
258497
- } else {
258498
- parser.script += "<" + c;
258499
- parser.state = S.SCRIPT;
258500
- }
258501
- continue;
258502
- case S.OPEN_WAKA:
258503
- if (c === "!") {
258504
- parser.state = S.SGML_DECL;
258505
- parser.sgmlDecl = "";
258506
- } else if (isWhitespace(c)) {} else if (isMatch(nameStart, c)) {
258507
- parser.state = S.OPEN_TAG;
258508
- parser.tagName = c;
258509
- } else if (c === "/") {
258510
- parser.state = S.CLOSE_TAG;
258511
- parser.tagName = "";
258512
- } else if (c === "?") {
258513
- parser.state = S.PROC_INST;
258514
- parser.procInstName = parser.procInstBody = "";
258515
- } else {
258516
- strictFail(parser, "Unencoded <");
258517
- if (parser.startTagPosition + 1 < parser.position) {
258518
- var pad = parser.position - parser.startTagPosition;
258519
- c = new Array(pad).join(" ") + c;
258520
- }
258521
- parser.textNode += "<" + c;
258522
- parser.state = S.TEXT;
258523
- }
258524
- continue;
258525
- case S.SGML_DECL:
258526
- if (parser.sgmlDecl + c === "--") {
258527
- parser.state = S.COMMENT;
258528
- parser.comment = "";
258529
- parser.sgmlDecl = "";
258530
- continue;
258531
- }
258532
- if (parser.doctype && parser.doctype !== true && parser.sgmlDecl) {
258533
- parser.state = S.DOCTYPE_DTD;
258534
- parser.doctype += "<!" + parser.sgmlDecl + c;
258535
- parser.sgmlDecl = "";
258536
- } else if ((parser.sgmlDecl + c).toUpperCase() === CDATA) {
258537
- emitNode(parser, "onopencdata");
258538
- parser.state = S.CDATA;
258539
- parser.sgmlDecl = "";
258540
- parser.cdata = "";
258541
- } else if ((parser.sgmlDecl + c).toUpperCase() === DOCTYPE) {
258542
- parser.state = S.DOCTYPE;
258543
- if (parser.doctype || parser.sawRoot) {
258544
- strictFail(parser, "Inappropriately located doctype declaration");
258545
- }
258546
- parser.doctype = "";
258547
- parser.sgmlDecl = "";
258548
- } else if (c === ">") {
258549
- emitNode(parser, "onsgmldeclaration", parser.sgmlDecl);
258550
- parser.sgmlDecl = "";
258551
- parser.state = S.TEXT;
258552
- } else if (isQuote(c)) {
258553
- parser.state = S.SGML_DECL_QUOTED;
258554
- parser.sgmlDecl += c;
258555
- } else {
258556
- parser.sgmlDecl += c;
258557
- }
258558
- continue;
258559
- case S.SGML_DECL_QUOTED:
258560
- if (c === parser.q) {
258561
- parser.state = S.SGML_DECL;
258562
- parser.q = "";
258563
- }
258564
- parser.sgmlDecl += c;
258565
- continue;
258566
- case S.DOCTYPE:
258567
- if (c === ">") {
258568
- parser.state = S.TEXT;
258569
- emitNode(parser, "ondoctype", parser.doctype);
258570
- parser.doctype = true;
258571
- } else {
258572
- parser.doctype += c;
258573
- if (c === "[") {
258574
- parser.state = S.DOCTYPE_DTD;
258575
- } else if (isQuote(c)) {
258576
- parser.state = S.DOCTYPE_QUOTED;
258577
- parser.q = c;
258578
- }
258579
- }
258580
- continue;
258581
- case S.DOCTYPE_QUOTED:
258582
- parser.doctype += c;
258583
- if (c === parser.q) {
258584
- parser.q = "";
258585
- parser.state = S.DOCTYPE;
258586
- }
258587
- continue;
258588
- case S.DOCTYPE_DTD:
258589
- if (c === "]") {
258590
- parser.doctype += c;
258591
- parser.state = S.DOCTYPE;
258592
- } else if (c === "<") {
258593
- parser.state = S.OPEN_WAKA;
258594
- parser.startTagPosition = parser.position;
258595
- } else if (isQuote(c)) {
258596
- parser.doctype += c;
258597
- parser.state = S.DOCTYPE_DTD_QUOTED;
258598
- parser.q = c;
258599
- } else {
258600
- parser.doctype += c;
258601
- }
258602
- continue;
258603
- case S.DOCTYPE_DTD_QUOTED:
258604
- parser.doctype += c;
258605
- if (c === parser.q) {
258606
- parser.state = S.DOCTYPE_DTD;
258607
- parser.q = "";
258608
- }
258609
- continue;
258610
- case S.COMMENT:
258611
- if (c === "-") {
258612
- parser.state = S.COMMENT_ENDING;
258613
- } else {
258614
- parser.comment += c;
258615
- }
258616
- continue;
258617
- case S.COMMENT_ENDING:
258618
- if (c === "-") {
258619
- parser.state = S.COMMENT_ENDED;
258620
- parser.comment = textopts(parser.opt, parser.comment);
258621
- if (parser.comment) {
258622
- emitNode(parser, "oncomment", parser.comment);
258623
- }
258624
- parser.comment = "";
258625
- } else {
258626
- parser.comment += "-" + c;
258627
- parser.state = S.COMMENT;
258628
- }
258629
- continue;
258630
- case S.COMMENT_ENDED:
258631
- if (c !== ">") {
258632
- strictFail(parser, "Malformed comment");
258633
- parser.comment += "--" + c;
258634
- parser.state = S.COMMENT;
258635
- } else if (parser.doctype && parser.doctype !== true) {
258636
- parser.state = S.DOCTYPE_DTD;
258637
- } else {
258638
- parser.state = S.TEXT;
258639
- }
258640
- continue;
258641
- case S.CDATA:
258642
- var starti = i - 1;
258643
- while (c && c !== "]") {
258644
- c = charAt(chunk, i++);
258645
- if (c && parser.trackPosition) {
258646
- parser.position++;
258647
- if (c === `
258648
- `) {
258649
- parser.line++;
258650
- parser.column = 0;
258651
- } else {
258652
- parser.column++;
258653
- }
258654
- }
258655
- }
258656
- parser.cdata += chunk.substring(starti, i - 1);
258657
- if (c === "]") {
258658
- parser.state = S.CDATA_ENDING;
258659
- }
258660
- continue;
258661
- case S.CDATA_ENDING:
258662
- if (c === "]") {
258663
- parser.state = S.CDATA_ENDING_2;
258664
- } else {
258665
- parser.cdata += "]" + c;
258666
- parser.state = S.CDATA;
258667
- }
258668
- continue;
258669
- case S.CDATA_ENDING_2:
258670
- if (c === ">") {
258671
- if (parser.cdata) {
258672
- emitNode(parser, "oncdata", parser.cdata);
258673
- }
258674
- emitNode(parser, "onclosecdata");
258675
- parser.cdata = "";
258676
- parser.state = S.TEXT;
258677
- } else if (c === "]") {
258678
- parser.cdata += "]";
258679
- } else {
258680
- parser.cdata += "]]" + c;
258681
- parser.state = S.CDATA;
258682
- }
258683
- continue;
258684
- case S.PROC_INST:
258685
- if (c === "?") {
258686
- parser.state = S.PROC_INST_ENDING;
258687
- } else if (isWhitespace(c)) {
258688
- parser.state = S.PROC_INST_BODY;
258689
- } else {
258690
- parser.procInstName += c;
258691
- }
258692
- continue;
258693
- case S.PROC_INST_BODY:
258694
- if (!parser.procInstBody && isWhitespace(c)) {
258695
- continue;
258696
- } else if (c === "?") {
258697
- parser.state = S.PROC_INST_ENDING;
258698
- } else {
258699
- parser.procInstBody += c;
258700
- }
258701
- continue;
258702
- case S.PROC_INST_ENDING:
258703
- if (c === ">") {
258704
- const procInstEndData = {
258705
- name: parser.procInstName,
258706
- body: parser.procInstBody
258707
- };
258708
- validateXmlDeclarationEncoding(parser, procInstEndData);
258709
- emitNode(parser, "onprocessinginstruction", procInstEndData);
258710
- parser.procInstName = parser.procInstBody = "";
258711
- parser.state = S.TEXT;
258712
- } else {
258713
- parser.procInstBody += "?" + c;
258714
- parser.state = S.PROC_INST_BODY;
258715
- }
258716
- continue;
258717
- case S.OPEN_TAG:
258718
- if (isMatch(nameBody, c)) {
258719
- parser.tagName += c;
258720
- } else {
258721
- newTag(parser);
258722
- if (c === ">") {
258723
- openTag(parser);
258724
- } else if (c === "/") {
258725
- parser.state = S.OPEN_TAG_SLASH;
258726
- } else {
258727
- if (!isWhitespace(c)) {
258728
- strictFail(parser, "Invalid character in tag name");
258729
- }
258730
- parser.state = S.ATTRIB;
258731
- }
258732
- }
258733
- continue;
258734
- case S.OPEN_TAG_SLASH:
258735
- if (c === ">") {
258736
- openTag(parser, true);
258737
- closeTag(parser);
258738
- } else {
258739
- strictFail(parser, "Forward-slash in opening tag not followed by >");
258740
- parser.state = S.ATTRIB;
258741
- }
258742
- continue;
258743
- case S.ATTRIB:
258744
- if (isWhitespace(c)) {
258745
- continue;
258746
- } else if (c === ">") {
258747
- openTag(parser);
258748
- } else if (c === "/") {
258749
- parser.state = S.OPEN_TAG_SLASH;
258750
- } else if (isMatch(nameStart, c)) {
258751
- parser.attribName = c;
258752
- parser.attribValue = "";
258753
- parser.state = S.ATTRIB_NAME;
258754
- } else {
258755
- strictFail(parser, "Invalid attribute name");
258756
- }
258757
- continue;
258758
- case S.ATTRIB_NAME:
258759
- if (c === "=") {
258760
- parser.state = S.ATTRIB_VALUE;
258761
- } else if (c === ">") {
258762
- strictFail(parser, "Attribute without value");
258763
- parser.attribValue = parser.attribName;
258764
- attrib(parser);
258765
- openTag(parser);
258766
- } else if (isWhitespace(c)) {
258767
- parser.state = S.ATTRIB_NAME_SAW_WHITE;
258768
- } else if (isMatch(nameBody, c)) {
258769
- parser.attribName += c;
258770
- } else {
258771
- strictFail(parser, "Invalid attribute name");
258772
- }
258773
- continue;
258774
- case S.ATTRIB_NAME_SAW_WHITE:
258775
- if (c === "=") {
258776
- parser.state = S.ATTRIB_VALUE;
258777
- } else if (isWhitespace(c)) {
258778
- continue;
258779
- } else {
258780
- strictFail(parser, "Attribute without value");
258781
- parser.tag.attributes[parser.attribName] = "";
258782
- parser.attribValue = "";
258783
- emitNode(parser, "onattribute", {
258784
- name: parser.attribName,
258785
- value: ""
258786
- });
258787
- parser.attribName = "";
258788
- if (c === ">") {
258789
- openTag(parser);
258790
- } else if (isMatch(nameStart, c)) {
258791
- parser.attribName = c;
258792
- parser.state = S.ATTRIB_NAME;
258793
- } else {
258794
- strictFail(parser, "Invalid attribute name");
258795
- parser.state = S.ATTRIB;
258796
- }
258797
- }
258798
- continue;
258799
- case S.ATTRIB_VALUE:
258800
- if (isWhitespace(c)) {
258801
- continue;
258802
- } else if (isQuote(c)) {
258803
- parser.q = c;
258804
- parser.state = S.ATTRIB_VALUE_QUOTED;
258805
- } else {
258806
- if (!parser.opt.unquotedAttributeValues) {
258807
- error(parser, "Unquoted attribute value");
258808
- }
258809
- parser.state = S.ATTRIB_VALUE_UNQUOTED;
258810
- parser.attribValue = c;
258811
- }
258812
- continue;
258813
- case S.ATTRIB_VALUE_QUOTED:
258814
- if (c !== parser.q) {
258815
- if (c === "&") {
258816
- parser.state = S.ATTRIB_VALUE_ENTITY_Q;
258817
- } else {
258818
- parser.attribValue += c;
258819
- }
258820
- continue;
258821
- }
258822
- attrib(parser);
258823
- parser.q = "";
258824
- parser.state = S.ATTRIB_VALUE_CLOSED;
258825
- continue;
258826
- case S.ATTRIB_VALUE_CLOSED:
258827
- if (isWhitespace(c)) {
258828
- parser.state = S.ATTRIB;
258829
- } else if (c === ">") {
258830
- openTag(parser);
258831
- } else if (c === "/") {
258832
- parser.state = S.OPEN_TAG_SLASH;
258833
- } else if (isMatch(nameStart, c)) {
258834
- strictFail(parser, "No whitespace between attributes");
258835
- parser.attribName = c;
258836
- parser.attribValue = "";
258837
- parser.state = S.ATTRIB_NAME;
258838
- } else {
258839
- strictFail(parser, "Invalid attribute name");
258840
- }
258841
- continue;
258842
- case S.ATTRIB_VALUE_UNQUOTED:
258843
- if (!isAttribEnd(c)) {
258844
- if (c === "&") {
258845
- parser.state = S.ATTRIB_VALUE_ENTITY_U;
258846
- } else {
258847
- parser.attribValue += c;
258848
- }
258849
- continue;
258850
- }
258851
- attrib(parser);
258852
- if (c === ">") {
258853
- openTag(parser);
258854
- } else {
258855
- parser.state = S.ATTRIB;
258856
- }
258857
- continue;
258858
- case S.CLOSE_TAG:
258859
- if (!parser.tagName) {
258860
- if (isWhitespace(c)) {
258861
- continue;
258862
- } else if (notMatch(nameStart, c)) {
258863
- if (parser.script) {
258864
- parser.script += "</" + c;
258865
- parser.state = S.SCRIPT;
258866
- } else {
258867
- strictFail(parser, "Invalid tagname in closing tag.");
258868
- }
258869
- } else {
258870
- parser.tagName = c;
258871
- }
258872
- } else if (c === ">") {
258873
- closeTag(parser);
258874
- } else if (isMatch(nameBody, c)) {
258875
- parser.tagName += c;
258876
- } else if (parser.script) {
258877
- parser.script += "</" + parser.tagName + c;
258878
- parser.tagName = "";
258879
- parser.state = S.SCRIPT;
258880
- } else {
258881
- if (!isWhitespace(c)) {
258882
- strictFail(parser, "Invalid tagname in closing tag");
258883
- }
258884
- parser.state = S.CLOSE_TAG_SAW_WHITE;
258885
- }
258886
- continue;
258887
- case S.CLOSE_TAG_SAW_WHITE:
258888
- if (isWhitespace(c)) {
258889
- continue;
258890
- }
258891
- if (c === ">") {
258892
- closeTag(parser);
258893
- } else {
258894
- strictFail(parser, "Invalid characters in closing tag");
258895
- }
258896
- continue;
258897
- case S.TEXT_ENTITY:
258898
- case S.ATTRIB_VALUE_ENTITY_Q:
258899
- case S.ATTRIB_VALUE_ENTITY_U:
258900
- var returnState;
258901
- var buffer;
258902
- switch (parser.state) {
258903
- case S.TEXT_ENTITY:
258904
- returnState = S.TEXT;
258905
- buffer = "textNode";
258906
- break;
258907
- case S.ATTRIB_VALUE_ENTITY_Q:
258908
- returnState = S.ATTRIB_VALUE_QUOTED;
258909
- buffer = "attribValue";
258910
- break;
258911
- case S.ATTRIB_VALUE_ENTITY_U:
258912
- returnState = S.ATTRIB_VALUE_UNQUOTED;
258913
- buffer = "attribValue";
258914
- break;
258915
- }
258916
- if (c === ";") {
258917
- var parsedEntity = parseEntity(parser);
258918
- if (parser.opt.unparsedEntities && !Object.values(sax.XML_ENTITIES).includes(parsedEntity)) {
258919
- if ((parser.entityCount += 1) > parser.opt.maxEntityCount) {
258920
- error(parser, "Parsed entity count exceeds max entity count");
258921
- }
258922
- if ((parser.entityDepth += 1) > parser.opt.maxEntityDepth) {
258923
- error(parser, "Parsed entity depth exceeds max entity depth");
258924
- }
258925
- parser.entity = "";
258926
- parser.state = returnState;
258927
- parser.write(parsedEntity);
258928
- parser.entityDepth -= 1;
258929
- } else {
258930
- parser[buffer] += parsedEntity;
258931
- parser.entity = "";
258932
- parser.state = returnState;
258933
- }
258934
- } else if (isMatch(parser.entity.length ? entityBody : entityStart, c)) {
258935
- parser.entity += c;
258936
- } else {
258937
- strictFail(parser, "Invalid character in entity name");
258938
- parser[buffer] += "&" + parser.entity + c;
258939
- parser.entity = "";
258940
- parser.state = returnState;
258941
- }
258942
- continue;
258943
- default: {
258944
- throw new Error(parser, "Unknown state: " + parser.state);
258945
- }
258946
- }
258947
- }
258948
- if (parser.position >= parser.bufferCheckPosition) {
258949
- checkBufferLength(parser);
258950
- }
258951
- return parser;
258952
- }
258953
- /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
258954
- if (!String.fromCodePoint) {
258955
- (function() {
258956
- var stringFromCharCode = String.fromCharCode;
258957
- var floor = Math.floor;
258958
- var fromCodePoint = function() {
258959
- var MAX_SIZE = 16384;
258960
- var codeUnits = [];
258961
- var highSurrogate;
258962
- var lowSurrogate;
258963
- var index = -1;
258964
- var length = arguments.length;
258965
- if (!length) {
258966
- return "";
258967
- }
258968
- var result = "";
258969
- while (++index < length) {
258970
- var codePoint = Number(arguments[index]);
258971
- if (!isFinite(codePoint) || codePoint < 0 || codePoint > 1114111 || floor(codePoint) !== codePoint) {
258972
- throw RangeError("Invalid code point: " + codePoint);
258973
- }
258974
- if (codePoint <= 65535) {
258975
- codeUnits.push(codePoint);
258976
- } else {
258977
- codePoint -= 65536;
258978
- highSurrogate = (codePoint >> 10) + 55296;
258979
- lowSurrogate = codePoint % 1024 + 56320;
258980
- codeUnits.push(highSurrogate, lowSurrogate);
258981
- }
258982
- if (index + 1 === length || codeUnits.length > MAX_SIZE) {
258983
- result += stringFromCharCode.apply(null, codeUnits);
258984
- codeUnits.length = 0;
258985
- }
258986
- }
258987
- return result;
258988
- };
258989
- if (Object.defineProperty) {
258990
- Object.defineProperty(String, "fromCodePoint", {
258991
- value: fromCodePoint,
258992
- configurable: true,
258993
- writable: true
258994
- });
258995
- } else {
258996
- String.fromCodePoint = fromCodePoint;
258997
- }
258998
- })();
258999
- }
259000
- })(typeof exports === "undefined" ? exports.sax = {} : exports);
259001
- });
259002
-
259003
257469
  // ../../node_modules/@uipath/flow-core/dist/chunk-OAE6QAZ7.js
259004
257470
  var manifest_category_agentToolAgent_name = "Agent", manifest_category_agentToolAgenticProcess_name = "Agentic process", manifest_category_agentToolApi_name = "API workflow", manifest_category_agentToolBuiltIn_name = "Built-in tools", manifest_category_agentToolConnector_name = "Connector", manifest_category_agentToolIxp_name = "IXP", manifest_category_agentToolMcp_name = "MCP server", manifest_category_agentToolRpa_name = "RPA workflow", manifest_category_agentTool_name = "Agent tool", manifest_category_agent_description = "AI agents that plan and act", manifest_category_agent_name = "Agent", manifest_category_agenticProcess_description = "Reference a Maestro BPMN process", manifest_category_agenticProcess_name = "Maestro BPMN", manifest_category_apiWorkflow_description = "Reference an API workflow", manifest_category_apiWorkflow_name = "API workflow", manifest_category_caseManagement_name = "Maestro case", manifest_category_connector_description = "Connect to apps and APIs", manifest_category_connector_name = "Connector", manifest_category_controlFlow_description = "Branch, loop, and control flow", manifest_category_controlFlow_name = "Control", manifest_category_conversational_name = "Conversational", manifest_category_dataFabric_name = "Data Fabric", manifest_category_documentExtraction_name = "Extract", manifest_category_documentProcessing_description = "Analyze, summarize, and extract from files", manifest_category_documentProcessing_name = "Document", manifest_category_externalAgent_description = "Run an external agent as a node", manifest_category_externalAgent_name = "Third-party agent", manifest_category_flow_description = "Reference a Maestro flow", manifest_category_flow_name = "Maestro flow", manifest_category_function_name = "Function", manifest_category_humanTask_description = "Route work to a person", manifest_category_humanTask_name = "Human", manifest_category_patterns_description = "Pre-wired multi-node setups", manifest_category_patterns_name = "Patterns", manifest_category_rpaWorkflow_description = "Reference an RPA workflow", manifest_category_rpaWorkflow_name = "RPA workflow", manifest_category_tool_description = "Scripts and built-in tool activities", manifest_category_tool_name = "Tool", manifest_category_trigger_description = "Start the flow from an event", manifest_category_trigger_name = "Trigger", manifest_handle_agentTool_validationMessage = "Only Agent's tool handle can connect here", manifest_handle_context_createNewAction_description = "Opens in a new tab", manifest_handle_context_createNewAction_label = "Create new Context", manifest_handle_tool_createNewAction_label = "Create new MCP server", manifest_nodeBuilder_appProperties_actionCatalogName_label = "Action catalog name", manifest_nodeBuilder_appProperties_actionCatalogName_placeholder = "Search for an action catalog", manifest_nodeBuilder_appProperties_assignee_label = "Assignee", manifest_nodeBuilder_appProperties_assignee_placeholder = "Search by name or email", manifest_nodeBuilder_appProperties_enableActionableMessages_label = "Enable actionable messages", manifest_nodeBuilder_appProperties_labels_label = "Labels", manifest_nodeBuilder_appProperties_labels_placeholder = "Add custom labels, separated by commas", manifest_nodeBuilder_appProperties_priority_criticalOption = "Critical", manifest_nodeBuilder_appProperties_priority_highOption = "High", manifest_nodeBuilder_appProperties_priority_label = "Priority", manifest_nodeBuilder_appProperties_priority_lowOption = "Low", manifest_nodeBuilder_appProperties_priority_mediumOption = "Medium", manifest_nodeBuilder_appProperties_priority_required = "Priority is required", manifest_nodeBuilder_appProperties_section_title = "Properties", manifest_nodeBuilder_appProperties_taskTitle_label = "Task title", manifest_nodeBuilder_appProperties_taskTitle_required = "Task title is required", manifest_nodeBuilder_conversationalAgentSettings_endExchange_description = "When checked, the conversation exchange will be ended and the user will be able to send another message. Leave unchecked if later node(s) should continue responding as part of the Flow's turn.", manifest_nodeBuilder_conversationalAgentSettings_endExchange_label = "End exchange", manifest_nodeBuilder_conversationalAgentSettings_section_title = "Conversational Agent Settings", manifest_nodeBuilder_humanTask_form_title = "Human task", manifest_nodeBuilder_inputs_section_title = "Inputs", manifest_nodeBuilder_toolbar_open_label = "Open", manifest_node_agentContext_form_indexSettings_section_title = "Index settings", manifest_node_agentContext_form_title = "Context index", manifest_node_agentContext_handle_input_validationMessage = "Only Agent's context handle can connect here", manifest_node_agentContext_inputDefaults_query_promptValue_semantic = "The query for the Semantic strategy", manifest_node_agentContext_validation_outputColumns_itemDescription_required = "Description is required for every output column", manifest_node_agentContext_validation_outputColumns_minItems = "At least one output column is required", manifest_node_agentContext_validation_query_required_batchtransform = "Batch transform task is required", manifest_node_agentContext_validation_query_required_deeprag = "DeepRAG task is required", manifest_node_agentContext_validation_query_required_semantic = "Query is required", manifest_node_agentMemory_handle_input_validationMessage = "Only Agent's memory handle can connect here", manifest_node_analyzeFilesTool_description = "Extract and analyze content from files", manifest_node_analyzeFilesTool_display_description = "Analyze one or more files with an LLM to extract, synthesize, or answer queries about their content.", manifest_node_analyzeFilesTool_display_label = "Analyze Files", manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputAnalysisTaskDescription_label = "Analysis Task", manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputAnalysisTaskDescription_placeholder = "The task, question, or instruction for processing the files (e.g., 'summarize this document', 'extract key points', 'what is in this image')", manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputAttachmentsDescription_label = "Attachments", manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputAttachmentsDescription_placeholder = "Array of files, documents, images, or other attachments to process", manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputItemsDescription_componentProps_addButtonLabel = "Add attachment", manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputItemsDescription_componentProps_placeholder = "File or attachment reference", manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputItemsDescription_label = "Attachments", manifest_node_analyzeFilesTool_form_analyzefilesSettings_inputItemsDescription_placeholder = "File or document to analyze", manifest_node_analyzeFilesTool_form_analyzefilesSettings_title = "Settings", manifest_node_analyzeFilesTool_form_simulationSettings_description = "Add example calls for testing", manifest_node_analyzeFilesTool_form_simulationSettings_inputExampleCalls_componentProps_addButtonLabel = "Add example call", manifest_node_analyzeFilesTool_form_simulationSettings_title = "Simulation settings", manifest_node_analyzeFilesTool_form_title = "Analyze Files", manifest_node_autonomousAgent_description = "AI agent that completes tasks autonomously", manifest_node_autonomousAgent_display_label = "Autonomous agent", manifest_node_autonomousAgent_form_section1_inputMaxIterations_label = "Maximum iterations", manifest_node_autonomousAgent_form_section1_inputMaxTokenPerResponse_label = "Maximum tokens per response", manifest_node_autonomousAgent_form_section1_inputModel_label = "Model", manifest_node_autonomousAgent_form_section1_inputSystemPrompt_componentProps_placeholder = "Enter the system prompt", manifest_node_autonomousAgent_form_section1_inputSystemPrompt_label = "System prompt", manifest_node_autonomousAgent_form_section1_inputTemperature_label = "Temperature", manifest_node_autonomousAgent_form_section1_inputUserPrompt_componentProps_placeholder = "Enter the user prompt", manifest_node_autonomousAgent_form_section1_inputUserPrompt_label = "User prompt", manifest_node_autonomousAgent_form_section1_title = "Agent settings", manifest_node_autonomousAgent_form_sectionAdvanced_inputMaxIterations_label = "Maximum iterations", manifest_node_autonomousAgent_form_sectionAdvanced_inputMaxTokenPerResponse_label = "Maximum tokens per response", manifest_node_autonomousAgent_form_sectionAdvanced_inputModel_label = "Model", manifest_node_autonomousAgent_form_sectionAdvanced_inputTemperature_label = "Temperature", manifest_node_autonomousAgent_form_sectionAdvanced_title = "Advanced settings", manifest_node_autonomousAgent_form_title = "Agent settings", manifest_node_autonomousAgent_handle_context_label = "Context", manifest_node_autonomousAgent_handle_escalation_label = "Escalations", manifest_node_autonomousAgent_handle_tool_label = "Tools", manifest_node_autonomousAgent_input_systemPrompt_errorMessage = "System prompt is required", manifest_node_autonomousAgent_input_userPrompt_errorMessage = "User prompt is required", manifest_node_autonomousAgent_output_error_description = "Error information if the node fails", manifest_node_autonomousAgent_output_output_content_description = "The agent response text", manifest_node_autonomousAgent_output_output_description = "Agent response", manifest_node_batchTransformPattern_form_source_inputPrompt_componentProps_placeholder = "Extract the company name and renewal date from each item", manifest_node_batchTransformPattern_form_source_inputPrompt_validation_required = "Prompt is required", manifest_node_batchTransformPattern_output_error_description = "Error information if the node fails", manifest_node_batchTransformTool_description = "Process and transform CSV files", manifest_node_batchTransformTool_display_description = "Process and transform CSV files.", manifest_node_batchTransformTool_display_label = "Batch transform", manifest_node_batchTransformTool_form_batchtransformSettings_inputOutputColumns_label = "Output columns", manifest_node_batchTransformTool_form_batchtransformSettings_inputQueryValue_label = "Batch transform task", manifest_node_batchTransformTool_form_batchtransformSettings_inputQueryValue_placeholder = "Describe the task for each row: what to analyze, what to extract, and how to populate the output columns", manifest_node_batchTransformTool_form_batchtransformSettings_inputSource_label = "Source (file)", manifest_node_batchTransformTool_form_batchtransformSettings_inputSource_placeholder = "CSV file to transform", manifest_node_batchTransformTool_form_batchtransformSettings_inputWebSearchGroundingValue_label = "Web search grounding", manifest_node_batchTransformTool_form_batchtransformSettings_inputWebSearchGroundingValue_option_disabled_label = "Disabled", manifest_node_batchTransformTool_form_batchtransformSettings_inputWebSearchGroundingValue_option_enabled_label = "Enabled", manifest_node_batchTransformTool_form_batchtransformSettings_title = "Batch transform settings", manifest_node_batchTransformTool_form_title = "Batch transform", manifest_node_batchTransformTool_input_outputColumns_errorMessage = "At least one output column is required", manifest_node_batchTransformTool_input_query_errorMessage = "Required task instructions are missing", manifest_node_batchTransform_description = "Add AI-generated columns to a CSV", manifest_node_batchTransform_display_label = "Batch transform", manifest_node_batchTransform_form_outputColumns_inputOutputColumns_description = "These columns are added to the output data.", manifest_node_batchTransform_form_outputColumns_title = "Output columns", manifest_node_batchTransform_form_source_inputAttachment_description = "The output is generated from this CSV file.", manifest_node_batchTransform_form_source_inputAttachment_label = "Attachment", manifest_node_batchTransform_form_source_inputAttachment_validation_required = "Attachment is required", manifest_node_batchTransform_form_source_inputEnableWebSearchGrounding_description = "Web search can ground or enrich transformation results.", manifest_node_batchTransform_form_source_inputEnableWebSearchGrounding_label = "Enable web search grounding", manifest_node_batchTransform_form_source_inputPrompt_description = "The prompt defines how each row in the CSV file is processed.", manifest_node_batchTransform_form_source_inputPrompt_label = "Prompt", manifest_node_batchTransform_form_source_title = "Data source", manifest_node_batchTransform_form_title = "Batch transform configuration", manifest_node_conversationTrigger_description = "Start this process when a new conversation is created", manifest_node_conversationTrigger_display_label = "Conversation trigger", manifest_node_conversationTrigger_output_output_description = "Data passed when this conversation trigger starts the process.", manifest_node_conversationalAgent_description = "AI agent for interactive conversations", manifest_node_conversationalAgent_display_label = "Conversational agent", manifest_node_conversationalAgent_form_conversationalAgentSettings_inputCallContext_description = "Bind to the callContext from an Incoming Call trigger or a Create Outgoing Call node.", manifest_node_conversationalAgent_form_conversationalAgentSettings_inputCallContext_label = "Call context", manifest_node_conversationalAgent_form_conversationalAgentSettings_inputEndExchange_description = "When checked, the conversation exchange will be ended and the user will be able to send another message. Leave unchecked if later node(s) should continue responding as part of the process's turn.", manifest_node_conversationalAgent_form_conversationalAgentSettings_inputEndExchange_label = "End exchange", manifest_node_conversationalAgent_form_conversationalAgentSettings_title = "Conversational agent settings", manifest_node_conversationalAgent_form_section1_inputMaxTokenPerResponse_label = "Maximum tokens per response", manifest_node_conversationalAgent_form_section1_inputModel_label = "Model", manifest_node_conversationalAgent_form_section1_inputSystemPrompt_componentProps_placeholder = "Enter the system prompt", manifest_node_conversationalAgent_form_section1_inputSystemPrompt_label = "System prompt", manifest_node_conversationalAgent_form_section1_inputTemperature_label = "Temperature", manifest_node_conversationalAgent_form_section1_inputVoiceModel_label = "Model", manifest_node_conversationalAgent_form_section1_inputVoicePersona_label = "Persona", manifest_node_conversationalAgent_form_section1_inputWelcomeDescription_label = "Welcome description", manifest_node_conversationalAgent_form_section1_inputWelcomeTitle_label = "Welcome title", manifest_node_conversationalAgent_form_section1_title = "Agent settings", manifest_node_conversationalAgent_form_sectionAdvanced_inputMaxTokenPerResponse_label = "Maximum tokens per response", manifest_node_conversationalAgent_form_sectionAdvanced_inputModel_label = "Model", manifest_node_conversationalAgent_form_sectionAdvanced_inputTemperature_label = "Temperature", manifest_node_conversationalAgent_form_sectionAdvanced_inputVoiceMaxTokens_label = "Max. tokens per response", manifest_node_conversationalAgent_form_sectionAdvanced_inputVoiceTemperature_label = "Temperature", manifest_node_conversationalAgent_form_sectionAdvanced_title = "Advanced settings", manifest_node_conversationalAgent_form_title = "Agent settings", manifest_node_conversationalAgent_handle_context_label = "Context", manifest_node_conversationalAgent_handle_escalation_label = "Escalations", manifest_node_conversationalAgent_handle_memory_label = "Memory", manifest_node_conversationalAgent_handle_tool_label = "Tools", manifest_node_conversationalAgent_input_callContext_description = "Identifies the call to attach this agent to. Required when isVoice is true.", manifest_node_conversationalAgent_input_conversationalAgentSettings_description = "Conversational mode + per-turn routing (mode, context binding, conversationId, exchangeId, messages, userSettings)", manifest_node_conversationalAgent_output_error_description = "Error information if the node fails", manifest_node_conversationalAgent_output_output_description = "Agent output", manifest_node_conversationalAgent_output_output_uipathAgentResponseMessages_description = "Agent response messages for this turn (role, contentParts, toolCalls)", manifest_node_conversationalAgent_output_output_uipathVoiceCallContext_conversationId_description = "Identifier of the conversation associated with this call", manifest_node_conversationalAgent_output_output_uipathVoiceCallContext_description = "Identifies the live call. Pass to voice service tasks and conversational agents.", manifest_node_conversationalAgent_output_output_uipathVoiceCallContext_id_description = "Provider-side call identifier (e.g. Twilio call SID for phone)", manifest_node_conversationalAgent_output_output_uipathVoiceCallContext_type_description = "Call medium", manifest_node_conversationalAgent_output_output_uipathVoiceSession_callEnded_description = "Whether the phone call also ended (true) or only the agent session ended and the call is still live (false).", manifest_node_conversationalAgent_output_output_uipathVoiceSession_description = "End-outcome of the voice agent session.", manifest_node_conversationalAgent_output_output_uipathVoiceSession_endedBy_description = "What ended the agent session: the agent (__end_session), the user (hangup), the system (End Call / timeout), or an error.", manifest_node_conversationalAgent_output_output_uipathVoiceSession_reason_description = "Reason details for why the voice agent session ended.", manifest_node_conversationalVoiceCreateOutgoingCall_description = "Dial an outbound phone call and wait until the media stream is open.", manifest_node_conversationalVoiceCreateOutgoingCall_display_label = "Create outgoing call", manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputFrom_description = "Outbound number to dial from. Connect numbers in Instance Management → Phone numbers.", manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputFrom_label = "From", manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputFrom_validation_required = "From number is required", manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputTo_description = "Destination phone number in E.164 format (e.g. +12025551234).", manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputTo_label = "To", manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_inputTo_validation_required = "Destination phone number is required", manifest_node_conversationalVoiceCreateOutgoingCall_form_configuration_title = "Configuration", manifest_node_conversationalVoiceCreateOutgoingCall_form_title = "Create outgoing call", manifest_node_conversationalVoiceCreateOutgoingCall_input_from_errorMessage = "From number is required", manifest_node_conversationalVoiceCreateOutgoingCall_input_to_errorMessage = "Destination phone number is required", manifest_node_conversationalVoiceCreateOutgoingCall_output_error_description = "Error information if the node fails", manifest_node_conversationalVoiceCreateOutgoingCall_output_output_description = "The created call context.", manifest_node_conversationalVoiceEndCall_description = "End an active call.", manifest_node_conversationalVoiceEndCall_display_label = "End call", manifest_node_conversationalVoiceEndCall_form_configuration_inputCallContext_description = "Bind to the callContext from an Incoming Call trigger or a Create Outgoing Call node.", manifest_node_conversationalVoiceEndCall_form_configuration_inputCallContext_label = "Call context", manifest_node_conversationalVoiceEndCall_form_configuration_inputCallContext_validation_required = "Call context is required", manifest_node_conversationalVoiceEndCall_form_configuration_title = "Configuration", manifest_node_conversationalVoiceEndCall_form_title = "End call", manifest_node_conversationalVoiceEndCall_input_callContext_description = "Identifies the call to end. Bind to the callContext output of an Incoming Call trigger or Create Outgoing Call.", manifest_node_conversationalVoiceEndCall_output_error_description = "Error information if the node fails", manifest_node_conversationalVoiceEndCall_output_output_description = "Result of the end-call request.", manifest_node_decision_description = "Branch on a true or false condition", manifest_node_decision_display_label = "Decision", manifest_node_decision_form_condition_inputExpression_componentProps_placeholder = "$vars.httpRequest1.output.statusCode >= 200 && $vars.httpRequest1.output.statusCode < 300", manifest_node_decision_form_condition_inputExpression_description = "The condition must be a JavaScript expression that evaluates to true or false.", manifest_node_decision_form_condition_inputExpression_label = "Condition", manifest_node_decision_form_condition_inputFalseLabel_description = "This label appears on the false branch.", manifest_node_decision_form_condition_inputFalseLabel_label = "False branch label", manifest_node_decision_form_condition_inputTrueLabel_description = "This label appears on the true branch.", manifest_node_decision_form_condition_inputTrueLabel_label = "True branch label", manifest_node_decision_form_condition_title = "Condition", manifest_node_decision_form_title = "Decision configuration", manifest_node_decision_input_expression_errorMessage = "Add a condition", manifest_node_decision_output_matchedCaseId_description = "The branch that was taken (true or false)", manifest_node_decision_output_matchedCase_description = "The label of the matched branch (true/false label)", manifest_node_deepRagPattern_form_source_inputPrompt_componentProps_placeholder = "Summarize the key findings and risks", manifest_node_deepRagPattern_form_source_inputPrompt_validation_required = "Prompt is required", manifest_node_deepRagPattern_output_error_description = "Error information if the node fails", manifest_node_deepRag_description = "Create a complex summary of a document", manifest_node_deepRag_display_label = "Summarize", manifest_node_deepRag_form_citations_inputReturnCitations_description = "Citations link generated summaries to source material.", manifest_node_deepRag_form_citations_inputReturnCitations_label = "Include citations", manifest_node_deepRag_form_citations_title = "Citations", manifest_node_deepRag_form_source_inputAttachment_description = "The summary is generated from this file or document.", manifest_node_deepRag_form_source_inputAttachment_label = "Attachment", manifest_node_deepRag_form_source_inputAttachment_validation_required = "Attachment is required", manifest_node_deepRag_form_source_inputPrompt_description = "The prompt defines what the summary should focus on.", manifest_node_deepRag_form_source_inputPrompt_label = "Prompt", manifest_node_deepRag_form_source_title = "Data source", manifest_node_deepRag_form_title = "Summarize Configuration", manifest_node_delay_description = "Pause execution for a duration or until a date", manifest_node_delay_display_label = "Delay", manifest_node_delay_form_timer_inputTimerDate_description = "The date and time when the process should continue", manifest_node_delay_form_timer_inputTimerDate_label = "Value", manifest_node_delay_form_timer_inputTimerPreset_label = "Duration", manifest_node_delay_form_timer_inputTimerPreset_option_custom_label = "Custom", manifest_node_delay_form_timer_inputTimerPreset_option_p1d_label = "1 day", manifest_node_delay_form_timer_inputTimerPreset_option_p1w_label = "1 week", manifest_node_delay_form_timer_inputTimerPreset_option_pt12h_label = "12 hours", manifest_node_delay_form_timer_inputTimerPreset_option_pt15m_label = "15 minutes", manifest_node_delay_form_timer_inputTimerPreset_option_pt15s_label = "15 seconds", manifest_node_delay_form_timer_inputTimerPreset_option_pt1h_label = "1 hour", manifest_node_delay_form_timer_inputTimerPreset_option_pt1m_label = "1 minute", manifest_node_delay_form_timer_inputTimerPreset_option_pt30m_label = "30 minutes", manifest_node_delay_form_timer_inputTimerPreset_option_pt30s_label = "30 seconds", manifest_node_delay_form_timer_inputTimerPreset_option_pt5m_label = "5 minutes", manifest_node_delay_form_timer_inputTimerPreset_option_pt5s_label = "5 seconds", manifest_node_delay_form_timer_inputTimerPreset_option_pt6h_label = "6 hours", manifest_node_delay_form_timer_inputTimerType_label = "Type", manifest_node_delay_form_timer_inputTimerType_option_date_label = "Date", manifest_node_delay_form_timer_inputTimerType_option_duration_label = "Duration", manifest_node_delay_form_timer_inputTimerType_option_timeDate_label = "Date", manifest_node_delay_form_timer_inputTimerType_option_timeDuration_label = "Duration", manifest_node_delay_form_timer_inputTimerValue_description = "ISO 8601 duration - use the AI button to generate from natural language", manifest_node_delay_form_timer_inputTimerValue_label = "Custom duration", manifest_node_delay_form_timer_inputTimerValue_placeholder = "PT15M", manifest_node_delay_form_timer_title = "Timer", manifest_node_delay_form_title = "Delay", manifest_node_delay_input_timerDate_errorMessage = "Date is required", manifest_node_delay_input_timerPreset_errorMessage = "Duration is required", manifest_node_delay_input_timerType_errorMessage = "Timer type is required", manifest_node_delay_input_timerValue_errorMessage = "Custom duration is required (ISO 8601 format, e.g., PT15M, PT1H, P1D)", manifest_node_end_description = "Mark the end of a process path", manifest_node_end_display_label = "End", manifest_node_escalationActionApp_description = "Escalate to a human for review or action", manifest_node_escalationActionApp_display_description = "Escalation point for human intervention", manifest_node_escalationActionApp_display_label = "Action app escalation", manifest_node_escalationActionApp_form_escalationSection_inputApp_label = "Action App", manifest_node_escalationActionApp_form_escalationSection_inputDescription_label = "Description", manifest_node_escalationActionApp_form_escalationSection_inputDescription_placeholder = "Describe the purpose of the escalation", manifest_node_escalationActionApp_form_escalationSection_inputName_label = "Escalation name", manifest_node_escalationActionApp_form_escalationSection_title = "Escalation", manifest_node_escalationActionApp_form_title = "Escalation", manifest_node_escalationQuickForm_description = "Escalate to a human for review or action", manifest_node_escalationQuickForm_display_description = "Escalation point for human intervention", manifest_node_escalationQuickForm_display_label = "Quick Form Escalation", manifest_node_escalationQuickForm_form_escalationSection_inputDescription_label = "Description", manifest_node_escalationQuickForm_form_escalationSection_inputDescription_placeholder = "Describe the purpose of the escalation", manifest_node_escalationQuickForm_form_escalationSection_inputName_label = "Escalation name", manifest_node_escalationQuickForm_form_escalationSection_title = "Escalation", manifest_node_escalationQuickForm_form_title = "Escalation", manifest_node_escalation_description = "Escalate to a human for review or action", manifest_node_escalation_display_description = "Escalation point for human intervention", manifest_node_escalation_display_label = "Escalation", manifest_node_escalation_form_escalationSection_inputApp_label = "Action App", manifest_node_escalation_form_escalationSection_inputDescription_label = "Description", manifest_node_escalation_form_escalationSection_inputDescription_placeholder = "Describe the purpose of the escalation", manifest_node_escalation_form_escalationSection_inputName_label = "Escalation name", manifest_node_escalation_form_escalationSection_inputType_label = "Escalation type", manifest_node_escalation_form_escalationSection_inputType_option_appTask_label = "App Task", manifest_node_escalation_form_escalationSection_title = "Escalation", manifest_node_escalation_form_title = "Escalation", manifest_node_hitlCodedActionApp_description = "A customized coded action app service", manifest_node_hitlCodedActionApp_display_label = "Action App", manifest_node_hitlCodedActionApp_form_additionalProperties_inputLabels_label = "Labels", manifest_node_hitlCodedActionApp_form_additionalProperties_inputLabels_placeholder = "Comma-separated (e.g. finance,approval)", manifest_node_hitlCodedActionApp_form_additionalProperties_inputPriority_label = "Priority", manifest_node_hitlCodedActionApp_form_additionalProperties_inputPriority_option_high_label = "High", manifest_node_hitlCodedActionApp_form_additionalProperties_inputPriority_option_low_label = "Low", manifest_node_hitlCodedActionApp_form_additionalProperties_inputPriority_option_medium_label = "Medium", manifest_node_hitlCodedActionApp_form_additionalProperties_inputTitle_label = "Task title", manifest_node_hitlCodedActionApp_form_additionalProperties_inputTitle_placeholder = "Defaults to form header title", manifest_node_hitlCodedActionApp_form_additionalProperties_title = "Additional properties", manifest_node_hitlCodedActionApp_form_app_inputAppInputBindings_description = "Map app inputs to expressions/variables", manifest_node_hitlCodedActionApp_form_app_inputAppInputBindings_label = "Inputs", manifest_node_hitlCodedActionApp_form_app_inputApp_description = "Select the coded action app for this task", manifest_node_hitlCodedActionApp_form_app_inputApp_label = "Action App", manifest_node_hitlCodedActionApp_form_app_title = "Coded Action App", manifest_node_hitlCodedActionApp_form_delivery_inputRecipient_description = "Select where the task should be sent", manifest_node_hitlCodedActionApp_form_delivery_inputRecipient_label = "Delivery Channels", manifest_node_hitlCodedActionApp_form_delivery_title = "Task delivery", manifest_node_hitlCodedActionApp_form_title = "Coded Action App Task Configuration", manifest_node_hitlCodedActionApp_handle_completed_label = "Completed", manifest_node_hitlCodedActionApp_output_output_description = "Task result data", manifest_node_hitlCodedActionApp_output_status_description = "Task completion status (completed, cancelled, timeout)", manifest_node_hitlDocValidation_description = "Native or custom validation station for document tasks", manifest_node_hitlDocValidation_display_label = "Document Validation", manifest_node_hitlDocValidation_form_additionalProperties_inputLabels_label = "Labels", manifest_node_hitlDocValidation_form_additionalProperties_inputLabels_placeholder = "Comma-separated (e.g. finance,approval)", manifest_node_hitlDocValidation_form_additionalProperties_inputPriority_label = "Priority", manifest_node_hitlDocValidation_form_additionalProperties_inputPriority_option_high_label = "High", manifest_node_hitlDocValidation_form_additionalProperties_inputPriority_option_low_label = "Low", manifest_node_hitlDocValidation_form_additionalProperties_inputPriority_option_medium_label = "Medium", manifest_node_hitlDocValidation_form_additionalProperties_inputTitle_label = "Task title", manifest_node_hitlDocValidation_form_additionalProperties_inputTitle_placeholder = "Defaults to form header title", manifest_node_hitlDocValidation_form_additionalProperties_title = "Additional properties", manifest_node_hitlDocValidation_form_app_inputAppInputBindings_label = "App Input Bindings", manifest_node_hitlDocValidation_form_app_inputApp_description = "Select a published Action App to use for validation", manifest_node_hitlDocValidation_form_app_inputApp_label = "Action App", manifest_node_hitlDocValidation_form_app_title = "Custom App", manifest_node_hitlDocValidation_form_delivery_inputRecipient_description = "Select where the task should be sent", manifest_node_hitlDocValidation_form_delivery_inputRecipient_label = "Delivery Channels", manifest_node_hitlDocValidation_form_delivery_title = "Task delivery", manifest_node_hitlDocValidation_form_documentSource_inputExtractionResult_description = "Bind the ExtractionResult output from an upstream Extract activity", manifest_node_hitlDocValidation_form_documentSource_inputExtractionResult_label = "Extraction Result", manifest_node_hitlDocValidation_form_documentSource_inputExtractionResult_placeholder = "e.g. $vars.extractionResult", manifest_node_hitlDocValidation_form_documentSource_inputStorageBucket_label = "Storage Bucket", manifest_node_hitlDocValidation_form_documentSource_inputStorageBucket_placeholder = "Select a storage bucket...", manifest_node_hitlDocValidation_form_documentSource_inputTaxonomy_description = "Bind the Taxonomy output from an upstream Extract activity", manifest_node_hitlDocValidation_form_documentSource_inputTaxonomy_label = "Taxonomy", manifest_node_hitlDocValidation_form_documentSource_inputTaxonomy_placeholder = "e.g. $vars.taxonomy", manifest_node_hitlDocValidation_form_documentSource_title = "Document Source", manifest_node_hitlDocValidation_form_title = "Document Validation Task Configuration", manifest_node_hitlDocValidation_form_validationRender_inputValidationRenderType_label = "Validation Type", manifest_node_hitlDocValidation_form_validationRender_inputValidationRenderType_option_custom_label = "Custom app with Validation Control", manifest_node_hitlDocValidation_form_validationRender_inputValidationRenderType_option_standard_label = "Standard", manifest_node_hitlDocValidation_form_validationRender_title = "Validation Render", manifest_node_hitlDocValidation_handle_completed_label = "Completed", manifest_node_hitlDocValidation_output_output_description = "Task result data", manifest_node_hitlDocValidation_output_status_description = "Task completion status (completed, cancelled, timeout)", manifest_node_hitlQuickForm_description = "Fast inline approvals with inline debug", manifest_node_hitlQuickForm_display_label = "Quick Form", manifest_node_hitlQuickForm_form_additionalProperties_inputLabels_label = "Labels", manifest_node_hitlQuickForm_form_additionalProperties_inputLabels_placeholder = "Comma-separated (e.g. finance,approval)", manifest_node_hitlQuickForm_form_additionalProperties_inputPriority_label = "Priority", manifest_node_hitlQuickForm_form_additionalProperties_inputPriority_option_high_label = "High", manifest_node_hitlQuickForm_form_additionalProperties_inputPriority_option_low_label = "Low", manifest_node_hitlQuickForm_form_additionalProperties_inputPriority_option_medium_label = "Medium", manifest_node_hitlQuickForm_form_additionalProperties_inputTitle_label = "Task title", manifest_node_hitlQuickForm_form_additionalProperties_inputTitle_placeholder = "Defaults to form header title", manifest_node_hitlQuickForm_form_additionalProperties_title = "Additional properties", manifest_node_hitlQuickForm_form_delivery_inputRecipient_description = "Select where the task should be sent", manifest_node_hitlQuickForm_form_delivery_inputRecipient_label = "Delivery Channels", manifest_node_hitlQuickForm_form_delivery_title = "Task delivery", manifest_node_hitlQuickForm_form_schema_inputSchema_description = "Define the input and output parameters for this task", manifest_node_hitlQuickForm_form_schema_inputSchema_label = "Task Schema", manifest_node_hitlQuickForm_form_schema_title = "Schema", manifest_node_hitlQuickForm_form_title = "Quick Form Task Configuration", manifest_node_hitlQuickForm_handle_completed_label = "Completed", manifest_node_hitlQuickForm_output_output_description = "Task result data", manifest_node_hitlQuickForm_output_status_description = "Task completion status (completed, cancelled, timeout)", manifest_node_hitlTask_description = "Pause process execution and wait for a human to complete a task", manifest_node_hitlTask_display_label = "Human in the Loop", manifest_node_hitlTask_form_additionalProperties_inputLabels_label = "Labels", manifest_node_hitlTask_form_additionalProperties_inputLabels_placeholder = "Comma-separated (e.g. finance,approval)", manifest_node_hitlTask_form_additionalProperties_inputPriority_label = "Priority", manifest_node_hitlTask_form_additionalProperties_inputPriority_option_high_label = "High", manifest_node_hitlTask_form_additionalProperties_inputPriority_option_low_label = "Low", manifest_node_hitlTask_form_additionalProperties_inputPriority_option_medium_label = "Medium", manifest_node_hitlTask_form_additionalProperties_inputTitle_label = "Task title", manifest_node_hitlTask_form_additionalProperties_inputTitle_placeholder = "Defaults to form header title", manifest_node_hitlTask_form_additionalProperties_title = "Additional properties", manifest_node_hitlTask_form_app_inputAppInputBindings_description = "Map app inputs to expressions/variables", manifest_node_hitlTask_form_app_inputAppInputBindings_label = "Inputs", manifest_node_hitlTask_form_app_inputApp_description = "Select the coded action app for this task", manifest_node_hitlTask_form_app_inputApp_label = "Action App", manifest_node_hitlTask_form_app_title = "Custom Approval App", manifest_node_hitlTask_form_delivery_inputRecipient_description = "Select where the task should be sent", manifest_node_hitlTask_form_delivery_inputRecipient_label = "Delivery Channels", manifest_node_hitlTask_form_delivery_title = "Task delivery", manifest_node_hitlTask_form_schema_inputSchema_description = "Define the input and output parameters for this task", manifest_node_hitlTask_form_schema_inputSchema_label = "Task Schema", manifest_node_hitlTask_form_schema_title = "Schema", manifest_node_hitlTask_form_taskType_inputType_label = "Type", manifest_node_hitlTask_form_taskType_inputType_option_custom_label = "Custom approval", manifest_node_hitlTask_form_taskType_inputType_option_quick_label = "Quick approval or review", manifest_node_hitlTask_form_taskType_title = "Task Type", manifest_node_hitlTask_form_title = "Human task configuration", manifest_node_hitlTask_handle_completed_label = "Completed", manifest_node_hitlTask_handle_outcomeCompleted_label = "Completed", manifest_node_hitlTask_output_error_description = "Error information if the node fails", manifest_node_hitlTask_output_output_description = "Task result data", manifest_node_hitlTask_output_result_description = "Task result data", manifest_node_hitlTask_output_status_description = "Task completion status (completed, cancelled, timeout)", manifest_node_httpV2_description = "HTTP request with managed authentication", manifest_node_httpV2_display_label = "HTTP Request", manifest_node_httpV2_form_advanced_inputRetryCount_description = "Number of times to retry on failure", manifest_node_httpV2_form_advanced_inputRetryCount_label = "Retry count", manifest_node_httpV2_form_advanced_inputTimeout_description = "ISO 8601 duration format (for example, PT15M for 15 minutes, PT1H for 1 hour)", manifest_node_httpV2_form_advanced_inputTimeout_label = "Timeout", manifest_node_httpV2_form_advanced_title = "Advanced", manifest_node_httpV2_form_branches_inputBranches_description = "Define conditional branches based on response status or properties", manifest_node_httpV2_form_branches_inputBranches_label = "Response branches", manifest_node_httpV2_form_branches_title = "Branches", manifest_node_httpV2_form_httpConfig_title = "Configuration", manifest_node_httpV2_form_title = "HTTP Request", manifest_node_httpV2_handle_default_label = "Default", manifest_node_httpV2_handle_input_label = "Input", manifest_node_httpV2_input_timeout_errorMessage = "Timeout must be in ISO 8601 duration format (e.g., PT15M, PT1H, P1D)", manifest_node_httpV2_output_error_description = "Error information if the node fails", manifest_node_httpV2_output_output_description = "HTTP response object", manifest_node_http_description = "Make API calls with branching and retry", manifest_node_http_display_label = "HTTP Request", manifest_node_http_form_advanced_inputRetryCount_description = "Number of times to retry on failure", manifest_node_http_form_advanced_inputRetryCount_label = "Retry count", manifest_node_http_form_advanced_inputTimeout_description = "ISO 8601 duration format (e.g., PT15M for 15 minutes, PT1H for 1 hour)", manifest_node_http_form_advanced_inputTimeout_label = "Timeout", manifest_node_http_form_advanced_title = "Advanced", manifest_node_http_form_body_inputBody_label = "Body", manifest_node_http_form_body_inputContentType_label = "Content type", manifest_node_http_form_body_title = "Body", manifest_node_http_form_branches_inputBranches_description = "Define conditional branches based on response status or properties", manifest_node_http_form_branches_inputBranches_label = "Response branches", manifest_node_http_form_branches_title = "Branches", manifest_node_http_form_headers_inputHeaders_componentProps_keyLabel = "Header name", manifest_node_http_form_headers_inputHeaders_componentProps_valueLabel = "Header value", manifest_node_http_form_headers_inputHeaders_label = "HTTP headers", manifest_node_http_form_headers_title = "Headers", manifest_node_http_form_implementation_inputMethod_label = "HTTP method", manifest_node_http_form_implementation_inputMode_label = "Mode", manifest_node_http_form_implementation_inputMode_option_apiDefinition_label = "API definition", manifest_node_http_form_implementation_inputMode_option_manual_label = "Manual", manifest_node_http_form_implementation_title = "Implementation", manifest_node_http_form_parameters_inputQueryParams_componentProps_keyLabel = "Parameter name", manifest_node_http_form_parameters_inputQueryParams_componentProps_valueLabel = "Parameter value", manifest_node_http_form_parameters_inputQueryParams_label = "Query parameters", manifest_node_http_form_parameters_title = "Query parameters", manifest_node_http_form_title = "HTTP Request", manifest_node_http_handle_default_label = "Default", manifest_node_http_input_method_errorMessage = "Method is required", manifest_node_http_input_timeout_errorMessage = "Timeout must be in ISO 8601 duration format (e.g., PT15M, PT1H, P1D)", manifest_node_http_input_url_errorMessage = "URL is required", manifest_node_http_output_error_description = "Error information if the node fails", manifest_node_http_output_output_body_description = "Response body content", manifest_node_http_output_output_description = "HTTP response object", manifest_node_http_output_output_headers_description = "Response headers", manifest_node_http_output_output_statusCode_description = "HTTP status code", manifest_node_loop_description = "Iterate over a collection of items", manifest_node_loop_display_description = "Execute a sequence of actions repeatedly for each item in a collection", manifest_node_loop_display_label = "Loop", manifest_node_loop_form_iteration_inputBreakEnabled_description = "Nodes inside the loop can exit through a break handle.", manifest_node_loop_form_iteration_inputBreakEnabled_label = "Show break handle", manifest_node_loop_form_iteration_inputCollection_componentProps_placeholder = "$vars.scriptTask1.output", manifest_node_loop_form_iteration_inputCollection_description = "The loop runs once for each item in this array or collection.", manifest_node_loop_form_iteration_inputCollection_label = "Collection", manifest_node_loop_form_iteration_inputCompletionCondition_componentProps_placeholder = "$vars.processedCount >= 5", manifest_node_loop_form_iteration_inputCompletionCondition_description = "The loop exits early when this condition becomes true after an iteration completes.", manifest_node_loop_form_iteration_inputCompletionCondition_label = "Break on condition", manifest_node_loop_form_iteration_inputParallel_description = "The loop runs iterations at the same time.", manifest_node_loop_form_iteration_inputParallel_label = "Parallel", manifest_node_loop_form_iteration_title = "Iteration", manifest_node_loop_form_title = "Loop configuration", manifest_node_loop_handle_break_label = "break", manifest_node_loop_handle_continue_label = "continue", manifest_node_loop_handle_output_label = "loop", manifest_node_loop_handle_start_label = "start", manifest_node_loop_handle_success_label = "success", manifest_node_loop_input_collection_errorMessage = "Add a collection to loop over", manifest_node_loop_output_collection_description = "The collection being iterated over", manifest_node_loop_output_currentIndex_description = "The current iteration index (0-based)", manifest_node_loop_output_currentItem_description = "The current item being iterated in the loop", manifest_node_loop_output_currentIteration_description = "The current iteration number (1-based)", manifest_node_loop_output_error_description = "Error information if the node fails", manifest_node_loop_output_output_description = "Aggregated results from all loop iterations", manifest_node_manualTrigger_description = "Start the process manually", manifest_node_manualTrigger_display_label = "Manual trigger", manifest_node_manualTrigger_output_output_description = "Data passed when manually triggering the process.", manifest_node_merge_description = "Join parallel branches into one path", manifest_node_merge_display_label = "Merge", manifest_node_mock_description = "Placeholder node for prototyping", manifest_node_mock_display_label = "Mock", manifest_node_mock_output_output_description = "Mock output value", manifest_node_queueCreateAndWait_description = "Add a queue item and wait for it to complete", manifest_node_queueCreateAndWait_display_label = "Create and wait for queue item", manifest_node_queueCreateAndWait_form_advanced_inputDeferDate_description = "Earliest date/time the item can be processed (ISO 8601)", manifest_node_queueCreateAndWait_form_advanced_inputDeferDate_label = "Defer Date", manifest_node_queueCreateAndWait_form_advanced_inputDueDate_description = "Latest date/time the item should be processed (ISO 8601)", manifest_node_queueCreateAndWait_form_advanced_inputDueDate_label = "Due Date", manifest_node_queueCreateAndWait_form_advanced_inputPriority_description = "Processing priority for the queue item", manifest_node_queueCreateAndWait_form_advanced_inputPriority_label = "Priority", manifest_node_queueCreateAndWait_form_advanced_inputPriority_option_high_label = "High", manifest_node_queueCreateAndWait_form_advanced_inputPriority_option_low_label = "Low", manifest_node_queueCreateAndWait_form_advanced_inputPriority_option_normal_label = "Normal", manifest_node_queueCreateAndWait_form_advanced_inputReference_description = "Optional reference string for the queue item", manifest_node_queueCreateAndWait_form_advanced_inputReference_label = "Reference", manifest_node_queueCreateAndWait_form_advanced_title = "Advanced", manifest_node_queueCreateAndWait_form_queueSelection_inputItemData_description = 'A JSON object with primitive values (string, number, boolean), e.g. { "orderId": 123, "customer": "Acme" }', manifest_node_queueCreateAndWait_form_queueSelection_inputItemData_label = "Item data", manifest_node_queueCreateAndWait_form_queueSelection_inputQueue_description = "Select the Orchestrator queue to add items to", manifest_node_queueCreateAndWait_form_queueSelection_inputQueue_label = "Queue", manifest_node_queueCreateAndWait_form_queueSelection_inputQueue_validation_required = "A queue must be selected", manifest_node_queueCreateAndWait_form_queueSelection_title = "Queue", manifest_node_queueCreateAndWait_form_title = "Create and wait for queue item", manifest_node_queueCreateAndWait_output_error_description = "Error information if the node fails", manifest_node_queueCreateAndWait_output_output_description = "The processed queue item result", manifest_node_queueCreate_description = "Add an item to an Orchestrator queue", manifest_node_queueCreate_display_label = "Create queue item", manifest_node_queueCreate_form_advanced_inputDeferDate_description = "Earliest date/time the item can be processed (ISO 8601)", manifest_node_queueCreate_form_advanced_inputDeferDate_label = "Defer Date", manifest_node_queueCreate_form_advanced_inputDueDate_description = "Latest date/time the item should be processed (ISO 8601)", manifest_node_queueCreate_form_advanced_inputDueDate_label = "Due Date", manifest_node_queueCreate_form_advanced_inputPriority_description = "Processing priority for the queue item", manifest_node_queueCreate_form_advanced_inputPriority_label = "Priority", manifest_node_queueCreate_form_advanced_inputPriority_option_high_label = "High", manifest_node_queueCreate_form_advanced_inputPriority_option_low_label = "Low", manifest_node_queueCreate_form_advanced_inputPriority_option_normal_label = "Normal", manifest_node_queueCreate_form_advanced_inputReference_description = "Optional reference string for the queue item", manifest_node_queueCreate_form_advanced_inputReference_label = "Reference", manifest_node_queueCreate_form_advanced_title = "Advanced", manifest_node_queueCreate_form_queueSelection_inputItemData_description = 'A JSON object with primitive values (string, number, boolean), e.g. { "orderId": 123, "customer": "Acme" }', manifest_node_queueCreate_form_queueSelection_inputItemData_label = "Item data", manifest_node_queueCreate_form_queueSelection_inputQueue_description = "Select the Orchestrator queue to add items to", manifest_node_queueCreate_form_queueSelection_inputQueue_label = "Queue", manifest_node_queueCreate_form_queueSelection_inputQueue_validation_required = "A queue must be selected", manifest_node_queueCreate_form_queueSelection_title = "Queue", manifest_node_queueCreate_form_title = "Create queue item", manifest_node_queueCreate_output_error_description = "Error information if the node fails", manifest_node_queueCreate_output_output_description = "The created queue item response", manifest_node_readEntity_description = "Query entity records from Data Fabric", manifest_node_readEntity_display_label = "Read Entity (Preview)", manifest_node_readEntity_form_entityConfig_title = "Entity Configuration", manifest_node_readEntity_form_title = "Read Entity configuration", manifest_node_readEntity_output_output_description = "Entity record read by this node", manifest_node_scheduledTrigger_description = "Start the process on a schedule or interval", manifest_node_scheduledTrigger_display_label = "Scheduled trigger", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_description = "Runs at fixed intervals aligned to the clock (e.g., every hour on the hour)", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_label = "Frequency", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_custom_label = "Custom", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_daily_label = "Daily", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every12Hours_label = "Every 12 hours", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every15Minutes_label = "Every 15 minutes", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every30Minutes_label = "Every 30 minutes", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every5Minutes_label = "Every 5 minutes", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_every6Hours_label = "Every 6 hours", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_everyHour_label = "Every hour", manifest_node_scheduledTrigger_form_schedule_inputTimerPreset_option_weekly_label = "Weekly", manifest_node_scheduledTrigger_form_schedule_inputTimerValue_description = "ISO 8601 repeating interval or Quartz cron — use the AI button or the Visual builder to generate from natural language. Times run in the job’s timezone.", manifest_node_scheduledTrigger_form_schedule_inputTimerValue_label = "Cycle expression", manifest_node_scheduledTrigger_form_schedule_title = "Schedule", manifest_node_scheduledTrigger_form_title = "Scheduled trigger", manifest_node_scheduledTrigger_input_timerPreset_errorMessage = "Frequency is required", manifest_node_scheduledTrigger_input_timerValue_errorMessage = "Cycle expression is required", manifest_node_scriptTask_description = "Run custom JavaScript code", manifest_node_scriptTask_display_label = "Script", manifest_node_scriptTask_form_script_inputScript_componentProps_placeholder = ` // Return an object with your result
259005
257471
  return {
@@ -280093,7 +278559,12 @@ var require_fast_uri = __commonJS((exports, module) => {
280093
278559
  }
280094
278560
  function resolve2(baseURI, relativeURI, options) {
280095
278561
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
280096
- const resolved = resolveComponent(parse5(baseURI, schemelessOptions), parse5(relativeURI, schemelessOptions), schemelessOptions, true);
278562
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
278563
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
278564
+ if (baseMalformed || relativeMalformed) {
278565
+ throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
278566
+ }
278567
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
280097
278568
  schemelessOptions.skipEscape = true;
280098
278569
  return serialize(resolved, schemelessOptions);
280099
278570
  }
@@ -280220,6 +278691,7 @@ var require_fast_uri = __commonJS((exports, module) => {
280220
278691
  }
280221
278692
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
280222
278693
  var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
278694
+ var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
280223
278695
  function getParseError(parsed, matches) {
280224
278696
  if (matches[2] !== undefined && parsed.path && parsed.path[0] !== "/") {
280225
278697
  return 'URI path must start with "/" when authority is present.';
@@ -280254,6 +278726,20 @@ var require_fast_uri = __commonJS((exports, module) => {
280254
278726
  parsed.error = "URI authority must not contain a literal backslash.";
280255
278727
  malformedAuthorityOrPort = true;
280256
278728
  }
278729
+ const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
278730
+ if (introducerMatch !== null) {
278731
+ const region = introducerMatch[1];
278732
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
278733
+ if (normalizedRegion.length >= 2) {
278734
+ if (normalizedRegion.slice(0, 2) !== "//") {
278735
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
278736
+ malformedAuthorityOrPort = true;
278737
+ } else if (region.length !== normalizedRegion.length) {
278738
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
278739
+ malformedAuthorityOrPort = true;
278740
+ }
278741
+ }
278742
+ }
280257
278743
  const matches = uri.match(URI_PARSE);
280258
278744
  if (matches) {
280259
278745
  parsed.scheme = matches[1];
@@ -284997,7 +283483,7 @@ import"./packager-tool.js";
284997
283483
  var package_default = {
284998
283484
  name: "@uipath/case-tool",
284999
283485
  license: "MIT",
285000
- version: "1.199.0-preview.97",
283486
+ version: "1.199.0",
285001
283487
  description: "Manage Case Management instances, processes, and incidents.",
285002
283488
  private: false,
285003
283489
  repository: {
@@ -288338,7 +286824,7 @@ function requireOmap() {
288338
286824
  function resolveYamlOmap(data) {
288339
286825
  if (data === null)
288340
286826
  return true;
288341
- const objectKeys = [];
286827
+ const objectKeys = {};
288342
286828
  const object = data;
288343
286829
  for (let index = 0, length = object.length;index < length; index += 1) {
288344
286830
  const pair = object[index];
@@ -288356,10 +286842,9 @@ function requireOmap() {
288356
286842
  }
288357
286843
  if (!pairHasKey)
288358
286844
  return false;
288359
- if (objectKeys.indexOf(pairKey) === -1)
288360
- objectKeys.push(pairKey);
288361
- else
286845
+ if (_hasOwnProperty.call(objectKeys, pairKey))
288362
286846
  return false;
286847
+ Object.defineProperty(objectKeys, pairKey, { value: true });
288363
286848
  }
288364
286849
  return true;
288365
286850
  }
@@ -291220,8 +289705,18 @@ function getInboundTraceContext() {
291220
289705
 
291221
289706
  // ../common/src/telemetry/session-id.ts
291222
289707
  var TELEMETRY_SESSION_ID_ENV = "UIPATH_SESSION_ID";
291223
- var TELEMETRY_SESSION_ID_PROPERTY = "session_id";
291224
- var telemetrySessionIdSlot = singleton("TelemetrySessionId");
289708
+ var SESSION_ID_MAX_LENGTH = 64;
289709
+ var RANDOM_SESSION_ID_LENGTH = 32;
289710
+ var TELEMETRY_SESSION_SOURCE_PROPERTY = "session_id_source";
289711
+ var CONTROL_CHARACTERS = /\p{Cc}/gu;
289712
+ var INHERITED_SESSION_SOURCES = [
289713
+ { envVar: "CLAUDE_CODE_SESSION_ID", source: "claude-code" },
289714
+ { envVar: "CODEX_THREAD_ID", source: "codex" },
289715
+ { envVar: "ANTIGRAVITY_TRAJECTORY_ID", source: "antigravity" },
289716
+ { envVar: "TERM_SESSION_ID", source: "terminal" },
289717
+ { envVar: "WT_SESSION", source: "terminal" }
289718
+ ];
289719
+ var telemetrySessionSlot = singleton("TelemetrySession");
291225
289720
  var telemetryOperationIdSlot = singleton("TelemetryOperationId");
291226
289721
  function getProcessEnv2() {
291227
289722
  return globalThis.process?.env;
@@ -291230,14 +289725,42 @@ function normalizeSessionId(value) {
291230
289725
  if (typeof value !== "string" && typeof value !== "number" && typeof value !== "boolean") {
291231
289726
  return;
291232
289727
  }
291233
- const trimmed = String(value).trim();
291234
- return trimmed || undefined;
289728
+ const cleaned = String(value).replace(CONTROL_CHARACTERS, "").trim().slice(0, SESSION_ID_MAX_LENGTH);
289729
+ return cleaned || undefined;
291235
289730
  }
291236
289731
  function getConfiguredTelemetrySessionId() {
291237
289732
  return normalizeSessionId(getProcessEnv2()?.[TELEMETRY_SESSION_ID_ENV]);
291238
289733
  }
291239
- function resolveTelemetrySessionId(existingSessionId) {
291240
- return getConfiguredTelemetrySessionId() ?? normalizeSessionId(existingSessionId);
289734
+ function getInheritedSession(env) {
289735
+ for (const candidate of INHERITED_SESSION_SOURCES) {
289736
+ const handle = normalizeSessionId(env[candidate.envVar]);
289737
+ if (handle) {
289738
+ return { id: handle, source: candidate.source };
289739
+ }
289740
+ }
289741
+ return;
289742
+ }
289743
+ function generateRandomSession() {
289744
+ const bytes = new Uint8Array(RANDOM_SESSION_ID_LENGTH / 2);
289745
+ crypto.getRandomValues(bytes);
289746
+ let hex = "";
289747
+ for (const byte of bytes) {
289748
+ hex += byte.toString(16).padStart(2, "0");
289749
+ }
289750
+ return { id: hex, source: "random" };
289751
+ }
289752
+ function resolveTelemetrySession() {
289753
+ const existing = telemetrySessionSlot.get();
289754
+ if (existing) {
289755
+ return existing;
289756
+ }
289757
+ const declaredHandle = getConfiguredTelemetrySessionId();
289758
+ const resolved = declaredHandle ? { id: declaredHandle, source: "declared" } : getInheritedSession(getProcessEnv2() ?? {}) ?? generateRandomSession();
289759
+ telemetrySessionSlot.set(resolved);
289760
+ return resolved;
289761
+ }
289762
+ function getTelemetrySessionSource() {
289763
+ return resolveTelemetrySession().source;
291241
289764
  }
291242
289765
  function getTelemetryOperationId() {
291243
289766
  const existing = telemetryOperationIdSlot.get();
@@ -291514,24 +290037,18 @@ class TelemetryService {
291514
290037
  }
291515
290038
  enrichPropertiesWithContext(properties, context) {
291516
290039
  const globalProperties = getGlobalTelemetryProperties();
291517
- const existingSessionId = properties?.[TELEMETRY_SESSION_ID_PROPERTY] ?? this.defaultProperties?.[TELEMETRY_SESSION_ID_PROPERTY] ?? globalProperties?.[TELEMETRY_SESSION_ID_PROPERTY];
291518
- const sessionId = resolveTelemetrySessionId(existingSessionId);
291519
290040
  const enriched = {
291520
290041
  ...getExecutionContextTelemetryProperties(),
291521
290042
  ...globalProperties,
291522
290043
  ...this.defaultProperties,
291523
290044
  ...redactProperties(properties ?? {}),
290045
+ [TELEMETRY_SESSION_SOURCE_PROPERTY]: getTelemetrySessionSource(),
291524
290046
  ...context ? {
291525
290047
  [TELEMETRY_OPERATION_ID_PROPERTY]: context.operationId,
291526
290048
  ...context.parentId !== undefined ? { [TELEMETRY_PARENT_ID_PROPERTY]: context.parentId } : {},
291527
290049
  [TELEMETRY_SPAN_ID_PROPERTY]: context.id
291528
290050
  } : {}
291529
290051
  };
291530
- if (sessionId === undefined) {
291531
- delete enriched[TELEMETRY_SESSION_ID_PROPERTY];
291532
- } else {
291533
- enriched[TELEMETRY_SESSION_ID_PROPERTY] = sessionId;
291534
- }
291535
290052
  return enriched;
291536
290053
  }
291537
290054
  generateId() {
@@ -294649,9 +293166,6 @@ init_server();
294649
293166
  // src/services/case-debug-studio-web-service.ts
294650
293167
  var import_case_schema = __toESM(require_dist2(), 1);
294651
293168
  init_src();
294652
-
294653
- // ../maestro-sdk/src/bpmn-validation/canvas/canvas-validator.ts
294654
- var import_sax = __toESM(require_sax(), 1);
294655
293169
  // ../maestro-sdk/src/manifest/bpmn-spec.json
294656
293170
  var bpmn_spec_default = {
294657
293171
  version: "1.0.0",
@@ -296857,8 +295371,8 @@ var bpmn_spec_default = {
296857
295371
  <bpmn:outgoing>{outgoingEdge}</bpmn:outgoing>
296858
295372
  </bpmn:Task>`,
296859
295373
  inputNotes: "Variable mappings use uipath:mapping with direct input/output elements, not a jsonBody pattern",
296860
- bpmnElementNotes: "Also used on bpmn:StartEvent and bpmn:EndEvent for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
296861
- extensionTagNotes: "Uses uipath:mapping (not uipath:activity). createExtensionTask checks for serviceType=BPMN.Variables on StartEvent/EndEvent/Task and routes to createModdleExtensionVariableMapping."
295374
+ bpmnElementNotes: "Also used on bpmn:StartEvent, bpmn:EndEvent, bpmn:ScriptTask, and bpmn:SubProcess for variable mappings. On bpmn:Task with no serviceType, defaults to BPMN.Variables.",
295375
+ extensionTagNotes: "Uses uipath:mapping (not uipath:activity). BPMN.Variables mappings are supported on StartEvent, EndEvent, Task, ScriptTask, and SubProcess owners."
296862
295376
  },
296863
295377
  "BPMN.ScriptTask": {
296864
295378
  extensionType: "BPMN.ScriptTask",
@@ -297602,392 +296116,6 @@ var SUPPORTED_UIPATH_EXTENSION_TAG_NAMES = Object.freeze([
297602
296116
  ].sort());
297603
296117
  var SUPPORTED_UIPATH_EXTENSION_TAGS = Object.freeze(SUPPORTED_UIPATH_EXTENSION_TAG_NAMES.map((tag) => `uipath:${tag}`));
297604
296118
 
297605
- // ../maestro-sdk/src/bpmn-validation/canvas/model.ts
297606
- var ABSTRACT_ACTIVITY = new Set([
297607
- "bpmn:Task",
297608
- "bpmn:ServiceTask",
297609
- "bpmn:UserTask",
297610
- "bpmn:ScriptTask",
297611
- "bpmn:SendTask",
297612
- "bpmn:ReceiveTask",
297613
- "bpmn:BusinessRuleTask",
297614
- "bpmn:ManualTask",
297615
- "bpmn:CallActivity",
297616
- "bpmn:SubProcess",
297617
- "bpmn:AdHocSubProcess",
297618
- "bpmn:Transaction"
297619
- ]);
297620
- var ABSTRACT_EVENT = new Set([
297621
- "bpmn:StartEvent",
297622
- "bpmn:EndEvent",
297623
- "bpmn:IntermediateCatchEvent",
297624
- "bpmn:IntermediateThrowEvent",
297625
- "bpmn:BoundaryEvent"
297626
- ]);
297627
- var FLOW_EDGE_TYPES = new Set([
297628
- "bpmn:SequenceFlow",
297629
- "bpmn:MessageFlow",
297630
- "bpmn:Association"
297631
- ]);
297632
-
297633
- // ../maestro-sdk/src/bpmn-validation/canvas/known-methods.json
297634
- var known_methods_default = [
297635
- "Abs",
297636
- "Acos",
297637
- "AcosPi",
297638
- "Acosh",
297639
- "Add",
297640
- "AddDays",
297641
- "AddHours",
297642
- "AddMicroseconds",
297643
- "AddMilliseconds",
297644
- "AddMinutes",
297645
- "AddMonths",
297646
- "AddSeconds",
297647
- "AddTicks",
297648
- "AddYears",
297649
- "Asin",
297650
- "AsinPi",
297651
- "Asinh",
297652
- "Atan",
297653
- "Atan2",
297654
- "Atan2Pi",
297655
- "AtanPi",
297656
- "Atanh",
297657
- "BigMul",
297658
- "BitDecrement",
297659
- "BitIncrement",
297660
- "Cbrt",
297661
- "Ceiling",
297662
- "ChangeType",
297663
- "Clamp",
297664
- "Clone",
297665
- "Compare",
297666
- "CompareOrdinal",
297667
- "CompareTo",
297668
- "Concat",
297669
- "Contains",
297670
- "ConvertFromUtf32",
297671
- "ConvertToInteger",
297672
- "ConvertToIntegerNative",
297673
- "Copy",
297674
- "CopySign",
297675
- "CopyTo",
297676
- "Cos",
297677
- "CosPi",
297678
- "Cosh",
297679
- "Create",
297680
- "CreateChecked",
297681
- "CreateSaturating",
297682
- "CreateTruncating",
297683
- "CreateVersion7",
297684
- "DaysInMonth",
297685
- "Deconstruct",
297686
- "DegreesToRadians",
297687
- "DivRem",
297688
- "Divide",
297689
- "Duration",
297690
- "EndsWith",
297691
- "Equals",
297692
- "Exp",
297693
- "Exp10",
297694
- "Exp10M1",
297695
- "Exp2",
297696
- "Exp2M1",
297697
- "ExpM1",
297698
- "Finalize",
297699
- "Floor",
297700
- "Format",
297701
- "FromBase64CharArray",
297702
- "FromBase64String",
297703
- "FromBinary",
297704
- "FromDays",
297705
- "FromFileTime",
297706
- "FromFileTimeUtc",
297707
- "FromHexString",
297708
- "FromHours",
297709
- "FromMicroseconds",
297710
- "FromMilliseconds",
297711
- "FromMinutes",
297712
- "FromOACurrency",
297713
- "FromOADate",
297714
- "FromSeconds",
297715
- "FromTicks",
297716
- "FusedMultiplyAdd",
297717
- "GetBits",
297718
- "GetDateTimeFormats",
297719
- "GetEnumerator",
297720
- "GetHashCode",
297721
- "GetNumericValue",
297722
- "GetPinnableReference",
297723
- "GetType",
297724
- "GetTypeCode",
297725
- "GetUnicodeCategory",
297726
- "Hypot",
297727
- "IEEERemainder",
297728
- "ILogB",
297729
- "Ieee754Remainder",
297730
- "IndexOf",
297731
- "IndexOfAny",
297732
- "Insert",
297733
- "Intern",
297734
- "IsAscii",
297735
- "IsAsciiDigit",
297736
- "IsAsciiHexDigit",
297737
- "IsAsciiHexDigitLower",
297738
- "IsAsciiHexDigitUpper",
297739
- "IsAsciiLetter",
297740
- "IsAsciiLetterLower",
297741
- "IsAsciiLetterOrDigit",
297742
- "IsAsciiLetterUpper",
297743
- "IsBetween",
297744
- "IsCanonical",
297745
- "IsControl",
297746
- "IsDBNull",
297747
- "IsDaylightSavingTime",
297748
- "IsDigit",
297749
- "IsEvenInteger",
297750
- "IsFinite",
297751
- "IsHighSurrogate",
297752
- "IsInfinity",
297753
- "IsInteger",
297754
- "IsInterned",
297755
- "IsLeapYear",
297756
- "IsLetter",
297757
- "IsLetterOrDigit",
297758
- "IsLowSurrogate",
297759
- "IsLower",
297760
- "IsNaN",
297761
- "IsNegative",
297762
- "IsNegativeInfinity",
297763
- "IsNormal",
297764
- "IsNormalized",
297765
- "IsNullOrEmpty",
297766
- "IsNullOrWhiteSpace",
297767
- "IsNumber",
297768
- "IsOddInteger",
297769
- "IsPositive",
297770
- "IsPositiveInfinity",
297771
- "IsPow2",
297772
- "IsPunctuation",
297773
- "IsRealNumber",
297774
- "IsSeparator",
297775
- "IsSubnormal",
297776
- "IsSurrogate",
297777
- "IsSurrogatePair",
297778
- "IsSymbol",
297779
- "IsUpper",
297780
- "IsWhiteSpace",
297781
- "Join",
297782
- "LastIndexOf",
297783
- "LastIndexOfAny",
297784
- "LeadingZeroCount",
297785
- "Lerp",
297786
- "Log",
297787
- "Log10",
297788
- "Log10P1",
297789
- "Log2",
297790
- "Log2P1",
297791
- "LogP1",
297792
- "Max",
297793
- "MaxMagnitude",
297794
- "MaxMagnitudeNumber",
297795
- "MaxNumber",
297796
- "MemberwiseClone",
297797
- "Min",
297798
- "MinMagnitude",
297799
- "MinMagnitudeNumber",
297800
- "MinNumber",
297801
- "Multiply",
297802
- "MultiplyAddEstimate",
297803
- "Negate",
297804
- "NewGuid",
297805
- "Normalize",
297806
- "PadLeft",
297807
- "PadRight",
297808
- "Parse",
297809
- "ParseExact",
297810
- "PopCount",
297811
- "Pow",
297812
- "RadiansToDegrees",
297813
- "ReciprocalEstimate",
297814
- "ReciprocalSqrtEstimate",
297815
- "ReferenceEquals",
297816
- "Remainder",
297817
- "Remove",
297818
- "Replace",
297819
- "ReplaceLineEndings",
297820
- "RootN",
297821
- "RotateLeft",
297822
- "RotateRight",
297823
- "Round",
297824
- "Scale",
297825
- "ScaleB",
297826
- "Sign",
297827
- "Sin",
297828
- "SinCos",
297829
- "SinCosPi",
297830
- "SinPi",
297831
- "Sinh",
297832
- "SpecifyKind",
297833
- "Split",
297834
- "Sqrt",
297835
- "StartsWith",
297836
- "Substring",
297837
- "Subtract",
297838
- "Tan",
297839
- "TanPi",
297840
- "Tanh",
297841
- "ToBase64CharArray",
297842
- "ToBase64String",
297843
- "ToBinary",
297844
- "ToBoolean",
297845
- "ToByte",
297846
- "ToByteArray",
297847
- "ToChar",
297848
- "ToCharArray",
297849
- "ToDateTime",
297850
- "ToDecimal",
297851
- "ToDouble",
297852
- "ToFileTime",
297853
- "ToFileTimeUtc",
297854
- "ToInt16",
297855
- "ToInt32",
297856
- "ToInt64",
297857
- "ToLocalTime",
297858
- "ToLongDateString",
297859
- "ToLongTimeString",
297860
- "ToLower",
297861
- "ToLowerInvariant",
297862
- "ToOACurrency",
297863
- "ToOADate",
297864
- "ToSByte",
297865
- "ToShortDateString",
297866
- "ToShortTimeString",
297867
- "ToSingle",
297868
- "ToString",
297869
- "ToUInt16",
297870
- "ToUInt32",
297871
- "ToUInt64",
297872
- "ToUniversalTime",
297873
- "ToUpper",
297874
- "ToUpperInvariant",
297875
- "TrailingZeroCount",
297876
- "Trim",
297877
- "TrimEnd",
297878
- "TrimStart",
297879
- "Truncate",
297880
- "TryFormat",
297881
- "TryFromBase64Chars",
297882
- "TryFromBase64String",
297883
- "TryGetBits",
297884
- "TryParse",
297885
- "TryParseExact",
297886
- "TryToBase64Chars",
297887
- "TryToHexString",
297888
- "TryToHexStringLower",
297889
- "TryWriteBytes"
297890
- ];
297891
-
297892
- // ../maestro-sdk/src/bpmn-validation/canvas/rules.ts
297893
- var BUILTIN_NON_VARIABLE_VARS_SEGMENTS = new Set(["error"]);
297894
- var baseAllowedTargets = new Set(["bpmn:TextAnnotation"]);
297895
- var commonAllowedTargets = new Set([
297896
- ...baseAllowedTargets,
297897
- "bpmn:IntermediateThrowEvent",
297898
- "bpmn:IntermediateCatchEvent",
297899
- "bpmn:EndEvent",
297900
- "bpmn:ExclusiveGateway",
297901
- "bpmn:ParallelGateway",
297902
- "bpmn:InclusiveGateway",
297903
- "bpmn:ComplexGateway",
297904
- "bpmn:Task",
297905
- "bpmn:UserTask",
297906
- "bpmn:ServiceTask",
297907
- "bpmn:SendTask",
297908
- "bpmn:ReceiveTask",
297909
- "bpmn:ManualTask",
297910
- "bpmn:BusinessRuleTask",
297911
- "bpmn:ScriptTask",
297912
- "bpmn:CallActivity",
297913
- "bpmn:SubProcess",
297914
- "bpmn:AdHocSubProcess",
297915
- "bpmn:Transaction"
297916
- ]);
297917
- var activityAllowedTargets = new Set([
297918
- ...commonAllowedTargets,
297919
- "bpmn:EventBasedGateway",
297920
- "bpmn:DataOutput",
297921
- "bpmn:DataStoreReference",
297922
- "bpmn:DataObjectReference"
297923
- ]);
297924
- var allowedTargetNodeTypesForSourceNodeType = {
297925
- "bpmn:StartEvent": commonAllowedTargets,
297926
- "bpmn:IntermediateThrowEvent": commonAllowedTargets,
297927
- "bpmn:IntermediateCatchEvent": commonAllowedTargets,
297928
- "bpmn:BoundaryEvent": commonAllowedTargets,
297929
- "bpmn:EndEvent": new Set(["bpmn:TextAnnotation"]),
297930
- "bpmn:ExclusiveGateway": commonAllowedTargets,
297931
- "bpmn:ParallelGateway": commonAllowedTargets,
297932
- "bpmn:InclusiveGateway": commonAllowedTargets,
297933
- "bpmn:ComplexGateway": commonAllowedTargets,
297934
- "bpmn:EventBasedGateway": new Set([
297935
- "bpmn:IntermediateCatchEvent",
297936
- "bpmn:TextAnnotation"
297937
- ]),
297938
- "bpmn:Task": activityAllowedTargets,
297939
- "bpmn:UserTask": activityAllowedTargets,
297940
- "bpmn:ServiceTask": activityAllowedTargets,
297941
- "bpmn:SendTask": activityAllowedTargets,
297942
- "bpmn:ReceiveTask": activityAllowedTargets,
297943
- "bpmn:ManualTask": activityAllowedTargets,
297944
- "bpmn:BusinessRuleTask": activityAllowedTargets,
297945
- "bpmn:ScriptTask": activityAllowedTargets,
297946
- "bpmn:CallActivity": activityAllowedTargets,
297947
- "bpmn:SubProcess": activityAllowedTargets,
297948
- "bpmn:AdHocSubProcess": activityAllowedTargets,
297949
- "bpmn:Transaction": activityAllowedTargets,
297950
- "bpmn:TextAnnotation": new Set,
297951
- "bpmn:Participant": baseAllowedTargets,
297952
- "bpmn:Lane": baseAllowedTargets
297953
- };
297954
- var SERVICE_TYPES_REQUIRING_RESOURCE = new Set([
297955
- "Orchestrator.StartAgentJob",
297956
- "Orchestrator.StartJob",
297957
- "Orchestrator.CreateQueueItem",
297958
- "Orchestrator.CreateAndWaitForQueueItem",
297959
- "Orchestrator.BulkAddQueueItems",
297960
- "Orchestrator.QueueItemAdded",
297961
- "Orchestrator.ExecuteApiWorkflowAsync",
297962
- "Orchestrator.StartFlowProcess",
297963
- "Orchestrator.StartFlowProcessAsync",
297964
- "Actions.HITL",
297965
- "Orchestrator.StartAgenticProcess",
297966
- "Orchestrator.StartAgenticProcessAsync",
297967
- "Orchestrator.StartCaseMgmtProcess",
297968
- "Orchestrator.StartCaseMgmtProcessAsync"
297969
- ]);
297970
- var HITL_QUICK_SCHEMA_CONTEXT_NAMES = new Set([
297971
- "_schemaFileId",
297972
- "hitlSchemaId",
297973
- "__hitlFormSchema"
297974
- ]);
297975
- var MAX_TIMER_MINUTES = 90 * 24 * 60;
297976
- var CONDITION_IGNORING_NODE_TYPES = new Set([
297977
- "bpmn:ParallelGateway",
297978
- "bpmn:EventBasedGateway"
297979
- ]);
297980
- var SUPERFLUOUS_RULE_GATEWAY_TYPES = new Set([
297981
- "bpmn:ExclusiveGateway",
297982
- "bpmn:InclusiveGateway"
297983
- ]);
297984
- var METHODS_FOLLOWED_BY_PARENTHESES = new Set(known_methods_default);
297985
- var SERVICE_TYPES_WITH_INPUT_TYPE_VALIDATION = new Set([
297986
- "Orchestrator.StartAgentJob"
297987
- ]);
297988
- var NUMERIC_INPUT_TYPES = new Set(["integer", "number", "double", "float"]);
297989
- var JSON_INPUT_TYPES = new Set(["json", "jsonSchema", "object", "array"]);
297990
- var JSON_CONTAINER_INPUT_TYPES = new Set(["json", "jsonSchema"]);
297991
296119
  // ../maestro-sdk/src/bpmn-validation/project-validator.ts
297992
296120
  var KNOWN_UIPATH_TAGS = new Set(SUPPORTED_UIPATH_EXTENSION_TAGS);
297993
296121
  // ../maestro-sdk/src/client.ts
@@ -368859,7 +366987,7 @@ class TextApiResponse {
368859
366987
  var package_default2 = {
368860
366988
  name: "@uipath/integrationservice-sdk",
368861
366989
  license: "MIT",
368862
- version: "1.199.0-preview.97",
366990
+ version: "1.199.0",
368863
366991
  repository: {
368864
366992
  type: "git",
368865
366993
  url: "https://github.com/UiPath/cli.git",
@@ -383066,7 +381194,7 @@ function querystringSingleKey4(key, value, keyPrefix = "") {
383066
381194
  var package_default4 = {
383067
381195
  name: "@uipath/solution-sdk",
383068
381196
  license: "MIT",
383069
- version: "1.199.0-preview.97",
381197
+ version: "1.199.0",
383070
381198
  repository: {
383071
381199
  type: "git",
383072
381200
  url: "https://github.com/UiPath/cli.git",
@@ -411528,7 +409656,7 @@ function requireOmap2() {
411528
409656
  function resolveYamlOmap(data) {
411529
409657
  if (data === null)
411530
409658
  return true;
411531
- const objectKeys = [];
409659
+ const objectKeys = {};
411532
409660
  const object3 = data;
411533
409661
  for (let index = 0, length = object3.length;index < length; index += 1) {
411534
409662
  const pair = object3[index];
@@ -411546,10 +409674,9 @@ function requireOmap2() {
411546
409674
  }
411547
409675
  if (!pairHasKey)
411548
409676
  return false;
411549
- if (objectKeys.indexOf(pairKey) === -1)
411550
- objectKeys.push(pairKey);
411551
- else
409677
+ if (_hasOwnProperty.call(objectKeys, pairKey))
411552
409678
  return false;
409679
+ Object.defineProperty(objectKeys, pairKey, { value: true });
411553
409680
  }
411554
409681
  return true;
411555
409682
  }
@@ -414390,8 +412517,18 @@ function getInboundTraceContext2() {
414390
412517
  return parseInboundTraceparent2(getProcessEnv3()?.[TELEMETRY_TRACEPARENT_ENV2]);
414391
412518
  }
414392
412519
  var TELEMETRY_SESSION_ID_ENV2 = "UIPATH_SESSION_ID";
414393
- var TELEMETRY_SESSION_ID_PROPERTY2 = "session_id";
414394
- var telemetrySessionIdSlot2 = singleton3("TelemetrySessionId");
412520
+ var SESSION_ID_MAX_LENGTH2 = 64;
412521
+ var RANDOM_SESSION_ID_LENGTH2 = 32;
412522
+ var TELEMETRY_SESSION_SOURCE_PROPERTY2 = "session_id_source";
412523
+ var CONTROL_CHARACTERS2 = /\p{Cc}/gu;
412524
+ var INHERITED_SESSION_SOURCES2 = [
412525
+ { envVar: "CLAUDE_CODE_SESSION_ID", source: "claude-code" },
412526
+ { envVar: "CODEX_THREAD_ID", source: "codex" },
412527
+ { envVar: "ANTIGRAVITY_TRAJECTORY_ID", source: "antigravity" },
412528
+ { envVar: "TERM_SESSION_ID", source: "terminal" },
412529
+ { envVar: "WT_SESSION", source: "terminal" }
412530
+ ];
412531
+ var telemetrySessionSlot2 = singleton3("TelemetrySession");
414395
412532
  var telemetryOperationIdSlot2 = singleton3("TelemetryOperationId");
414396
412533
  function getProcessEnv22() {
414397
412534
  return globalThis.process?.env;
@@ -414400,14 +412537,42 @@ function normalizeSessionId2(value) {
414400
412537
  if (typeof value !== "string" && typeof value !== "number" && typeof value !== "boolean") {
414401
412538
  return;
414402
412539
  }
414403
- const trimmed = String(value).trim();
414404
- return trimmed || undefined;
412540
+ const cleaned = String(value).replace(CONTROL_CHARACTERS2, "").trim().slice(0, SESSION_ID_MAX_LENGTH2);
412541
+ return cleaned || undefined;
414405
412542
  }
414406
412543
  function getConfiguredTelemetrySessionId2() {
414407
412544
  return normalizeSessionId2(getProcessEnv22()?.[TELEMETRY_SESSION_ID_ENV2]);
414408
412545
  }
414409
- function resolveTelemetrySessionId2(existingSessionId) {
414410
- return getConfiguredTelemetrySessionId2() ?? normalizeSessionId2(existingSessionId);
412546
+ function getInheritedSession2(env) {
412547
+ for (const candidate of INHERITED_SESSION_SOURCES2) {
412548
+ const handle = normalizeSessionId2(env[candidate.envVar]);
412549
+ if (handle) {
412550
+ return { id: handle, source: candidate.source };
412551
+ }
412552
+ }
412553
+ return;
412554
+ }
412555
+ function generateRandomSession2() {
412556
+ const bytes = new Uint8Array(RANDOM_SESSION_ID_LENGTH2 / 2);
412557
+ crypto.getRandomValues(bytes);
412558
+ let hex3 = "";
412559
+ for (const byte of bytes) {
412560
+ hex3 += byte.toString(16).padStart(2, "0");
412561
+ }
412562
+ return { id: hex3, source: "random" };
412563
+ }
412564
+ function resolveTelemetrySession2() {
412565
+ const existing = telemetrySessionSlot2.get();
412566
+ if (existing) {
412567
+ return existing;
412568
+ }
412569
+ const declaredHandle = getConfiguredTelemetrySessionId2();
412570
+ const resolved = declaredHandle ? { id: declaredHandle, source: "declared" } : getInheritedSession2(getProcessEnv22() ?? {}) ?? generateRandomSession2();
412571
+ telemetrySessionSlot2.set(resolved);
412572
+ return resolved;
412573
+ }
412574
+ function getTelemetrySessionSource2() {
412575
+ return resolveTelemetrySession2().source;
414411
412576
  }
414412
412577
  function getTelemetryOperationId2() {
414413
412578
  const existing = telemetryOperationIdSlot2.get();
@@ -414679,24 +412844,18 @@ class TelemetryService2 {
414679
412844
  }
414680
412845
  enrichPropertiesWithContext(properties, context) {
414681
412846
  const globalProperties = getGlobalTelemetryProperties2();
414682
- const existingSessionId = properties?.[TELEMETRY_SESSION_ID_PROPERTY2] ?? this.defaultProperties?.[TELEMETRY_SESSION_ID_PROPERTY2] ?? globalProperties?.[TELEMETRY_SESSION_ID_PROPERTY2];
414683
- const sessionId = resolveTelemetrySessionId2(existingSessionId);
414684
412847
  const enriched = {
414685
412848
  ...getExecutionContextTelemetryProperties2(),
414686
412849
  ...globalProperties,
414687
412850
  ...this.defaultProperties,
414688
412851
  ...redactProperties2(properties ?? {}),
412852
+ [TELEMETRY_SESSION_SOURCE_PROPERTY2]: getTelemetrySessionSource2(),
414689
412853
  ...context ? {
414690
412854
  [TELEMETRY_OPERATION_ID_PROPERTY2]: context.operationId,
414691
412855
  ...context.parentId !== undefined ? { [TELEMETRY_PARENT_ID_PROPERTY2]: context.parentId } : {},
414692
412856
  [TELEMETRY_SPAN_ID_PROPERTY2]: context.id
414693
412857
  } : {}
414694
412858
  };
414695
- if (sessionId === undefined) {
414696
- delete enriched[TELEMETRY_SESSION_ID_PROPERTY2];
414697
- } else {
414698
- enriched[TELEMETRY_SESSION_ID_PROPERTY2] = sessionId;
414699
- }
414700
412859
  return enriched;
414701
412860
  }
414702
412861
  generateId() {
@@ -415877,7 +414036,7 @@ function querystringSingleKey6(key, value, keyPrefix = "") {
415877
414036
  var package_default5 = {
415878
414037
  name: "@uipath/solution-sdk",
415879
414038
  license: "MIT",
415880
- version: "1.199.0-preview.97",
414039
+ version: "1.199.0",
415881
414040
  repository: {
415882
414041
  type: "git",
415883
414042
  url: "https://github.com/UiPath/cli.git",
@@ -445563,4 +443722,4 @@ export {
445563
443722
  metadata
445564
443723
  };
445565
443724
 
445566
- //# debugId=E43FD7F699E6E3B464756E2164756E21
443725
+ //# debugId=5AD6D01E84DB651E64756E2164756E21