@redocly/replay 0.15.1 → 0.16.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{replay-index-KcmnJNUQ.js → replay-index-Bv4UbMz0.js} +3 -3
- package/dist/{replay-index-GMjZSxSa.js → replay-index-C-TiRAQ1.js} +3 -2
- package/dist/{replay-tauri-path-CUezwea2.js → replay-tauri-path-C69G_hen.js} +2 -2
- package/dist/{replay-tauri-path-BI57Gi5a.js → replay-tauri-path-DNQvHky9.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +1 -1
- package/package.json +2 -2
|
@@ -152,7 +152,7 @@ See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]
|
|
|
152
152
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
153
153
|
* derived from CryptoJS.mode.CTR
|
|
154
154
|
* Jan Hruby jhruby.web@gmail.com
|
|
155
|
-
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function i(a){if((a>>24&255)===255){var l=a>>16&255,c=a>>8&255,u=a&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,a=0,a+=l<<16,a+=c<<8,a+=u}else a+=1<<24;return a}function o(a){return(a[0]=i(a[0]))===0&&(a[1]=i(a[1])),a}var s=r.Encryptor=r.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var h=d.slice(0);c.encryptBlock(h,0);for(var g=0;g<u;g++)a[l+g]^=h[g]}});return r.Decryptor=s,r}(),n.mode.CTRGladman})}(Um)),Um.exports}var Ym={exports:{}},Bw;function u9(){return Bw||(Bw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,s){var a=this._cipher,l=a.blockSize,c=this._iv,u=this._keystream;c&&(u=this._keystream=c.slice(0),this._iv=void 0),a.encryptBlock(u,0);for(var f=0;f<l;f++)o[s+f]^=u[f]}});return r.Decryptor=i,r}(),n.mode.OFB})}(Ym)),Ym.exports}var qm={exports:{}},Qw;function f9(){return Qw||(Qw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,o){this._cipher.encryptBlock(i,o)}}),r.Decryptor=r.extend({processBlock:function(i,o){this._cipher.decryptBlock(i,o)}}),r}(),n.mode.ECB})}(qm)),qm.exports}var Hm={exports:{}},Fw;function d9(){return Fw||(Fw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.AnsiX923={pad:function(r,i){var o=r.sigBytes,s=i*4,a=s-o%s,l=o+a-1;r.clamp(),r.words[l>>>2]|=a<<24-l%4*8,r.sigBytes+=a},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(Hm)),Hm.exports}var Jm={exports:{}},Lw;function h9(){return Lw||(Lw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,s=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(s-1)).concat(n.lib.WordArray.create([s<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(Jm)),Jm.exports}var Km={exports:{}},zw;function p9(){return zw||(zw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(Km)),Km.exports}var e0={exports:{}},Vw;function g9(){return Vw||(Vw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(e0)),e0.exports}var t0={exports:{}},Ww;function m9(){return Ww||(Ww=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(t0)),t0.exports}var n0={exports:{}},Zw;function v9(){return Zw||(Zw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return function(r){var i=n,o=i.lib,s=o.CipherParams,a=i.enc,l=a.Hex,c=i.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var f=l.parse(u);return s.create({ciphertext:f})}}}(),n.format.Hex})}(n0)),n0.exports}var r0={exports:{}},Xw;function O9(){return Xw||(Xw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,s=r.algo,a=[],l=[],c=[],u=[],f=[],d=[],h=[],g=[],m=[],v=[];(function(){for(var y=[],S=0;S<256;S++)S<128?y[S]=S<<1:y[S]=S<<1^283;for(var b=0,w=0,S=0;S<256;S++){var C=w^w<<1^w<<2^w<<3^w<<4;C=C>>>8^C&255^99,a[b]=C,l[C]=b;var P=y[b],k=y[P],I=y[k],T=y[C]*257^C*16843008;c[b]=T<<24|T>>>8,u[b]=T<<16|T>>>16,f[b]=T<<8|T>>>24,d[b]=T;var T=I*16843009^k*65537^P*257^b*16843008;h[C]=T<<24|T>>>8,g[C]=T<<16|T>>>16,m[C]=T<<8|T>>>24,v[C]=T,b?(b=P^y[y[y[I^P]]],w^=y[y[w]]):b=w=1}})();var O=[0,1,2,4,8,16,32,64,128,27,54],x=s.AES=o.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var S=this._keyPriorReset=this._key,b=S.words,w=S.sigBytes/4,C=this._nRounds=w+6,P=(C+1)*4,k=this._keySchedule=[],I=0;I<P;I++)I<w?k[I]=b[I]:(y=k[I-1],I%w?w>6&&I%w==4&&(y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255]):(y=y<<8|y>>>24,y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255],y^=O[I/w|0]<<24),k[I]=k[I-w]^y);for(var T=this._invKeySchedule=[],j=0;j<P;j++){var I=P-j;if(j%4)var y=k[I];else var y=k[I-4];j<4||I<=4?T[j]=y:T[j]=h[a[y>>>24]]^g[a[y>>>16&255]]^m[a[y>>>8&255]]^v[a[y&255]]}}},encryptBlock:function(y,S){this._doCryptBlock(y,S,this._keySchedule,c,u,f,d,a)},decryptBlock:function(y,S){var b=y[S+1];y[S+1]=y[S+3],y[S+3]=b,this._doCryptBlock(y,S,this._invKeySchedule,h,g,m,v,l);var b=y[S+1];y[S+1]=y[S+3],y[S+3]=b},_doCryptBlock:function(y,S,b,w,C,P,k,I){for(var T=this._nRounds,j=y[S]^b[0],B=y[S+1]^b[1],z=y[S+2]^b[2],Q=y[S+3]^b[3],V=4,U=1;U<T;U++){var Z=w[j>>>24]^C[B>>>16&255]^P[z>>>8&255]^k[Q&255]^b[V++],Y=w[B>>>24]^C[z>>>16&255]^P[Q>>>8&255]^k[j&255]^b[V++],M=w[z>>>24]^C[Q>>>16&255]^P[j>>>8&255]^k[B&255]^b[V++],F=w[Q>>>24]^C[j>>>16&255]^P[B>>>8&255]^k[z&255]^b[V++];j=Z,B=Y,z=M,Q=F}var Z=(I[j>>>24]<<24|I[B>>>16&255]<<16|I[z>>>8&255]<<8|I[Q&255])^b[V++],Y=(I[B>>>24]<<24|I[z>>>16&255]<<16|I[Q>>>8&255]<<8|I[j&255])^b[V++],M=(I[z>>>24]<<24|I[Q>>>16&255]<<16|I[j>>>8&255]<<8|I[B&255])^b[V++],F=(I[Q>>>24]<<24|I[j>>>16&255]<<16|I[B>>>8&255]<<8|I[z&255])^b[V++];y[S]=Z,y[S+1]=Y,y[S+2]=M,y[S+3]=F},keySize:256/32});r.AES=o._createHelper(x)}(),n.AES})}(r0)),r0.exports}var i0={exports:{}},Gw;function x9(){return Gw||(Gw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,s=i.BlockCipher,a=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=a.DES=s.extend({_doReset:function(){for(var O=this._key,x=O.words,y=[],S=0;S<56;S++){var b=l[S]-1;y[S]=x[b>>>5]>>>31-b%32&1}for(var w=this._subKeys=[],C=0;C<16;C++){for(var P=w[C]=[],k=u[C],S=0;S<24;S++)P[S/6|0]|=y[(c[S]-1+k)%28]<<31-S%6,P[4+(S/6|0)]|=y[28+(c[S+24]-1+k)%28]<<31-S%6;P[0]=P[0]<<1|P[0]>>>31;for(var S=1;S<7;S++)P[S]=P[S]>>>(S-1)*4+3;P[7]=P[7]<<5|P[7]>>>27}for(var I=this._invSubKeys=[],S=0;S<16;S++)I[S]=w[15-S]},encryptBlock:function(O,x){this._doCryptBlock(O,x,this._subKeys)},decryptBlock:function(O,x){this._doCryptBlock(O,x,this._invSubKeys)},_doCryptBlock:function(O,x,y){this._lBlock=O[x],this._rBlock=O[x+1],g.call(this,4,252645135),g.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),g.call(this,1,1431655765);for(var S=0;S<16;S++){for(var b=y[S],w=this._lBlock,C=this._rBlock,P=0,k=0;k<8;k++)P|=f[k][((C^b[k])&d[k])>>>0];this._lBlock=C,this._rBlock=w^P}var I=this._lBlock;this._lBlock=this._rBlock,this._rBlock=I,g.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),O[x]=this._lBlock,O[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function g(O,x){var y=(this._lBlock>>>O^this._rBlock)&x;this._rBlock^=y,this._lBlock^=y<<O}function m(O,x){var y=(this._rBlock>>>O^this._lBlock)&x;this._lBlock^=y,this._rBlock^=y<<O}r.DES=s._createHelper(h);var v=a.TripleDES=s.extend({_doReset:function(){var O=this._key,x=O.words;if(x.length!==2&&x.length!==4&&x.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=x.slice(0,2),S=x.length<4?x.slice(0,2):x.slice(2,4),b=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=h.createEncryptor(o.create(y)),this._des2=h.createEncryptor(o.create(S)),this._des3=h.createEncryptor(o.create(b))},encryptBlock:function(O,x){this._des1.encryptBlock(O,x),this._des2.decryptBlock(O,x),this._des3.encryptBlock(O,x)},decryptBlock:function(O,x){this._des3.decryptBlock(O,x),this._des2.encryptBlock(O,x),this._des1.decryptBlock(O,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(v)}(),n.TripleDES})}(i0)),i0.exports}var o0={exports:{}},Uw;function y9(){return Uw||(Uw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=s.RC4=o.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,h=this._S=[],g=0;g<256;g++)h[g]=g;for(var g=0,m=0;g<256;g++){var v=g%d,O=f[v>>>2]>>>24-v%4*8&255;m=(m+h[g]+O)%256;var x=h[g];h[g]=h[m],h[m]=x}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,f=this._i,d=this._j,h=0,g=0;g<4;g++){f=(f+1)%256,d=(d+u[f])%256;var m=u[f];u[f]=u[d],u[d]=m,h|=u[(u[f]+u[d])%256]<<24-g*8}return this._i=f,this._j=d,h}r.RC4=o._createHelper(a);var c=s.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});r.RC4Drop=o._createHelper(c)}(),n.RC4})}(o0)),o0.exports}var s0={exports:{}},Yw;function b9(){return Yw||(Yw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=[],l=[],c=[],u=s.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,h=this.cfg.iv,g=0;g<4;g++)d[g]=(d[g]<<8|d[g]>>>24)&16711935|(d[g]<<24|d[g]>>>8)&4278255360;var m=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var g=0;g<4;g++)f.call(this);for(var g=0;g<8;g++)v[g]^=m[g+4&7];if(h){var O=h.words,x=O[0],y=O[1],S=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=S>>>16|b&4294901760,C=b<<16|S&65535;v[0]^=S,v[1]^=w,v[2]^=b,v[3]^=C,v[4]^=S,v[5]^=w,v[6]^=b,v[7]^=C;for(var g=0;g<4;g++)f.call(this)}},_doProcessBlock:function(d,h){var g=this._X;f.call(this),a[0]=g[0]^g[5]>>>16^g[3]<<16,a[1]=g[2]^g[7]>>>16^g[5]<<16,a[2]=g[4]^g[1]>>>16^g[7]<<16,a[3]=g[6]^g[3]>>>16^g[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,d[h+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,g=0;g<8;g++)l[g]=h[g];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<l[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<l[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<l[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<l[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<l[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<l[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<l[6]>>>0?1:0)|0,this._b=h[7]>>>0<l[7]>>>0?1:0;for(var g=0;g<8;g++){var m=d[g]+h[g],v=m&65535,O=m>>>16,x=((v*v>>>17)+v*O>>>15)+O*O,y=((m&4294901760)*m|0)+((m&65535)*m|0);c[g]=x^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.Rabbit=o._createHelper(u)}(),n.Rabbit})}(s0)),s0.exports}var a0={exports:{}},qw;function S9(){return qw||(qw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=[],l=[],c=[],u=s.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,h=this.cfg.iv,g=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],m=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)m[v]^=g[v+4&7];if(h){var O=h.words,x=O[0],y=O[1],S=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=S>>>16|b&4294901760,C=b<<16|S&65535;m[0]^=S,m[1]^=w,m[2]^=b,m[3]^=C,m[4]^=S,m[5]^=w,m[6]^=b,m[7]^=C;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(d,h){var g=this._X;f.call(this),a[0]=g[0]^g[5]>>>16^g[3]<<16,a[1]=g[2]^g[7]>>>16^g[5]<<16,a[2]=g[4]^g[1]>>>16^g[7]<<16,a[3]=g[6]^g[3]>>>16^g[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,d[h+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,g=0;g<8;g++)l[g]=h[g];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<l[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<l[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<l[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<l[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<l[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<l[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<l[6]>>>0?1:0)|0,this._b=h[7]>>>0<l[7]>>>0?1:0;for(var g=0;g<8;g++){var m=d[g]+h[g],v=m&65535,O=m>>>16,x=((v*v>>>17)+v*O>>>15)+O*O,y=((m&4294901760)*m|0)+((m&65535)*m|0);c[g]=x^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.RabbitLegacy=o._createHelper(u)}(),n.RabbitLegacy})}(a0)),a0.exports}var l0={exports:{}},Hw;function w9(){return Hw||(Hw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,s=r.algo;const a=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(v,O){let x=O>>24&255,y=O>>16&255,S=O>>8&255,b=O&255,w=v.sbox[0][x]+v.sbox[1][y];return w=w^v.sbox[2][S],w=w+v.sbox[3][b],w}function d(v,O,x){let y=O,S=x,b;for(let w=0;w<a;++w)y=y^v.pbox[w],S=f(v,y)^S,b=y,y=S,S=b;return b=y,y=S,S=b,S=S^v.pbox[a],y=y^v.pbox[a+1],{left:y,right:S}}function h(v,O,x){let y=O,S=x,b;for(let w=a+1;w>1;--w)y=y^v.pbox[w],S=f(v,y)^S,b=y,y=S,S=b;return b=y,y=S,S=b,S=S^v.pbox[1],y=y^v.pbox[0],{left:y,right:S}}function g(v,O,x){for(let C=0;C<4;C++){v.sbox[C]=[];for(let P=0;P<256;P++)v.sbox[C][P]=c[C][P]}let y=0;for(let C=0;C<a+2;C++)v.pbox[C]=l[C]^O[y],y++,y>=x&&(y=0);let S=0,b=0,w=0;for(let C=0;C<a+2;C+=2)w=d(v,S,b),S=w.left,b=w.right,v.pbox[C]=S,v.pbox[C+1]=b;for(let C=0;C<4;C++)for(let P=0;P<256;P+=2)w=d(v,S,b),S=w.left,b=w.right,v.sbox[C][P]=S,v.sbox[C][P+1]=b;return!0}var m=s.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,O=v.words,x=v.sigBytes/4;g(u,O,x)}},encryptBlock:function(v,O){var x=d(u,v[O],v[O+1]);v[O]=x.left,v[O+1]=x.right},decryptBlock:function(v,O){var x=h(u,v[O],v[O+1]);v[O]=x.left,v[O+1]=x.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)}(),n.Blowfish})}(l0)),l0.exports}(function(t,e){(function(n,r,i){t.exports=r(He(),Jp(),K8(),e9(),Ys(),t9(),qs(),Q$(),tb(),n9(),F$(),r9(),i9(),o9(),nb(),s9(),es(),ln(),a9(),l9(),c9(),u9(),f9(),d9(),h9(),p9(),g9(),m9(),v9(),O9(),x9(),y9(),b9(),S9(),w9())})($e,function(n){return n})})(B$);var aO=B$.exports;function si(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function Jw(t,e){for(var n="",r=0,i=-1,o=0,s,a=0;a<=t.length;++a){if(a<t.length)s=t.charCodeAt(a);else{if(s===47)break;s=47}if(s===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=a,o=0;continue}}e&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o!==-1?++o:o=-1}return n}function C9(t,e){var n=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+r:n+t+r:r}var Ua={resolve:function(){for(var e="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var o;i>=0?o=arguments[i]:(r===void 0&&(r=process.cwd()),o=r),si(o),o.length!==0&&(e=o+"/"+e,n=o.charCodeAt(0)===47)}return e=Jw(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(si(e),e.length===0)return".";var n=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=Jw(e,!n),e.length===0&&!n&&(e="."),e.length>0&&r&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return si(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n<arguments.length;++n){var r=arguments[n];si(r),r.length>0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":Ua.normalize(e)},relative:function(e,n){if(si(e),si(n),e===n||(e=Ua.resolve(e),n=Ua.resolve(n),e===n))return"";for(var r=1;r<e.length&&e.charCodeAt(r)===47;++r);for(var i=e.length,o=i-r,s=1;s<n.length&&n.charCodeAt(s)===47;++s);for(var a=n.length,l=a-s,c=o<l?o:l,u=-1,f=0;f<=c;++f){if(f===c){if(l>c){if(n.charCodeAt(s+f)===47)return n.slice(s+f+1);if(f===0)return n.slice(s+f)}else o>c&&(e.charCodeAt(r+f)===47?u=f:f===0&&(u=0));break}var d=e.charCodeAt(r+f),h=n.charCodeAt(s+f);if(d!==h)break;d===47&&(u=f)}var g="";for(f=r+u+1;f<=i;++f)(f===i||e.charCodeAt(f)===47)&&(g.length===0?g+="..":g+="/..");return g.length>0?g+n.slice(s+u):(s+=u,n.charCodeAt(s)===47&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(si(e),e.length===0)return".";for(var n=e.charCodeAt(0),r=n===47,i=-1,o=!0,s=e.length-1;s>=1;--s)if(n=e.charCodeAt(s),n===47){if(!o){i=s;break}}else o=!1;return i===-1?r?"/":".":r&&i===1?"//":e.slice(0,i)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');si(e);var r=0,i=-1,o=!0,s;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(c===47){if(!o){r=s+1;break}}else l===-1&&(o=!1,l=s+1),a>=0&&(c===n.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return r===i?i=l:i===-1&&(i=e.length),e.slice(r,i)}else{for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===47){if(!o){r=s+1;break}}else i===-1&&(o=!1,i=s+1);return i===-1?"":e.slice(r,i)}},extname:function(e){si(e);for(var n=-1,r=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(l===47){if(!o){r=a+1;break}continue}i===-1&&(o=!1,i=a+1),l===46?n===-1?n=a:s!==1&&(s=1):n!==-1&&(s=-1)}return n===-1||i===-1||s===0||s===1&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return C9("/",e)},parse:function(e){si(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var r=e.charCodeAt(0),i=r===47,o;i?(n.root="/",o=1):o=0;for(var s=-1,a=0,l=-1,c=!0,u=e.length-1,f=0;u>=o;--u){if(r=e.charCodeAt(u),r===47){if(!c){a=u+1;break}continue}l===-1&&(c=!1,l=u+1),r===46?s===-1?s=u:f!==1&&(f=1):s!==-1&&(f=-1)}return s===-1||l===-1||f===0||f===1&&s===l-1&&s===a+1?l!==-1&&(a===0&&i?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(a,l)):(a===0&&i?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Ua.posix=Ua;var L$=Ua;const lO=po(L$),P9=q3({__proto__:null,default:lO},[L$]);class Kw{constructor(e){this.baseDir=e}async ls(e=""){const n=this.makeKey(e);return Object.keys(localStorage).filter(r=>r.startsWith(n)).map(r=>r.replace(n,""))}async get(e){const n=this.makeKey(e);return localStorage.getItem(n)??null}async set(e,n){const r=this.makeKey(e);localStorage.setItem(r,n)}async remove(e){const n=this.makeKey(e);localStorage.removeItem(n)}makeKey(e){return`replay:fs:${this.baseDir}/${e}`}}async function qr(t,e={},n){return window.__TAURI_INTERNALS__.invoke(t,e,n)}var vl;(function(t){t[t.Audio=1]="Audio",t[t.Cache=2]="Cache",t[t.Config=3]="Config",t[t.Data=4]="Data",t[t.LocalData=5]="LocalData",t[t.Document=6]="Document",t[t.Download=7]="Download",t[t.Picture=8]="Picture",t[t.Public=9]="Public",t[t.Video=10]="Video",t[t.Resource=11]="Resource",t[t.Temp=12]="Temp",t[t.AppConfig=13]="AppConfig",t[t.AppData=14]="AppData",t[t.AppLocalData=15]="AppLocalData",t[t.AppCache=16]="AppCache",t[t.AppLog=17]="AppLog",t[t.Desktop=18]="Desktop",t[t.Executable=19]="Executable",t[t.Font=20]="Font",t[t.Home=21]="Home",t[t.Runtime=22]="Runtime",t[t.Template=23]="Template"})(vl||(vl={}));async function k9(){return qr("plugin:path|resolve_directory",{directory:vl.AppData})}async function A9(){return qr("plugin:path|resolve_directory",{directory:vl.Desktop})}function z$(){return window.__TAURI_INTERNALS__.plugins.path.sep}async function E9(...t){return qr("plugin:path|resolve",{paths:t})}async function Gc(...t){return qr("plugin:path|join",{paths:t})}async function I9(t){return qr("plugin:path|is_absolute",{path:t})}var eC;(function(t){t[t.Start=0]="Start",t[t.Current=1]="Current",t[t.End=2]="End"})(eC||(eC={}));async function tC(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|mkdir",{path:t instanceof URL?t.toString():t,options:e})}async function T9(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");return await qr("plugin:fs|read_dir",{path:t instanceof URL?t.toString():t,options:e})}async function $9(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");return await qr("plugin:fs|read_text_file",{path:t instanceof URL?t.toString():t,options:e})}async function j9(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|remove",{path:t instanceof URL?t.toString():t,options:e})}async function _9(t,e,n){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|write_text_file",{path:t instanceof URL?t.toString():t,data:e,options:n})}function Kp(){return!!(window!=null&&window.__TAURI__)}const gi=class gi{static async getUtils(){return gi.utils||(gi.utils=Kp()?await Promise.resolve().then(()=>require("./replay-tauri-path-BI57Gi5a.js")):await Promise.resolve().then(()=>P9)),gi.utils}static async join(...e){return(await gi.getUtils()).join(...e)}static async resolve(e){return(await gi.getUtils()).resolve(e)}static async isAbsolute(e){return(await gi.getUtils()).isAbsolute(e)}static async relative(e,n){return(await gi.getUtils()).relative(e,n)}};ie(gi,"utils",null);let qi=gi;class nC{constructor(e,n){this.baseDir=e,this.baseDirOption=n,this.initializeDirectory()}async initializeDirectory(e){try{await tC(e??"/",{baseDir:this.baseDirOption,recursive:!0})}catch(n){if(n instanceof Error&&n.message.includes("already exists"))return;throw n}}async ls(e){const n=await this.getFullPath(e);return this.getDirEntryFilesRecursively(n)}async getDirEntryFilesRecursively(e){try{const n=[],r=await T9(e,{baseDir:this.baseDirOption});for(const i of r)if(i.isDirectory){const o=await Gc(e,i.name),s=await this.getDirEntryFilesRecursively(o);n.push(...s)}else{const o=await Gc(e,i.name),s=await qi.relative(this.baseDir,o);n.push(s)}return n}catch(n){return n.includes("forbidden path")||console.error(n),[]}}async get(e){const n=await this.getFullPath(e);try{return await $9(n,{baseDir:this.baseDirOption})}catch(r){return!r.includes("No such file or directory")&&!r.includes("forbidden path")&&console.error(r),null}}async set(e,n){const r=await this.getFullPath(e),i=z$(),o=r.split(i).slice(0,-1).join(i);await tC(o,{baseDir:this.baseDirOption,recursive:!0}),await _9(r,n,{baseDir:this.baseDirOption})}async remove(e){const n=await this.getFullPath(e);try{await j9(n,{baseDir:this.baseDirOption})}catch(r){if(r instanceof Error&&r.message.includes("not found"))return;throw r}}async getFullPath(e){return await Gc(this.baseDir,e??"")}}class R9{constructor(){ie(this,"baseDir","")}async ls(e=""){return[]}async get(e){return null}async set(e,n){}async remove(e){}}class D9{constructor(e,n){ie(this,"default",Y2);this.storage=e,this.localStorageSecretsProvider=n}async read(){const e=await this.storage.get("replay-environments.yaml"),n=await this.localStorageSecretsProvider.get();let r=null,i=null;if(!e)return this.default;try{r=ml.load(e),i=n?JSON.parse(n):null}catch(a){return console.error("Failed to parse environments file",a),this.default}return r?Object.keys(r).filter(a=>a!=="version").map(a=>({name:a,inputs:Object.entries(r[a].inputs).map(([l,c])=>{var f;if(typeof c=="string")return{name:l,value:c,isSecret:!1};const u=((f=i==null?void 0:i[a])==null?void 0:f[l])??"";return{name:l,value:u,isSecret:!0}}),servers:Object.entries(r[a].servers).map(([l,c])=>({apiId:l,value:c.value,variables:Object.entries(c.variables||{}).map(([u,f])=>({name:u,value:f}))})),state:Ue.Normal})):this.default}async write(e){const n=await this.localStorageSecretsProvider.get(),r=n?JSON.parse(n):{},i=e.reduce((o,s)=>(s.name&&(o[s.name]={inputs:s.inputs.reduce((a,l)=>(l.isSecret&&r?(r[s.name]||(r[s.name]={}),r[s.name][l.name]=l.value,a[l.name]={provider:"local"}):a[l.name]=l.value,a),{}),servers:s.servers.reduce((a,l)=>(a[l.apiId]={value:l.value,variables:Object.fromEntries(l.variables.map(c=>[c.name,c.value]))},a),{})}),o),{});this.localStorageSecretsProvider.set(JSON.stringify(r)),i&&this.storage.set("replay-environments.yaml",ml.dump(i))}}var N9=Object.prototype.hasOwnProperty,M9=Object.prototype.toString,B9=function(e,n,r){if(M9.call(n)!=="[object Function]")throw new TypeError("iterator must be a function");var i=e.length;if(i===+i)for(var o=0;o<i;o++)n.call(r,e[o],o,e);else for(var s in e)N9.call(e,s)&&n.call(r,e[s],s,e)},Q9=B9,F9=bt;function bt(t,e,n){if(arguments.length===3)return bt.set(t,e,n);if(arguments.length===2)return bt.get(t,e);var r=bt.bind(bt,t);for(var i in bt)bt.hasOwnProperty(i)&&(r[i]=bt[i].bind(r,t));return r}bt.get=function(e,n){for(var r=Array.isArray(n)?n:bt.parse(n),i=0;i<r.length;++i){var o=r[i];if(!(typeof e=="object"&&o in e))throw new Error("Invalid reference token: "+o);e=e[o]}return e};bt.set=function(e,n,r){var i=Array.isArray(n)?n:bt.parse(n),o=i[0];if(i.length===0)throw Error("Can not set the root object");for(var s=0;s<i.length-1;++s){var a=i[s];typeof a!="string"&&typeof a!="number"&&(a=String(a)),!(a==="__proto__"||a==="constructor"||a==="prototype")&&(a==="-"&&Array.isArray(e)&&(a=e.length),o=i[s+1],a in e||(o.match(/^(\d+|-)$/)?e[a]=[]:e[a]={}),e=e[a])}return o==="-"&&Array.isArray(e)&&(o=e.length),e[o]=r,this};bt.remove=function(t,e){var n=Array.isArray(e)?e:bt.parse(e),r=n[n.length-1];if(r===void 0)throw new Error('Invalid JSON pointer for remove: "'+e+'"');var i=bt.get(t,n.slice(0,-1));if(Array.isArray(i)){var o=+r;if(r===""&&isNaN(o))throw new Error('Invalid array index: "'+r+'"');Array.prototype.splice.call(i,o,1)}else delete i[r]};bt.dict=function(e,n){var r={};return bt.walk(e,function(i,o){r[o]=i},n),r};bt.walk=function(e,n,r){var i=[];r=r||function(o){var s=Object.prototype.toString.call(o);return s==="[object Object]"||s==="[object Array]"},function o(s){Q9(s,function(a,l){i.push(String(l)),r(a)?o(a):n(a,bt.compile(i)),i.pop()})}(e)};bt.has=function(e,n){try{bt.get(e,n)}catch{return!1}return!0};bt.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")};bt.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")};bt.parse=function(e){if(e==="")return[];if(e.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(bt.unescape)};bt.compile=function(e){return e.length===0?"":"/"+e.map(bt.escape).join("/")};const V$=po(F9);var fr=(t=>(t.Query="Query",t.Header="Header",t.Cookie="Cookie",t))(fr||{}),q=(t=>(t.NoAuth="No Auth",t.BasicAuth="Basic Auth",t.DigestAuth="Digest Auth",t.JWT="JWT",t.APIKey="API key",t.OAuth2="OAuth 2.0",t.OpenIDConnect="OpenID Connect",t))(q||{}),J=(t=>(t.ClientCredentials="Client Credentials",t.ClientCredentialsWithJwtAssertion="Client Credentials with JWT Assertion",t.AuthorizationCode="Authorization Code",t.AuthorizationCodeWithPkce="Authorization Code with PKCE",t.Implicit="Implicit",t.Password="Password",t))(J||{}),An=(t=>(t.Body="Body",t.Header="Header",t.URL="URL",t))(An||{}),_n=(t=>(t.SIMPLE="simple",t.REGEX="regex",t.JSONPATH="jsonpath",t.XPATH="xpath",t))(_n||{});const rb={active:!0,key:"",value:""},W$="{",ib="}",Ll="^\\$inputs\\.([^}\\s]+)$|\\{\\$inputs\\.([^}\\s]+)\\}";function L9({content:t}){return p.jsx(z9,{"data-testid":"arazzo-expression",children:t})}const z9=A.span`
|
|
155
|
+
*/return n.mode.CTRGladman=function(){var r=n.lib.BlockCipherMode.extend();function i(a){if((a>>24&255)===255){var l=a>>16&255,c=a>>8&255,u=a&255;l===255?(l=0,c===255?(c=0,u===255?u=0:++u):++c):++l,a=0,a+=l<<16,a+=c<<8,a+=u}else a+=1<<24;return a}function o(a){return(a[0]=i(a[0]))===0&&(a[1]=i(a[1])),a}var s=r.Encryptor=r.extend({processBlock:function(a,l){var c=this._cipher,u=c.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var h=d.slice(0);c.encryptBlock(h,0);for(var g=0;g<u;g++)a[l+g]^=h[g]}});return r.Decryptor=s,r}(),n.mode.CTRGladman})}(Um)),Um.exports}var Ym={exports:{}},Bw;function u9(){return Bw||(Bw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.mode.OFB=function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,s){var a=this._cipher,l=a.blockSize,c=this._iv,u=this._keystream;c&&(u=this._keystream=c.slice(0),this._iv=void 0),a.encryptBlock(u,0);for(var f=0;f<l;f++)o[s+f]^=u[f]}});return r.Decryptor=i,r}(),n.mode.OFB})}(Ym)),Ym.exports}var qm={exports:{}},Qw;function f9(){return Qw||(Qw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.mode.ECB=function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,o){this._cipher.encryptBlock(i,o)}}),r.Decryptor=r.extend({processBlock:function(i,o){this._cipher.decryptBlock(i,o)}}),r}(),n.mode.ECB})}(qm)),qm.exports}var Hm={exports:{}},Fw;function d9(){return Fw||(Fw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.AnsiX923={pad:function(r,i){var o=r.sigBytes,s=i*4,a=s-o%s,l=o+a-1;r.clamp(),r.words[l>>>2]|=a<<24-l%4*8,r.sigBytes+=a},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(Hm)),Hm.exports}var Jm={exports:{}},Lw;function h9(){return Lw||(Lw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,s=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(s-1)).concat(n.lib.WordArray.create([s<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(Jm)),Jm.exports}var Km={exports:{}},zw;function p9(){return zw||(zw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(Km)),Km.exports}var e0={exports:{}},Vw;function g9(){return Vw||(Vw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(e0)),e0.exports}var t0={exports:{}},Ww;function m9(){return Ww||(Ww=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(t0)),t0.exports}var n0={exports:{}},Zw;function v9(){return Zw||(Zw=1,function(t,e){(function(n,r,i){t.exports=r(He(),ln())})($e,function(n){return function(r){var i=n,o=i.lib,s=o.CipherParams,a=i.enc,l=a.Hex,c=i.format;c.Hex={stringify:function(u){return u.ciphertext.toString(l)},parse:function(u){var f=l.parse(u);return s.create({ciphertext:f})}}}(),n.format.Hex})}(n0)),n0.exports}var r0={exports:{}},Xw;function O9(){return Xw||(Xw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,s=r.algo,a=[],l=[],c=[],u=[],f=[],d=[],h=[],g=[],m=[],v=[];(function(){for(var y=[],S=0;S<256;S++)S<128?y[S]=S<<1:y[S]=S<<1^283;for(var b=0,w=0,S=0;S<256;S++){var C=w^w<<1^w<<2^w<<3^w<<4;C=C>>>8^C&255^99,a[b]=C,l[C]=b;var P=y[b],k=y[P],I=y[k],T=y[C]*257^C*16843008;c[b]=T<<24|T>>>8,u[b]=T<<16|T>>>16,f[b]=T<<8|T>>>24,d[b]=T;var T=I*16843009^k*65537^P*257^b*16843008;h[C]=T<<24|T>>>8,g[C]=T<<16|T>>>16,m[C]=T<<8|T>>>24,v[C]=T,b?(b=P^y[y[y[I^P]]],w^=y[y[w]]):b=w=1}})();var O=[0,1,2,4,8,16,32,64,128,27,54],x=s.AES=o.extend({_doReset:function(){var y;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var S=this._keyPriorReset=this._key,b=S.words,w=S.sigBytes/4,C=this._nRounds=w+6,P=(C+1)*4,k=this._keySchedule=[],I=0;I<P;I++)I<w?k[I]=b[I]:(y=k[I-1],I%w?w>6&&I%w==4&&(y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255]):(y=y<<8|y>>>24,y=a[y>>>24]<<24|a[y>>>16&255]<<16|a[y>>>8&255]<<8|a[y&255],y^=O[I/w|0]<<24),k[I]=k[I-w]^y);for(var T=this._invKeySchedule=[],j=0;j<P;j++){var I=P-j;if(j%4)var y=k[I];else var y=k[I-4];j<4||I<=4?T[j]=y:T[j]=h[a[y>>>24]]^g[a[y>>>16&255]]^m[a[y>>>8&255]]^v[a[y&255]]}}},encryptBlock:function(y,S){this._doCryptBlock(y,S,this._keySchedule,c,u,f,d,a)},decryptBlock:function(y,S){var b=y[S+1];y[S+1]=y[S+3],y[S+3]=b,this._doCryptBlock(y,S,this._invKeySchedule,h,g,m,v,l);var b=y[S+1];y[S+1]=y[S+3],y[S+3]=b},_doCryptBlock:function(y,S,b,w,C,P,k,I){for(var T=this._nRounds,j=y[S]^b[0],B=y[S+1]^b[1],z=y[S+2]^b[2],Q=y[S+3]^b[3],V=4,U=1;U<T;U++){var Z=w[j>>>24]^C[B>>>16&255]^P[z>>>8&255]^k[Q&255]^b[V++],Y=w[B>>>24]^C[z>>>16&255]^P[Q>>>8&255]^k[j&255]^b[V++],M=w[z>>>24]^C[Q>>>16&255]^P[j>>>8&255]^k[B&255]^b[V++],F=w[Q>>>24]^C[j>>>16&255]^P[B>>>8&255]^k[z&255]^b[V++];j=Z,B=Y,z=M,Q=F}var Z=(I[j>>>24]<<24|I[B>>>16&255]<<16|I[z>>>8&255]<<8|I[Q&255])^b[V++],Y=(I[B>>>24]<<24|I[z>>>16&255]<<16|I[Q>>>8&255]<<8|I[j&255])^b[V++],M=(I[z>>>24]<<24|I[Q>>>16&255]<<16|I[j>>>8&255]<<8|I[B&255])^b[V++],F=(I[Q>>>24]<<24|I[j>>>16&255]<<16|I[B>>>8&255]<<8|I[z&255])^b[V++];y[S]=Z,y[S+1]=Y,y[S+2]=M,y[S+3]=F},keySize:256/32});r.AES=o._createHelper(x)}(),n.AES})}(r0)),r0.exports}var i0={exports:{}},Gw;function x9(){return Gw||(Gw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,s=i.BlockCipher,a=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=a.DES=s.extend({_doReset:function(){for(var O=this._key,x=O.words,y=[],S=0;S<56;S++){var b=l[S]-1;y[S]=x[b>>>5]>>>31-b%32&1}for(var w=this._subKeys=[],C=0;C<16;C++){for(var P=w[C]=[],k=u[C],S=0;S<24;S++)P[S/6|0]|=y[(c[S]-1+k)%28]<<31-S%6,P[4+(S/6|0)]|=y[28+(c[S+24]-1+k)%28]<<31-S%6;P[0]=P[0]<<1|P[0]>>>31;for(var S=1;S<7;S++)P[S]=P[S]>>>(S-1)*4+3;P[7]=P[7]<<5|P[7]>>>27}for(var I=this._invSubKeys=[],S=0;S<16;S++)I[S]=w[15-S]},encryptBlock:function(O,x){this._doCryptBlock(O,x,this._subKeys)},decryptBlock:function(O,x){this._doCryptBlock(O,x,this._invSubKeys)},_doCryptBlock:function(O,x,y){this._lBlock=O[x],this._rBlock=O[x+1],g.call(this,4,252645135),g.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),g.call(this,1,1431655765);for(var S=0;S<16;S++){for(var b=y[S],w=this._lBlock,C=this._rBlock,P=0,k=0;k<8;k++)P|=f[k][((C^b[k])&d[k])>>>0];this._lBlock=C,this._rBlock=w^P}var I=this._lBlock;this._lBlock=this._rBlock,this._rBlock=I,g.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),O[x]=this._lBlock,O[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function g(O,x){var y=(this._lBlock>>>O^this._rBlock)&x;this._rBlock^=y,this._lBlock^=y<<O}function m(O,x){var y=(this._rBlock>>>O^this._lBlock)&x;this._lBlock^=y,this._rBlock^=y<<O}r.DES=s._createHelper(h);var v=a.TripleDES=s.extend({_doReset:function(){var O=this._key,x=O.words;if(x.length!==2&&x.length!==4&&x.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var y=x.slice(0,2),S=x.length<4?x.slice(0,2):x.slice(2,4),b=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=h.createEncryptor(o.create(y)),this._des2=h.createEncryptor(o.create(S)),this._des3=h.createEncryptor(o.create(b))},encryptBlock:function(O,x){this._des1.encryptBlock(O,x),this._des2.decryptBlock(O,x),this._des3.encryptBlock(O,x)},decryptBlock:function(O,x){this._des3.decryptBlock(O,x),this._des2.encryptBlock(O,x),this._des1.decryptBlock(O,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(v)}(),n.TripleDES})}(i0)),i0.exports}var o0={exports:{}},Uw;function y9(){return Uw||(Uw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=s.RC4=o.extend({_doReset:function(){for(var u=this._key,f=u.words,d=u.sigBytes,h=this._S=[],g=0;g<256;g++)h[g]=g;for(var g=0,m=0;g<256;g++){var v=g%d,O=f[v>>>2]>>>24-v%4*8&255;m=(m+h[g]+O)%256;var x=h[g];h[g]=h[m],h[m]=x}this._i=this._j=0},_doProcessBlock:function(u,f){u[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var u=this._S,f=this._i,d=this._j,h=0,g=0;g<4;g++){f=(f+1)%256,d=(d+u[f])%256;var m=u[f];u[f]=u[d],u[d]=m,h|=u[(u[f]+u[d])%256]<<24-g*8}return this._i=f,this._j=d,h}r.RC4=o._createHelper(a);var c=s.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)l.call(this)}});r.RC4Drop=o._createHelper(c)}(),n.RC4})}(o0)),o0.exports}var s0={exports:{}},Yw;function b9(){return Yw||(Yw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=[],l=[],c=[],u=s.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,h=this.cfg.iv,g=0;g<4;g++)d[g]=(d[g]<<8|d[g]>>>24)&16711935|(d[g]<<24|d[g]>>>8)&4278255360;var m=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var g=0;g<4;g++)f.call(this);for(var g=0;g<8;g++)v[g]^=m[g+4&7];if(h){var O=h.words,x=O[0],y=O[1],S=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=S>>>16|b&4294901760,C=b<<16|S&65535;v[0]^=S,v[1]^=w,v[2]^=b,v[3]^=C,v[4]^=S,v[5]^=w,v[6]^=b,v[7]^=C;for(var g=0;g<4;g++)f.call(this)}},_doProcessBlock:function(d,h){var g=this._X;f.call(this),a[0]=g[0]^g[5]>>>16^g[3]<<16,a[1]=g[2]^g[7]>>>16^g[5]<<16,a[2]=g[4]^g[1]>>>16^g[7]<<16,a[3]=g[6]^g[3]>>>16^g[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,d[h+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,g=0;g<8;g++)l[g]=h[g];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<l[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<l[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<l[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<l[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<l[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<l[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<l[6]>>>0?1:0)|0,this._b=h[7]>>>0<l[7]>>>0?1:0;for(var g=0;g<8;g++){var m=d[g]+h[g],v=m&65535,O=m>>>16,x=((v*v>>>17)+v*O>>>15)+O*O,y=((m&4294901760)*m|0)+((m&65535)*m|0);c[g]=x^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.Rabbit=o._createHelper(u)}(),n.Rabbit})}(s0)),s0.exports}var a0={exports:{}},qw;function S9(){return qw||(qw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,s=r.algo,a=[],l=[],c=[],u=s.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,h=this.cfg.iv,g=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],m=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var v=0;v<4;v++)f.call(this);for(var v=0;v<8;v++)m[v]^=g[v+4&7];if(h){var O=h.words,x=O[0],y=O[1],S=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,b=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,w=S>>>16|b&4294901760,C=b<<16|S&65535;m[0]^=S,m[1]^=w,m[2]^=b,m[3]^=C,m[4]^=S,m[5]^=w,m[6]^=b,m[7]^=C;for(var v=0;v<4;v++)f.call(this)}},_doProcessBlock:function(d,h){var g=this._X;f.call(this),a[0]=g[0]^g[5]>>>16^g[3]<<16,a[1]=g[2]^g[7]>>>16^g[5]<<16,a[2]=g[4]^g[1]>>>16^g[7]<<16,a[3]=g[6]^g[3]>>>16^g[1]<<16;for(var m=0;m<4;m++)a[m]=(a[m]<<8|a[m]>>>24)&16711935|(a[m]<<24|a[m]>>>8)&4278255360,d[h+m]^=a[m]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,g=0;g<8;g++)l[g]=h[g];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0<l[0]>>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0<l[1]>>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0<l[2]>>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0<l[3]>>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0<l[4]>>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0<l[5]>>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0<l[6]>>>0?1:0)|0,this._b=h[7]>>>0<l[7]>>>0?1:0;for(var g=0;g<8;g++){var m=d[g]+h[g],v=m&65535,O=m>>>16,x=((v*v>>>17)+v*O>>>15)+O*O,y=((m&4294901760)*m|0)+((m&65535)*m|0);c[g]=x^y}d[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,d[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,d[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,d[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,d[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,d[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,d[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,d[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}r.RabbitLegacy=o._createHelper(u)}(),n.RabbitLegacy})}(a0)),a0.exports}var l0={exports:{}},Hw;function w9(){return Hw||(Hw=1,function(t,e){(function(n,r,i){t.exports=r(He(),Ys(),qs(),es(),ln())})($e,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,s=r.algo;const a=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function f(v,O){let x=O>>24&255,y=O>>16&255,S=O>>8&255,b=O&255,w=v.sbox[0][x]+v.sbox[1][y];return w=w^v.sbox[2][S],w=w+v.sbox[3][b],w}function d(v,O,x){let y=O,S=x,b;for(let w=0;w<a;++w)y=y^v.pbox[w],S=f(v,y)^S,b=y,y=S,S=b;return b=y,y=S,S=b,S=S^v.pbox[a],y=y^v.pbox[a+1],{left:y,right:S}}function h(v,O,x){let y=O,S=x,b;for(let w=a+1;w>1;--w)y=y^v.pbox[w],S=f(v,y)^S,b=y,y=S,S=b;return b=y,y=S,S=b,S=S^v.pbox[1],y=y^v.pbox[0],{left:y,right:S}}function g(v,O,x){for(let C=0;C<4;C++){v.sbox[C]=[];for(let P=0;P<256;P++)v.sbox[C][P]=c[C][P]}let y=0;for(let C=0;C<a+2;C++)v.pbox[C]=l[C]^O[y],y++,y>=x&&(y=0);let S=0,b=0,w=0;for(let C=0;C<a+2;C+=2)w=d(v,S,b),S=w.left,b=w.right,v.pbox[C]=S,v.pbox[C+1]=b;for(let C=0;C<4;C++)for(let P=0;P<256;P+=2)w=d(v,S,b),S=w.left,b=w.right,v.sbox[C][P]=S,v.sbox[C][P+1]=b;return!0}var m=s.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,O=v.words,x=v.sigBytes/4;g(u,O,x)}},encryptBlock:function(v,O){var x=d(u,v[O],v[O+1]);v[O]=x.left,v[O+1]=x.right},decryptBlock:function(v,O){var x=h(u,v[O],v[O+1]);v[O]=x.left,v[O+1]=x.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)}(),n.Blowfish})}(l0)),l0.exports}(function(t,e){(function(n,r,i){t.exports=r(He(),Jp(),K8(),e9(),Ys(),t9(),qs(),Q$(),tb(),n9(),F$(),r9(),i9(),o9(),nb(),s9(),es(),ln(),a9(),l9(),c9(),u9(),f9(),d9(),h9(),p9(),g9(),m9(),v9(),O9(),x9(),y9(),b9(),S9(),w9())})($e,function(n){return n})})(B$);var aO=B$.exports;function si(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function Jw(t,e){for(var n="",r=0,i=-1,o=0,s,a=0;a<=t.length;++a){if(a<t.length)s=t.charCodeAt(a);else{if(s===47)break;s=47}if(s===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=a,o=0;continue}}e&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o!==-1?++o:o=-1}return n}function C9(t,e){var n=e.dir||e.root,r=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+r:n+t+r:r}var Ua={resolve:function(){for(var e="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var o;i>=0?o=arguments[i]:(r===void 0&&(r=process.cwd()),o=r),si(o),o.length!==0&&(e=o+"/"+e,n=o.charCodeAt(0)===47)}return e=Jw(e,!n),n?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(si(e),e.length===0)return".";var n=e.charCodeAt(0)===47,r=e.charCodeAt(e.length-1)===47;return e=Jw(e,!n),e.length===0&&!n&&(e="."),e.length>0&&r&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return si(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,n=0;n<arguments.length;++n){var r=arguments[n];si(r),r.length>0&&(e===void 0?e=r:e+="/"+r)}return e===void 0?".":Ua.normalize(e)},relative:function(e,n){if(si(e),si(n),e===n||(e=Ua.resolve(e),n=Ua.resolve(n),e===n))return"";for(var r=1;r<e.length&&e.charCodeAt(r)===47;++r);for(var i=e.length,o=i-r,s=1;s<n.length&&n.charCodeAt(s)===47;++s);for(var a=n.length,l=a-s,c=o<l?o:l,u=-1,f=0;f<=c;++f){if(f===c){if(l>c){if(n.charCodeAt(s+f)===47)return n.slice(s+f+1);if(f===0)return n.slice(s+f)}else o>c&&(e.charCodeAt(r+f)===47?u=f:f===0&&(u=0));break}var d=e.charCodeAt(r+f),h=n.charCodeAt(s+f);if(d!==h)break;d===47&&(u=f)}var g="";for(f=r+u+1;f<=i;++f)(f===i||e.charCodeAt(f)===47)&&(g.length===0?g+="..":g+="/..");return g.length>0?g+n.slice(s+u):(s+=u,n.charCodeAt(s)===47&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(si(e),e.length===0)return".";for(var n=e.charCodeAt(0),r=n===47,i=-1,o=!0,s=e.length-1;s>=1;--s)if(n=e.charCodeAt(s),n===47){if(!o){i=s;break}}else o=!1;return i===-1?r?"/":".":r&&i===1?"//":e.slice(0,i)},basename:function(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');si(e);var r=0,i=-1,o=!0,s;if(n!==void 0&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(c===47){if(!o){r=s+1;break}}else l===-1&&(o=!1,l=s+1),a>=0&&(c===n.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return r===i?i=l:i===-1&&(i=e.length),e.slice(r,i)}else{for(s=e.length-1;s>=0;--s)if(e.charCodeAt(s)===47){if(!o){r=s+1;break}}else i===-1&&(o=!1,i=s+1);return i===-1?"":e.slice(r,i)}},extname:function(e){si(e);for(var n=-1,r=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(l===47){if(!o){r=a+1;break}continue}i===-1&&(o=!1,i=a+1),l===46?n===-1?n=a:s!==1&&(s=1):n!==-1&&(s=-1)}return n===-1||i===-1||s===0||s===1&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return C9("/",e)},parse:function(e){si(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return n;var r=e.charCodeAt(0),i=r===47,o;i?(n.root="/",o=1):o=0;for(var s=-1,a=0,l=-1,c=!0,u=e.length-1,f=0;u>=o;--u){if(r=e.charCodeAt(u),r===47){if(!c){a=u+1;break}continue}l===-1&&(c=!1,l=u+1),r===46?s===-1?s=u:f!==1&&(f=1):s!==-1&&(f=-1)}return s===-1||l===-1||f===0||f===1&&s===l-1&&s===a+1?l!==-1&&(a===0&&i?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(a,l)):(a===0&&i?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):i&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};Ua.posix=Ua;var L$=Ua;const lO=po(L$),P9=q3({__proto__:null,default:lO},[L$]);class Kw{constructor(e){this.baseDir=e}async ls(e=""){const n=this.makeKey(e);return Object.keys(localStorage).filter(r=>r.startsWith(n)).map(r=>r.replace(n,""))}async get(e){const n=this.makeKey(e);return localStorage.getItem(n)??null}async set(e,n){const r=this.makeKey(e);localStorage.setItem(r,n)}async remove(e){const n=this.makeKey(e);localStorage.removeItem(n)}makeKey(e){return`replay:fs:${this.baseDir}/${e}`}}async function qr(t,e={},n){return window.__TAURI_INTERNALS__.invoke(t,e,n)}var vl;(function(t){t[t.Audio=1]="Audio",t[t.Cache=2]="Cache",t[t.Config=3]="Config",t[t.Data=4]="Data",t[t.LocalData=5]="LocalData",t[t.Document=6]="Document",t[t.Download=7]="Download",t[t.Picture=8]="Picture",t[t.Public=9]="Public",t[t.Video=10]="Video",t[t.Resource=11]="Resource",t[t.Temp=12]="Temp",t[t.AppConfig=13]="AppConfig",t[t.AppData=14]="AppData",t[t.AppLocalData=15]="AppLocalData",t[t.AppCache=16]="AppCache",t[t.AppLog=17]="AppLog",t[t.Desktop=18]="Desktop",t[t.Executable=19]="Executable",t[t.Font=20]="Font",t[t.Home=21]="Home",t[t.Runtime=22]="Runtime",t[t.Template=23]="Template"})(vl||(vl={}));async function k9(){return qr("plugin:path|resolve_directory",{directory:vl.AppData})}async function A9(){return qr("plugin:path|resolve_directory",{directory:vl.Desktop})}function z$(){return window.__TAURI_INTERNALS__.plugins.path.sep}async function E9(...t){return qr("plugin:path|resolve",{paths:t})}async function Gc(...t){return qr("plugin:path|join",{paths:t})}async function I9(t){return qr("plugin:path|is_absolute",{path:t})}var eC;(function(t){t[t.Start=0]="Start",t[t.Current=1]="Current",t[t.End=2]="End"})(eC||(eC={}));async function tC(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|mkdir",{path:t instanceof URL?t.toString():t,options:e})}async function T9(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");return await qr("plugin:fs|read_dir",{path:t instanceof URL?t.toString():t,options:e})}async function $9(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");return await qr("plugin:fs|read_text_file",{path:t instanceof URL?t.toString():t,options:e})}async function j9(t,e){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|remove",{path:t instanceof URL?t.toString():t,options:e})}async function _9(t,e,n){if(t instanceof URL&&t.protocol!=="file:")throw new TypeError("Must be a file URL.");await qr("plugin:fs|write_text_file",{path:t instanceof URL?t.toString():t,data:e,options:n})}function Kp(){return!!(window!=null&&window.__TAURI__)}const gi=class gi{static async getUtils(){return gi.utils||(gi.utils=Kp()?await Promise.resolve().then(()=>require("./replay-tauri-path-DNQvHky9.js")):await Promise.resolve().then(()=>P9)),gi.utils}static async join(...e){return(await gi.getUtils()).join(...e)}static async resolve(e){return(await gi.getUtils()).resolve(e)}static async isAbsolute(e){return(await gi.getUtils()).isAbsolute(e)}static async relative(e,n){return(await gi.getUtils()).relative(e,n)}};ie(gi,"utils",null);let qi=gi;class nC{constructor(e,n){this.baseDir=e,this.baseDirOption=n,this.initializeDirectory()}async initializeDirectory(e){try{await tC(e??"/",{baseDir:this.baseDirOption,recursive:!0})}catch(n){if(n instanceof Error&&n.message.includes("already exists"))return;throw n}}async ls(e){const n=await this.getFullPath(e);return this.getDirEntryFilesRecursively(n)}async getDirEntryFilesRecursively(e){try{const n=[],r=await T9(e,{baseDir:this.baseDirOption});for(const i of r)if(i.isDirectory){const o=await Gc(e,i.name),s=await this.getDirEntryFilesRecursively(o);n.push(...s)}else{const o=await Gc(e,i.name),s=await qi.relative(this.baseDir,o);n.push(s)}return n}catch(n){return n.includes("forbidden path")||console.error(n),[]}}async get(e){const n=await this.getFullPath(e);try{return await $9(n,{baseDir:this.baseDirOption})}catch(r){return!r.includes("No such file or directory")&&!r.includes("forbidden path")&&console.error(r),null}}async set(e,n){const r=await this.getFullPath(e),i=z$(),o=r.split(i).slice(0,-1).join(i);await tC(o,{baseDir:this.baseDirOption,recursive:!0}),await _9(r,n,{baseDir:this.baseDirOption})}async remove(e){const n=await this.getFullPath(e);try{await j9(n,{baseDir:this.baseDirOption})}catch(r){if(r instanceof Error&&r.message.includes("not found"))return;throw r}}async getFullPath(e){return await Gc(this.baseDir,e??"")}}class R9{constructor(){ie(this,"baseDir","")}async ls(e=""){return[]}async get(e){return null}async set(e,n){}async remove(e){}}class D9{constructor(e,n){ie(this,"default",Y2);this.storage=e,this.localStorageSecretsProvider=n}async read(){const e=await this.storage.get("replay-environments.yaml"),n=await this.localStorageSecretsProvider.get();let r=null,i=null;if(!e)return this.default;try{r=ml.load(e),i=n?JSON.parse(n):null}catch(a){return console.error("Failed to parse environments file",a),this.default}return r?Object.keys(r).filter(a=>a!=="version").map(a=>({name:a,inputs:Object.entries(r[a].inputs).map(([l,c])=>{var f;if(typeof c=="string")return{name:l,value:c,isSecret:!1};const u=((f=i==null?void 0:i[a])==null?void 0:f[l])??"";return{name:l,value:u,isSecret:!0}}),servers:Object.entries(r[a].servers).map(([l,c])=>({apiId:l,value:c.value,variables:Object.entries(c.variables||{}).map(([u,f])=>({name:u,value:f}))})),state:Ue.Normal})):this.default}async write(e){const n=await this.localStorageSecretsProvider.get(),r=n?JSON.parse(n):{},i=e.reduce((o,s)=>(s.name&&(o[s.name]={inputs:s.inputs.reduce((a,l)=>(l.isSecret&&r?(r[s.name]||(r[s.name]={}),r[s.name][l.name]=l.value,a[l.name]={provider:"local"}):a[l.name]=l.value,a),{}),servers:s.servers.reduce((a,l)=>(a[l.apiId]={value:l.value,variables:Object.fromEntries(l.variables.map(c=>[c.name,c.value]))},a),{})}),o),{});this.localStorageSecretsProvider.set(JSON.stringify(r)),i&&this.storage.set("replay-environments.yaml",ml.dump(i))}}var N9=Object.prototype.hasOwnProperty,M9=Object.prototype.toString,B9=function(e,n,r){if(M9.call(n)!=="[object Function]")throw new TypeError("iterator must be a function");var i=e.length;if(i===+i)for(var o=0;o<i;o++)n.call(r,e[o],o,e);else for(var s in e)N9.call(e,s)&&n.call(r,e[s],s,e)},Q9=B9,F9=bt;function bt(t,e,n){if(arguments.length===3)return bt.set(t,e,n);if(arguments.length===2)return bt.get(t,e);var r=bt.bind(bt,t);for(var i in bt)bt.hasOwnProperty(i)&&(r[i]=bt[i].bind(r,t));return r}bt.get=function(e,n){for(var r=Array.isArray(n)?n:bt.parse(n),i=0;i<r.length;++i){var o=r[i];if(!(typeof e=="object"&&o in e))throw new Error("Invalid reference token: "+o);e=e[o]}return e};bt.set=function(e,n,r){var i=Array.isArray(n)?n:bt.parse(n),o=i[0];if(i.length===0)throw Error("Can not set the root object");for(var s=0;s<i.length-1;++s){var a=i[s];typeof a!="string"&&typeof a!="number"&&(a=String(a)),!(a==="__proto__"||a==="constructor"||a==="prototype")&&(a==="-"&&Array.isArray(e)&&(a=e.length),o=i[s+1],a in e||(o.match(/^(\d+|-)$/)?e[a]=[]:e[a]={}),e=e[a])}return o==="-"&&Array.isArray(e)&&(o=e.length),e[o]=r,this};bt.remove=function(t,e){var n=Array.isArray(e)?e:bt.parse(e),r=n[n.length-1];if(r===void 0)throw new Error('Invalid JSON pointer for remove: "'+e+'"');var i=bt.get(t,n.slice(0,-1));if(Array.isArray(i)){var o=+r;if(r===""&&isNaN(o))throw new Error('Invalid array index: "'+r+'"');Array.prototype.splice.call(i,o,1)}else delete i[r]};bt.dict=function(e,n){var r={};return bt.walk(e,function(i,o){r[o]=i},n),r};bt.walk=function(e,n,r){var i=[];r=r||function(o){var s=Object.prototype.toString.call(o);return s==="[object Object]"||s==="[object Array]"},function o(s){Q9(s,function(a,l){i.push(String(l)),r(a)?o(a):n(a,bt.compile(i)),i.pop()})}(e)};bt.has=function(e,n){try{bt.get(e,n)}catch{return!1}return!0};bt.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")};bt.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")};bt.parse=function(e){if(e==="")return[];if(e.charAt(0)!=="/")throw new Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(bt.unescape)};bt.compile=function(e){return e.length===0?"":"/"+e.map(bt.escape).join("/")};const V$=po(F9);var fr=(t=>(t.Query="Query",t.Header="Header",t.Cookie="Cookie",t))(fr||{}),q=(t=>(t.NoAuth="No Auth",t.BasicAuth="Basic Auth",t.DigestAuth="Digest Auth",t.JWT="JWT",t.APIKey="API key",t.OAuth2="OAuth 2.0",t.OpenIDConnect="OpenID Connect",t))(q||{}),J=(t=>(t.ClientCredentials="Client Credentials",t.ClientCredentialsWithJwtAssertion="Client Credentials with JWT Assertion",t.AuthorizationCode="Authorization Code",t.AuthorizationCodeWithPkce="Authorization Code with PKCE",t.Implicit="Implicit",t.Password="Password",t))(J||{}),An=(t=>(t.Body="Body",t.Header="Header",t.URL="URL",t))(An||{}),_n=(t=>(t.SIMPLE="simple",t.REGEX="regex",t.JSONPATH="jsonpath",t.XPATH="xpath",t))(_n||{});const rb={active:!0,key:"",value:""},W$="{",ib="}",Ll="^\\$inputs\\.([^}\\s]+)$|\\{\\$inputs\\.([^}\\s]+)\\}";function L9({content:t}){return p.jsx(z9,{"data-testid":"arazzo-expression",children:t})}const z9=A.span`
|
|
156
156
|
display: inline-flex;
|
|
157
157
|
align-items: center;
|
|
158
158
|
width: fit-content;
|
|
@@ -317,7 +317,7 @@ html body {
|
|
|
317
317
|
align-self: flex-end;
|
|
318
318
|
padding-top: var(--spacing-xxs);
|
|
319
319
|
gap: var(--spacing-xs);
|
|
320
|
-
`;function rf({input:t,onSave:e,onCancel:n,...r}){const[i,o]=E.useState(!!t.isSecret),s=({name:a,value:l})=>{e({...t,name:a,value:l,isSecret:i})};return p.jsx(H4,{variable:t,onSave:s,onCancel:n,...r,children:p.jsx(ny,{children:p.jsx(uee,{value:i,onChange:a=>o(a),title:"Make it secret"})})})}function Hd(t){var e=new Error(t);return e.source="ulid",e}var m1="0123456789ABCDEFGHJKMNPQRSTVWXYZ",iu=m1.length,EE=Math.pow(2,48)-1,vee=10,Oee=16;function xee(t){var e=Math.floor(t()*iu);return e===iu&&(e=iu-1),m1.charAt(e)}function yee(t,e){if(isNaN(t))throw new Error(t+" must be a number");if(t>EE)throw Hd("cannot encode time greater than "+EE);if(t<0)throw Hd("time must be positive");if(Number.isInteger(t)===!1)throw Hd("time must be an integer");for(var n=void 0,r="";e>0;e--)n=t%iu,r=m1.charAt(n)+r,t=(t-n)/iu;return r}function bee(t,e){for(var n="";t>0;t--)n=xee(e)+n;return n}function See(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=arguments[1];e||(e=typeof window<"u"?window:null);var n=e&&(e.crypto||e.msCrypto);if(n)return function(){var i=new Uint8Array(1);return n.getRandomValues(i),i[0]/255};try{var r=require("crypto");return function(){return r.randomBytes(1).readUInt8()/255}}catch{}if(t){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return function(){return Math.random()}}throw Hd("secure crypto unusable, insecure Math.random not allowed")}function wee(t){return t||(t=See()),function(n){return isNaN(n)&&(n=Date.now()),yee(n,vee)+bee(Oee,t)}}var Nu=wee(),Cee=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},Es="1.9.0",IE=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function Pee(t){var e=new Set([t]),n=new Set,r=t.match(IE);if(!r)return function(){return!1};var i={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(i.prerelease!=null)return function(l){return l===t};function o(a){return n.add(a),!1}function s(a){return e.add(a),!0}return function(l){if(e.has(l))return!0;if(n.has(l))return!1;var c=l.match(IE);if(!c)return o(l);var u={major:+c[1],minor:+c[2],patch:+c[3],prerelease:c[4]};return u.prerelease!=null||i.major!==u.major?o(l):i.major===0?i.minor===u.minor&&i.patch<=u.patch?s(l):o(l):i.minor<=u.minor?s(l):o(l)}}var kee=Pee(Es),Aee=Es.split(".")[0],Mu=Symbol.for("opentelemetry.js.api."+Aee),Bu=Cee;function of(t,e,n,r){var i;r===void 0&&(r=!1);var o=Bu[Mu]=(i=Bu[Mu])!==null&&i!==void 0?i:{version:Es};if(!r&&o[t]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+t);return n.error(s.stack||s.message),!1}if(o.version!==Es){var s=new Error("@opentelemetry/api: Registration of version v"+o.version+" for "+t+" does not match previously registered API v"+Es);return n.error(s.stack||s.message),!1}return o[t]=e,n.debug("@opentelemetry/api: Registered a global for "+t+" v"+Es+"."),!0}function Zs(t){var e,n,r=(e=Bu[Mu])===null||e===void 0?void 0:e.version;if(!(!r||!kee(r)))return(n=Bu[Mu])===null||n===void 0?void 0:n[t]}function sf(t,e){e.debug("@opentelemetry/api: Unregistering a global for "+t+" v"+Es+".");var n=Bu[Mu];n&&delete n[t]}var Eee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Iee=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},Tee=function(){function t(e){this._namespace=e.namespace||"DiagComponentLogger"}return t.prototype.debug=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("debug",this._namespace,e)},t.prototype.error=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("error",this._namespace,e)},t.prototype.info=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("info",this._namespace,e)},t.prototype.warn=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("warn",this._namespace,e)},t.prototype.verbose=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("verbose",this._namespace,e)},t}();function Sc(t,e,n){var r=Zs("diag");if(r)return n.unshift(e),r[t].apply(r,Iee([],Eee(n),!1))}var ar;(function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"})(ar||(ar={}));function $ee(t,e){t<ar.NONE?t=ar.NONE:t>ar.ALL&&(t=ar.ALL),e=e||{};function n(r,i){var o=e[r];return typeof o=="function"&&t>=i?o.bind(e):function(){}}return{error:n("error",ar.ERROR),warn:n("warn",ar.WARN),info:n("info",ar.INFO),debug:n("debug",ar.DEBUG),verbose:n("verbose",ar.VERBOSE)}}var jee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},_ee=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},Ree="diag",Ni=function(){function t(){function e(i){return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var a=Zs("diag");if(a)return a[i].apply(a,_ee([],jee(o),!1))}}var n=this,r=function(i,o){var s,a,l;if(o===void 0&&(o={logLevel:ar.INFO}),i===n){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return n.error((s=c.stack)!==null&&s!==void 0?s:c.message),!1}typeof o=="number"&&(o={logLevel:o});var u=Zs("diag"),f=$ee((a=o.logLevel)!==null&&a!==void 0?a:ar.INFO,i);if(u&&!o.suppressOverrideMessage){var d=(l=new Error().stack)!==null&&l!==void 0?l:"<failed to generate stacktrace>";u.warn("Current logger will be overwritten from "+d),f.warn("Current logger will overwrite one already registered from "+d)}return of("diag",f,n,!0)};n.setLogger=r,n.disable=function(){sf(Ree,n)},n.createComponentLogger=function(i){return new Tee(i)},n.verbose=e("verbose"),n.debug=e("debug"),n.info=e("info"),n.warn=e("warn"),n.error=e("error")}return t.instance=function(){return this._instance||(this._instance=new t),this._instance},t}(),Dee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Nee=function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Mee=function(){function t(e){this._entries=e?new Map(e):new Map}return t.prototype.getEntry=function(e){var n=this._entries.get(e);if(n)return Object.assign({},n)},t.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(e){var n=Dee(e,2),r=n[0],i=n[1];return[r,i]})},t.prototype.setEntry=function(e,n){var r=new t(this._entries);return r._entries.set(e,n),r},t.prototype.removeEntry=function(e){var n=new t(this._entries);return n._entries.delete(e),n},t.prototype.removeEntries=function(){for(var e,n,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=new t(this._entries);try{for(var s=Nee(r),a=s.next();!a.done;a=s.next()){var l=a.value;o._entries.delete(l)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return o},t.prototype.clear=function(){return new t},t}(),Bee=Symbol("BaggageEntryMetadata"),Qee=Ni.instance();function Fee(t){return t===void 0&&(t={}),new Mee(new Map(Object.entries(t)))}function Lee(t){return typeof t!="string"&&(Qee.error("Cannot create baggage metadata from unknown type: "+typeof t),t=""),{__TYPE__:Bee,toString:function(){return t}}}function v1(t){return Symbol.for(t)}var zee=function(){function t(e){var n=this;n._currentContext=e?new Map(e):new Map,n.getValue=function(r){return n._currentContext.get(r)},n.setValue=function(r,i){var o=new t(n._currentContext);return o._currentContext.set(r,i),o},n.deleteValue=function(r){var i=new t(n._currentContext);return i._currentContext.delete(r),i}}return t}(),Da=new zee,Ks=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Vee=function(){function t(){}return t.prototype.createGauge=function(e,n){return Kee},t.prototype.createHistogram=function(e,n){return ete},t.prototype.createCounter=function(e,n){return Jee},t.prototype.createUpDownCounter=function(e,n){return tte},t.prototype.createObservableGauge=function(e,n){return rte},t.prototype.createObservableCounter=function(e,n){return nte},t.prototype.createObservableUpDownCounter=function(e,n){return ite},t.prototype.addBatchObservableCallback=function(e,n){},t.prototype.removeBatchObservableCallback=function(e){},t}(),Cg=function(){function t(){}return t}(),Wee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(n,r){},e}(Cg),Zee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(n,r){},e}(Cg),Xee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(n,r){},e}(Cg),Gee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(n,r){},e}(Cg),O1=function(){function t(){}return t.prototype.addCallback=function(e){},t.prototype.removeCallback=function(e){},t}(),Uee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(O1),Yee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(O1),qee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(O1),Hee=new Vee,Jee=new Wee,Kee=new Xee,ete=new Gee,tte=new Zee,nte=new Uee,rte=new Yee,ite=new qee,ote={get:function(t,e){if(t!=null)return t[e]},keys:function(t){return t==null?[]:Object.keys(t)}},ste={set:function(t,e,n){t!=null&&(t[e]=n)}},ate=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},lte=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},cte=function(){function t(){}return t.prototype.active=function(){return Da},t.prototype.with=function(e,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return n.call.apply(n,lte([r],ate(i),!1))},t.prototype.bind=function(e,n){return n},t.prototype.enable=function(){return this},t.prototype.disable=function(){return this},t}(),ute=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},fte=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},J0="context",dte=new cte,Pg=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalContextManager=function(e){return of(J0,e,Ni.instance())},t.prototype.active=function(){return this._getContextManager().active()},t.prototype.with=function(e,n,r){for(var i,o=[],s=3;s<arguments.length;s++)o[s-3]=arguments[s];return(i=this._getContextManager()).with.apply(i,fte([e,n,r],ute(o),!1))},t.prototype.bind=function(e,n){return this._getContextManager().bind(e,n)},t.prototype._getContextManager=function(){return Zs(J0)||dte},t.prototype.disable=function(){this._getContextManager().disable(),sf(J0,Ni.instance())},t}(),fo;(function(t){t[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"})(fo||(fo={}));var J4="0000000000000000",K4="00000000000000000000000000000000",e5={traceId:K4,spanId:J4,traceFlags:fo.NONE},ou=function(){function t(e){e===void 0&&(e=e5),this._spanContext=e}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(e,n){return this},t.prototype.setAttributes=function(e){return this},t.prototype.addEvent=function(e,n){return this},t.prototype.addLink=function(e){return this},t.prototype.addLinks=function(e){return this},t.prototype.setStatus=function(e){return this},t.prototype.updateName=function(e){return this},t.prototype.end=function(e){},t.prototype.isRecording=function(){return!1},t.prototype.recordException=function(e,n){},t}(),x1=v1("OpenTelemetry Context Key SPAN");function y1(t){return t.getValue(x1)||void 0}function hte(){return y1(Pg.getInstance().active())}function b1(t,e){return t.setValue(x1,e)}function pte(t){return t.deleteValue(x1)}function gte(t,e){return b1(t,new ou(e))}function t5(t){var e;return(e=y1(t))===null||e===void 0?void 0:e.spanContext()}var mte=/^([0-9a-f]{32})$/i,vte=/^[0-9a-f]{16}$/i;function n5(t){return mte.test(t)&&t!==K4}function Ote(t){return vte.test(t)&&t!==J4}function kg(t){return n5(t.traceId)&&Ote(t.spanId)}function xte(t){return new ou(t)}var K0=Pg.getInstance(),r5=function(){function t(){}return t.prototype.startSpan=function(e,n,r){r===void 0&&(r=K0.active());var i=!!(n!=null&&n.root);if(i)return new ou;var o=r&&t5(r);return yte(o)&&kg(o)?new ou(o):new ou},t.prototype.startActiveSpan=function(e,n,r,i){var o,s,a;if(!(arguments.length<2)){arguments.length===2?a=n:arguments.length===3?(o=n,a=r):(o=n,s=r,a=i);var l=s??K0.active(),c=this.startSpan(e,o,l),u=b1(l,c);return K0.with(u,a,void 0,c)}},t}();function yte(t){return typeof t=="object"&&typeof t.spanId=="string"&&typeof t.traceId=="string"&&typeof t.traceFlags=="number"}var bte=new r5,Ste=function(){function t(e,n,r,i){this._provider=e,this.name=n,this.version=r,this.options=i}return t.prototype.startSpan=function(e,n,r){return this._getTracer().startSpan(e,n,r)},t.prototype.startActiveSpan=function(e,n,r,i){var o=this._getTracer();return Reflect.apply(o.startActiveSpan,o,arguments)},t.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):bte},t}(),wte=function(){function t(){}return t.prototype.getTracer=function(e,n,r){return new r5},t}(),Cte=new wte,TE=function(){function t(){}return t.prototype.getTracer=function(e,n,r){var i;return(i=this.getDelegateTracer(e,n,r))!==null&&i!==void 0?i:new Ste(this,e,n,r)},t.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:Cte},t.prototype.setDelegate=function(e){this._delegate=e},t.prototype.getDelegateTracer=function(e,n,r){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getTracer(e,n,r)},t}(),mp;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(mp||(mp={}));var ry;(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"})(ry||(ry={}));var iy;(function(t){t[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"})(iy||(iy={}));var Fo=Pg.getInstance(),ot=Ni.instance(),Pte=function(){function t(){}return t.prototype.getMeter=function(e,n,r){return Hee},t}(),kte=new Pte,ev="metrics",Ate=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalMeterProvider=function(e){return of(ev,e,Ni.instance())},t.prototype.getMeterProvider=function(){return Zs(ev)||kte},t.prototype.getMeter=function(e,n,r){return this.getMeterProvider().getMeter(e,n,r)},t.prototype.disable=function(){sf(ev,Ni.instance())},t}(),Ete=Ate.getInstance(),Ite=function(){function t(){}return t.prototype.inject=function(e,n){},t.prototype.extract=function(e,n){return e},t.prototype.fields=function(){return[]},t}(),S1=v1("OpenTelemetry Baggage Key");function i5(t){return t.getValue(S1)||void 0}function Tte(){return i5(Pg.getInstance().active())}function $te(t,e){return t.setValue(S1,e)}function jte(t){return t.deleteValue(S1)}var tv="propagation",_te=new Ite,Rte=function(){function t(){this.createBaggage=Fee,this.getBaggage=i5,this.getActiveBaggage=Tte,this.setBaggage=$te,this.deleteBaggage=jte}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalPropagator=function(e){return of(tv,e,Ni.instance())},t.prototype.inject=function(e,n,r){return r===void 0&&(r=ste),this._getGlobalPropagator().inject(e,n,r)},t.prototype.extract=function(e,n,r){return r===void 0&&(r=ote),this._getGlobalPropagator().extract(e,n,r)},t.prototype.fields=function(){return this._getGlobalPropagator().fields()},t.prototype.disable=function(){sf(tv,Ni.instance())},t.prototype._getGlobalPropagator=function(){return Zs(tv)||_te},t}(),su=Rte.getInstance(),nv="trace",Dte=function(){function t(){this._proxyTracerProvider=new TE,this.wrapSpanContext=xte,this.isSpanContextValid=kg,this.deleteSpan=pte,this.getSpan=y1,this.getActiveSpan=hte,this.getSpanContext=t5,this.setSpan=b1,this.setSpanContext=gte}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalTracerProvider=function(e){var n=of(nv,this._proxyTracerProvider,Ni.instance());return n&&this._proxyTracerProvider.setDelegate(e),n},t.prototype.getTracerProvider=function(){return Zs(nv)||this._proxyTracerProvider},t.prototype.getTracer=function(e,n){return this.getTracerProvider().getTracer(e,n)},t.prototype.disable=function(){sf(nv,Ni.instance()),this._proxyTracerProvider=new TE},t}(),Pr=Dte.getInstance();const o5=v1("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function Nte(t){return t.setValue(o5,!0)}function w1(t){return t.getValue(o5)===!0}const Mte="=",oy=";",sy=",",rv="baggage",Bte=180,Qte=4096,Fte=8192;function Lte(t){return t.reduce((e,n)=>{const r=`${e}${e!==""?sy:""}${n}`;return r.length>Fte?e:r},"")}function zte(t){return t.getAllEntries().map(([e,n])=>{let r=`${encodeURIComponent(e)}=${encodeURIComponent(n.value)}`;return n.metadata!==void 0&&(r+=oy+n.metadata.toString()),r})}function Vte(t){const e=t.split(oy);if(e.length<=0)return;const n=e.shift();if(!n)return;const r=n.indexOf(Mte);if(r<=0)return;const i=decodeURIComponent(n.substring(0,r).trim()),o=decodeURIComponent(n.substring(r+1).trim());let s;return e.length>0&&(s=Lee(e.join(oy))),{key:i,value:o,metadata:s}}class Wte{inject(e,n,r){const i=su.getBaggage(e);if(!i||w1(e))return;const o=zte(i).filter(a=>a.length<=Qte).slice(0,Bte),s=Lte(o);s.length>0&&r.set(n,rv,s)}extract(e,n,r){const i=r.get(n,rv),o=Array.isArray(i)?i.join(sy):i;if(!o)return e;const s={};return o.length===0||(o.split(sy).forEach(l=>{const c=Vte(l);if(c){const u={value:c.value};c.metadata&&(u.metadata=c.metadata),s[c.key]=u}}),Object.entries(s).length===0)?e:su.setBaggage(e,su.createBaggage(s))}fields(){return[rv]}}function Jd(t){const e={};if(typeof t!="object"||t==null)return e;for(const[n,r]of Object.entries(t)){if(!Zte(n)){ot.warn(`Invalid attribute key: ${n}`);continue}if(!s5(r)){ot.warn(`Invalid attribute value set for key: ${n}`);continue}Array.isArray(r)?e[n]=r.slice():e[n]=r}return e}function Zte(t){return typeof t=="string"&&t.length>0}function s5(t){return t==null?!0:Array.isArray(t)?Xte(t):a5(t)}function Xte(t){let e;for(const n of t)if(n!=null){if(!e){if(a5(n)){e=typeof n;continue}return!1}if(typeof n!==e)return!1}return!0}function a5(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}function Gte(){return t=>{ot.error(Ute(t))}}function Ute(t){return typeof t=="string"?t:JSON.stringify(Yte(t))}function Yte(t){const e={};let n=t;for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r=>{if(e[r])return;const i=n[r];i&&(e[r]=String(i))}),n=Object.getPrototypeOf(n);return e}let qte=Gte();function _l(t){try{qte(t)}catch{}}const sl=performance,Hte="2.0.1",iv="exception.message",Jte="exception.stacktrace",ov="exception.type",l5="service.name",Kte="service.version",ay="telemetry.sdk.language",ene="webjs",ly="telemetry.sdk.name",cy="telemetry.sdk.version",tne="process.runtime.name",sv={[ly]:"opentelemetry",[tne]:"browser",[ay]:ene,[cy]:Hte};const nne=9,rne=6,ine=Math.pow(10,rne),vp=Math.pow(10,nne);function Za(t){const e=t/1e3,n=Math.trunc(e),r=Math.round(t%1e3*ine);return[n,r]}function c5(){let t=sl.timeOrigin;if(typeof t!="number"){const e=sl;t=e.timing&&e.timing.fetchStart}return t}function one(t){const e=Za(c5()),n=Za(typeof t=="number"?t:sl.now());return f5(e,n)}function sne(t,e){let n=e[0]-t[0],r=e[1]-t[1];return r<0&&(n-=1,r+=vp),[n,r]}function ane(t){return t[0]*vp+t[1]}function u5(t){return Array.isArray(t)&&t.length===2&&typeof t[0]=="number"&&typeof t[1]=="number"}function $E(t){return u5(t)||typeof t=="number"||t instanceof Date}function f5(t,e){const n=[t[0]+e[0],t[1]+e[1]];return n[1]>=vp&&(n[1]-=vp,n[0]+=1),n}var mi;(function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"})(mi||(mi={}));class lne{constructor(e={}){ie(this,"_propagators");ie(this,"_fields");this._propagators=e.propagators??[],this._fields=Array.from(new Set(this._propagators.map(n=>typeof n.fields=="function"?n.fields():[]).reduce((n,r)=>n.concat(r),[])))}inject(e,n,r){for(const i of this._propagators)try{i.inject(e,n,r)}catch(o){ot.warn(`Failed to inject with ${i.constructor.name}. Err: ${o.message}`)}}extract(e,n,r){return this._propagators.reduce((i,o)=>{try{return o.extract(i,n,r)}catch(s){ot.warn(`Failed to extract with ${o.constructor.name}. Err: ${s.message}`)}return i},e)}fields(){return this._fields.slice()}}const uy="[_0-9a-z-*/]",cne=`[a-z]${uy}{0,255}`,une=`[a-z0-9]${uy}{0,240}@[a-z]${uy}{0,13}`,fne=new RegExp(`^(?:${cne}|${une})$`),dne=/^[ -~]{0,255}[!-~]$/,hne=/,|=/;function pne(t){return fne.test(t)}function gne(t){return dne.test(t)&&!hne.test(t)}const jE=32,mne=512,_E=",",RE="=";class C1{constructor(e){ie(this,"_internalState",new Map);e&&this._parse(e)}set(e,n){const r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,n),r}unset(e){const n=this._clone();return n._internalState.delete(e),n}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,n)=>(e.push(n+RE+this.get(n)),e),[]).join(_E)}_parse(e){e.length>mne||(this._internalState=e.split(_E).reverse().reduce((n,r)=>{const i=r.trim(),o=i.indexOf(RE);if(o!==-1){const s=i.slice(0,o),a=i.slice(o+1,r.length);pne(s)&&gne(a)&&n.set(s,a)}return n},new Map),this._internalState.size>jE&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,jE))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const e=new C1;return e._internalState=new Map(this._internalState),e}}const av="traceparent",lv="tracestate",vne="00",One="(?!ff)[\\da-f]{2}",xne="(?![0]{32})[\\da-f]{32}",yne="(?![0]{16})[\\da-f]{16}",bne="[\\da-f]{2}",Sne=new RegExp(`^\\s?(${One})-(${xne})-(${yne})-(${bne})(-.*)?\\s?$`);function wne(t){const e=Sne.exec(t);return!e||e[1]==="00"&&e[5]?null:{traceId:e[2],spanId:e[3],traceFlags:parseInt(e[4],16)}}class Cne{inject(e,n,r){const i=Pr.getSpanContext(e);if(!i||w1(e)||!kg(i))return;const o=`${vne}-${i.traceId}-${i.spanId}-0${Number(i.traceFlags||fo.NONE).toString(16)}`;r.set(n,av,o),i.traceState&&r.set(n,lv,i.traceState.serialize())}extract(e,n,r){const i=r.get(n,av);if(!i)return e;const o=Array.isArray(i)?i[0]:i;if(typeof o!="string")return e;const s=wne(o);if(!s)return e;s.isRemote=!0;const a=r.get(n,lv);if(a){const l=Array.isArray(a)?a.join(","):a;s.traceState=new C1(typeof l=="string"?l:void 0)}return Pr.setSpanContext(e,s)}fields(){return[av,lv]}}const Pne="[object Object]",kne="[object Null]",Ane="[object Undefined]",Ene=Function.prototype,d5=Ene.toString,Ine=d5.call(Object),Tne=Object.getPrototypeOf,h5=Object.prototype,p5=h5.hasOwnProperty,ws=Symbol?Symbol.toStringTag:void 0,g5=h5.toString;function DE(t){if(!$ne(t)||jne(t)!==Pne)return!1;const e=Tne(t);if(e===null)return!0;const n=p5.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&d5.call(n)===Ine}function $ne(t){return t!=null&&typeof t=="object"}function jne(t){return t==null?t===void 0?Ane:kne:ws&&ws in Object(t)?_ne(t):Rne(t)}function _ne(t){const e=p5.call(t,ws),n=t[ws];let r=!1;try{t[ws]=void 0,r=!0}catch{}const i=g5.call(t);return r&&(e?t[ws]=n:delete t[ws]),i}function Rne(t){return g5.call(t)}const Dne=20;function Nne(...t){let e=t.shift();const n=new WeakMap;for(;t.length>0;)e=m5(e,t.shift(),0,n);return e}function cv(t){return Op(t)?t.slice():t}function m5(t,e,n=0,r){let i;if(!(n>Dne)){if(n++,Kd(t)||Kd(e)||v5(e))i=cv(e);else if(Op(t)){if(i=t.slice(),Op(e))for(let o=0,s=e.length;o<s;o++)i.push(cv(e[o]));else if(wc(e)){const o=Object.keys(e);for(let s=0,a=o.length;s<a;s++){const l=o[s];i[l]=cv(e[l])}}}else if(wc(t))if(wc(e)){if(!Mne(t,e))return e;i=Object.assign({},t);const o=Object.keys(e);for(let s=0,a=o.length;s<a;s++){const l=o[s],c=e[l];if(Kd(c))typeof c>"u"?delete i[l]:i[l]=c;else{const u=i[l],f=c;if(NE(t,l,r)||NE(e,l,r))delete i[l];else{if(wc(u)&&wc(f)){const d=r.get(u)||[],h=r.get(f)||[];d.push({obj:t,key:l}),h.push({obj:e,key:l}),r.set(u,d),r.set(f,h)}i[l]=m5(i[l],c,n,r)}}}}else i=e;return i}}function NE(t,e,n){const r=n.get(t[e])||[];for(let i=0,o=r.length;i<o;i++){const s=r[i];if(s.key===e&&s.obj===t)return!0}return!1}function Op(t){return Array.isArray(t)}function v5(t){return typeof t=="function"}function wc(t){return!Kd(t)&&!Op(t)&&!v5(t)&&typeof t=="object"}function Kd(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t>"u"||t instanceof Date||t instanceof RegExp||t===null}function Mne(t,e){return!(!DE(t)||!DE(e))}class Bne{constructor(){ie(this,"_promise");ie(this,"_resolve");ie(this,"_reject");this._promise=new Promise((e,n)=>{this._resolve=e,this._reject=n})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}}class Qne{constructor(e,n){ie(this,"_callback");ie(this,"_that");ie(this,"_isCalled",!1);ie(this,"_deferred",new Bne);this._callback=e,this._that=n}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(n=>this._deferred.resolve(n),n=>this._deferred.reject(n))}catch(n){this._deferred.reject(n)}}return this._deferred.promise}}function Fne(){return"unknown_service"}const Fc=t=>t!==null&&typeof t=="object"&&typeof t.then=="function";class xp{constructor(e){ie(this,"_rawAttributes");ie(this,"_asyncAttributesPending",!1);ie(this,"_memoizedAttributes");const n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([r,i])=>(Fc(i)&&(this._asyncAttributesPending=!0),[r,i])),this._rawAttributes=ME(this._rawAttributes)}static FromAttributeList(e){const n=new xp({});return n._rawAttributes=ME(e),n._asyncAttributesPending=e.filter(([r,i])=>Fc(i)).length>0,n}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){const[n,r]=this._rawAttributes[e];this._rawAttributes[e]=[n,Fc(r)?await r:r]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&ot.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const e={};for(const[n,r]of this._rawAttributes){if(Fc(r)){ot.debug(`Unsettled resource attribute ${n} skipped`);continue}r!=null&&(e[n]??(e[n]=r))}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}merge(e){return e==null?this:xp.FromAttributeList([...e.getRawAttributes(),...this.getRawAttributes()])}}function O5(t){return xp.FromAttributeList(Object.entries(t))}function Lne(){return O5({[l5]:Fne(),[ay]:sv[ay],[ly]:sv[ly],[cy]:sv[cy]})}function ME(t){return t.map(([e,n])=>Fc(n)?[e,n.catch(r=>{ot.debug("promise rejection for resource attribute: %s - %s",e,r)})]:[e,n])}const zne="exception";class Vne{constructor(e){ie(this,"_spanContext");ie(this,"kind");ie(this,"parentSpanContext");ie(this,"attributes",{});ie(this,"links",[]);ie(this,"events",[]);ie(this,"startTime");ie(this,"resource");ie(this,"instrumentationScope");ie(this,"_droppedAttributesCount",0);ie(this,"_droppedEventsCount",0);ie(this,"_droppedLinksCount",0);ie(this,"name");ie(this,"status",{code:iy.UNSET});ie(this,"endTime",[0,0]);ie(this,"_ended",!1);ie(this,"_duration",[-1,-1]);ie(this,"_spanProcessor");ie(this,"_spanLimits");ie(this,"_attributeValueLengthLimit");ie(this,"_performanceStartTime");ie(this,"_performanceOffset");ie(this,"_startTimeProvided");const n=Date.now();this._spanContext=e.spanContext,this._performanceStartTime=sl.now(),this._performanceOffset=n-(this._performanceStartTime+c5()),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,this.links=e.links||[],this.startTime=this._getTime(e.startTime??n),this.resource=e.resource,this.instrumentationScope=e.scope,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,n){if(n==null||this._isSpanEnded())return this;if(e.length===0)return ot.warn(`Invalid attribute key: ${e}`),this;if(!s5(n))return ot.warn(`Invalid attribute value set for key: ${e}`),this;const{attributeCountLimit:r}=this._spanLimits;return r!==void 0&&Object.keys(this.attributes).length>=r&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(n),this)}setAttributes(e){for(const[n,r]of Object.entries(e))this.setAttribute(n,r);return this}addEvent(e,n,r){if(this._isSpanEnded())return this;const{eventCountLimit:i}=this._spanLimits;if(i===0)return ot.warn("No events allowed."),this._droppedEventsCount++,this;i!==void 0&&this.events.length>=i&&(this._droppedEventsCount===0&&ot.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),$E(n)&&($E(r)||(r=n),n=void 0);const o=Jd(n);return this.events.push({name:e,attributes:o,time:this._getTime(r),droppedAttributesCount:0}),this}addLink(e){return this.links.push(e),this}addLinks(e){return this.links.push(...e),this}setStatus(e){return this._isSpanEnded()?this:(this.status={...e},this.status.message!=null&&typeof e.message!="string"&&(ot.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`),delete this.status.message),this)}updateName(e){return this._isSpanEnded()?this:(this.name=e,this)}end(e){if(this._isSpanEnded()){ot.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this._ended=!0,this.endTime=this._getTime(e),this._duration=sne(this.startTime,this.endTime),this._duration[0]<0&&(ot.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&ot.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e=="number"&&e<=sl.now())return one(e+this._performanceOffset);if(typeof e=="number")return Za(e);if(e instanceof Date)return Za(e.getTime());if(u5(e))return e;if(this._startTimeProvided)return Za(Date.now());const n=sl.now()-this._performanceStartTime;return f5(this.startTime,Za(n))}isRecording(){return this._ended===!1}recordException(e,n){const r={};typeof e=="string"?r[iv]=e:e&&(e.code?r[ov]=e.code.toString():e.name&&(r[ov]=e.name),e.message&&(r[iv]=e.message),e.stack&&(r[Jte]=e.stack)),r[ov]||r[iv]?this.addEvent(zne,r,n):ot.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){const e=new Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);ot.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,n){return e.length<=n?e:e.substring(0,n)}_truncateToSize(e){const n=this._attributeValueLengthLimit;return n<=0?(ot.warn(`Attribute value limit must be positive, got ${n}`),e):typeof e=="string"?this._truncateToLimitUtil(e,n):Array.isArray(e)?e.map(r=>typeof r=="string"?this._truncateToLimitUtil(r,n):r):e}}var Rl;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Rl||(Rl={}));class yp{shouldSample(){return{decision:Rl.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class al{shouldSample(){return{decision:Rl.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class dd{constructor(e){ie(this,"_root");ie(this,"_remoteParentSampled");ie(this,"_remoteParentNotSampled");ie(this,"_localParentSampled");ie(this,"_localParentNotSampled");this._root=e.root,this._root||(_l(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new al),this._remoteParentSampled=e.remoteParentSampled??new al,this._remoteParentNotSampled=e.remoteParentNotSampled??new yp,this._localParentSampled=e.localParentSampled??new al,this._localParentNotSampled=e.localParentNotSampled??new yp}shouldSample(e,n,r,i,o,s){const a=Pr.getSpanContext(e);return!a||!kg(a)?this._root.shouldSample(e,n,r,i,o,s):a.isRemote?a.traceFlags&fo.SAMPLED?this._remoteParentSampled.shouldSample(e,n,r,i,o,s):this._remoteParentNotSampled.shouldSample(e,n,r,i,o,s):a.traceFlags&fo.SAMPLED?this._localParentSampled.shouldSample(e,n,r,i,o,s):this._localParentNotSampled.shouldSample(e,n,r,i,o,s)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}class BE{constructor(e=0){ie(this,"_ratio");ie(this,"_upperBound");this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,n){return{decision:n5(n)&&this._accumulate(n)<this._upperBound?Rl.RECORD_AND_SAMPLED:Rl.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!="number"||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let n=0;for(let r=0;r<e.length/8;r++){const i=r*8,o=parseInt(e.slice(i,i+8),16);n=(n^o)>>>0}return n}}const QE=1;function x5(){return{sampler:y5(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function y5(){const t="parentbased_always_on";switch(t){case"always_on":return new al;case"always_off":return new yp;case"parentbased_always_on":return new dd({root:new al});case"parentbased_always_off":return new dd({root:new yp});case"traceidratio":return new BE(FE());case"parentbased_traceidratio":return new dd({root:new BE(FE())});default:return ot.error(`OTEL_TRACES_SAMPLER value "${t}" invalid, defaulting to "parentbased_always_on".`),new dd({root:new al})}}function FE(){return ot.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${QE}.`),QE}const Wne=128,Zne=1/0;function Xne(t){const e={sampler:y5()},n=x5(),r=Object.assign({},n,e,t);return r.generalLimits=Object.assign({},n.generalLimits,t.generalLimits||{}),r.spanLimits=Object.assign({},n.spanLimits,t.spanLimits||{}),r}function Gne(t){var n,r,i,o;const e=Object.assign({},t.spanLimits);return e.attributeCountLimit=((n=t.spanLimits)==null?void 0:n.attributeCountLimit)??((r=t.generalLimits)==null?void 0:r.attributeCountLimit)??void 0??void 0??Wne,e.attributeValueLengthLimit=((i=t.spanLimits)==null?void 0:i.attributeValueLengthLimit)??((o=t.generalLimits)==null?void 0:o.attributeValueLengthLimit)??void 0??void 0??Zne,Object.assign({},t,{spanLimits:e})}class Une{constructor(e,n){ie(this,"_exporter");ie(this,"_maxExportBatchSize");ie(this,"_maxQueueSize");ie(this,"_scheduledDelayMillis");ie(this,"_exportTimeoutMillis");ie(this,"_isExporting",!1);ie(this,"_finishedSpans",[]);ie(this,"_timer");ie(this,"_shutdownOnce");ie(this,"_droppedSpansCount",0);this._exporter=e,this._maxExportBatchSize=typeof(n==null?void 0:n.maxExportBatchSize)=="number"?n.maxExportBatchSize:512,this._maxQueueSize=typeof(n==null?void 0:n.maxQueueSize)=="number"?n.maxQueueSize:2048,this._scheduledDelayMillis=typeof(n==null?void 0:n.scheduledDelayMillis)=="number"?n.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof(n==null?void 0:n.exportTimeoutMillis)=="number"?n.exportTimeoutMillis:3e4,this._shutdownOnce=new Qne(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ot.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,n){}onEnd(e){this._shutdownOnce.isCalled||e.spanContext().traceFlags&fo.SAMPLED&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&ot.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ot.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,n)=>{const r=[],i=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let o=0,s=i;o<s;o++)r.push(this._flushOneBatch());Promise.all(r).then(()=>{e()}).catch(n)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,n)=>{const r=setTimeout(()=>{n(new Error("Timeout"))},this._exportTimeoutMillis);Fo.with(Nte(Fo.active()),()=>{let i;this._finishedSpans.length<=this._maxExportBatchSize?(i=this._finishedSpans,this._finishedSpans=[]):i=this._finishedSpans.splice(0,this._maxExportBatchSize);const o=()=>this._exporter.export(i,a=>{clearTimeout(r),a.code===mi.SUCCESS?e():n(a.error??new Error("BatchSpanProcessor: span export failed"))});let s=null;for(let a=0,l=i.length;a<l;a++){const c=i[a];c.resource.asyncAttributesPending&&c.resource.waitForAsyncAttributes&&(s??(s=[]),s.push(c.resource.waitForAsyncAttributes()))}s===null?o():Promise.all(s).then(o,a=>{_l(a),n(a)})})})}_maybeStartTimer(){if(this._isExporting)return;const e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(n=>{this._isExporting=!1,_l(n)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),this._timer,void 0)}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}}class Yne extends Une{constructor(n,r){super(n,r);ie(this,"_visibilityChangeListener");ie(this,"_pageHideListener");this.onInit(r)}onInit(n){(n==null?void 0:n.disableAutoFlushOnDocumentHide)!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(r=>{_l(r)})},this._pageHideListener=()=>{this.forceFlush().catch(r=>{_l(r)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}const qne=8,Hne=16;class Jne{constructor(){ie(this,"generateTraceId",LE(Hne));ie(this,"generateSpanId",LE(qne))}}const hd=Array(32);function LE(t){return function(){for(let n=0;n<t*2;n++)hd[n]=Math.floor(Math.random()*16)+48,hd[n]>=58&&(hd[n]+=39);return String.fromCharCode.apply(null,hd.slice(0,t*2))}}class Kne{constructor(e,n,r,i){ie(this,"_sampler");ie(this,"_generalLimits");ie(this,"_spanLimits");ie(this,"_idGenerator");ie(this,"instrumentationScope");ie(this,"_resource");ie(this,"_spanProcessor");const o=Xne(n);this._sampler=o.sampler,this._generalLimits=o.generalLimits,this._spanLimits=o.spanLimits,this._idGenerator=n.idGenerator||new Jne,this._resource=r,this._spanProcessor=i,this.instrumentationScope=e}startSpan(e,n={},r=Fo.active()){n.root&&(r=Pr.deleteSpan(r));const i=Pr.getSpan(r);if(w1(r))return ot.debug("Instrumentation suppressed, returning Noop Span"),Pr.wrapSpanContext(e5);const o=i==null?void 0:i.spanContext(),s=this._idGenerator.generateSpanId();let a,l,c;!o||!Pr.isSpanContextValid(o)?l=this._idGenerator.generateTraceId():(l=o.traceId,c=o.traceState,a=o);const u=n.kind??ry.INTERNAL,f=(n.links??[]).map(x=>({context:x.context,attributes:Jd(x.attributes)})),d=Jd(n.attributes),h=this._sampler.shouldSample(r,l,e,u,d,f);c=h.traceState??c;const g=h.decision===mp.RECORD_AND_SAMPLED?fo.SAMPLED:fo.NONE,m={traceId:l,spanId:s,traceFlags:g,traceState:c};if(h.decision===mp.NOT_RECORD)return ot.debug("Recording is off, propagating context in a non-recording span"),Pr.wrapSpanContext(m);const v=Jd(Object.assign(d,h.attributes));return new Vne({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:m,name:e,kind:u,links:f,parentSpanContext:a,attributes:v,startTime:n.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits})}startActiveSpan(e,n,r,i){let o,s,a;if(arguments.length<2)return;arguments.length===2?a=n:arguments.length===3?(o=n,a=r):(o=n,s=r,a=i);const l=s??Fo.active(),c=this.startSpan(e,o,l),u=Pr.setSpan(l,c);return Fo.with(u,a,void 0,c)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}}class ere{constructor(e){ie(this,"_spanProcessors");this._spanProcessors=e}forceFlush(){const e=[];for(const n of this._spanProcessors)e.push(n.forceFlush());return new Promise(n=>{Promise.all(e).then(()=>{n()}).catch(r=>{_l(r||new Error("MultiSpanProcessor: forceFlush failed")),n()})})}onStart(e,n){for(const r of this._spanProcessors)r.onStart(e,n)}onEnd(e){for(const n of this._spanProcessors)n.onEnd(e)}shutdown(){const e=[];for(const n of this._spanProcessors)e.push(n.shutdown());return new Promise((n,r)=>{Promise.all(e).then(()=>{n()},r)})}}var Cs;(function(t){t[t.resolved=0]="resolved",t[t.timeout=1]="timeout",t[t.error=2]="error",t[t.unresolved=3]="unresolved"})(Cs||(Cs={}));class tre{constructor(e={}){ie(this,"_config");ie(this,"_tracers",new Map);ie(this,"_resource");ie(this,"_activeSpanProcessor");var i;const n=Nne({},x5(),Gne(e));this._resource=n.resource??Lne(),this._config=Object.assign({},n,{resource:this._resource});const r=[];(i=e.spanProcessors)!=null&&i.length&&r.push(...e.spanProcessors),this._activeSpanProcessor=new ere(r)}getTracer(e,n,r){const i=`${e}@${n||""}:${(r==null?void 0:r.schemaUrl)||""}`;return this._tracers.has(i)||this._tracers.set(i,new Kne({name:e,version:n,schemaUrl:r==null?void 0:r.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(i)}forceFlush(){const e=this._config.forceFlushTimeoutMillis,n=this._activeSpanProcessor._spanProcessors.map(r=>new Promise(i=>{let o;const s=setTimeout(()=>{i(new Error(`Span processor did not completed within timeout period of ${e} ms`)),o=Cs.timeout},e);r.forceFlush().then(()=>{clearTimeout(s),o!==Cs.timeout&&(o=Cs.resolved,i(o))}).catch(a=>{clearTimeout(s),o=Cs.error,i(a)})}));return new Promise((r,i)=>{Promise.all(n).then(o=>{const s=o.filter(a=>a!==Cs.resolved);s.length>0?i(s):r()}).catch(o=>i([o]))})}shutdown(){return this._activeSpanProcessor.shutdown()}}class nre{constructor(){ie(this,"_enabled",!1);ie(this,"_currentContext",Da)}_bindFunction(e=Da,n){const r=this,i=function(...o){return r.with(e,()=>n.apply(this,o))};return Object.defineProperty(i,"length",{enumerable:!1,configurable:!0,writable:!1,value:n.length}),i}active(){return this._currentContext}bind(e,n){return e===void 0&&(e=this.active()),typeof n=="function"?this._bindFunction(e,n):n}disable(){return this._currentContext=Da,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=Da,this)}with(e,n,r,...i){const o=this._currentContext;this._currentContext=e||Da;try{return n.call(r,...i)}finally{this._currentContext=o}}}function rre(t){if(t!==null){if(t===void 0){const e=new nre;e.enable(),Fo.setGlobalContextManager(e);return}t.enable(),Fo.setGlobalContextManager(t)}}function ire(t){if(t!==null){if(t===void 0){su.setGlobalPropagator(new lne({propagators:[new Cne,new Wte]}));return}su.setGlobalPropagator(t)}}class ore extends tre{constructor(e={}){super(e)}register(e={}){Pr.setGlobalTracerProvider(this),ire(e.propagator),rre(e.contextManager)}}class sre{constructor(e){ie(this,"_delegate");this._delegate=e}export(e,n){this._delegate.export(e,n)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}class zE extends Error{constructor(n,r,i){super(n);ie(this,"code");ie(this,"name","OTLPExporterError");ie(this,"data");this.data=i,this.code=r}}function are(t){if(Number.isFinite(t)&&t>0)return t;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${t}')`)}function lre(t){if(t!=null)return()=>t}function cre(t,e,n){return{timeoutMillis:are(t.timeoutMillis??e.timeoutMillis??n.timeoutMillis),concurrencyLimit:t.concurrencyLimit??e.concurrencyLimit??n.concurrencyLimit,compression:t.compression??e.compression??n.compression}}function ure(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}class fre{constructor(e){ie(this,"_concurrencyLimit");ie(this,"_sendingPromises",[]);this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(e);const n=()=>{const r=this._sendingPromises.indexOf(e);this._sendingPromises.splice(r,1)};e.then(n,n)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}function dre(t){return new fre(t.concurrencyLimit)}function hre(t){return Object.prototype.hasOwnProperty.call(t,"partialSuccess")}function pre(){return{handleResponse(t){t==null||!hre(t)||t.partialSuccess==null||Object.keys(t.partialSuccess).length===0||ot.warn("Received Partial Success response:",JSON.stringify(t.partialSuccess))}}}class gre{constructor(e,n,r,i,o){ie(this,"_transport");ie(this,"_serializer");ie(this,"_responseHandler");ie(this,"_promiseQueue");ie(this,"_timeout");ie(this,"_diagLogger");this._transport=e,this._serializer=n,this._responseHandler=r,this._promiseQueue=i,this._timeout=o,this._diagLogger=ot.createComponentLogger({namespace:"OTLPExportDelegate"})}export(e,n){if(this._diagLogger.debug("items to be sent",e),this._promiseQueue.hasReachedLimit()){n({code:mi.FAILED,error:new Error("Concurrent export limit reached")});return}const r=this._serializer.serializeRequest(e);if(r==null){n({code:mi.FAILED,error:new Error("Nothing to send")});return}this._promiseQueue.pushPromise(this._transport.send(r,this._timeout).then(i=>{if(i.status==="success"){if(i.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(i.data))}catch(o){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",o,i.data)}n({code:mi.SUCCESS});return}else if(i.status==="failure"&&i.error){n({code:mi.FAILED,error:i.error});return}else i.status==="retryable"?n({code:mi.FAILED,error:new zE("Export failed with retryable status")}):n({code:mi.FAILED,error:new zE("Export failed with unknown error")})},i=>n({code:mi.FAILED,error:i})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function mre(t,e){return new gre(t.transport,t.serializer,pre(),t.promiseHandler,e.timeout)}function b5(t,e,n){return mre({transport:n,serializer:e,promiseHandler:dre(t)},{timeout:t.timeoutMillis})}function VE(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-87:t-55}function S5(t){const e=new Uint8Array(t.length/2);let n=0;for(let r=0;r<t.length;r+=2){const i=VE(t.charCodeAt(r)),o=VE(t.charCodeAt(r+1));e[n++]=i<<4|o}return e}function w5(t){const e=BigInt(1e9);return BigInt(t[0])*e+BigInt(t[1])}function vre(t){const e=Number(BigInt.asUintN(32,t)),n=Number(BigInt.asUintN(32,t>>BigInt(32)));return{low:e,high:n}}function Ore(t){const e=w5(t);return vre(e)}function xre(t){return w5(t).toString()}const yre=typeof BigInt<"u"?xre:ane;function WE(t){return t}function bre(t){if(t!==void 0)return S5(t)}const Sre={encodeHrTime:Ore,encodeSpanContext:S5,encodeOptionalSpanContext:bre};function wre(t){return t===void 0?Sre:{encodeHrTime:yre,encodeSpanContext:WE,encodeOptionalSpanContext:WE}}function Cre(t){return{attributes:Ag(t.attributes),droppedAttributesCount:0}}function Pre(t){return{name:t.name,version:t.version}}function Ag(t){return Object.keys(t).map(e=>C5(e,t[e]))}function C5(t,e){return{key:t,value:P5(e)}}function P5(t){const e=typeof t;return e==="string"?{stringValue:t}:e==="number"?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:e==="boolean"?{boolValue:t}:t instanceof Uint8Array?{bytesValue:t}:Array.isArray(t)?{arrayValue:{values:t.map(P5)}}:e==="object"&&t!=null?{kvlistValue:{values:Object.entries(t).map(([n,r])=>C5(n,r))}}:{}}function kre(t,e){var o,s,a;const n=t.spanContext(),r=t.status,i=(o=t.parentSpanContext)!=null&&o.spanId?e.encodeSpanContext((s=t.parentSpanContext)==null?void 0:s.spanId):void 0;return{traceId:e.encodeSpanContext(n.traceId),spanId:e.encodeSpanContext(n.spanId),parentSpanId:i,traceState:(a=n.traceState)==null?void 0:a.serialize(),name:t.name,kind:t.kind==null?0:t.kind+1,startTimeUnixNano:e.encodeHrTime(t.startTime),endTimeUnixNano:e.encodeHrTime(t.endTime),attributes:Ag(t.attributes),droppedAttributesCount:t.droppedAttributesCount,events:t.events.map(l=>Ere(l,e)),droppedEventsCount:t.droppedEventsCount,status:{code:r.code,message:r.message},links:t.links.map(l=>Are(l,e)),droppedLinksCount:t.droppedLinksCount}}function Are(t,e){var n;return{attributes:t.attributes?Ag(t.attributes):[],spanId:e.encodeSpanContext(t.context.spanId),traceId:e.encodeSpanContext(t.context.traceId),traceState:(n=t.context.traceState)==null?void 0:n.serialize(),droppedAttributesCount:t.droppedAttributesCount||0}}function Ere(t,e){return{attributes:t.attributes?Ag(t.attributes):[],name:t.name,timeUnixNano:e.encodeHrTime(t.time),droppedAttributesCount:t.droppedAttributesCount||0}}function Ire(t,e){const n=wre(e);return{resourceSpans:$re(t,n)}}function Tre(t){const e=new Map;for(const n of t){let r=e.get(n.resource);r||(r=new Map,e.set(n.resource,r));const i=`${n.instrumentationScope.name}@${n.instrumentationScope.version||""}:${n.instrumentationScope.schemaUrl||""}`;let o=r.get(i);o||(o=[],r.set(i,o)),o.push(n)}return e}function $re(t,e){const n=Tre(t),r=[],i=n.entries();let o=i.next();for(;!o.done;){const[s,a]=o.value,l=[],c=a.values();let u=c.next();for(;!u.done;){const d=u.value;if(d.length>0){const h=d.map(g=>kre(g,e));l.push({scope:Pre(d[0].instrumentationScope),spans:h,schemaUrl:d[0].instrumentationScope.schemaUrl})}u=c.next()}const f={resource:Cre(s),scopeSpans:l,schemaUrl:void 0};r.push(f),o=i.next()}return r}const jre={serializeRequest:t=>{const e=Ire(t,{});return new TextEncoder().encode(JSON.stringify(e))},deserializeResponse:t=>{if(t.length===0)return{};const e=new TextDecoder;return JSON.parse(e.decode(t))}},_re=5,Rre=1e3,Dre=5e3,Nre=1.5,ZE=.2;function Mre(){return Math.random()*(2*ZE)-ZE}class Bre{constructor(e){ie(this,"_transport");this._transport=e}retry(e,n,r){return new Promise((i,o)=>{setTimeout(()=>{this._transport.send(e,n).then(i,o)},r)})}async send(e,n){const r=Date.now()+n;let i=await this._transport.send(e,n),o=_re,s=Rre;for(;i.status==="retryable"&&o>0;){o--;const a=Math.max(Math.min(s,Dre)+Mre(),0);s=s*Nre;const l=i.retryInMillis??a,c=r-Date.now();if(l>c)return i;i=await this.retry(e,c,l)}return i}shutdown(){return this._transport.shutdown()}}function k5(t){return new Bre(t.transport)}function Qre(t){return[429,502,503,504].includes(t)}function Fre(t){if(t==null)return;const e=Number.parseInt(t,10);if(Number.isInteger(e))return e>0?e*1e3:-1;const n=new Date(t).getTime()-Date.now();return n>=0?n:0}class Lre{constructor(e){ie(this,"_parameters");this._parameters=e}send(e,n){return new Promise(r=>{const i=new XMLHttpRequest;i.timeout=n,i.open("POST",this._parameters.url);const o=this._parameters.headers();Object.entries(o).forEach(([s,a])=>{i.setRequestHeader(s,a)}),i.ontimeout=s=>{r({status:"failure",error:new Error("XHR request timed out")})},i.onreadystatechange=()=>{i.status>=200&&i.status<=299?(ot.debug("XHR success"),r({status:"success"})):i.status&&Qre(i.status)?r({status:"retryable",retryInMillis:Fre(i.getResponseHeader("Retry-After"))}):i.status!==0&&r({status:"failure",error:new Error("XHR request failed with non-retryable status")})},i.onabort=()=>{r({status:"failure",error:new Error("XHR request aborted")})},i.onerror=()=>{r({status:"failure",error:new Error("XHR request errored")})},i.send(e)})}shutdown(){}}function zre(t){return new Lre(t)}class Vre{constructor(e){ie(this,"_params");this._params=e}send(e){return new Promise(n=>{navigator.sendBeacon(this._params.url,new Blob([e],{type:this._params.blobType}))?(ot.debug("SendBeacon success"),n({status:"success"})):n({status:"failure",error:new Error("SendBeacon failed")})})}shutdown(){}}function Wre(t){return new Vre(t)}function Zre(t,e){return b5(t,e,k5({transport:zre(t)}))}function Xre(t,e){return b5(t,e,k5({transport:Wre({url:t.url,blobType:t.headers()["Content-Type"]})}))}function Gre(t){return()=>{const e={};return Object.entries((t==null?void 0:t())??{}).forEach(([n,r])=>{typeof r<"u"?e[n]=String(r):ot.warn(`Header "${n}" has invalid value (${r}) and will be ignored`)}),e}}function Ure(t,e,n){const r={...n()},i={};return()=>(e!=null&&Object.assign(i,e()),t!=null&&Object.assign(i,t()),Object.assign(i,r))}function Yre(t){if(t!=null)try{return new URL(t),t}catch{throw new Error(`Configuration: Could not parse user-provided export URL: '${t}'`)}}function qre(t,e,n){return{...cre(t,e,n),headers:Ure(Gre(t.headers),e.headers,n.headers),url:Yre(t.url)??e.url??n.url,agentOptions:t.agentOptions??e.agentOptions??n.agentOptions}}function Hre(t,e){return{...ure(),headers:()=>t,url:"http://localhost:4318/"+e,agentOptions:{keepAlive:!0}}}function Jre(t,e,n){return qre({url:t.url,timeoutMillis:t.timeoutMillis,headers:lre(t.headers),concurrencyLimit:t.concurrencyLimit},{},Hre(n,e))}function Kre(t,e,n,r){const i=!!t.headers||typeof navigator.sendBeacon!="function",o=Jre(t,n,r);return i?Zre(o,e):Xre(o,e)}class eie extends sre{constructor(e={}){super(Kre(e,jre,"v1/traces",{"Content-Type":"application/json"}))}}class A5{emit(e){}}const tie=new A5;class nie{getLogger(e,n,r){return new A5}}const E5=new nie;class rie{constructor(e,n,r,i){this._provider=e,this.name=n,this.version=r,this.options=i}emit(e){this._getLogger().emit(e)}_getLogger(){if(this._delegate)return this._delegate;const e=this._provider.getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):tie}}class XE{getLogger(e,n,r){var i;return(i=this.getDelegateLogger(e,n,r))!==null&&i!==void 0?i:new rie(this,e,n,r)}getDelegate(){var e;return(e=this._delegate)!==null&&e!==void 0?e:E5}setDelegate(e){this._delegate=e}getDelegateLogger(e,n,r){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getLogger(e,n,r)}}const iie=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},pd=Symbol.for("io.opentelemetry.js.api.logs"),Cc=iie;function oie(t,e,n){return r=>r===t?e:n}const GE=1;class P1{constructor(){this._proxyLoggerProvider=new XE}static getInstance(){return this._instance||(this._instance=new P1),this._instance}setGlobalLoggerProvider(e){return Cc[pd]?this.getLoggerProvider():(Cc[pd]=oie(GE,e,E5),this._proxyLoggerProvider.setDelegate(e),e)}getLoggerProvider(){var e,n;return(n=(e=Cc[pd])===null||e===void 0?void 0:e.call(Cc,GE))!==null&&n!==void 0?n:this._proxyLoggerProvider}getLogger(e,n,r){return this.getLoggerProvider().getLogger(e,n,r)}disable(){delete Cc[pd],this._proxyLoggerProvider=new XE}}const sie=P1.getInstance();function aie(t,e,n,r){for(let i=0,o=t.length;i<o;i++){const s=t[i];e&&s.setTracerProvider(e),n&&s.setMeterProvider(n),r&&s.setLoggerProvider&&s.setLoggerProvider(r),s.getConfig().enabled||s.enable()}}function lie(t){t.forEach(e=>e.disable())}function cie(t){var o;const e=t.tracerProvider||Pr.getTracerProvider(),n=t.meterProvider||Ete.getMeterProvider(),r=t.loggerProvider||sie.getLoggerProvider(),i=((o=t.instrumentations)==null?void 0:o.flat())??[];return aie(i,e,n,r),()=>{lie(i)}}class uie{constructor(){ie(this,"config",null);ie(this,"tracer",null);ie(this,"tracerProvider",null);ie(this,"initialized",!1);ie(this,"getKeySnakeValue",e=>e.replace(/([A-Z])/g,"_$1").toLowerCase())}initTracer(e){throw new Error("initTracer must be implemented by the environment-specific client")}init(e){this.config=e,this.initTracer(e)}send(e){var n;try{if(!this.tracer||!this.config)return;const r=e.time?new Date(e.time):new Date;this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,r),startTime:r}).end(r)}catch(r){(n=this.config)!=null&&n.isProd||console.error("Event reporting failed:",r)}}processAttributes(e,n){var o,s;const i={"cloudevents.event_id":Nu(),"cloudevents.event_type":e.type,"cloudevents.event_source":e.source,"cloudevents.event_spec_version":e.specversion,"cloudevents.event_data_content_type":e.datacontenttype||"application/json; charset=utf-8","cloudevents.event_time":n.toISOString(),"cloudevents.event_subject":e.subject||"","cloudevents.page.uri":location.href,"cloudevents.event_version":(o=this.config)==null?void 0:o.version,"cloudevents.event_origin":"ui","cloudevents.event_source_details.id":((s=e.sourceDetails)==null?void 0:s.id)||Nu()};return e.data&&typeof e.data=="object"&&Object.entries(e.data).forEach(([a,l])=>{const c=a.replace(/([A-Z])/g,"_$1").toLowerCase();l!==void 0&&(i[`cloudevents.event_data.${c}`]=l)}),Object.entries(e).forEach(([a,l])=>{["id","source","type","specversion","time","datacontenttype","data","subject","sourceDetails"].includes(a)||l!==void 0&&(l instanceof Object?Object.entries(l).forEach(([c,u])=>{u!==void 0&&(i[`cloudevents.${a}.${c}`]=u)}):i[`cloudevents.${a}`]=l)}),i}startSpan(e,n){var r;try{if(!this.tracer)return;let i;const o=e.time?new Date(e.time):new Date,s=this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,o),root:!n},n);return n||(i=Pr.setSpan(Fo.active(),s)),{end:()=>s.end(),setAttribute:(a,l)=>{s.setAttribute(`cloudevents.event_data.${this.getKeySnakeValue(a)}`,l)},setStatus:(a,l)=>s.setStatus({code:a,message:l}),parentCtx:i}}catch(i){(r=this.config)!=null&&r.isProd||console.error("Event reporting failed:",i)}}forceFlush(){var e;(e=this.tracerProvider)==null||e.forceFlush()}}class fie extends uie{constructor(){super();ie(this,"tracerProvider",null);ie(this,"tracer",null);ie(this,"initialized",!1)}initTracer(n){if(!n.collectorUrl&&!n.collectorTraceUrl)return;const r=`ses_${Nu()}`,i=O5({[l5]:n.serviceName,[Kte]:n.serviceVersion,session_id:r}),o=n.collectorTraceUrl||`${n.collectorUrl}/v1/traces`;this.tracerProvider=new ore({resource:i,spanProcessors:[new Yne(new eie({url:o,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(n.tracerName),this.tracerProvider.register(),cie({instrumentations:n.instrumentations??[]}),this.initialized=!0}}class die{constructor(){ie(this,"config",null);ie(this,"initialized",!1);ie(this,"useCloudEventData");ie(this,"otelClient");ie(this,"updateCloudEventData",e=>{this.useCloudEventData=e});this.useCloudEventData=()=>({organization:{id:"",slug:""},project:{id:"",slug:""},productType:"",sourceDetails:{user:"Anonymous",object:"user",uri:""},request:{source:""}}),this.otelClient=new fie}init(e){this.initialized||(this.config=e,this.initialized=!0,this.otelClient.init({serviceVersion:e.otel.serviceVersion,version:e.otel.version,isProd:e.otel.isProd,collectorUrl:e.otel.collectorUrl,serviceName:e.otel.serviceName,tracerName:e.otel.tracerName}))}send(e,n){var r;try{const i=this.constructCloudEvent(e,n);this.sendToOtelService(i)}catch(i){(r=this.config)!=null&&r.otel.isProd||console.error("Event reporting failed:",i)}}startSpan(e,n,r){const i=this.constructCloudEvent(e,n);return this.otelClient.startSpan(i,r)}constructCloudEvent(e,n){const r=this.useCloudEventData();return{id:`evt_${Nu()}`,type:e,source:r.request.source||"",specversion:"1.0",datacontenttype:"application/json",time:new Date().toISOString(),data:n,origin:"ui",sourceDetails:{id:r.sourceDetails.user||`usr_${Nu()}`,object:r.sourceDetails.object||"user",uri:r.sourceDetails.uri||""},organization:r.organization,project:r.project,productType:r.productType}}sendToOtelService(e){var n;(n=this.config)!=null&&n.otel.isProd||console.log("CloudEvent to be sent to OTEL service:",e),this.otelClient.send(e)}forceFlush(){this.otelClient.forceFlush()}sendTabChangeMessage(e){this.send("tab.change",e)}sendButtonClickMessage(e){this.send("button.click",e)}sendChangeMessage(e){this.send("change",e)}sendContentCopyMessage(e){this.send("content.copy",e)}sendUrlClickMessage(e){this.send("url.click",e)}sendRequestSendMessage(e){this.send("request.send",e)}sendTokenGenerateMessage(e){this.send("token.generate",e)}sendAppLifecycleMessage(e){this.send("app.lifecycle",e)}sendEnvironmentManagementMessage(e){this.send("environment.management",e)}sendInputManagementMessage(e){this.send("input.management",e)}sendNodeManagementMessage(e){this.send("node.management",e)}sendHistoryManagementMessage(e){this.send("history.management",e)}sendCredentialManagementMessage(e){this.send("credential.management",e)}sendPanelToggleMessage(e){this.send("panel.toggle",e)}}function hie(){return{theme:"light",disableCollectionsTab:!1,oAuth2RedirectURI:null,corsProxyUrl:void 0,mockServer:void 0,certificates:[],isApiBased:!1,generatedEnvironments:[],generatedInputs:[]}}const pie=hie(),gie=E.createContext(pie);function Jr(){const t=E.useContext(gie);return Z2(t)}function mie(t,e){const{apps:{apiId:n}}=at(),{corsProxyUrl:r,disableCollectionsTab:i,mockServer:o,oAuth2RedirectURI:s,certificates:a,storageKey:l,isApiBased:c}=Jr();r.set((t==null?void 0:t.corsProxyUrl)??J9),o.set(t==null?void 0:t.mockServer),n.set(t==null?void 0:t.apiId),s.set(t==null?void 0:t.oAuth2RedirectURI),i.set(!!(t!=null&&t.disableCollectionsTab)),l.set(t==null?void 0:t.storageKey),c.set(!!e),E.useEffect(()=>{a.set((t==null?void 0:t.certificates)||[])},[t==null?void 0:t.certificates])}const Eg=E.createContext({});function k1(){return E.useContext(Eg)||{}}const vie="0.0.0-20250812133125",Oie={version:vie};class xie{constructor(){ie(this,"client");ie(this,"_isInitialized",!1);this.client=new die}get isInitialized(){return this._isInitialized}init(e){if(this.isInitialized)return;const r={serviceName:"replay",serviceVersion:Oie.version,version:"1.0.0",tracerName:(e==null?void 0:e.tracerName)||"desktop",collectorUrl:(e==null?void 0:e.collectorUrl)||"",isProd:!0};this.client.init({otel:{...r,...e}}),this._isInitialized=!0}sendEvent(e,n){if(!this.isInitialized){console.warn("Telemetry client not initialized. Call init() first.");return}try{this.client.send(e,n)}catch(r){console.error("Failed to send telemetry event:",r)}}}const uv=new xie;function et(){const{telemetry:t}=k1();return uv.isInitialized||uv.init({tracerName:t==null?void 0:t.tracerName,collectorUrl:t==null?void 0:t.collectorUrl}),{sendEvent:(e,n)=>{uv.sendEvent(e,n)}}}const Qn=800;var yie=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function bie(t){var e=t.defaultInputValue,n=e===void 0?"":e,r=t.defaultMenuIsOpen,i=r===void 0?!1:r,o=t.defaultValue,s=o===void 0?null:o,a=t.inputValue,l=t.menuIsOpen,c=t.onChange,u=t.onInputChange,f=t.onMenuClose,d=t.onMenuOpen,h=t.value,g=gr(t,yie),m=E.useState(a!==void 0?a:n),v=Me(m,2),O=v[0],x=v[1],y=E.useState(l!==void 0?l:i),S=Me(y,2),b=S[0],w=S[1],C=E.useState(h!==void 0?h:s),P=Me(C,2),k=P[0],I=P[1],T=E.useCallback(function(Z,Y){typeof c=="function"&&c(Z,Y),I(Z)},[c]),j=E.useCallback(function(Z,Y){var M;typeof u=="function"&&(M=u(Z,Y)),x(M!==void 0?M:Z)},[u]),B=E.useCallback(function(){typeof d=="function"&&d(),w(!0)},[d]),z=E.useCallback(function(){typeof f=="function"&&f(),w(!1)},[f]),Q=a!==void 0?a:O,V=l!==void 0?l:b,U=h!==void 0?h:k;return se(se({},g),{},{inputValue:Q,menuIsOpen:V,onChange:T,onInputChange:j,onMenuClose:z,onMenuOpen:B,value:U})}function Sie(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function wie(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Cie=function(){function t(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(wie(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
320
|
+
`;function rf({input:t,onSave:e,onCancel:n,...r}){const[i,o]=E.useState(!!t.isSecret),s=({name:a,value:l})=>{e({...t,name:a,value:l,isSecret:i})};return p.jsx(H4,{variable:t,onSave:s,onCancel:n,...r,children:p.jsx(ny,{children:p.jsx(uee,{value:i,onChange:a=>o(a),title:"Make it secret"})})})}function Hd(t){var e=new Error(t);return e.source="ulid",e}var m1="0123456789ABCDEFGHJKMNPQRSTVWXYZ",iu=m1.length,EE=Math.pow(2,48)-1,vee=10,Oee=16;function xee(t){var e=Math.floor(t()*iu);return e===iu&&(e=iu-1),m1.charAt(e)}function yee(t,e){if(isNaN(t))throw new Error(t+" must be a number");if(t>EE)throw Hd("cannot encode time greater than "+EE);if(t<0)throw Hd("time must be positive");if(Number.isInteger(t)===!1)throw Hd("time must be an integer");for(var n=void 0,r="";e>0;e--)n=t%iu,r=m1.charAt(n)+r,t=(t-n)/iu;return r}function bee(t,e){for(var n="";t>0;t--)n=xee(e)+n;return n}function See(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=arguments[1];e||(e=typeof window<"u"?window:null);var n=e&&(e.crypto||e.msCrypto);if(n)return function(){var i=new Uint8Array(1);return n.getRandomValues(i),i[0]/255};try{var r=require("crypto");return function(){return r.randomBytes(1).readUInt8()/255}}catch{}if(t){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return function(){return Math.random()}}throw Hd("secure crypto unusable, insecure Math.random not allowed")}function wee(t){return t||(t=See()),function(n){return isNaN(n)&&(n=Date.now()),yee(n,vee)+bee(Oee,t)}}var Nu=wee(),Cee=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},Es="1.9.0",IE=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function Pee(t){var e=new Set([t]),n=new Set,r=t.match(IE);if(!r)return function(){return!1};var i={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(i.prerelease!=null)return function(l){return l===t};function o(a){return n.add(a),!1}function s(a){return e.add(a),!0}return function(l){if(e.has(l))return!0;if(n.has(l))return!1;var c=l.match(IE);if(!c)return o(l);var u={major:+c[1],minor:+c[2],patch:+c[3],prerelease:c[4]};return u.prerelease!=null||i.major!==u.major?o(l):i.major===0?i.minor===u.minor&&i.patch<=u.patch?s(l):o(l):i.minor<=u.minor?s(l):o(l)}}var kee=Pee(Es),Aee=Es.split(".")[0],Mu=Symbol.for("opentelemetry.js.api."+Aee),Bu=Cee;function of(t,e,n,r){var i;r===void 0&&(r=!1);var o=Bu[Mu]=(i=Bu[Mu])!==null&&i!==void 0?i:{version:Es};if(!r&&o[t]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+t);return n.error(s.stack||s.message),!1}if(o.version!==Es){var s=new Error("@opentelemetry/api: Registration of version v"+o.version+" for "+t+" does not match previously registered API v"+Es);return n.error(s.stack||s.message),!1}return o[t]=e,n.debug("@opentelemetry/api: Registered a global for "+t+" v"+Es+"."),!0}function Zs(t){var e,n,r=(e=Bu[Mu])===null||e===void 0?void 0:e.version;if(!(!r||!kee(r)))return(n=Bu[Mu])===null||n===void 0?void 0:n[t]}function sf(t,e){e.debug("@opentelemetry/api: Unregistering a global for "+t+" v"+Es+".");var n=Bu[Mu];n&&delete n[t]}var Eee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Iee=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},Tee=function(){function t(e){this._namespace=e.namespace||"DiagComponentLogger"}return t.prototype.debug=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("debug",this._namespace,e)},t.prototype.error=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("error",this._namespace,e)},t.prototype.info=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("info",this._namespace,e)},t.prototype.warn=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("warn",this._namespace,e)},t.prototype.verbose=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Sc("verbose",this._namespace,e)},t}();function Sc(t,e,n){var r=Zs("diag");if(r)return n.unshift(e),r[t].apply(r,Iee([],Eee(n),!1))}var ar;(function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"})(ar||(ar={}));function $ee(t,e){t<ar.NONE?t=ar.NONE:t>ar.ALL&&(t=ar.ALL),e=e||{};function n(r,i){var o=e[r];return typeof o=="function"&&t>=i?o.bind(e):function(){}}return{error:n("error",ar.ERROR),warn:n("warn",ar.WARN),info:n("info",ar.INFO),debug:n("debug",ar.DEBUG),verbose:n("verbose",ar.VERBOSE)}}var jee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},_ee=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},Ree="diag",Ni=function(){function t(){function e(i){return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var a=Zs("diag");if(a)return a[i].apply(a,_ee([],jee(o),!1))}}var n=this,r=function(i,o){var s,a,l;if(o===void 0&&(o={logLevel:ar.INFO}),i===n){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return n.error((s=c.stack)!==null&&s!==void 0?s:c.message),!1}typeof o=="number"&&(o={logLevel:o});var u=Zs("diag"),f=$ee((a=o.logLevel)!==null&&a!==void 0?a:ar.INFO,i);if(u&&!o.suppressOverrideMessage){var d=(l=new Error().stack)!==null&&l!==void 0?l:"<failed to generate stacktrace>";u.warn("Current logger will be overwritten from "+d),f.warn("Current logger will overwrite one already registered from "+d)}return of("diag",f,n,!0)};n.setLogger=r,n.disable=function(){sf(Ree,n)},n.createComponentLogger=function(i){return new Tee(i)},n.verbose=e("verbose"),n.debug=e("debug"),n.info=e("info"),n.warn=e("warn"),n.error=e("error")}return t.instance=function(){return this._instance||(this._instance=new t),this._instance},t}(),Dee=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},Nee=function(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},Mee=function(){function t(e){this._entries=e?new Map(e):new Map}return t.prototype.getEntry=function(e){var n=this._entries.get(e);if(n)return Object.assign({},n)},t.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(e){var n=Dee(e,2),r=n[0],i=n[1];return[r,i]})},t.prototype.setEntry=function(e,n){var r=new t(this._entries);return r._entries.set(e,n),r},t.prototype.removeEntry=function(e){var n=new t(this._entries);return n._entries.delete(e),n},t.prototype.removeEntries=function(){for(var e,n,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=new t(this._entries);try{for(var s=Nee(r),a=s.next();!a.done;a=s.next()){var l=a.value;o._entries.delete(l)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return o},t.prototype.clear=function(){return new t},t}(),Bee=Symbol("BaggageEntryMetadata"),Qee=Ni.instance();function Fee(t){return t===void 0&&(t={}),new Mee(new Map(Object.entries(t)))}function Lee(t){return typeof t!="string"&&(Qee.error("Cannot create baggage metadata from unknown type: "+typeof t),t=""),{__TYPE__:Bee,toString:function(){return t}}}function v1(t){return Symbol.for(t)}var zee=function(){function t(e){var n=this;n._currentContext=e?new Map(e):new Map,n.getValue=function(r){return n._currentContext.get(r)},n.setValue=function(r,i){var o=new t(n._currentContext);return o._currentContext.set(r,i),o},n.deleteValue=function(r){var i=new t(n._currentContext);return i._currentContext.delete(r),i}}return t}(),Da=new zee,Ks=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Vee=function(){function t(){}return t.prototype.createGauge=function(e,n){return Kee},t.prototype.createHistogram=function(e,n){return ete},t.prototype.createCounter=function(e,n){return Jee},t.prototype.createUpDownCounter=function(e,n){return tte},t.prototype.createObservableGauge=function(e,n){return rte},t.prototype.createObservableCounter=function(e,n){return nte},t.prototype.createObservableUpDownCounter=function(e,n){return ite},t.prototype.addBatchObservableCallback=function(e,n){},t.prototype.removeBatchObservableCallback=function(e){},t}(),Cg=function(){function t(){}return t}(),Wee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(n,r){},e}(Cg),Zee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.add=function(n,r){},e}(Cg),Xee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(n,r){},e}(Cg),Gee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.record=function(n,r){},e}(Cg),O1=function(){function t(){}return t.prototype.addCallback=function(e){},t.prototype.removeCallback=function(e){},t}(),Uee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(O1),Yee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(O1),qee=function(t){Ks(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(O1),Hee=new Vee,Jee=new Wee,Kee=new Xee,ete=new Gee,tte=new Zee,nte=new Uee,rte=new Yee,ite=new qee,ote={get:function(t,e){if(t!=null)return t[e]},keys:function(t){return t==null?[]:Object.keys(t)}},ste={set:function(t,e,n){t!=null&&(t[e]=n)}},ate=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},lte=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},cte=function(){function t(){}return t.prototype.active=function(){return Da},t.prototype.with=function(e,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return n.call.apply(n,lte([r],ate(i),!1))},t.prototype.bind=function(e,n){return n},t.prototype.enable=function(){return this},t.prototype.disable=function(){return this},t}(),ute=function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),i,o=[],s;try{for(;(e===void 0||e-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o},fte=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))},J0="context",dte=new cte,Pg=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalContextManager=function(e){return of(J0,e,Ni.instance())},t.prototype.active=function(){return this._getContextManager().active()},t.prototype.with=function(e,n,r){for(var i,o=[],s=3;s<arguments.length;s++)o[s-3]=arguments[s];return(i=this._getContextManager()).with.apply(i,fte([e,n,r],ute(o),!1))},t.prototype.bind=function(e,n){return this._getContextManager().bind(e,n)},t.prototype._getContextManager=function(){return Zs(J0)||dte},t.prototype.disable=function(){this._getContextManager().disable(),sf(J0,Ni.instance())},t}(),fo;(function(t){t[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"})(fo||(fo={}));var J4="0000000000000000",K4="00000000000000000000000000000000",e5={traceId:K4,spanId:J4,traceFlags:fo.NONE},ou=function(){function t(e){e===void 0&&(e=e5),this._spanContext=e}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(e,n){return this},t.prototype.setAttributes=function(e){return this},t.prototype.addEvent=function(e,n){return this},t.prototype.addLink=function(e){return this},t.prototype.addLinks=function(e){return this},t.prototype.setStatus=function(e){return this},t.prototype.updateName=function(e){return this},t.prototype.end=function(e){},t.prototype.isRecording=function(){return!1},t.prototype.recordException=function(e,n){},t}(),x1=v1("OpenTelemetry Context Key SPAN");function y1(t){return t.getValue(x1)||void 0}function hte(){return y1(Pg.getInstance().active())}function b1(t,e){return t.setValue(x1,e)}function pte(t){return t.deleteValue(x1)}function gte(t,e){return b1(t,new ou(e))}function t5(t){var e;return(e=y1(t))===null||e===void 0?void 0:e.spanContext()}var mte=/^([0-9a-f]{32})$/i,vte=/^[0-9a-f]{16}$/i;function n5(t){return mte.test(t)&&t!==K4}function Ote(t){return vte.test(t)&&t!==J4}function kg(t){return n5(t.traceId)&&Ote(t.spanId)}function xte(t){return new ou(t)}var K0=Pg.getInstance(),r5=function(){function t(){}return t.prototype.startSpan=function(e,n,r){r===void 0&&(r=K0.active());var i=!!(n!=null&&n.root);if(i)return new ou;var o=r&&t5(r);return yte(o)&&kg(o)?new ou(o):new ou},t.prototype.startActiveSpan=function(e,n,r,i){var o,s,a;if(!(arguments.length<2)){arguments.length===2?a=n:arguments.length===3?(o=n,a=r):(o=n,s=r,a=i);var l=s??K0.active(),c=this.startSpan(e,o,l),u=b1(l,c);return K0.with(u,a,void 0,c)}},t}();function yte(t){return typeof t=="object"&&typeof t.spanId=="string"&&typeof t.traceId=="string"&&typeof t.traceFlags=="number"}var bte=new r5,Ste=function(){function t(e,n,r,i){this._provider=e,this.name=n,this.version=r,this.options=i}return t.prototype.startSpan=function(e,n,r){return this._getTracer().startSpan(e,n,r)},t.prototype.startActiveSpan=function(e,n,r,i){var o=this._getTracer();return Reflect.apply(o.startActiveSpan,o,arguments)},t.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):bte},t}(),wte=function(){function t(){}return t.prototype.getTracer=function(e,n,r){return new r5},t}(),Cte=new wte,TE=function(){function t(){}return t.prototype.getTracer=function(e,n,r){var i;return(i=this.getDelegateTracer(e,n,r))!==null&&i!==void 0?i:new Ste(this,e,n,r)},t.prototype.getDelegate=function(){var e;return(e=this._delegate)!==null&&e!==void 0?e:Cte},t.prototype.setDelegate=function(e){this._delegate=e},t.prototype.getDelegateTracer=function(e,n,r){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getTracer(e,n,r)},t}(),mp;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(mp||(mp={}));var ry;(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"})(ry||(ry={}));var iy;(function(t){t[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"})(iy||(iy={}));var Fo=Pg.getInstance(),ot=Ni.instance(),Pte=function(){function t(){}return t.prototype.getMeter=function(e,n,r){return Hee},t}(),kte=new Pte,ev="metrics",Ate=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalMeterProvider=function(e){return of(ev,e,Ni.instance())},t.prototype.getMeterProvider=function(){return Zs(ev)||kte},t.prototype.getMeter=function(e,n,r){return this.getMeterProvider().getMeter(e,n,r)},t.prototype.disable=function(){sf(ev,Ni.instance())},t}(),Ete=Ate.getInstance(),Ite=function(){function t(){}return t.prototype.inject=function(e,n){},t.prototype.extract=function(e,n){return e},t.prototype.fields=function(){return[]},t}(),S1=v1("OpenTelemetry Baggage Key");function i5(t){return t.getValue(S1)||void 0}function Tte(){return i5(Pg.getInstance().active())}function $te(t,e){return t.setValue(S1,e)}function jte(t){return t.deleteValue(S1)}var tv="propagation",_te=new Ite,Rte=function(){function t(){this.createBaggage=Fee,this.getBaggage=i5,this.getActiveBaggage=Tte,this.setBaggage=$te,this.deleteBaggage=jte}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalPropagator=function(e){return of(tv,e,Ni.instance())},t.prototype.inject=function(e,n,r){return r===void 0&&(r=ste),this._getGlobalPropagator().inject(e,n,r)},t.prototype.extract=function(e,n,r){return r===void 0&&(r=ote),this._getGlobalPropagator().extract(e,n,r)},t.prototype.fields=function(){return this._getGlobalPropagator().fields()},t.prototype.disable=function(){sf(tv,Ni.instance())},t.prototype._getGlobalPropagator=function(){return Zs(tv)||_te},t}(),su=Rte.getInstance(),nv="trace",Dte=function(){function t(){this._proxyTracerProvider=new TE,this.wrapSpanContext=xte,this.isSpanContextValid=kg,this.deleteSpan=pte,this.getSpan=y1,this.getActiveSpan=hte,this.getSpanContext=t5,this.setSpan=b1,this.setSpanContext=gte}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalTracerProvider=function(e){var n=of(nv,this._proxyTracerProvider,Ni.instance());return n&&this._proxyTracerProvider.setDelegate(e),n},t.prototype.getTracerProvider=function(){return Zs(nv)||this._proxyTracerProvider},t.prototype.getTracer=function(e,n){return this.getTracerProvider().getTracer(e,n)},t.prototype.disable=function(){sf(nv,Ni.instance()),this._proxyTracerProvider=new TE},t}(),Pr=Dte.getInstance();const o5=v1("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function Nte(t){return t.setValue(o5,!0)}function w1(t){return t.getValue(o5)===!0}const Mte="=",oy=";",sy=",",rv="baggage",Bte=180,Qte=4096,Fte=8192;function Lte(t){return t.reduce((e,n)=>{const r=`${e}${e!==""?sy:""}${n}`;return r.length>Fte?e:r},"")}function zte(t){return t.getAllEntries().map(([e,n])=>{let r=`${encodeURIComponent(e)}=${encodeURIComponent(n.value)}`;return n.metadata!==void 0&&(r+=oy+n.metadata.toString()),r})}function Vte(t){const e=t.split(oy);if(e.length<=0)return;const n=e.shift();if(!n)return;const r=n.indexOf(Mte);if(r<=0)return;const i=decodeURIComponent(n.substring(0,r).trim()),o=decodeURIComponent(n.substring(r+1).trim());let s;return e.length>0&&(s=Lee(e.join(oy))),{key:i,value:o,metadata:s}}class Wte{inject(e,n,r){const i=su.getBaggage(e);if(!i||w1(e))return;const o=zte(i).filter(a=>a.length<=Qte).slice(0,Bte),s=Lte(o);s.length>0&&r.set(n,rv,s)}extract(e,n,r){const i=r.get(n,rv),o=Array.isArray(i)?i.join(sy):i;if(!o)return e;const s={};return o.length===0||(o.split(sy).forEach(l=>{const c=Vte(l);if(c){const u={value:c.value};c.metadata&&(u.metadata=c.metadata),s[c.key]=u}}),Object.entries(s).length===0)?e:su.setBaggage(e,su.createBaggage(s))}fields(){return[rv]}}function Jd(t){const e={};if(typeof t!="object"||t==null)return e;for(const[n,r]of Object.entries(t)){if(!Zte(n)){ot.warn(`Invalid attribute key: ${n}`);continue}if(!s5(r)){ot.warn(`Invalid attribute value set for key: ${n}`);continue}Array.isArray(r)?e[n]=r.slice():e[n]=r}return e}function Zte(t){return typeof t=="string"&&t.length>0}function s5(t){return t==null?!0:Array.isArray(t)?Xte(t):a5(t)}function Xte(t){let e;for(const n of t)if(n!=null){if(!e){if(a5(n)){e=typeof n;continue}return!1}if(typeof n!==e)return!1}return!0}function a5(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}function Gte(){return t=>{ot.error(Ute(t))}}function Ute(t){return typeof t=="string"?t:JSON.stringify(Yte(t))}function Yte(t){const e={};let n=t;for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r=>{if(e[r])return;const i=n[r];i&&(e[r]=String(i))}),n=Object.getPrototypeOf(n);return e}let qte=Gte();function _l(t){try{qte(t)}catch{}}const sl=performance,Hte="2.0.1",iv="exception.message",Jte="exception.stacktrace",ov="exception.type",l5="service.name",Kte="service.version",ay="telemetry.sdk.language",ene="webjs",ly="telemetry.sdk.name",cy="telemetry.sdk.version",tne="process.runtime.name",sv={[ly]:"opentelemetry",[tne]:"browser",[ay]:ene,[cy]:Hte};const nne=9,rne=6,ine=Math.pow(10,rne),vp=Math.pow(10,nne);function Za(t){const e=t/1e3,n=Math.trunc(e),r=Math.round(t%1e3*ine);return[n,r]}function c5(){let t=sl.timeOrigin;if(typeof t!="number"){const e=sl;t=e.timing&&e.timing.fetchStart}return t}function one(t){const e=Za(c5()),n=Za(typeof t=="number"?t:sl.now());return f5(e,n)}function sne(t,e){let n=e[0]-t[0],r=e[1]-t[1];return r<0&&(n-=1,r+=vp),[n,r]}function ane(t){return t[0]*vp+t[1]}function u5(t){return Array.isArray(t)&&t.length===2&&typeof t[0]=="number"&&typeof t[1]=="number"}function $E(t){return u5(t)||typeof t=="number"||t instanceof Date}function f5(t,e){const n=[t[0]+e[0],t[1]+e[1]];return n[1]>=vp&&(n[1]-=vp,n[0]+=1),n}var mi;(function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"})(mi||(mi={}));class lne{constructor(e={}){ie(this,"_propagators");ie(this,"_fields");this._propagators=e.propagators??[],this._fields=Array.from(new Set(this._propagators.map(n=>typeof n.fields=="function"?n.fields():[]).reduce((n,r)=>n.concat(r),[])))}inject(e,n,r){for(const i of this._propagators)try{i.inject(e,n,r)}catch(o){ot.warn(`Failed to inject with ${i.constructor.name}. Err: ${o.message}`)}}extract(e,n,r){return this._propagators.reduce((i,o)=>{try{return o.extract(i,n,r)}catch(s){ot.warn(`Failed to extract with ${o.constructor.name}. Err: ${s.message}`)}return i},e)}fields(){return this._fields.slice()}}const uy="[_0-9a-z-*/]",cne=`[a-z]${uy}{0,255}`,une=`[a-z0-9]${uy}{0,240}@[a-z]${uy}{0,13}`,fne=new RegExp(`^(?:${cne}|${une})$`),dne=/^[ -~]{0,255}[!-~]$/,hne=/,|=/;function pne(t){return fne.test(t)}function gne(t){return dne.test(t)&&!hne.test(t)}const jE=32,mne=512,_E=",",RE="=";class C1{constructor(e){ie(this,"_internalState",new Map);e&&this._parse(e)}set(e,n){const r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,n),r}unset(e){const n=this._clone();return n._internalState.delete(e),n}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,n)=>(e.push(n+RE+this.get(n)),e),[]).join(_E)}_parse(e){e.length>mne||(this._internalState=e.split(_E).reverse().reduce((n,r)=>{const i=r.trim(),o=i.indexOf(RE);if(o!==-1){const s=i.slice(0,o),a=i.slice(o+1,r.length);pne(s)&&gne(a)&&n.set(s,a)}return n},new Map),this._internalState.size>jE&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,jE))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const e=new C1;return e._internalState=new Map(this._internalState),e}}const av="traceparent",lv="tracestate",vne="00",One="(?!ff)[\\da-f]{2}",xne="(?![0]{32})[\\da-f]{32}",yne="(?![0]{16})[\\da-f]{16}",bne="[\\da-f]{2}",Sne=new RegExp(`^\\s?(${One})-(${xne})-(${yne})-(${bne})(-.*)?\\s?$`);function wne(t){const e=Sne.exec(t);return!e||e[1]==="00"&&e[5]?null:{traceId:e[2],spanId:e[3],traceFlags:parseInt(e[4],16)}}class Cne{inject(e,n,r){const i=Pr.getSpanContext(e);if(!i||w1(e)||!kg(i))return;const o=`${vne}-${i.traceId}-${i.spanId}-0${Number(i.traceFlags||fo.NONE).toString(16)}`;r.set(n,av,o),i.traceState&&r.set(n,lv,i.traceState.serialize())}extract(e,n,r){const i=r.get(n,av);if(!i)return e;const o=Array.isArray(i)?i[0]:i;if(typeof o!="string")return e;const s=wne(o);if(!s)return e;s.isRemote=!0;const a=r.get(n,lv);if(a){const l=Array.isArray(a)?a.join(","):a;s.traceState=new C1(typeof l=="string"?l:void 0)}return Pr.setSpanContext(e,s)}fields(){return[av,lv]}}const Pne="[object Object]",kne="[object Null]",Ane="[object Undefined]",Ene=Function.prototype,d5=Ene.toString,Ine=d5.call(Object),Tne=Object.getPrototypeOf,h5=Object.prototype,p5=h5.hasOwnProperty,ws=Symbol?Symbol.toStringTag:void 0,g5=h5.toString;function DE(t){if(!$ne(t)||jne(t)!==Pne)return!1;const e=Tne(t);if(e===null)return!0;const n=p5.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&d5.call(n)===Ine}function $ne(t){return t!=null&&typeof t=="object"}function jne(t){return t==null?t===void 0?Ane:kne:ws&&ws in Object(t)?_ne(t):Rne(t)}function _ne(t){const e=p5.call(t,ws),n=t[ws];let r=!1;try{t[ws]=void 0,r=!0}catch{}const i=g5.call(t);return r&&(e?t[ws]=n:delete t[ws]),i}function Rne(t){return g5.call(t)}const Dne=20;function Nne(...t){let e=t.shift();const n=new WeakMap;for(;t.length>0;)e=m5(e,t.shift(),0,n);return e}function cv(t){return Op(t)?t.slice():t}function m5(t,e,n=0,r){let i;if(!(n>Dne)){if(n++,Kd(t)||Kd(e)||v5(e))i=cv(e);else if(Op(t)){if(i=t.slice(),Op(e))for(let o=0,s=e.length;o<s;o++)i.push(cv(e[o]));else if(wc(e)){const o=Object.keys(e);for(let s=0,a=o.length;s<a;s++){const l=o[s];i[l]=cv(e[l])}}}else if(wc(t))if(wc(e)){if(!Mne(t,e))return e;i=Object.assign({},t);const o=Object.keys(e);for(let s=0,a=o.length;s<a;s++){const l=o[s],c=e[l];if(Kd(c))typeof c>"u"?delete i[l]:i[l]=c;else{const u=i[l],f=c;if(NE(t,l,r)||NE(e,l,r))delete i[l];else{if(wc(u)&&wc(f)){const d=r.get(u)||[],h=r.get(f)||[];d.push({obj:t,key:l}),h.push({obj:e,key:l}),r.set(u,d),r.set(f,h)}i[l]=m5(i[l],c,n,r)}}}}else i=e;return i}}function NE(t,e,n){const r=n.get(t[e])||[];for(let i=0,o=r.length;i<o;i++){const s=r[i];if(s.key===e&&s.obj===t)return!0}return!1}function Op(t){return Array.isArray(t)}function v5(t){return typeof t=="function"}function wc(t){return!Kd(t)&&!Op(t)&&!v5(t)&&typeof t=="object"}function Kd(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t>"u"||t instanceof Date||t instanceof RegExp||t===null}function Mne(t,e){return!(!DE(t)||!DE(e))}class Bne{constructor(){ie(this,"_promise");ie(this,"_resolve");ie(this,"_reject");this._promise=new Promise((e,n)=>{this._resolve=e,this._reject=n})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}}class Qne{constructor(e,n){ie(this,"_callback");ie(this,"_that");ie(this,"_isCalled",!1);ie(this,"_deferred",new Bne);this._callback=e,this._that=n}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(n=>this._deferred.resolve(n),n=>this._deferred.reject(n))}catch(n){this._deferred.reject(n)}}return this._deferred.promise}}function Fne(){return"unknown_service"}const Fc=t=>t!==null&&typeof t=="object"&&typeof t.then=="function";class xp{constructor(e){ie(this,"_rawAttributes");ie(this,"_asyncAttributesPending",!1);ie(this,"_memoizedAttributes");const n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([r,i])=>(Fc(i)&&(this._asyncAttributesPending=!0),[r,i])),this._rawAttributes=ME(this._rawAttributes)}static FromAttributeList(e){const n=new xp({});return n._rawAttributes=ME(e),n._asyncAttributesPending=e.filter(([r,i])=>Fc(i)).length>0,n}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){const[n,r]=this._rawAttributes[e];this._rawAttributes[e]=[n,Fc(r)?await r:r]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&ot.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const e={};for(const[n,r]of this._rawAttributes){if(Fc(r)){ot.debug(`Unsettled resource attribute ${n} skipped`);continue}r!=null&&(e[n]??(e[n]=r))}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}merge(e){return e==null?this:xp.FromAttributeList([...e.getRawAttributes(),...this.getRawAttributes()])}}function O5(t){return xp.FromAttributeList(Object.entries(t))}function Lne(){return O5({[l5]:Fne(),[ay]:sv[ay],[ly]:sv[ly],[cy]:sv[cy]})}function ME(t){return t.map(([e,n])=>Fc(n)?[e,n.catch(r=>{ot.debug("promise rejection for resource attribute: %s - %s",e,r)})]:[e,n])}const zne="exception";class Vne{constructor(e){ie(this,"_spanContext");ie(this,"kind");ie(this,"parentSpanContext");ie(this,"attributes",{});ie(this,"links",[]);ie(this,"events",[]);ie(this,"startTime");ie(this,"resource");ie(this,"instrumentationScope");ie(this,"_droppedAttributesCount",0);ie(this,"_droppedEventsCount",0);ie(this,"_droppedLinksCount",0);ie(this,"name");ie(this,"status",{code:iy.UNSET});ie(this,"endTime",[0,0]);ie(this,"_ended",!1);ie(this,"_duration",[-1,-1]);ie(this,"_spanProcessor");ie(this,"_spanLimits");ie(this,"_attributeValueLengthLimit");ie(this,"_performanceStartTime");ie(this,"_performanceOffset");ie(this,"_startTimeProvided");const n=Date.now();this._spanContext=e.spanContext,this._performanceStartTime=sl.now(),this._performanceOffset=n-(this._performanceStartTime+c5()),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,this.links=e.links||[],this.startTime=this._getTime(e.startTime??n),this.resource=e.resource,this.instrumentationScope=e.scope,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,n){if(n==null||this._isSpanEnded())return this;if(e.length===0)return ot.warn(`Invalid attribute key: ${e}`),this;if(!s5(n))return ot.warn(`Invalid attribute value set for key: ${e}`),this;const{attributeCountLimit:r}=this._spanLimits;return r!==void 0&&Object.keys(this.attributes).length>=r&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(n),this)}setAttributes(e){for(const[n,r]of Object.entries(e))this.setAttribute(n,r);return this}addEvent(e,n,r){if(this._isSpanEnded())return this;const{eventCountLimit:i}=this._spanLimits;if(i===0)return ot.warn("No events allowed."),this._droppedEventsCount++,this;i!==void 0&&this.events.length>=i&&(this._droppedEventsCount===0&&ot.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),$E(n)&&($E(r)||(r=n),n=void 0);const o=Jd(n);return this.events.push({name:e,attributes:o,time:this._getTime(r),droppedAttributesCount:0}),this}addLink(e){return this.links.push(e),this}addLinks(e){return this.links.push(...e),this}setStatus(e){return this._isSpanEnded()?this:(this.status={...e},this.status.message!=null&&typeof e.message!="string"&&(ot.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`),delete this.status.message),this)}updateName(e){return this._isSpanEnded()?this:(this.name=e,this)}end(e){if(this._isSpanEnded()){ot.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this._ended=!0,this.endTime=this._getTime(e),this._duration=sne(this.startTime,this.endTime),this._duration[0]<0&&(ot.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&ot.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e=="number"&&e<=sl.now())return one(e+this._performanceOffset);if(typeof e=="number")return Za(e);if(e instanceof Date)return Za(e.getTime());if(u5(e))return e;if(this._startTimeProvided)return Za(Date.now());const n=sl.now()-this._performanceStartTime;return f5(this.startTime,Za(n))}isRecording(){return this._ended===!1}recordException(e,n){const r={};typeof e=="string"?r[iv]=e:e&&(e.code?r[ov]=e.code.toString():e.name&&(r[ov]=e.name),e.message&&(r[iv]=e.message),e.stack&&(r[Jte]=e.stack)),r[ov]||r[iv]?this.addEvent(zne,r,n):ot.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){const e=new Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);ot.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,n){return e.length<=n?e:e.substring(0,n)}_truncateToSize(e){const n=this._attributeValueLengthLimit;return n<=0?(ot.warn(`Attribute value limit must be positive, got ${n}`),e):typeof e=="string"?this._truncateToLimitUtil(e,n):Array.isArray(e)?e.map(r=>typeof r=="string"?this._truncateToLimitUtil(r,n):r):e}}var Rl;(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Rl||(Rl={}));class yp{shouldSample(){return{decision:Rl.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class al{shouldSample(){return{decision:Rl.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class dd{constructor(e){ie(this,"_root");ie(this,"_remoteParentSampled");ie(this,"_remoteParentNotSampled");ie(this,"_localParentSampled");ie(this,"_localParentNotSampled");this._root=e.root,this._root||(_l(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new al),this._remoteParentSampled=e.remoteParentSampled??new al,this._remoteParentNotSampled=e.remoteParentNotSampled??new yp,this._localParentSampled=e.localParentSampled??new al,this._localParentNotSampled=e.localParentNotSampled??new yp}shouldSample(e,n,r,i,o,s){const a=Pr.getSpanContext(e);return!a||!kg(a)?this._root.shouldSample(e,n,r,i,o,s):a.isRemote?a.traceFlags&fo.SAMPLED?this._remoteParentSampled.shouldSample(e,n,r,i,o,s):this._remoteParentNotSampled.shouldSample(e,n,r,i,o,s):a.traceFlags&fo.SAMPLED?this._localParentSampled.shouldSample(e,n,r,i,o,s):this._localParentNotSampled.shouldSample(e,n,r,i,o,s)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}class BE{constructor(e=0){ie(this,"_ratio");ie(this,"_upperBound");this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,n){return{decision:n5(n)&&this._accumulate(n)<this._upperBound?Rl.RECORD_AND_SAMPLED:Rl.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!="number"||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let n=0;for(let r=0;r<e.length/8;r++){const i=r*8,o=parseInt(e.slice(i,i+8),16);n=(n^o)>>>0}return n}}const QE=1;function x5(){return{sampler:y5(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function y5(){const t="parentbased_always_on";switch(t){case"always_on":return new al;case"always_off":return new yp;case"parentbased_always_on":return new dd({root:new al});case"parentbased_always_off":return new dd({root:new yp});case"traceidratio":return new BE(FE());case"parentbased_traceidratio":return new dd({root:new BE(FE())});default:return ot.error(`OTEL_TRACES_SAMPLER value "${t}" invalid, defaulting to "parentbased_always_on".`),new dd({root:new al})}}function FE(){return ot.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${QE}.`),QE}const Wne=128,Zne=1/0;function Xne(t){const e={sampler:y5()},n=x5(),r=Object.assign({},n,e,t);return r.generalLimits=Object.assign({},n.generalLimits,t.generalLimits||{}),r.spanLimits=Object.assign({},n.spanLimits,t.spanLimits||{}),r}function Gne(t){var n,r,i,o;const e=Object.assign({},t.spanLimits);return e.attributeCountLimit=((n=t.spanLimits)==null?void 0:n.attributeCountLimit)??((r=t.generalLimits)==null?void 0:r.attributeCountLimit)??void 0??void 0??Wne,e.attributeValueLengthLimit=((i=t.spanLimits)==null?void 0:i.attributeValueLengthLimit)??((o=t.generalLimits)==null?void 0:o.attributeValueLengthLimit)??void 0??void 0??Zne,Object.assign({},t,{spanLimits:e})}class Une{constructor(e,n){ie(this,"_exporter");ie(this,"_maxExportBatchSize");ie(this,"_maxQueueSize");ie(this,"_scheduledDelayMillis");ie(this,"_exportTimeoutMillis");ie(this,"_isExporting",!1);ie(this,"_finishedSpans",[]);ie(this,"_timer");ie(this,"_shutdownOnce");ie(this,"_droppedSpansCount",0);this._exporter=e,this._maxExportBatchSize=typeof(n==null?void 0:n.maxExportBatchSize)=="number"?n.maxExportBatchSize:512,this._maxQueueSize=typeof(n==null?void 0:n.maxQueueSize)=="number"?n.maxQueueSize:2048,this._scheduledDelayMillis=typeof(n==null?void 0:n.scheduledDelayMillis)=="number"?n.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof(n==null?void 0:n.exportTimeoutMillis)=="number"?n.exportTimeoutMillis:3e4,this._shutdownOnce=new Qne(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ot.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,n){}onEnd(e){this._shutdownOnce.isCalled||e.spanContext().traceFlags&fo.SAMPLED&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&ot.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ot.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,n)=>{const r=[],i=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let o=0,s=i;o<s;o++)r.push(this._flushOneBatch());Promise.all(r).then(()=>{e()}).catch(n)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,n)=>{const r=setTimeout(()=>{n(new Error("Timeout"))},this._exportTimeoutMillis);Fo.with(Nte(Fo.active()),()=>{let i;this._finishedSpans.length<=this._maxExportBatchSize?(i=this._finishedSpans,this._finishedSpans=[]):i=this._finishedSpans.splice(0,this._maxExportBatchSize);const o=()=>this._exporter.export(i,a=>{clearTimeout(r),a.code===mi.SUCCESS?e():n(a.error??new Error("BatchSpanProcessor: span export failed"))});let s=null;for(let a=0,l=i.length;a<l;a++){const c=i[a];c.resource.asyncAttributesPending&&c.resource.waitForAsyncAttributes&&(s??(s=[]),s.push(c.resource.waitForAsyncAttributes()))}s===null?o():Promise.all(s).then(o,a=>{_l(a),n(a)})})})}_maybeStartTimer(){if(this._isExporting)return;const e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(n=>{this._isExporting=!1,_l(n)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),this._timer,void 0)}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}}class Yne extends Une{constructor(n,r){super(n,r);ie(this,"_visibilityChangeListener");ie(this,"_pageHideListener");this.onInit(r)}onInit(n){(n==null?void 0:n.disableAutoFlushOnDocumentHide)!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(r=>{_l(r)})},this._pageHideListener=()=>{this.forceFlush().catch(r=>{_l(r)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}const qne=8,Hne=16;class Jne{constructor(){ie(this,"generateTraceId",LE(Hne));ie(this,"generateSpanId",LE(qne))}}const hd=Array(32);function LE(t){return function(){for(let n=0;n<t*2;n++)hd[n]=Math.floor(Math.random()*16)+48,hd[n]>=58&&(hd[n]+=39);return String.fromCharCode.apply(null,hd.slice(0,t*2))}}class Kne{constructor(e,n,r,i){ie(this,"_sampler");ie(this,"_generalLimits");ie(this,"_spanLimits");ie(this,"_idGenerator");ie(this,"instrumentationScope");ie(this,"_resource");ie(this,"_spanProcessor");const o=Xne(n);this._sampler=o.sampler,this._generalLimits=o.generalLimits,this._spanLimits=o.spanLimits,this._idGenerator=n.idGenerator||new Jne,this._resource=r,this._spanProcessor=i,this.instrumentationScope=e}startSpan(e,n={},r=Fo.active()){n.root&&(r=Pr.deleteSpan(r));const i=Pr.getSpan(r);if(w1(r))return ot.debug("Instrumentation suppressed, returning Noop Span"),Pr.wrapSpanContext(e5);const o=i==null?void 0:i.spanContext(),s=this._idGenerator.generateSpanId();let a,l,c;!o||!Pr.isSpanContextValid(o)?l=this._idGenerator.generateTraceId():(l=o.traceId,c=o.traceState,a=o);const u=n.kind??ry.INTERNAL,f=(n.links??[]).map(x=>({context:x.context,attributes:Jd(x.attributes)})),d=Jd(n.attributes),h=this._sampler.shouldSample(r,l,e,u,d,f);c=h.traceState??c;const g=h.decision===mp.RECORD_AND_SAMPLED?fo.SAMPLED:fo.NONE,m={traceId:l,spanId:s,traceFlags:g,traceState:c};if(h.decision===mp.NOT_RECORD)return ot.debug("Recording is off, propagating context in a non-recording span"),Pr.wrapSpanContext(m);const v=Jd(Object.assign(d,h.attributes));return new Vne({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:m,name:e,kind:u,links:f,parentSpanContext:a,attributes:v,startTime:n.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits})}startActiveSpan(e,n,r,i){let o,s,a;if(arguments.length<2)return;arguments.length===2?a=n:arguments.length===3?(o=n,a=r):(o=n,s=r,a=i);const l=s??Fo.active(),c=this.startSpan(e,o,l),u=Pr.setSpan(l,c);return Fo.with(u,a,void 0,c)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}}class ere{constructor(e){ie(this,"_spanProcessors");this._spanProcessors=e}forceFlush(){const e=[];for(const n of this._spanProcessors)e.push(n.forceFlush());return new Promise(n=>{Promise.all(e).then(()=>{n()}).catch(r=>{_l(r||new Error("MultiSpanProcessor: forceFlush failed")),n()})})}onStart(e,n){for(const r of this._spanProcessors)r.onStart(e,n)}onEnd(e){for(const n of this._spanProcessors)n.onEnd(e)}shutdown(){const e=[];for(const n of this._spanProcessors)e.push(n.shutdown());return new Promise((n,r)=>{Promise.all(e).then(()=>{n()},r)})}}var Cs;(function(t){t[t.resolved=0]="resolved",t[t.timeout=1]="timeout",t[t.error=2]="error",t[t.unresolved=3]="unresolved"})(Cs||(Cs={}));class tre{constructor(e={}){ie(this,"_config");ie(this,"_tracers",new Map);ie(this,"_resource");ie(this,"_activeSpanProcessor");var i;const n=Nne({},x5(),Gne(e));this._resource=n.resource??Lne(),this._config=Object.assign({},n,{resource:this._resource});const r=[];(i=e.spanProcessors)!=null&&i.length&&r.push(...e.spanProcessors),this._activeSpanProcessor=new ere(r)}getTracer(e,n,r){const i=`${e}@${n||""}:${(r==null?void 0:r.schemaUrl)||""}`;return this._tracers.has(i)||this._tracers.set(i,new Kne({name:e,version:n,schemaUrl:r==null?void 0:r.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(i)}forceFlush(){const e=this._config.forceFlushTimeoutMillis,n=this._activeSpanProcessor._spanProcessors.map(r=>new Promise(i=>{let o;const s=setTimeout(()=>{i(new Error(`Span processor did not completed within timeout period of ${e} ms`)),o=Cs.timeout},e);r.forceFlush().then(()=>{clearTimeout(s),o!==Cs.timeout&&(o=Cs.resolved,i(o))}).catch(a=>{clearTimeout(s),o=Cs.error,i(a)})}));return new Promise((r,i)=>{Promise.all(n).then(o=>{const s=o.filter(a=>a!==Cs.resolved);s.length>0?i(s):r()}).catch(o=>i([o]))})}shutdown(){return this._activeSpanProcessor.shutdown()}}class nre{constructor(){ie(this,"_enabled",!1);ie(this,"_currentContext",Da)}_bindFunction(e=Da,n){const r=this,i=function(...o){return r.with(e,()=>n.apply(this,o))};return Object.defineProperty(i,"length",{enumerable:!1,configurable:!0,writable:!1,value:n.length}),i}active(){return this._currentContext}bind(e,n){return e===void 0&&(e=this.active()),typeof n=="function"?this._bindFunction(e,n):n}disable(){return this._currentContext=Da,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=Da,this)}with(e,n,r,...i){const o=this._currentContext;this._currentContext=e||Da;try{return n.call(r,...i)}finally{this._currentContext=o}}}function rre(t){if(t!==null){if(t===void 0){const e=new nre;e.enable(),Fo.setGlobalContextManager(e);return}t.enable(),Fo.setGlobalContextManager(t)}}function ire(t){if(t!==null){if(t===void 0){su.setGlobalPropagator(new lne({propagators:[new Cne,new Wte]}));return}su.setGlobalPropagator(t)}}class ore extends tre{constructor(e={}){super(e)}register(e={}){Pr.setGlobalTracerProvider(this),ire(e.propagator),rre(e.contextManager)}}class sre{constructor(e){ie(this,"_delegate");this._delegate=e}export(e,n){this._delegate.export(e,n)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}class zE extends Error{constructor(n,r,i){super(n);ie(this,"code");ie(this,"name","OTLPExporterError");ie(this,"data");this.data=i,this.code=r}}function are(t){if(Number.isFinite(t)&&t>0)return t;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${t}')`)}function lre(t){if(t!=null)return()=>t}function cre(t,e,n){return{timeoutMillis:are(t.timeoutMillis??e.timeoutMillis??n.timeoutMillis),concurrencyLimit:t.concurrencyLimit??e.concurrencyLimit??n.concurrencyLimit,compression:t.compression??e.compression??n.compression}}function ure(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}class fre{constructor(e){ie(this,"_concurrencyLimit");ie(this,"_sendingPromises",[]);this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(e);const n=()=>{const r=this._sendingPromises.indexOf(e);this._sendingPromises.splice(r,1)};e.then(n,n)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}function dre(t){return new fre(t.concurrencyLimit)}function hre(t){return Object.prototype.hasOwnProperty.call(t,"partialSuccess")}function pre(){return{handleResponse(t){t==null||!hre(t)||t.partialSuccess==null||Object.keys(t.partialSuccess).length===0||ot.warn("Received Partial Success response:",JSON.stringify(t.partialSuccess))}}}class gre{constructor(e,n,r,i,o){ie(this,"_transport");ie(this,"_serializer");ie(this,"_responseHandler");ie(this,"_promiseQueue");ie(this,"_timeout");ie(this,"_diagLogger");this._transport=e,this._serializer=n,this._responseHandler=r,this._promiseQueue=i,this._timeout=o,this._diagLogger=ot.createComponentLogger({namespace:"OTLPExportDelegate"})}export(e,n){if(this._diagLogger.debug("items to be sent",e),this._promiseQueue.hasReachedLimit()){n({code:mi.FAILED,error:new Error("Concurrent export limit reached")});return}const r=this._serializer.serializeRequest(e);if(r==null){n({code:mi.FAILED,error:new Error("Nothing to send")});return}this._promiseQueue.pushPromise(this._transport.send(r,this._timeout).then(i=>{if(i.status==="success"){if(i.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(i.data))}catch(o){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",o,i.data)}n({code:mi.SUCCESS});return}else if(i.status==="failure"&&i.error){n({code:mi.FAILED,error:i.error});return}else i.status==="retryable"?n({code:mi.FAILED,error:new zE("Export failed with retryable status")}):n({code:mi.FAILED,error:new zE("Export failed with unknown error")})},i=>n({code:mi.FAILED,error:i})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function mre(t,e){return new gre(t.transport,t.serializer,pre(),t.promiseHandler,e.timeout)}function b5(t,e,n){return mre({transport:n,serializer:e,promiseHandler:dre(t)},{timeout:t.timeoutMillis})}function VE(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-87:t-55}function S5(t){const e=new Uint8Array(t.length/2);let n=0;for(let r=0;r<t.length;r+=2){const i=VE(t.charCodeAt(r)),o=VE(t.charCodeAt(r+1));e[n++]=i<<4|o}return e}function w5(t){const e=BigInt(1e9);return BigInt(t[0])*e+BigInt(t[1])}function vre(t){const e=Number(BigInt.asUintN(32,t)),n=Number(BigInt.asUintN(32,t>>BigInt(32)));return{low:e,high:n}}function Ore(t){const e=w5(t);return vre(e)}function xre(t){return w5(t).toString()}const yre=typeof BigInt<"u"?xre:ane;function WE(t){return t}function bre(t){if(t!==void 0)return S5(t)}const Sre={encodeHrTime:Ore,encodeSpanContext:S5,encodeOptionalSpanContext:bre};function wre(t){return t===void 0?Sre:{encodeHrTime:yre,encodeSpanContext:WE,encodeOptionalSpanContext:WE}}function Cre(t){return{attributes:Ag(t.attributes),droppedAttributesCount:0}}function Pre(t){return{name:t.name,version:t.version}}function Ag(t){return Object.keys(t).map(e=>C5(e,t[e]))}function C5(t,e){return{key:t,value:P5(e)}}function P5(t){const e=typeof t;return e==="string"?{stringValue:t}:e==="number"?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:e==="boolean"?{boolValue:t}:t instanceof Uint8Array?{bytesValue:t}:Array.isArray(t)?{arrayValue:{values:t.map(P5)}}:e==="object"&&t!=null?{kvlistValue:{values:Object.entries(t).map(([n,r])=>C5(n,r))}}:{}}function kre(t,e){var o,s,a;const n=t.spanContext(),r=t.status,i=(o=t.parentSpanContext)!=null&&o.spanId?e.encodeSpanContext((s=t.parentSpanContext)==null?void 0:s.spanId):void 0;return{traceId:e.encodeSpanContext(n.traceId),spanId:e.encodeSpanContext(n.spanId),parentSpanId:i,traceState:(a=n.traceState)==null?void 0:a.serialize(),name:t.name,kind:t.kind==null?0:t.kind+1,startTimeUnixNano:e.encodeHrTime(t.startTime),endTimeUnixNano:e.encodeHrTime(t.endTime),attributes:Ag(t.attributes),droppedAttributesCount:t.droppedAttributesCount,events:t.events.map(l=>Ere(l,e)),droppedEventsCount:t.droppedEventsCount,status:{code:r.code,message:r.message},links:t.links.map(l=>Are(l,e)),droppedLinksCount:t.droppedLinksCount}}function Are(t,e){var n;return{attributes:t.attributes?Ag(t.attributes):[],spanId:e.encodeSpanContext(t.context.spanId),traceId:e.encodeSpanContext(t.context.traceId),traceState:(n=t.context.traceState)==null?void 0:n.serialize(),droppedAttributesCount:t.droppedAttributesCount||0}}function Ere(t,e){return{attributes:t.attributes?Ag(t.attributes):[],name:t.name,timeUnixNano:e.encodeHrTime(t.time),droppedAttributesCount:t.droppedAttributesCount||0}}function Ire(t,e){const n=wre(e);return{resourceSpans:$re(t,n)}}function Tre(t){const e=new Map;for(const n of t){let r=e.get(n.resource);r||(r=new Map,e.set(n.resource,r));const i=`${n.instrumentationScope.name}@${n.instrumentationScope.version||""}:${n.instrumentationScope.schemaUrl||""}`;let o=r.get(i);o||(o=[],r.set(i,o)),o.push(n)}return e}function $re(t,e){const n=Tre(t),r=[],i=n.entries();let o=i.next();for(;!o.done;){const[s,a]=o.value,l=[],c=a.values();let u=c.next();for(;!u.done;){const d=u.value;if(d.length>0){const h=d.map(g=>kre(g,e));l.push({scope:Pre(d[0].instrumentationScope),spans:h,schemaUrl:d[0].instrumentationScope.schemaUrl})}u=c.next()}const f={resource:Cre(s),scopeSpans:l,schemaUrl:void 0};r.push(f),o=i.next()}return r}const jre={serializeRequest:t=>{const e=Ire(t,{});return new TextEncoder().encode(JSON.stringify(e))},deserializeResponse:t=>{if(t.length===0)return{};const e=new TextDecoder;return JSON.parse(e.decode(t))}},_re=5,Rre=1e3,Dre=5e3,Nre=1.5,ZE=.2;function Mre(){return Math.random()*(2*ZE)-ZE}class Bre{constructor(e){ie(this,"_transport");this._transport=e}retry(e,n,r){return new Promise((i,o)=>{setTimeout(()=>{this._transport.send(e,n).then(i,o)},r)})}async send(e,n){const r=Date.now()+n;let i=await this._transport.send(e,n),o=_re,s=Rre;for(;i.status==="retryable"&&o>0;){o--;const a=Math.max(Math.min(s,Dre)+Mre(),0);s=s*Nre;const l=i.retryInMillis??a,c=r-Date.now();if(l>c)return i;i=await this.retry(e,c,l)}return i}shutdown(){return this._transport.shutdown()}}function k5(t){return new Bre(t.transport)}function Qre(t){return[429,502,503,504].includes(t)}function Fre(t){if(t==null)return;const e=Number.parseInt(t,10);if(Number.isInteger(e))return e>0?e*1e3:-1;const n=new Date(t).getTime()-Date.now();return n>=0?n:0}class Lre{constructor(e){ie(this,"_parameters");this._parameters=e}send(e,n){return new Promise(r=>{const i=new XMLHttpRequest;i.timeout=n,i.open("POST",this._parameters.url);const o=this._parameters.headers();Object.entries(o).forEach(([s,a])=>{i.setRequestHeader(s,a)}),i.ontimeout=s=>{r({status:"failure",error:new Error("XHR request timed out")})},i.onreadystatechange=()=>{i.status>=200&&i.status<=299?(ot.debug("XHR success"),r({status:"success"})):i.status&&Qre(i.status)?r({status:"retryable",retryInMillis:Fre(i.getResponseHeader("Retry-After"))}):i.status!==0&&r({status:"failure",error:new Error("XHR request failed with non-retryable status")})},i.onabort=()=>{r({status:"failure",error:new Error("XHR request aborted")})},i.onerror=()=>{r({status:"failure",error:new Error("XHR request errored")})},i.send(e)})}shutdown(){}}function zre(t){return new Lre(t)}class Vre{constructor(e){ie(this,"_params");this._params=e}send(e){return new Promise(n=>{navigator.sendBeacon(this._params.url,new Blob([e],{type:this._params.blobType}))?(ot.debug("SendBeacon success"),n({status:"success"})):n({status:"failure",error:new Error("SendBeacon failed")})})}shutdown(){}}function Wre(t){return new Vre(t)}function Zre(t,e){return b5(t,e,k5({transport:zre(t)}))}function Xre(t,e){return b5(t,e,k5({transport:Wre({url:t.url,blobType:t.headers()["Content-Type"]})}))}function Gre(t){return()=>{const e={};return Object.entries((t==null?void 0:t())??{}).forEach(([n,r])=>{typeof r<"u"?e[n]=String(r):ot.warn(`Header "${n}" has invalid value (${r}) and will be ignored`)}),e}}function Ure(t,e,n){const r={...n()},i={};return()=>(e!=null&&Object.assign(i,e()),t!=null&&Object.assign(i,t()),Object.assign(i,r))}function Yre(t){if(t!=null)try{return new URL(t),t}catch{throw new Error(`Configuration: Could not parse user-provided export URL: '${t}'`)}}function qre(t,e,n){return{...cre(t,e,n),headers:Ure(Gre(t.headers),e.headers,n.headers),url:Yre(t.url)??e.url??n.url,agentOptions:t.agentOptions??e.agentOptions??n.agentOptions}}function Hre(t,e){return{...ure(),headers:()=>t,url:"http://localhost:4318/"+e,agentOptions:{keepAlive:!0}}}function Jre(t,e,n){return qre({url:t.url,timeoutMillis:t.timeoutMillis,headers:lre(t.headers),concurrencyLimit:t.concurrencyLimit},{},Hre(n,e))}function Kre(t,e,n,r){const i=!!t.headers||typeof navigator.sendBeacon!="function",o=Jre(t,n,r);return i?Zre(o,e):Xre(o,e)}class eie extends sre{constructor(e={}){super(Kre(e,jre,"v1/traces",{"Content-Type":"application/json"}))}}class A5{emit(e){}}const tie=new A5;class nie{getLogger(e,n,r){return new A5}}const E5=new nie;class rie{constructor(e,n,r,i){this._provider=e,this.name=n,this.version=r,this.options=i}emit(e){this._getLogger().emit(e)}_getLogger(){if(this._delegate)return this._delegate;const e=this._provider.getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):tie}}class XE{getLogger(e,n,r){var i;return(i=this.getDelegateLogger(e,n,r))!==null&&i!==void 0?i:new rie(this,e,n,r)}getDelegate(){var e;return(e=this._delegate)!==null&&e!==void 0?e:E5}setDelegate(e){this._delegate=e}getDelegateLogger(e,n,r){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getLogger(e,n,r)}}const iie=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},pd=Symbol.for("io.opentelemetry.js.api.logs"),Cc=iie;function oie(t,e,n){return r=>r===t?e:n}const GE=1;class P1{constructor(){this._proxyLoggerProvider=new XE}static getInstance(){return this._instance||(this._instance=new P1),this._instance}setGlobalLoggerProvider(e){return Cc[pd]?this.getLoggerProvider():(Cc[pd]=oie(GE,e,E5),this._proxyLoggerProvider.setDelegate(e),e)}getLoggerProvider(){var e,n;return(n=(e=Cc[pd])===null||e===void 0?void 0:e.call(Cc,GE))!==null&&n!==void 0?n:this._proxyLoggerProvider}getLogger(e,n,r){return this.getLoggerProvider().getLogger(e,n,r)}disable(){delete Cc[pd],this._proxyLoggerProvider=new XE}}const sie=P1.getInstance();function aie(t,e,n,r){for(let i=0,o=t.length;i<o;i++){const s=t[i];e&&s.setTracerProvider(e),n&&s.setMeterProvider(n),r&&s.setLoggerProvider&&s.setLoggerProvider(r),s.getConfig().enabled||s.enable()}}function lie(t){t.forEach(e=>e.disable())}function cie(t){var o;const e=t.tracerProvider||Pr.getTracerProvider(),n=t.meterProvider||Ete.getMeterProvider(),r=t.loggerProvider||sie.getLoggerProvider(),i=((o=t.instrumentations)==null?void 0:o.flat())??[];return aie(i,e,n,r),()=>{lie(i)}}class uie{constructor(){ie(this,"config",null);ie(this,"tracer",null);ie(this,"tracerProvider",null);ie(this,"initialized",!1);ie(this,"getKeySnakeValue",e=>e.replace(/([A-Z])/g,"_$1").toLowerCase())}initTracer(e){throw new Error("initTracer must be implemented by the environment-specific client")}init(e){this.config=e,this.initTracer(e)}send(e){var n;try{if(!this.tracer||!this.config)return;const r=e.time?new Date(e.time):new Date;this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,r),startTime:r}).end(r)}catch(r){(n=this.config)!=null&&n.isProd||console.error("Event reporting failed:",r)}}processAttributes(e,n){var o,s;const i={"cloudevents.event_id":Nu(),"cloudevents.event_type":e.type,"cloudevents.event_source":e.source,"cloudevents.event_spec_version":e.specversion,"cloudevents.event_data_content_type":e.datacontenttype||"application/json; charset=utf-8","cloudevents.event_time":n.toISOString(),"cloudevents.event_subject":e.subject||"","cloudevents.page.uri":location.href,"cloudevents.event_version":(o=this.config)==null?void 0:o.version,"cloudevents.event_origin":"ui","cloudevents.event_source_details.id":((s=e.sourceDetails)==null?void 0:s.id)||Nu()};return e.data&&typeof e.data=="object"&&Object.entries(e.data).forEach(([a,l])=>{const c=a.replace(/([A-Z])/g,"_$1").toLowerCase();l!==void 0&&(i[`cloudevents.event_data.${c}`]=l)}),Object.entries(e).forEach(([a,l])=>{["id","source","type","specversion","time","datacontenttype","data","subject","sourceDetails"].includes(a)||l!==void 0&&(l instanceof Object?Object.entries(l).forEach(([c,u])=>{u!==void 0&&(i[`cloudevents.${a}.${c}`]=u)}):i[`cloudevents.${a}`]=l)}),i}startSpan(e,n){var r;try{if(!this.tracer)return;let i;const o=e.time?new Date(e.time):new Date,s=this.tracer.startSpan(`event.${e.type}`,{attributes:this.processAttributes(e,o),root:!n},n);return n||(i=Pr.setSpan(Fo.active(),s)),{end:()=>s.end(),setAttribute:(a,l)=>{s.setAttribute(`cloudevents.event_data.${this.getKeySnakeValue(a)}`,l)},setStatus:(a,l)=>s.setStatus({code:a,message:l}),parentCtx:i}}catch(i){(r=this.config)!=null&&r.isProd||console.error("Event reporting failed:",i)}}forceFlush(){var e;(e=this.tracerProvider)==null||e.forceFlush()}}class fie extends uie{constructor(){super();ie(this,"tracerProvider",null);ie(this,"tracer",null);ie(this,"initialized",!1)}initTracer(n){if(!n.collectorUrl&&!n.collectorTraceUrl)return;const r=`ses_${Nu()}`,i=O5({[l5]:n.serviceName,[Kte]:n.serviceVersion,session_id:r}),o=n.collectorTraceUrl||`${n.collectorUrl}/v1/traces`;this.tracerProvider=new ore({resource:i,spanProcessors:[new Yne(new eie({url:o,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(n.tracerName),this.tracerProvider.register(),cie({instrumentations:n.instrumentations??[]}),this.initialized=!0}}class die{constructor(){ie(this,"config",null);ie(this,"initialized",!1);ie(this,"useCloudEventData");ie(this,"otelClient");ie(this,"updateCloudEventData",e=>{this.useCloudEventData=e});this.useCloudEventData=()=>({organization:{id:"",slug:""},project:{id:"",slug:""},productType:"",sourceDetails:{user:"Anonymous",object:"user",uri:""},request:{source:""}}),this.otelClient=new fie}init(e){this.initialized||(this.config=e,this.initialized=!0,this.otelClient.init({serviceVersion:e.otel.serviceVersion,version:e.otel.version,isProd:e.otel.isProd,collectorUrl:e.otel.collectorUrl,serviceName:e.otel.serviceName,tracerName:e.otel.tracerName}))}send(e,n){var r;try{const i=this.constructCloudEvent(e,n);this.sendToOtelService(i)}catch(i){(r=this.config)!=null&&r.otel.isProd||console.error("Event reporting failed:",i)}}startSpan(e,n,r){const i=this.constructCloudEvent(e,n);return this.otelClient.startSpan(i,r)}constructCloudEvent(e,n){const r=this.useCloudEventData();return{id:`evt_${Nu()}`,type:e,source:r.request.source||"",specversion:"1.0",datacontenttype:"application/json",time:new Date().toISOString(),data:n,origin:"ui",sourceDetails:{id:r.sourceDetails.user||`usr_${Nu()}`,object:r.sourceDetails.object||"user",uri:r.sourceDetails.uri||""},organization:r.organization,project:r.project,productType:r.productType}}sendToOtelService(e){var n;(n=this.config)!=null&&n.otel.isProd||console.log("CloudEvent to be sent to OTEL service:",e),this.otelClient.send(e)}forceFlush(){this.otelClient.forceFlush()}sendTabChangeMessage(e){this.send("tab.change",e)}sendButtonClickMessage(e){this.send("button.click",e)}sendChangeMessage(e){this.send("change",e)}sendContentCopyMessage(e){this.send("content.copy",e)}sendUrlClickMessage(e){this.send("url.click",e)}sendRequestSendMessage(e){this.send("request.send",e)}sendTokenGenerateMessage(e){this.send("token.generate",e)}sendAppLifecycleMessage(e){this.send("app.lifecycle",e)}sendEnvironmentManagementMessage(e){this.send("environment.management",e)}sendInputManagementMessage(e){this.send("input.management",e)}sendNodeManagementMessage(e){this.send("node.management",e)}sendHistoryManagementMessage(e){this.send("history.management",e)}sendCredentialManagementMessage(e){this.send("credential.management",e)}sendPanelToggleMessage(e){this.send("panel.toggle",e)}}function hie(){return{theme:"light",disableCollectionsTab:!1,oAuth2RedirectURI:null,corsProxyUrl:void 0,mockServer:void 0,certificates:[],isApiBased:!1,generatedEnvironments:[],generatedInputs:[]}}const pie=hie(),gie=E.createContext(pie);function Jr(){const t=E.useContext(gie);return Z2(t)}function mie(t,e){const{apps:{apiId:n}}=at(),{corsProxyUrl:r,disableCollectionsTab:i,mockServer:o,oAuth2RedirectURI:s,certificates:a,storageKey:l,isApiBased:c}=Jr();r.set((t==null?void 0:t.corsProxyUrl)??J9),o.set(t==null?void 0:t.mockServer),n.set(t==null?void 0:t.apiId),s.set(t==null?void 0:t.oAuth2RedirectURI),i.set(!!(t!=null&&t.disableCollectionsTab)),l.set(t==null?void 0:t.storageKey),c.set(!!e),E.useEffect(()=>{a.set((t==null?void 0:t.certificates)||[])},[t==null?void 0:t.certificates])}const Eg=E.createContext({});function k1(){return E.useContext(Eg)||{}}const vie="0.16.0-next.1",Oie={version:vie};class xie{constructor(){ie(this,"client");ie(this,"_isInitialized",!1);this.client=new die}get isInitialized(){return this._isInitialized}init(e){if(this.isInitialized)return;const r={serviceName:"replay",serviceVersion:Oie.version,version:"1.0.0",tracerName:(e==null?void 0:e.tracerName)||"desktop",collectorUrl:(e==null?void 0:e.collectorUrl)||"",isProd:!0};this.client.init({otel:{...r,...e}}),this._isInitialized=!0}sendEvent(e,n){if(!this.isInitialized){console.warn("Telemetry client not initialized. Call init() first.");return}try{this.client.send(e,n)}catch(r){console.error("Failed to send telemetry event:",r)}}}const uv=new xie;function et(){const{telemetry:t}=k1();return uv.isInitialized||uv.init({tracerName:t==null?void 0:t.tracerName,collectorUrl:t==null?void 0:t.collectorUrl}),{sendEvent:(e,n)=>{uv.sendEvent(e,n)}}}const Qn=800;var yie=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function bie(t){var e=t.defaultInputValue,n=e===void 0?"":e,r=t.defaultMenuIsOpen,i=r===void 0?!1:r,o=t.defaultValue,s=o===void 0?null:o,a=t.inputValue,l=t.menuIsOpen,c=t.onChange,u=t.onInputChange,f=t.onMenuClose,d=t.onMenuOpen,h=t.value,g=gr(t,yie),m=E.useState(a!==void 0?a:n),v=Me(m,2),O=v[0],x=v[1],y=E.useState(l!==void 0?l:i),S=Me(y,2),b=S[0],w=S[1],C=E.useState(h!==void 0?h:s),P=Me(C,2),k=P[0],I=P[1],T=E.useCallback(function(Z,Y){typeof c=="function"&&c(Z,Y),I(Z)},[c]),j=E.useCallback(function(Z,Y){var M;typeof u=="function"&&(M=u(Z,Y)),x(M!==void 0?M:Z)},[u]),B=E.useCallback(function(){typeof d=="function"&&d(),w(!0)},[d]),z=E.useCallback(function(){typeof f=="function"&&f(),w(!1)},[f]),Q=a!==void 0?a:O,V=l!==void 0?l:b,U=h!==void 0?h:k;return se(se({},g),{},{inputValue:Q,menuIsOpen:V,onChange:T,onInputChange:j,onMenuClose:z,onMenuOpen:B,value:U})}function Sie(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function wie(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Cie=function(){function t(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(wie(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
321
321
|
`+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var s=Sie(i);try{s.insertRule(r,s.cssRules.length)}catch(a){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',a)}}else i.appendChild(document.createTextNode(r));this.ctr++},e.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},t}(),bn="-ms-",bp="-moz-",it="-webkit-",A1="comm",E1="rule",I1="decl",Pie="@import",I5="@keyframes",kie=Math.abs,Ig=String.fromCharCode,Aie=Object.assign;function Eie(t,e){return gn(t,0)^45?(((e<<2^gn(t,0))<<2^gn(t,1))<<2^gn(t,2))<<2^gn(t,3):0}function T5(t){return t.trim()}function Iie(t,e){return(t=e.exec(t))?t[0]:t}function dt(t,e,n){return t.replace(e,n)}function fy(t,e){return t.indexOf(e)}function gn(t,e){return t.charCodeAt(e)|0}function Qu(t,e,n){return t.slice(e,n)}function xi(t){return t.length}function T1(t){return t.length}function gd(t,e){return e.push(t),t}function Tie(t,e){return t.map(e).join("")}var Tg=1,Dl=1,$5=0,Kn=0,Wt=0,Jl="";function $g(t,e,n,r,i,o,s){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:Tg,column:Dl,length:s,return:""}}function Pc(t,e){return Aie($g("",null,null,"",null,null,0),t,{length:-t.length},e)}function $ie(){return Wt}function jie(){return Wt=Kn>0?gn(Jl,--Kn):0,Dl--,Wt===10&&(Dl=1,Tg--),Wt}function pr(){return Wt=Kn<$5?gn(Jl,Kn++):0,Dl++,Wt===10&&(Dl=1,Tg++),Wt}function Ri(){return gn(Jl,Kn)}function eh(){return Kn}function af(t,e){return Qu(Jl,t,e)}function Fu(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function j5(t){return Tg=Dl=1,$5=xi(Jl=t),Kn=0,[]}function _5(t){return Jl="",t}function th(t){return T5(af(Kn-1,dy(t===91?t+2:t===40?t+1:t)))}function _ie(t){for(;(Wt=Ri())&&Wt<33;)pr();return Fu(t)>2||Fu(Wt)>3?"":" "}function Rie(t,e){for(;--e&&pr()&&!(Wt<48||Wt>102||Wt>57&&Wt<65||Wt>70&&Wt<97););return af(t,eh()+(e<6&&Ri()==32&&pr()==32))}function dy(t){for(;pr();)switch(Wt){case t:return Kn;case 34:case 39:t!==34&&t!==39&&dy(Wt);break;case 40:t===41&&dy(t);break;case 92:pr();break}return Kn}function Die(t,e){for(;pr()&&t+Wt!==57;)if(t+Wt===84&&Ri()===47)break;return"/*"+af(e,Kn-1)+"*"+Ig(t===47?t:pr())}function Nie(t){for(;!Fu(Ri());)pr();return af(t,Kn)}function Mie(t){return _5(nh("",null,null,null,[""],t=j5(t),0,[0],t))}function nh(t,e,n,r,i,o,s,a,l){for(var c=0,u=0,f=s,d=0,h=0,g=0,m=1,v=1,O=1,x=0,y="",S=i,b=o,w=r,C=y;v;)switch(g=x,x=pr()){case 40:if(g!=108&&gn(C,f-1)==58){fy(C+=dt(th(x),"&","&\f"),"&\f")!=-1&&(O=-1);break}case 34:case 39:case 91:C+=th(x);break;case 9:case 10:case 13:case 32:C+=_ie(g);break;case 92:C+=Rie(eh()-1,7);continue;case 47:switch(Ri()){case 42:case 47:gd(Bie(Die(pr(),eh()),e,n),l);break;default:C+="/"}break;case 123*m:a[c++]=xi(C)*O;case 125*m:case 59:case 0:switch(x){case 0:case 125:v=0;case 59+u:h>0&&xi(C)-f&&gd(h>32?YE(C+";",r,n,f-1):YE(dt(C," ","")+";",r,n,f-2),l);break;case 59:C+=";";default:if(gd(w=UE(C,e,n,c,u,i,a,y,S=[],b=[],f),o),x===123)if(u===0)nh(C,e,w,w,S,o,f,a,b);else switch(d===99&&gn(C,3)===110?100:d){case 100:case 109:case 115:nh(t,w,w,r&&gd(UE(t,w,w,0,0,i,a,y,i,S=[],f),b),i,b,f,a,r?S:b);break;default:nh(C,w,w,w,[""],b,0,a,b)}}c=u=h=0,m=O=1,y=C="",f=s;break;case 58:f=1+xi(C),h=g;default:if(m<1){if(x==123)--m;else if(x==125&&m++==0&&jie()==125)continue}switch(C+=Ig(x),x*m){case 38:O=u>0?1:(C+="\f",-1);break;case 44:a[c++]=(xi(C)-1)*O,O=1;break;case 64:Ri()===45&&(C+=th(pr())),d=Ri(),u=f=xi(y=C+=Nie(eh())),x++;break;case 45:g===45&&xi(C)==2&&(m=0)}}return o}function UE(t,e,n,r,i,o,s,a,l,c,u){for(var f=i-1,d=i===0?o:[""],h=T1(d),g=0,m=0,v=0;g<r;++g)for(var O=0,x=Qu(t,f+1,f=kie(m=s[g])),y=t;O<h;++O)(y=T5(m>0?d[O]+" "+x:dt(x,/&\f/g,d[O])))&&(l[v++]=y);return $g(t,e,n,i===0?E1:a,l,c,u)}function Bie(t,e,n){return $g(t,e,n,A1,Ig($ie()),Qu(t,2,-2),0)}function YE(t,e,n,r){return $g(t,e,n,I1,Qu(t,0,r),Qu(t,r+1,-1),r)}function ll(t,e){for(var n="",r=T1(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function Qie(t,e,n,r){switch(t.type){case Pie:case I1:return t.return=t.return||t.value;case A1:return"";case I5:return t.return=t.value+"{"+ll(t.children,r)+"}";case E1:t.value=t.props.join(",")}return xi(n=ll(t.children,r))?t.return=t.value+"{"+n+"}":""}function Fie(t){var e=T1(t);return function(n,r,i,o){for(var s="",a=0;a<e;a++)s+=t[a](n,r,i,o)||"";return s}}function Lie(t){return function(e){e.root||(e=e.return)&&t(e)}}function zie(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Vie=function(e,n,r){for(var i=0,o=0;i=o,o=Ri(),i===38&&o===12&&(n[r]=1),!Fu(o);)pr();return af(e,Kn)},Wie=function(e,n){var r=-1,i=44;do switch(Fu(i)){case 0:i===38&&Ri()===12&&(n[r]=1),e[r]+=Vie(Kn-1,n,r);break;case 2:e[r]+=th(i);break;case 4:if(i===44){e[++r]=Ri()===58?"&\f":"",n[r]=e[r].length;break}default:e[r]+=Ig(i)}while(i=pr());return e},Zie=function(e,n){return _5(Wie(j5(e),n))},qE=new WeakMap,Xie=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!qE.get(r))&&!i){qE.set(e,!0);for(var o=[],s=Zie(n,o),a=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<a.length;u++,c++)e.props[c]=o[l]?s[l].replace(/&\f/g,a[u]):a[u]+" "+s[l]}}},Gie=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}},Uie="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Yie=function(e){return e.type==="comm"&&e.children.indexOf(Uie)>-1},qie=function(e){return function(n,r,i){if(!(n.type!=="rule"||e.compat)){var o=n.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var s=n.parent===i[0],a=s?i[0].children:i,l=a.length-1;l>=0;l--){var c=a[l];if(c.line<n.line)break;if(c.column<n.column){if(Yie(c))return;break}}o.forEach(function(u){console.error('The pseudo class "'+u+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+u.split("-child")[0]+'-of-type".')})}}}},R5=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},Hie=function(e,n){for(var r=e-1;r>=0;r--)if(!R5(n[r]))return!0;return!1},HE=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Jie=function(e,n,r){R5(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),HE(e)):Hie(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),HE(e)))};function D5(t,e){switch(Eie(t,e)){case 5103:return it+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return it+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return it+t+bp+t+bn+t+t;case 6828:case 4268:return it+t+bn+t+t;case 6165:return it+t+bn+"flex-"+t+t;case 5187:return it+t+dt(t,/(\w+).+(:[^]+)/,it+"box-$1$2"+bn+"flex-$1$2")+t;case 5443:return it+t+bn+"flex-item-"+dt(t,/flex-|-self/,"")+t;case 4675:return it+t+bn+"flex-line-pack"+dt(t,/align-content|flex-|-self/,"")+t;case 5548:return it+t+bn+dt(t,"shrink","negative")+t;case 5292:return it+t+bn+dt(t,"basis","preferred-size")+t;case 6060:return it+"box-"+dt(t,"-grow","")+it+t+bn+dt(t,"grow","positive")+t;case 4554:return it+dt(t,/([^-])(transform)/g,"$1"+it+"$2")+t;case 6187:return dt(dt(dt(t,/(zoom-|grab)/,it+"$1"),/(image-set)/,it+"$1"),t,"")+t;case 5495:case 3959:return dt(t,/(image-set\([^]*)/,it+"$1$`$1");case 4968:return dt(dt(t,/(.+:)(flex-)?(.*)/,it+"box-pack:$3"+bn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+it+t+t;case 4095:case 3583:case 4068:case 2532:return dt(t,/(.+)-inline(.+)/,it+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(xi(t)-1-e>6)switch(gn(t,e+1)){case 109:if(gn(t,e+4)!==45)break;case 102:return dt(t,/(.+:)(.+)-([^]+)/,"$1"+it+"$2-$3$1"+bp+(gn(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~fy(t,"stretch")?D5(dt(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(gn(t,e+1)!==115)break;case 6444:switch(gn(t,xi(t)-3-(~fy(t,"!important")&&10))){case 107:return dt(t,":",":"+it)+t;case 101:return dt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+it+(gn(t,14)===45?"inline-":"")+"box$3$1"+it+"$2$3$1"+bn+"$2box$3")+t}break;case 5936:switch(gn(t,e+11)){case 114:return it+t+bn+dt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return it+t+bn+dt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return it+t+bn+dt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return it+t+bn+t+t}return t}var Kie=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case I1:e.return=D5(e.value,e.length);break;case I5:return ll([Pc(e,{value:dt(e.value,"@","@"+it)})],i);case E1:if(e.length)return Tie(e.props,function(o){switch(Iie(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ll([Pc(e,{props:[dt(o,/:(read-\w+)/,":"+bp+"$1")]})],i);case"::placeholder":return ll([Pc(e,{props:[dt(o,/:(plac\w+)/,":"+it+"input-$1")]}),Pc(e,{props:[dt(o,/:(plac\w+)/,":"+bp+"$1")]}),Pc(e,{props:[dt(o,/:(plac\w+)/,bn+"input-$1")]})],i)}return""})}},eoe=[Kie],toe=function(e){var n=e.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
322
322
|
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var v=m.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=e.stylisPlugins||eoe;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),O=1;O<v.length;O++)o[v[O]]=!0;a.push(m)});var l,c=[Xie,Gie];process.env.NODE_ENV!=="production"&&c.push(qie({get compat(){return g.compat}}),Jie);{var u,f=[Qie,process.env.NODE_ENV!=="production"?function(m){m.root||(m.return?u.insert(m.return):m.value&&m.type!==A1&&u.insert(m.value+"{}"))}:Lie(function(m){u.insert(m)})],d=Fie(c.concat(i,f)),h=function(v){return ll(Mie(v),d)};l=function(v,O,x,y){u=x,process.env.NODE_ENV!=="production"&&O.map!==void 0&&(u={insert:function(b){x.insert(b+O.map)}}),h(v?v+"{"+O.styles+"}":O.styles),y&&(g.inserted[O.name]=!0)}}var g={key:n,sheet:new Cie({key:n,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return g.sheet.hydrate(a),g},noe=!0;function N5(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):r+=i+" "}),r}var $1=function(e,n,r){var i=e.key+"-"+n.name;(r===!1||noe===!1)&&e.registered[i]===void 0&&(e.registered[i]=n.styles)},j1=function(e,n,r){$1(e,n,r);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+i:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function roe(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var ioe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},JE=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
323
323
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
@@ -483,7 +483,7 @@ You should wrap it with \`css\` like this:
|
|
|
483
483
|
max-height: 180px;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
`;var mle=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return t.removeAllRanges(),function(){t.type==="Caret"&&t.removeAllRanges(),t.rangeCount||n.forEach(function(i){t.addRange(i)}),e&&e.focus()}},vle=mle,EI={"text/plain":"Text","text/html":"Url",default:"Text"},Ole="Copy to clipboard: #{key}, Enter";function xle(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}function yle(t,e){var n,r,i,o,s,a,l=!1;e||(e={}),n=e.debug||!1;try{i=vle(),o=document.createRange(),s=document.getSelection(),a=document.createElement("span"),a.textContent=t,a.ariaHidden="true",a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",function(u){if(u.stopPropagation(),e.format)if(u.preventDefault(),typeof u.clipboardData>"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=EI[e.format]||EI.default;window.clipboardData.setData(f,t)}else u.clipboardData.clearData(),u.clipboardData.setData(e.format,t);e.onCopy&&(u.preventDefault(),e.onCopy(u.clipboardData))}),document.body.appendChild(a),o.selectNodeContents(a),s.addRange(o);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");l=!0}catch(u){n&&console.error("unable to copy using execCommand: ",u),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),l=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),r=xle("message"in e?e.message:Ole),window.prompt(r,t)}}finally{s&&(typeof s.removeRange=="function"?s.removeRange(o):s.removeAllRanges()),a&&document.body.removeChild(a),i()}return l}var ble=yle;const Sle=po(ble);class xN{static copyCustom(e){return Sle(e)}static selectElement(e){if(!e)return;let n,r;document.body.createTextRange?(n=document.body.createTextRange(),n.moveToElementText(e),n.select()):document.createRange&&window.getSelection&&(r=window.getSelection(),n=document.createRange(),n.selectNodeContents(e),r==null||r.removeAllRanges(),r==null||r.addRange(n))}}const V1=(t,e="currentColor")=>t!=null&&t.startsWith("--")?`var(${t})`:t||e,yN={hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},Ac={type:"object",properties:yN,additionalProperties:!1},wle={type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1},Rg={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:Object.assign(Object.assign({},yN),{like:Ac,dislike:Ac,satisfied:Ac,neutral:Ac,dissatisfied:Ac}),additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:wle},additionalProperties:!1}},additionalProperties:!1},Cle={type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",examples:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},required:["languages"],additionalProperties:!1},bN={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},II={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:Rg,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:bN,onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:Cle,ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"}},additionalProperties:!1},wa={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},Ple={type:"object",properties:{name:{type:"string"},items:wa,queries:wa,mutations:wa,subscriptions:wa,types:wa,directives:wa},required:["name"],additionalProperties:!1},kle={properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:Ple},otherItemsGroupName:{type:"string"}}},Ip={type:"object",properties:{menu:{type:"object",properties:Object.assign({},kle.properties),additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:bN,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:Rg},additionalProperties:!1},Ale={type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},Ele={type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},TI={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},Ile={type:"object",properties:{beforeInfo:{type:"array",items:TI},end:{type:"array",items:TI}}},Ps={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},yd={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},Tle={type:"object",properties:Dg(Ps.properties,["light","dark"])},$le={type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},jle={type:"object",properties:{error:yd,info:yd,redirect:yd,success:yd}},_le={type:"object",properties:Kl(Ps.properties,["dark"])},Rle={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},Dle={type:"object",properties:{accent:Ps,border:Tle,error:Ps,http:$le,primary:Ps,responses:jle,secondary:_le,success:Ps,text:Rle,tonalOffset:{type:"number"},warning:Ps}},bd={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},Nle={type:"object",properties:{small:bd,medium:bd,large:bd,xlarge:bd}},Mi={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},Mle={type:"object",properties:Object.assign(Object.assign({},Kl(Mi.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:Nle})},$I={type:"object",properties:Dg(Mi.properties,["fontSize","lineHeight"])},Ble={type:"object",properties:{medium:$I,small:$I}},Qle={type:"object",properties:Object.assign(Object.assign({},Kl(Mi.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},color:{type:"string"},sizes:Ble})},Fle={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},Lle={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},jI={type:"object",properties:{fullWidth:{type:"boolean"}}},zle={type:"object",properties:{buttons:Mle,httpBadges:Qle,layoutControls:Fle,panels:Lle,tryItButton:jI,tryItSendButton:jI}},Tp={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},Vle={type:"object",properties:{maxWidth:Tp}},Wle={type:"object",properties:{maxWidth:Tp,middlePanelMaxWidth:Tp}},Zle={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:Vle,"three-panel":Wle}},_I={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},Xle={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:_I,defaultDetailsWidth:{type:"string"},examples:_I,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},SN={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},Gle={type:"object",properties:Dg(SN.properties,["textTransform"])},Ule={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},Yle={type:"object",properties:Object.assign(Object.assign({},Kl(Mi.properties,["fontWeight","lineHeight"])),{activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:SN,level1items:Gle,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Ule,textColor:{type:"string"},width:{type:"string"}})},Sd={type:"object",properties:Object.assign(Object.assign({},Mi.properties),{color:{type:"string"},transform:{type:"string"}})},qle={type:"object",properties:Object.assign(Object.assign({},Mi.properties),{backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}})},Hle={type:"object",properties:Kl(Mi.properties,["fontSize"])},Jle={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},Kle={type:"object",properties:Object.assign(Object.assign({code:qle,fieldName:Mi},Dg(Mi.properties,["fontSize","fontFamily"])),{fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:Sd,heading2:Sd,heading3:Sd,headings:Hle,lineHeight:{type:"string"},links:Jle,optimizeSpeed:{type:"boolean"},rightPanelHeading:Sd,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}})},ece={type:"object",properties:Object.assign({color:{type:"string"}},Kl(Mi.properties,["fontWeight"]))},tce={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:ece}},nce={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},rce={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},RI={type:"object",properties:{custom:{type:"string"}}},ice={type:"object",properties:{DownloadButton:RI,NextSectionButton:RI}},oce={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},sce={type:"object",properties:{borderRadius:{type:"string"}}},ace={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},lce={type:"object",properties:{breakpoints:Tp,codeBlock:tce,colors:Dle,components:zle,layout:Zle,logo:nce,fab:rce,overrides:ice,rightPanel:oce,schema:Xle,shape:sce,sidebar:Yle,spacing:ace,typography:Kle,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},cce={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:Ale}},required:["languages"]},uce={properties:{theme:lce,ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:cce,generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:Ele,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requestInterceptor:{type:"object"},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:Ile,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}}};function Dg(t,e){return Object.fromEntries(e.filter(n=>n in t).map(n=>[n,t[n]]))}function Kl(t,e){return Object.fromEntries(Object.entries(t).filter(([n])=>!e.includes(n)))}const So={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}},W1={rules:So,oas2Rules:So,oas3_0Rules:So,oas3_1Rules:So,async2Rules:So,async3Rules:So,arazzo1Rules:So,overlay1Rules:So},Z1={preprocessors:{type:"object",additionalProperties:!0},oas2Preprocessors:{type:"object",additionalProperties:!0},oas3_0Preprocessors:{type:"object",additionalProperties:!0},oas3_1Preprocessors:{type:"object",additionalProperties:!0},async2Preprocessors:{type:"object",additionalProperties:!0},async3Preprocessors:{type:"object",additionalProperties:!0},arazzo1Preprocessors:{type:"object",additionalProperties:!0},overlay1Preprocessors:{type:"object",additionalProperties:!0}},X1={decorators:{type:"object",additionalProperties:!0},oas2Decorators:{type:"object",additionalProperties:!0},oas3_0Decorators:{type:"object",additionalProperties:!0},oas3_1Decorators:{type:"object",additionalProperties:!0},async2Decorators:{type:"object",additionalProperties:!0},async3Decorators:{type:"object",additionalProperties:!0},arazzo1Decorators:{type:"object",additionalProperties:!0},overlay1Decorators:{type:"object",additionalProperties:!0}},an={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},DI={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},Ov={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}},rbac:{type:"object",additionalProperties:{type:"string"}}}},G1={type:"array",items:Object.assign(Object.assign({},Ov),{properties:Object.assign(Object.assign({},Ov.properties),{items:{type:"array",items:Ov}})})},fce={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},dce={type:"object",properties:{hide:{type:"boolean",default:!1},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},hce={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}},pce={type:"object",properties:Object.assign({facets:hce},an.properties),additionalProperties:!1},gce={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},wN={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},CN={type:"object",properties:Object.assign({items:G1},an.properties),additionalProperties:!1},PN={type:"object",additionalProperties:fce},kN={type:"object",properties:Object.assign({items:G1,copyrightText:{type:"string"},logo:an},an.properties),additionalProperties:!1},AN={type:"object",properties:Object.assign({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},an.properties),additionalProperties:!1},EN={type:"object",properties:{head:{type:"array",items:DI},body:{type:"array",items:DI}},additionalProperties:!1},IN={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}},TN={type:"object",properties:Object.assign({engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},ai:dce,filters:pce,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["⌘+K,ctrl+K"]},suggestedPages:{type:"array",items:gce}},an.properties),additionalProperties:!1},$N={type:"object",properties:Object.assign({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},an.properties),additionalProperties:!1},mce={type:"object",properties:Object.assign(Object.assign({},an.properties),{items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude"]},default:["copy","view","chatgpt","claude"]}}),additionalProperties:!1},jN={type:"object",properties:{nextButton:{type:"object",properties:Object.assign({text:{type:"string"}},an.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:Object.assign({text:{type:"string"}},an.properties),additionalProperties:!1,default:{}},actions:mce},additionalProperties:!1},_N={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:Object.assign({},an.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:Object.assign({tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"}},an.properties),additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:Object.assign({},an.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:Object.assign({},an.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1},RN={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["_partials"]},lastUpdatedBlock:{type:"object",properties:Object.assign({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"}},an.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:Object.assign({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},an.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:Object.assign({baseUrl:{type:"string"}},an.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},$p=Object.assign(Object.assign({},II),{properties:Object.assign(Object.assign({},II.properties),uce.properties)}),vce={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},Oce={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},xce={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},yce={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},bce={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},Sce={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},wce={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},DN={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]},Cce={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:DN}},additionalProperties:!1,required:["trackingId"]},NN={type:"object",properties:{adobe:vce,amplitude:Oce,fullstory:xce,heap:yce,rudderstack:bce,segment:Sce,gtm:wce,ga:Cce}},MN={type:"object",properties:Object.assign({items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"}},an.properties),additionalProperties:!1},BN={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},QN={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1},Pce={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}},kce={type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:Pce},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:G1,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}},jp={type:"object",patternProperties:{".*":kce}},FN={type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:Object.assign(Object.assign(Object.assign({name:{type:"string"},color:{type:"string"},extends:{type:"array",items:{type:"string"}}},W1),Z1),X1),additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}}}},Ace={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1},Ece={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1},Ice={type:"object",required:["property","title"],properties:{property:{type:"string"},hide:{type:"boolean"},label:{type:"string"},options:{type:"array",items:{type:"string"}},type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1},wo={type:"object",properties:{slug:{type:"string"},hide:{type:"boolean"},includes:{type:"array",items:Ece},excludes:{type:"array",items:Ace},filters:{type:"array",items:Ice},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1},LN={type:"object",properties:{catalogs:{type:"object",properties:{all:wo,services:wo,domains:wo,teams:wo,users:wo,apiDescriptions:wo,dataSchemas:wo,apiOperations:wo},additionalProperties:!1}},additionalProperties:!1},di={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:wN,navbar:CN,products:PN,footer:kN,sidebar:AN,scripts:EN,links:IN,feedback:Rg,search:TN,colorMode:$N,navigation:jN,codeSnippet:_N,markdown:RN,openapi:$p,graphql:Ip,analytics:NN,userMenu:MN,versionPicker:BN,breadcrumbs:QN,catalog:jp,entitiesCatalog:LN,catalogClassic:jp,scorecard:FN},additionalProperties:!0},Tce="https://redocly.com/sso/teams";var _p;(function(t){t.OIDC="OIDC",t.SAML2="SAML2"})(_p||(_p={}));var Rp;(function(t){t.SERVICE_ACCOUNT="SERVICE_ACCOUNT",t.OAUTH2="OAUTH2"})(Rp||(Rp={}));var NI;(function(t){t.STACKED="stacked",t.THREE_PANEL="three-panel"})(NI||(NI={}));function vy(t,e){return Object.fromEntries(Object.entries(t).map(([n,r])=>{if(n!==e)return typeof r!="object"||!r?[n,r]:Array.isArray(r)?[n,r.map(i=>typeof i=="object"?vy(i,e):i)]:[n,vy(r,e)]}).filter(Boolean))}const $ce={type:"object",additionalProperties:{type:"string"}},jce={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},wd={type:"string",enum:["error","warn","off"]},_ce={type:"object",additionalProperties:!1,properties:{schemaCheck:wd,statusCodeCheck:wd,contentTypeCheck:wd,successCriteriaCheck:wd}},Rce={type:"object",properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",enum:["1m","2m","5m","10m","15m","30m","1h","3h","6h","12h","1d","7d"]}},required:["event"],additionalProperties:!1},Dce={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1},Nce={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean",default:!1},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},ignoreRespectMonitoring:{type:"boolean"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\.\\./)(/[a-zA-Z0-9_\\-\\./]+|./[a-zA-Z0-9_\\-\\./]+|[a-zA-Z0-9_\\-\\./]+)$"},agent:{type:"string",enum:["respect"]},trigger:{oneOf:[Rce,Dce]},inputs:$ce,servers:jce,severity:_ce},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1},Mce={type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0},Bce={type:"object",properties:{type:{type:"string",const:_p.OIDC},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:Mce,clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},Qce={type:"object",properties:{type:{type:"string",const:_p.SAML2},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:Tce},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]},Fce={oneOf:[Bce,Qce],discriminator:{propertyName:"type"}},Lce={type:"object",additionalProperties:Fce},zce={oneOf:[{type:"array",items:{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]},uniqueItems:!0},{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]}]},Vce={type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1},Wce={type:"object",additionalProperties:Vce,default:{}},zN={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:{type:"object",additionalProperties:!0},openapi:$p,graphql:Ip,theme:{type:"object",properties:{openapi:$p,graphql:Ip},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0}},W1),Z1),X1),{extends:{type:"array",items:{type:"string"}}}),required:["root"]},Zce={type:"object",additionalProperties:!0},Xce={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},MI={type:"object",properties:{hide:{type:"boolean",default:!1},title:{type:"string"},description:{type:"string"},details:{type:"object",properties:{path:{type:"string"},content:{type:"string"}},additionalProperties:!1},excludeFiles:{type:"array",items:{type:"string"},default:[]},sections:{type:"array",items:{type:"object",properties:{title:{type:"string"},description:{type:"string"},includeFiles:{type:"array",items:{type:"string"},default:[]},excludeFiles:{type:"array",items:{type:"string"},default:[]}},required:["title"],additionalProperties:!1}}},default:{hide:!1,title:void 0,description:void 0,details:void 0,sections:[{title:"Table of contents",includeFiles:["**/*"],excludeFiles:[]}]},additionalProperties:!1},BI={type:"object",properties:{title:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}},llmstxt:MI},default:{llmstxt:MI.default},additionalProperties:!1},Gce={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},Os={type:"object",additionalProperties:{type:"string"}},Uce={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:Os,cms:Os,reunite:Os,features:{type:"object",properties:{aiSearch:Os},additionalProperties:!1},content:{type:"object",properties:{"**":Os},additionalProperties:Os}},additionalProperties:Os},Yce={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},qce={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]},Hce={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[Yce,qce]}},additionalProperties:!1,required:["type","apiBaseUrl"]},Jce={type:"object",properties:{type:{type:"string",const:Rp.OAUTH2},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},Kce={type:"object",properties:{type:{type:"string",const:Rp.SERVICE_ACCOUNT},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},Oy={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[Jce,Kce],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},eue=Object.assign(Object.assign({},Oy),{properties:Object.assign(Object.assign({},Oy.properties),{type:{type:"string",const:"APIGEE_EDGE"}})}),tue={type:"object",oneOf:[Oy,eue,Hce],discriminator:{propertyName:"type"}},nue={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:tue}}},QI={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]},rue={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]},xy={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:Wce,seo:BI,rbac:Uce,apiFunctions:Gce,requiresLogin:{type:"boolean"},responseHeaders:{type:"object",additionalProperties:{type:"array",items:rue}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:zN},extends:{type:"array",items:{type:"string"}}},W1),X1),Z1),{ssoDirect:Lce,sso:zce,residency:{type:"string"},developerOnboarding:nue,removeAttribution:{type:"boolean"},i18n:QI,l10n:QI,metadata:Zce,metadataGlobs:Xce,ignore:{type:"array",items:{type:"string"}},theme:di,reunite:Nce,logo:wN,navbar:CN,products:PN,footer:kN,sidebar:AN,scripts:EN,links:IN,feedback:Rg,search:TN,colorMode:$N,navigation:jN,codeSnippet:_N,markdown:RN,openapi:$p,graphql:Ip,analytics:NN,userMenu:MN,versionPicker:BN,breadcrumbs:QN,catalog:jp,entitiesCatalog:LN,catalogClassic:jp,scorecard:FN}),default:{redirects:{},seo:BI.default},additionalProperties:!0},iue=Object.assign(Object.assign({},vy(xy,"default")),{additionalProperties:!1});Object.assign(Object.assign({$id:"root-redocly-config"},xy),{properties:Object.assign(Object.assign({plugins:{type:"array",items:{type:"string"}}},xy.properties),{env:{type:"object",additionalProperties:iue}}),default:{},additionalProperties:!1});const FI={type:"object",properties:{logo:di.properties.logo,navbar:di.properties.navbar,footer:di.properties.footer,sidebar:di.properties.sidebar,search:di.properties.search,codeSnippet:di.properties.codeSnippet,breadcrumbs:di.properties.breadcrumbs,openapi:di.properties.openapi,feedback:di.properties.feedback,analytics:{type:"object",properties:{ga:DN}}},additionalProperties:!0,default:{}};Object.assign(Object.assign({},FI.properties),{apis:{type:"object",additionalProperties:zN},theme:FI});const oue={"font-awesome":"https://cdn.redocly.com/icons/fa/7.0.0",code:"https://cdn.redocly.com/icons/code/5.24.0"};var VN={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
486
|
+
`;var mle=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return t.removeAllRanges(),function(){t.type==="Caret"&&t.removeAllRanges(),t.rangeCount||n.forEach(function(i){t.addRange(i)}),e&&e.focus()}},vle=mle,EI={"text/plain":"Text","text/html":"Url",default:"Text"},Ole="Copy to clipboard: #{key}, Enter";function xle(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}function yle(t,e){var n,r,i,o,s,a,l=!1;e||(e={}),n=e.debug||!1;try{i=vle(),o=document.createRange(),s=document.getSelection(),a=document.createElement("span"),a.textContent=t,a.ariaHidden="true",a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",function(u){if(u.stopPropagation(),e.format)if(u.preventDefault(),typeof u.clipboardData>"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=EI[e.format]||EI.default;window.clipboardData.setData(f,t)}else u.clipboardData.clearData(),u.clipboardData.setData(e.format,t);e.onCopy&&(u.preventDefault(),e.onCopy(u.clipboardData))}),document.body.appendChild(a),o.selectNodeContents(a),s.addRange(o);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");l=!0}catch(u){n&&console.error("unable to copy using execCommand: ",u),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),l=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),r=xle("message"in e?e.message:Ole),window.prompt(r,t)}}finally{s&&(typeof s.removeRange=="function"?s.removeRange(o):s.removeAllRanges()),a&&document.body.removeChild(a),i()}return l}var ble=yle;const Sle=po(ble);class xN{static copyCustom(e){return Sle(e)}static selectElement(e){if(!e)return;let n,r;document.body.createTextRange?(n=document.body.createTextRange(),n.moveToElementText(e),n.select()):document.createRange&&window.getSelection&&(r=window.getSelection(),n=document.createRange(),n.selectNodeContents(e),r==null||r.removeAllRanges(),r==null||r.addRange(n))}}const V1=(t,e="currentColor")=>t!=null&&t.startsWith("--")?`var(${t})`:t||e,yN={hide:{type:"boolean",default:!1},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},label:{type:"string"},items:{type:"array",items:{type:"string"}}},Ac={type:"object",properties:yN,additionalProperties:!1},wle={type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},placeholder:{type:"string"}},additionalProperties:!1},Rg={type:"object",properties:{hide:{type:"boolean",default:!1},type:{type:"string",enum:["rating","sentiment","comment","reasons","mood","scale"],default:"sentiment"},settings:{type:"object",properties:{label:{type:"string"},submitText:{type:"string"},buttonText:{type:"string"},component:{type:"string",enum:["radio","checkbox"],default:"checkbox"},items:{type:"array",items:{type:"string"},minItems:1},leftScaleLabel:{type:"string"},rightScaleLabel:{type:"string"},reasons:{type:"object",properties:Object.assign(Object.assign({},yN),{like:Ac,dislike:Ac,satisfied:Ac,neutral:Ac,dissatisfied:Ac}),additionalProperties:!1},comment:{type:"object",properties:{hide:{type:"boolean",default:!1},label:{type:"string"},likeLabel:{type:"string"},dislikeLabel:{type:"string"},satisfiedLabel:{type:"string"},neutralLabel:{type:"string"},dissatisfiedLabel:{type:"string"}},additionalProperties:!1},optionalEmail:wle},additionalProperties:!1}},additionalProperties:!1},Cle={type:"object",properties:{languages:{type:"array",items:{type:"object",properties:{lang:{type:"string",examples:["curl","JavaScript","Node.js","Python","Java8+Apache","Java","C#","C#+Newtonsoft","PHP","Go","Ruby","R","Payload"]},label:{type:"string"},options:{type:"object",properties:{indent:{type:"string"},withImports:{type:"boolean"},withComments:{type:"boolean"},binary:{type:"boolean"},credentials:{type:"string",enum:["omit","same-origin","include"]}},additionalProperties:!1}},required:["lang"],additionalProperties:!1}},skipOptionalParameters:{type:"boolean"},withOAuth2Call:{type:"boolean"}},required:["languages"],additionalProperties:!1},bN={type:"array",items:{type:"object",properties:{title:{type:"string"},url:{type:"string"}},required:["url"],additionalProperties:!1}},II={type:"object",properties:{licenseKey:{type:"string"},hideLoading:{type:"boolean"},disableRouter:{type:"boolean"},hideSidebar:{type:"boolean"},feedback:Rg,hideReplay:{type:"boolean"},oAuth2RedirectURI:{type:"string",nullable:!0},corsProxyUrl:{type:"string"},sortRequiredPropsFirst:{type:"boolean"},sanitize:{type:"boolean"},hideDownloadButtons:{type:"boolean"},downloadUrls:bN,onlyRequiredInSamples:{type:"boolean"},generatedSamplesMaxDepth:{oneOf:[{type:"number"},{type:"string"}]},showExtensions:{oneOf:[{type:"boolean"},{type:"string"},{type:"array",items:{type:"string"}}]},hideSchemaTitles:{type:"boolean"},jsonSamplesExpandLevel:{oneOf:[{type:"number"},{type:"string"}]},schemasExpansionLevel:{oneOf:[{type:"number"},{type:"string"}]},mockServer:{type:"object",properties:{url:{type:"string"},position:{type:"string",enum:["first","last","replace","off"]},description:{type:"string"}}},maxDisplayedEnumValues:{type:"number"},schemaDefinitionsTagName:{type:"string"},layout:{type:"string",enum:["stacked","three-panel"]},hideInfoMetadata:{type:"boolean"},events:{type:"object"},skipBundle:{type:"boolean"},routingBasePath:{type:"string"},codeSamples:Cle,ignoreNamedSchemas:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},hidePropertiesPrefix:{type:"boolean"},excludeFromSearch:{type:"boolean"}},additionalProperties:!1},wa={type:"object",properties:{includeByName:{type:"array",items:{type:"string"}},excludeByName:{type:"array",items:{type:"string"}}},additionalProperties:!1},Ple={type:"object",properties:{name:{type:"string"},items:wa,queries:wa,mutations:wa,subscriptions:wa,types:wa,directives:wa},required:["name"],additionalProperties:!1},kle={properties:{requireExactGroups:{type:"boolean"},groups:{type:"array",items:Ple},otherItemsGroupName:{type:"string"}}},Ip={type:"object",properties:{menu:{type:"object",properties:Object.assign({},kle.properties),additionalProperties:!1},sidebar:{type:"object",properties:{hide:{type:"boolean"}}},downloadUrls:bN,apiLogo:{type:"object",properties:{imageUrl:{type:"string"},href:{type:"string"},altText:{type:"string"},backgroundColor:{type:"string"}}},jsonSamplesDepth:{type:"number"},samplesMaxInlineArgs:{type:"number"},licenseKey:{type:"string"},fieldExpandLevel:{type:"number"},baseUrlPath:{type:"string"},metadata:{type:"object",properties:{apiId:{type:"string"}},additionalProperties:!0},feedback:Rg},additionalProperties:!1},Ale={type:"object",properties:{label:{type:"string"},lang:{enum:["curl","C#","Go","Java","Java8+Apache","JavaScript","Node.js","PHP","Python","R","Ruby"]}},required:["lang"]},Ele={type:"object",properties:{enum:{type:"string"},enumSingleValue:{type:"string"},enumArray:{type:"string"},default:{type:"string"},deprecated:{type:"string"},example:{type:"string"},examples:{type:"string"},nullable:{type:"string"},recursive:{type:"string"},arrayOf:{type:"string"},webhook:{type:"string"},authorizations:{type:"string"},tryItAuthBasicUsername:{type:"string"},tryItAuthBasicPassword:{type:"string"}}},TI={type:"object",properties:{label:{type:"string"},link:{type:"string"},target:{type:"string"}},required:["label","link"]},Ile={type:"object",properties:{beforeInfo:{type:"array",items:TI},end:{type:"array",items:TI}}},Ps={type:"object",properties:{main:{type:"string"},light:{type:"string"},dark:{type:"string"},contrastText:{type:"string"}}},yd={type:"object",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},color:{type:"string"},tabTextColor:{type:"string"}}},Tle={type:"object",properties:Dg(Ps.properties,["light","dark"])},$le={type:"object",properties:{basic:{type:"string"},delete:{type:"string"},get:{type:"string"},head:{type:"string"},link:{type:"string"},options:{type:"string"},patch:{type:"string"},post:{type:"string"},put:{type:"string"}}},jle={type:"object",properties:{error:yd,info:yd,redirect:yd,success:yd}},_le={type:"object",properties:Kl(Ps.properties,["dark"])},Rle={type:"object",properties:{primary:{type:"string"},secondary:{type:"string"},light:{type:"string"}}},Dle={type:"object",properties:{accent:Ps,border:Tle,error:Ps,http:$le,primary:Ps,responses:jle,secondary:_le,success:Ps,text:Rle,tonalOffset:{type:"number"},warning:Ps}},bd={type:"object",properties:{fontSize:{type:"string"},padding:{type:"string"},minWidth:{type:"string"}}},Nle={type:"object",properties:{small:bd,medium:bd,large:bd,xlarge:bd}},Mi={type:"object",properties:{fontFamily:{type:"string"},fontSize:{type:"string"},fontWeight:{type:"string"},lineHeight:{type:"string"}}},Mle={type:"object",properties:Object.assign(Object.assign({},Kl(Mi.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},hoverStyle:{type:"string"},boxShadow:{type:"string"},hoverBoxShadow:{type:"string"},sizes:Nle})},$I={type:"object",properties:Dg(Mi.properties,["fontSize","lineHeight"])},Ble={type:"object",properties:{medium:$I,small:$I}},Qle={type:"object",properties:Object.assign(Object.assign({},Kl(Mi.properties,["fontSize","lineHeight"])),{borderRadius:{type:"string"},color:{type:"string"},sizes:Ble})},Fle={type:"object",properties:{top:{type:"string"},width:{type:"string"},height:{type:"string"}}},Lle={type:"object",properties:{borderRadius:{type:"string"},backgroundColor:{type:"string"}}},jI={type:"object",properties:{fullWidth:{type:"boolean"}}},zle={type:"object",properties:{buttons:Mle,httpBadges:Qle,layoutControls:Fle,panels:Lle,tryItButton:jI,tryItSendButton:jI}},Tp={type:"object",properties:{small:{type:"string"},medium:{type:"string"},large:{type:"string"}}},Vle={type:"object",properties:{maxWidth:Tp}},Wle={type:"object",properties:{maxWidth:Tp,middlePanelMaxWidth:Tp}},Zle={type:"object",properties:{showDarkRightPanel:{type:"boolean"},stacked:Vle,"three-panel":Wle}},_I={type:"object",properties:{backgroundColor:{type:"string"},border:{type:"string"}}},Xle={type:"object",properties:{breakFieldNames:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},constraints:_I,defaultDetailsWidth:{type:"string"},examples:_I,labelsTextSize:{type:"string"},linesColor:{type:"string"},nestedBackground:{type:"string"},nestingSpacing:{type:"string"},requireLabelColor:{type:"string"},typeNameColor:{type:"string"},typeTitleColor:{type:"string"}}},SN={type:"object",properties:{subItemsColor:{type:"string"},textTransform:{type:"string"},fontWeight:{type:"string"}}},Gle={type:"object",properties:Dg(SN.properties,["textTransform"])},Ule={type:"object",properties:{unit:{type:"number"},paddingHorizontal:{type:"string"},paddingVertical:{type:"string"},offsetTop:{type:"string"},offsetLeft:{type:"string"},offsetNesting:{type:"string"}}},Yle={type:"object",properties:Object.assign(Object.assign({},Kl(Mi.properties,["fontWeight","lineHeight"])),{activeBgColor:{type:"string"},activeTextColor:{type:"string"},backgroundColor:{type:"string"},borderRadius:{type:"string"},breakPath:{type:"boolean"},caretColor:{type:"string"},caretSize:{type:"string"},groupItems:SN,level1items:Gle,rightLineColor:{type:"string"},separatorLabelColor:{type:"string"},showAtBreakpoint:{type:"string"},spacing:Ule,textColor:{type:"string"},width:{type:"string"}})},Sd={type:"object",properties:Object.assign(Object.assign({},Mi.properties),{color:{type:"string"},transform:{type:"string"}})},qle={type:"object",properties:Object.assign(Object.assign({},Mi.properties),{backgroundColor:{type:"string"},color:{type:"string"},wordBreak:{type:"string",enum:["break-all","break-word","keep-all","normal","revert","unset","inherit","initial"]},wrap:{type:"boolean"}})},Hle={type:"object",properties:Kl(Mi.properties,["fontSize"])},Jle={type:"object",properties:{color:{type:"string"},hover:{type:"string"},textDecoration:{type:"string"},hoverTextDecoration:{type:"string"},visited:{type:"string"}}},Kle={type:"object",properties:Object.assign(Object.assign({code:qle,fieldName:Mi},Dg(Mi.properties,["fontSize","fontFamily"])),{fontWeightBold:{type:"string"},fontWeightLight:{type:"string"},fontWeightRegular:{type:"string"},heading1:Sd,heading2:Sd,heading3:Sd,headings:Hle,lineHeight:{type:"string"},links:Jle,optimizeSpeed:{type:"boolean"},rightPanelHeading:Sd,smoothing:{type:"string",enum:["auto","none","antialiased","subpixel-antialiased","grayscale"]}})},ece={type:"object",properties:Object.assign({color:{type:"string"}},Kl(Mi.properties,["fontWeight"]))},tce={type:"object",properties:{backgroundColor:{type:"string"},borderRadius:{type:"string"},tokens:ece}},nce={type:"object",properties:{gutter:{type:"string"},maxHeight:{type:"string"},maxWidth:{type:"string"}}},rce={type:"object",properties:{backgroundColor:{type:"string"},color:{type:"string"}}},RI={type:"object",properties:{custom:{type:"string"}}},ice={type:"object",properties:{DownloadButton:RI,NextSectionButton:RI}},oce={type:"object",properties:{backgroundColor:{type:"string"},panelBackgroundColor:{type:"string"},panelControlsBackgroundColor:{type:"string"},showAtBreakpoint:{type:"string"},textColor:{type:"string"},width:{type:"string"}}},sce={type:"object",properties:{borderRadius:{type:"string"}}},ace={type:"object",properties:{sectionHorizontal:{type:"number"},sectionVertical:{type:"number"},unit:{type:"number"}}},lce={type:"object",properties:{breakpoints:Tp,codeBlock:tce,colors:Dle,components:zle,layout:Zle,logo:nce,fab:rce,overrides:ice,rightPanel:oce,schema:Xle,shape:sce,sidebar:Yle,spacing:ace,typography:Kle,links:{properties:{color:{type:"string"}}},codeSample:{properties:{backgroundColor:{type:"string"}}}}},cce={type:"object",properties:{skipOptionalParameters:{type:"boolean"},languages:{type:"array",items:Ale}},required:["languages"]},uce={properties:{theme:lce,ctrlFHijack:{type:"boolean"},defaultSampleLanguage:{type:"string"},disableDeepLinks:{type:"boolean"},disableSearch:{type:"boolean"},disableSidebar:{type:"boolean"},downloadDefinitionUrl:{type:"string"},expandDefaultServerVariables:{type:"boolean"},enumSkipQuotes:{type:"boolean"},expandDefaultRequest:{type:"boolean"},expandDefaultResponse:{type:"boolean"},expandResponses:{type:"string"},expandSingleSchemaField:{type:"boolean"},generateCodeSamples:cce,generatedPayloadSamplesMaxDepth:{type:"number"},hideDownloadButton:{type:"boolean"},hideHostname:{type:"boolean"},hideInfoSection:{type:"boolean"},hideLogo:{type:"boolean"},hideRequestPayloadSample:{type:"boolean"},hideRightPanel:{type:"boolean"},hideSchemaPattern:{type:"boolean"},hideSingleRequestSampleTab:{type:"boolean"},hideSecuritySection:{type:"boolean"},hideTryItPanel:{type:"boolean"},hideFab:{type:"boolean"},hideOneOfDescription:{type:"boolean"},htmlTemplate:{type:"string"},jsonSampleExpandLevel:{oneOf:[{type:"number",minimum:1},{type:"string"}]},labels:Ele,menuToggle:{type:"boolean"},nativeScrollbars:{type:"boolean"},noAutoAuth:{type:"boolean"},onDeepLinkClick:{type:"object"},pagination:{enum:["none","section","item"]},pathInMiddlePanel:{type:"boolean"},payloadSampleIdx:{type:"number",minimum:0},requestInterceptor:{type:"object"},requiredPropsFirst:{type:"boolean"},routingStrategy:{type:"string"},samplesTabsMaxCount:{type:"number"},schemaExpansionLevel:{oneOf:[{type:"number",minimum:0},{type:"string"}]},minCharacterLengthToInitSearch:{type:"number",minimum:1},maxResponseHeadersToShowInTryIt:{type:"number",minimum:0},scrollYOffset:{oneOf:[{type:"number"},{type:"string"}]},searchAutoExpand:{type:"boolean"},searchFieldLevelBoost:{type:"number",minimum:0},searchMaxDepth:{type:"number",minimum:1},searchMode:{type:"string",enum:["default","path-only"]},searchOperationTitleBoost:{type:"number"},searchTagTitleBoost:{type:"number"},sendXUserAgentInTryIt:{type:"boolean"},showChangeLayoutButton:{type:"boolean"},showConsole:{type:"boolean"},showNextButton:{type:"boolean"},showRightPanelToggle:{type:"boolean"},showSecuritySchemeType:{type:"boolean"},showWebhookVerb:{type:"boolean"},showObjectSchemaExamples:{type:"boolean"},disableTryItRequestUrlEncoding:{type:"boolean"},sidebarLinks:Ile,sideNavStyle:{type:"string",enum:["summary-only","path-first","id-only","path-only"]},simpleOneOfTypeLabel:{type:"boolean"},sortEnumValuesAlphabetically:{type:"boolean"},sortOperationsAlphabetically:{type:"boolean"},sortPropsAlphabetically:{type:"boolean"},sortTagsAlphabetically:{type:"boolean"},suppressWarnings:{type:"boolean"},unstable_externalDescription:{type:"boolean"},unstable_ignoreMimeParameters:{type:"boolean"},untrustedDefinition:{type:"boolean"},showAccessMode:{type:"boolean"},preserveOriginalExtensionsName:{type:"boolean"},markdownHeadingsAnchorLevel:{type:"number"}}};function Dg(t,e){return Object.fromEntries(e.filter(n=>n in t).map(n=>[n,t[n]]))}function Kl(t,e){return Object.fromEntries(Object.entries(t).filter(([n])=>!e.includes(n)))}const So={type:"object",additionalProperties:{oneOf:[{type:"string"},{type:"object"}]}},W1={rules:So,oas2Rules:So,oas3_0Rules:So,oas3_1Rules:So,async2Rules:So,async3Rules:So,arazzo1Rules:So,overlay1Rules:So},Z1={preprocessors:{type:"object",additionalProperties:!0},oas2Preprocessors:{type:"object",additionalProperties:!0},oas3_0Preprocessors:{type:"object",additionalProperties:!0},oas3_1Preprocessors:{type:"object",additionalProperties:!0},async2Preprocessors:{type:"object",additionalProperties:!0},async3Preprocessors:{type:"object",additionalProperties:!0},arazzo1Preprocessors:{type:"object",additionalProperties:!0},overlay1Preprocessors:{type:"object",additionalProperties:!0}},X1={decorators:{type:"object",additionalProperties:!0},oas2Decorators:{type:"object",additionalProperties:!0},oas3_0Decorators:{type:"object",additionalProperties:!0},oas3_1Decorators:{type:"object",additionalProperties:!0},async2Decorators:{type:"object",additionalProperties:!0},async3Decorators:{type:"object",additionalProperties:!0},arazzo1Decorators:{type:"object",additionalProperties:!0},overlay1Decorators:{type:"object",additionalProperties:!0}},an={type:"object",properties:{hide:{type:"boolean"}},additionalProperties:!1},DI={type:"object",properties:{src:{type:"string"},async:{type:"boolean"},crossorigin:{type:"string"},defer:{type:"boolean"},fetchpriority:{type:"string"},integrity:{type:"string"},module:{type:"boolean"},nomodule:{type:"boolean"},nonce:{type:"string"},referrerpolicy:{type:"string"},type:{type:"string"}},required:["src"],additionalProperties:!0},Ov={type:"object",properties:{page:{type:"string"},directory:{type:"string"},disconnect:{type:"boolean",default:!1},group:{type:"string"},label:{type:"string"},href:{type:"string"},external:{type:"boolean"},labelTranslationKey:{type:"string"},groupTranslationKey:{type:"string"},icon:{oneOf:[{type:"string"},{type:"object",properties:{srcSet:{type:"string"}},required:["srcSet"]}]},separator:{type:"string"},separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"top"},version:{type:"string"},menuStyle:{type:"string",enum:["drilldown"]},expanded:{type:"string",const:"always"},selectFirstItemOnExpand:{type:"boolean"},flatten:{type:"boolean"},linkedSidebars:{type:"array",items:{type:"string"}},items:{type:"array",items:{type:"object",additionalProperties:!0}},rbac:{type:"object",additionalProperties:{type:"string"}}}},G1={type:"array",items:Object.assign(Object.assign({},Ov),{properties:Object.assign(Object.assign({},Ov.properties),{items:{type:"array",items:Ov}})})},fce={type:"object",properties:{name:{type:"string"},icon:{type:"string"},folder:{type:"string"}},additionalProperties:!1,required:["name","folder"]},dce={type:"object",properties:{hide:{type:"boolean",default:!1},suggestions:{default:[],type:"array",items:{type:"string"}},prompt:{type:"string"}},additionalProperties:!1},hce={type:"array",items:{type:"object",required:["name","field","type"],properties:{name:{type:"string"},field:{type:"string"},type:{type:"string",enum:["multi-select","select","tags"]}},additionalProperties:!1}},pce={type:"object",properties:Object.assign({facets:hce},an.properties),additionalProperties:!1},gce={type:"object",properties:{page:{type:"string"},label:{type:"string"},labelTranslationKey:{type:"string"}},required:["page"]},wN={type:"object",properties:{image:{type:"string"},srcSet:{type:"string"},altText:{type:"string"},link:{type:"string"},favicon:{type:"string"}},additionalProperties:!1},CN={type:"object",properties:Object.assign({items:G1},an.properties),additionalProperties:!1},PN={type:"object",additionalProperties:fce},kN={type:"object",properties:Object.assign({items:G1,copyrightText:{type:"string"},logo:an},an.properties),additionalProperties:!1},AN={type:"object",properties:Object.assign({separatorLine:{type:"boolean"},linePosition:{type:"string",enum:["top","bottom"],default:"bottom"}},an.properties),additionalProperties:!1},EN={type:"object",properties:{head:{type:"array",items:DI},body:{type:"array",items:DI}},additionalProperties:!1},IN={type:"array",items:{type:"object",properties:{href:{type:"string"},as:{type:"string"},crossorigin:{type:"string"},fetchpriority:{type:"string"},hreflang:{type:"string"},imagesizes:{type:"string"},imagesrcset:{type:"string"},integrity:{type:"string"},media:{type:"string"},prefetch:{type:"string"},referrerpolicy:{type:"string"},rel:{type:"string"},sizes:{type:"string"},title:{type:"string"},type:{type:"string"}},required:["href"],additionalProperties:!0}},TN={type:"object",properties:Object.assign({engine:{type:"string",enum:["flexsearch","typesense"],default:"flexsearch"},ai:dce,filters:pce,placement:{type:"string",default:"navbar"},shortcuts:{type:"array",items:{type:"string"},default:["⌘+K,ctrl+K"]},suggestedPages:{type:"array",items:gce}},an.properties),additionalProperties:!1},$N={type:"object",properties:Object.assign({ignoreDetection:{type:"boolean"},modes:{type:"array",items:{type:"string"},default:["light","dark"]}},an.properties),additionalProperties:!1},mce={type:"object",properties:Object.assign(Object.assign({},an.properties),{items:{type:"array",items:{type:"string",enum:["copy","view","chatgpt","claude"]},default:["copy","view","chatgpt","claude"]}}),additionalProperties:!1},jN={type:"object",properties:{nextButton:{type:"object",properties:Object.assign({text:{type:"string"}},an.properties),additionalProperties:!1,default:{}},previousButton:{type:"object",properties:Object.assign({text:{type:"string"}},an.properties),additionalProperties:!1,default:{}},actions:mce},additionalProperties:!1},_N={type:"object",properties:{elementFormat:{type:"string",default:"icon"},copy:{type:"object",properties:Object.assign({},an.properties),additionalProperties:!1,default:{hide:!1}},report:{type:"object",properties:Object.assign({tooltipText:{type:"string"},buttonText:{type:"string"},label:{type:"string"}},an.properties),additionalProperties:!1,default:{hide:!1}},expand:{type:"object",properties:Object.assign({},an.properties),additionalProperties:!1,default:{hide:!1}},collapse:{type:"object",properties:Object.assign({},an.properties),additionalProperties:!1,default:{hide:!1}}},additionalProperties:!1},RN={type:"object",properties:{frontMatterKeysToResolve:{type:"array",items:{type:"string"},default:["image","links"]},partialsFolders:{type:"array",items:{type:"string"},default:["_partials"]},lastUpdatedBlock:{type:"object",properties:Object.assign({format:{type:"string",enum:["timeago","iso","long","short"],default:"timeago"},locale:{type:"string"}},an.properties),additionalProperties:!1,default:{}},toc:{type:"object",properties:Object.assign({header:{type:"string",default:"On this page"},depth:{type:"integer",default:3,minimum:1}},an.properties),additionalProperties:!1,default:{}},editPage:{type:"object",properties:Object.assign({baseUrl:{type:"string"}},an.properties),additionalProperties:!1,default:{}}},additionalProperties:!1,default:{}},$p=Object.assign(Object.assign({},II),{properties:Object.assign(Object.assign({},II.properties),uce.properties)}),vce={type:"object",properties:{includeInDevelopment:{type:"boolean"},scriptUrl:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["scriptUrl"]},Oce={type:"object",properties:{includeInDevelopment:{type:"boolean"},apiKey:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},outboundClickEventName:{type:"string"},pageViewEventName:{type:"string"},amplitudeConfig:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["apiKey"]},xce={type:"object",properties:{includeInDevelopment:{type:"boolean"},orgId:{type:"string"}},additionalProperties:!1,required:["orgId"]},yce={type:"object",properties:{includeInDevelopment:{type:"boolean"},appId:{type:"string"}},additionalProperties:!1,required:["appId"]},bce={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},dataPlaneUrl:{type:"string"},controlPlaneUrl:{type:"string"},sdkUrl:{type:"string"},loadOptions:{type:"object",additionalProperties:!0}},additionalProperties:!1,required:["writeKey"]},Sce={type:"object",properties:{includeInDevelopment:{type:"boolean"},writeKey:{type:"string",minLength:10},trackPage:{type:"boolean"},includeTitleInPageCall:{type:"boolean"},host:{type:"string"}},additionalProperties:!1,required:["writeKey"]},wce={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},gtmAuth:{type:"string"},gtmPreview:{type:"string"},defaultDataLayer:{},dataLayerName:{type:"string"},enableWebVitalsTracking:{type:"boolean"},selfHostedOrigin:{type:"string"},pageViewEventName:{type:"string"}},additionalProperties:!1,required:["trackingId"]},DN={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},optimizeId:{type:"string"},exclude:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["trackingId"]},Cce={type:"object",properties:{includeInDevelopment:{type:"boolean"},trackingId:{type:"string"},conversionId:{type:"string"},floodlightId:{type:"string"},head:{type:"boolean"},respectDNT:{type:"boolean"},exclude:{type:"array",items:{type:"string"}},optimizeId:{type:"string"},anonymizeIp:{type:"boolean"},cookieExpires:{type:"number"},trackers:{type:"object",additionalProperties:DN}},additionalProperties:!1,required:["trackingId"]},NN={type:"object",properties:{adobe:vce,amplitude:Oce,fullstory:xce,heap:yce,rudderstack:bce,segment:Sce,gtm:wce,ga:Cce}},MN={type:"object",properties:Object.assign({items:{type:"array",items:{type:"object",properties:{label:{type:"string"},external:{type:"boolean"},link:{type:"string"},separatorLine:{type:"boolean"}},additionalProperties:!0},default:[]},hideLoginButton:{type:"boolean"}},an.properties),additionalProperties:!1},BN={type:"object",properties:{hide:{type:"boolean"},showForUnversioned:{type:"boolean"}}},QN={type:"object",properties:{hide:{type:"boolean"},prefixItems:{type:"array",items:{type:"object",properties:{label:{type:"string"},labelTranslationKey:{type:"string"},page:{type:"string"}},additionalProperties:!1,default:{}}}},additionalProperties:!1},Pce={type:"object",additionalProperties:!1,required:["title","property"],properties:{type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},property:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}},missingCategoryName:{type:"string"},missingCategoryNameTranslationKey:{type:"string"},options:{type:"array",items:{type:"string"}}}},kce={type:"object",additionalProperties:!0,required:["slug","items"],properties:{slug:{type:"string"},filters:{type:"array",items:Pce},groupByFirstFilter:{type:"boolean"},filterValuesCasing:{type:"string",enum:["sentence","original","lowercase","uppercase"]},items:G1,requiredPermission:{type:"string"},separateVersions:{type:"boolean"},title:{type:"string"},titleTranslationKey:{type:"string"},description:{type:"string"},descriptionTranslationKey:{type:"string"}}},jp={type:"object",patternProperties:{".*":kce}},FN={type:"object",additionalProperties:!0,required:[],properties:{ignoreNonCompliant:{type:"boolean",default:!1},teamMetadataProperty:{type:"object",properties:{property:{type:"string"},label:{type:"string"},default:{type:"string"}}},levels:{type:"array",items:{type:"object",required:["name"],properties:Object.assign(Object.assign(Object.assign({name:{type:"string"},color:{type:"string"},extends:{type:"array",items:{type:"string"}}},W1),Z1),X1),additionalProperties:!1}},targets:{type:"array",items:{type:"object",required:["where"],properties:{minimumLevel:{type:"string"},rules:{type:"object",additionalProperties:!0},where:{type:"object",required:["metadata"],properties:{metadata:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1}},additionalProperties:!1}},ignore:{type:"array",items:{type:"string"}}}},Ace={type:"object",required:["key"],properties:{key:{type:"string"}},additionalProperties:!1},Ece={type:"object",required:["type"],properties:{type:{type:"string"}},additionalProperties:!1},Ice={type:"object",required:["property","title"],properties:{property:{type:"string"},hide:{type:"boolean"},label:{type:"string"},options:{type:"array",items:{type:"string"}},type:{type:"string",enum:["select","checkboxes","date-range"],default:"checkboxes"},title:{type:"string"},titleTranslationKey:{type:"string"},parentFilter:{type:"string"},valuesMapping:{type:"object",additionalProperties:{type:"string"}}},additionalProperties:!1},wo={type:"object",properties:{slug:{type:"string"},hide:{type:"boolean"},includes:{type:"array",items:Ece},excludes:{type:"array",items:Ace},filters:{type:"array",items:Ice},titleTranslationKey:{type:"string"},descriptionTranslationKey:{type:"string"},catalogSwitcherLabelTranslationKey:{type:"string"}},additionalProperties:!1},LN={type:"object",properties:{catalogs:{type:"object",properties:{all:wo,services:wo,domains:wo,teams:wo,users:wo,apiDescriptions:wo,dataSchemas:wo,apiOperations:wo},additionalProperties:!1}},additionalProperties:!1},di={type:"object",properties:{imports:{type:"array",items:{type:"string"}},logo:wN,navbar:CN,products:PN,footer:kN,sidebar:AN,scripts:EN,links:IN,feedback:Rg,search:TN,colorMode:$N,navigation:jN,codeSnippet:_N,markdown:RN,openapi:$p,graphql:Ip,analytics:NN,userMenu:MN,versionPicker:BN,breadcrumbs:QN,catalog:jp,entitiesCatalog:LN,catalogClassic:jp,scorecard:FN},additionalProperties:!0},Tce="https://redocly.com/sso/teams";var _p;(function(t){t.OIDC="OIDC",t.SAML2="SAML2"})(_p||(_p={}));var Rp;(function(t){t.SERVICE_ACCOUNT="SERVICE_ACCOUNT",t.OAUTH2="OAUTH2"})(Rp||(Rp={}));var NI;(function(t){t.STACKED="stacked",t.THREE_PANEL="three-panel"})(NI||(NI={}));function vy(t,e){return Object.fromEntries(Object.entries(t).map(([n,r])=>{if(n!==e)return typeof r!="object"||!r?[n,r]:Array.isArray(r)?[n,r.map(i=>typeof i=="object"?vy(i,e):i)]:[n,vy(r,e)]}).filter(Boolean))}const $ce={type:"object",additionalProperties:{type:"string"}},jce={type:"object",additionalProperties:!1,patternProperties:{"^[a-zA-Z0-9_-]+$":{type:"string",pattern:"^https?://[^\\s/$.?#].[^\\s]*$"}}},wd={type:"string",enum:["error","warn","off"]},_ce={type:"object",additionalProperties:!1,properties:{schemaCheck:wd,statusCodeCheck:wd,contentTypeCheck:wd,successCriteriaCheck:wd}},Rce={type:"object",properties:{event:{type:"string",enum:["schedule"]},interval:{type:"string",enum:["1m","2m","5m","10m","15m","30m","1h","3h","6h","12h","1d","7d"]}},required:["event"],additionalProperties:!1},Dce={type:"object",properties:{event:{type:"string",enum:["build"]}},required:["event"],additionalProperties:!1},Nce={type:"object",properties:{ignoreLint:{oneOf:[{type:"boolean",default:!1},{type:"object",additionalProperties:{type:"boolean"}}]},ignoreLinkChecker:{type:"boolean"},ignoreMarkdocErrors:{type:"boolean"},ignoreRespectMonitoring:{type:"boolean"},jobs:{type:"array",items:{type:"object",properties:{path:{type:"string",pattern:"^(?!\\.\\./)(/[a-zA-Z0-9_\\-\\./]+|./[a-zA-Z0-9_\\-\\./]+|[a-zA-Z0-9_\\-\\./]+)$"},agent:{type:"string",enum:["respect"]},trigger:{oneOf:[Rce,Dce]},inputs:$ce,servers:jce,severity:_ce},required:["path","trigger","agent"],additionalProperties:!1}}},additionalProperties:!1},Mce={type:"object",properties:{end_session_endpoint:{type:"string"},token_endpoint:{type:"string"},authorization_endpoint:{type:"string"},jwks_uri:{type:"string"}},required:["token_endpoint","authorization_endpoint"],additionalProperties:!0},Bce={type:"object",properties:{type:{type:"string",const:_p.OIDC},title:{type:"string"},pkce:{type:"boolean",default:!1},configurationUrl:{type:"string",minLength:1},configuration:Mce,clientId:{type:"string",minLength:1},clientSecret:{type:"string",minLength:0},teamsClaimName:{type:"string"},teamsClaimMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}},scopes:{type:"array",items:{type:"string"}},tokenExpirationTime:{type:"number"},authorizationRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},introspectEndpoint:{type:"string"},tokenRequestCustomParams:{type:"object",additionalProperties:{type:"string"}},audience:{type:"array",items:{type:"string"}}},required:["type","clientId"],oneOf:[{required:["configurationUrl"]},{required:["configuration"]}],additionalProperties:!1},Qce={type:"object",properties:{type:{type:"string",const:_p.SAML2},title:{type:"string"},issuerId:{type:"string"},entityId:{type:"string"},ssoUrl:{type:"string"},x509PublicCert:{type:"string"},teamsAttributeName:{type:"string",default:Tce},teamsAttributeMap:{type:"object",additionalProperties:{type:"string"}},defaultTeams:{type:"array",items:{type:"string"}}},additionalProperties:!1,required:["type","issuerId","ssoUrl","x509PublicCert"]},Fce={oneOf:[Bce,Qce],discriminator:{propertyName:"type"}},Lce={type:"object",additionalProperties:Fce},zce={oneOf:[{type:"array",items:{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]},uniqueItems:!0},{type:"string",enum:["REDOCLY","CORPORATE","GUEST"]}]},Vce={type:"object",properties:{to:{type:"string"},type:{type:"number",default:301}},additionalProperties:!1},Wce={type:"object",additionalProperties:Vce,default:{}},zN={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({root:{type:"string"},output:{type:"string",pattern:"(.ya?ml|.json)$"},rbac:{type:"object",additionalProperties:!0},openapi:$p,graphql:Ip,theme:{type:"object",properties:{openapi:$p,graphql:Ip},additionalProperties:!1},title:{type:"string"},metadata:{type:"object",additionalProperties:!0}},W1),Z1),X1),{extends:{type:"array",items:{type:"string"}}}),required:["root"]},Zce={type:"object",additionalProperties:!0},Xce={type:"object",additionalProperties:{type:"object",additionalProperties:!0}},MI={type:"object",properties:{hide:{type:"boolean",default:!1},title:{type:"string"},description:{type:"string"},details:{type:"object",properties:{path:{type:"string"},content:{type:"string"}},additionalProperties:!1},excludeFiles:{type:"array",items:{type:"string"},default:[]},sections:{type:"array",items:{type:"object",properties:{title:{type:"string"},description:{type:"string"},includeFiles:{type:"array",items:{type:"string"},default:[]},excludeFiles:{type:"array",items:{type:"string"},default:[]}},required:["title"],additionalProperties:!1}}},default:{hide:!1,title:void 0,description:void 0,details:void 0,sections:[{title:"Table of contents",includeFiles:["**/*"],excludeFiles:[]}]},additionalProperties:!1},BI={type:"object",properties:{title:{type:"string"},description:{type:"string"},siteUrl:{type:"string"},image:{type:"string"},keywords:{oneOf:[{type:"array",items:{type:"string"}},{type:"string"}]},lang:{type:"string"},jsonLd:{type:"object"},meta:{type:"array",items:{type:"object",properties:{name:{type:"string"},content:{type:"string"}},required:["name","content"],additionalProperties:!1}},llmstxt:MI},default:{llmstxt:MI.default},additionalProperties:!1},Gce={type:"object",properties:{folders:{type:"array",items:{type:"string"}}},additionalProperties:!1},Os={type:"object",additionalProperties:{type:"string"}},Uce={type:"object",properties:{teamNamePatterns:{type:"array",items:{type:"string"}},teamFolders:{type:"array",items:{type:"string"}},teamFoldersBaseRoles:Os,cms:Os,reunite:Os,features:{type:"object",properties:{aiSearch:Os},additionalProperties:!1},content:{type:"object",properties:{"**":Os},additionalProperties:Os}},additionalProperties:Os},Yce={type:"object",properties:{static:{type:"string"}},additionalProperties:!1,required:["static"]},qce={type:"object",properties:{idp:{type:"string"}},additionalProperties:!1,required:["idp"]},Hce={type:"object",properties:{type:{type:"string",const:"GRAVITEE"},apiBaseUrl:{type:"string"},env:{type:"string"},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},stage:{type:"string",default:"non-production"},auth:{oneOf:[Yce,qce]}},additionalProperties:!1,required:["type","apiBaseUrl"]},Jce={type:"object",properties:{type:{type:"string",const:Rp.OAUTH2},tokenEndpoint:{type:"string"},clientId:{type:"string"},clientSecret:{type:"string"}},additionalProperties:!1,required:["type","tokenEndpoint","clientId","clientSecret"]},Kce={type:"object",properties:{type:{type:"string",const:Rp.SERVICE_ACCOUNT},serviceAccountEmail:{type:"string"},serviceAccountPrivateKey:{type:"string"}},additionalProperties:!1,required:["type","serviceAccountEmail","serviceAccountPrivateKey"]},Oy={type:"object",properties:{type:{type:"string",const:"APIGEE_X"},apiUrl:{type:"string"},stage:{type:"string",default:"non-production"},organizationName:{type:"string"},ignoreApiProducts:{type:"array",items:{type:"string"}},allowApiProductsOutsideCatalog:{type:"boolean",default:!1},auth:{type:"object",oneOf:[Jce,Kce],discriminator:{propertyName:"type"}}},additionalProperties:!1,required:["type","organizationName","auth"]},eue=Object.assign(Object.assign({},Oy),{properties:Object.assign(Object.assign({},Oy.properties),{type:{type:"string",const:"APIGEE_EDGE"}})}),tue={type:"object",oneOf:[Oy,eue,Hce],discriminator:{propertyName:"type"}},nue={type:"object",required:["adapters"],additionalProperties:!1,properties:{adapters:{type:"array",items:tue}}},QI={type:"object",properties:{defaultLocale:{type:"string"},locales:{type:"array",items:{type:"object",properties:{code:{type:"string"},name:{type:"string"}},required:["code"]}}},additionalProperties:!1,required:["defaultLocale"]},rue={type:"object",properties:{name:{type:"string"},value:{type:"string"}},additionalProperties:!1,required:["name","value"]},xy={type:"object",properties:Object.assign(Object.assign(Object.assign(Object.assign({imports:{type:"array",items:{type:"string"}},licenseKey:{type:"string"},redirects:Wce,seo:BI,rbac:Uce,apiFunctions:Gce,requiresLogin:{type:"boolean"},responseHeaders:{type:"object",additionalProperties:{type:"array",items:rue}},mockServer:{type:"object",properties:{off:{type:"boolean",default:!1},position:{type:"string",enum:["first","last","replace","off"],default:"first"},strictExamples:{type:"boolean",default:!1},errorIfForcedExampleNotFound:{type:"boolean",default:!1},description:{type:"string"}}},apis:{type:"object",additionalProperties:zN},extends:{type:"array",items:{type:"string"}}},W1),X1),Z1),{ssoDirect:Lce,sso:zce,residency:{type:"string"},developerOnboarding:nue,removeAttribution:{type:"boolean"},i18n:QI,l10n:QI,metadata:Zce,metadataGlobs:Xce,ignore:{type:"array",items:{type:"string"}},theme:di,reunite:Nce,logo:wN,navbar:CN,products:PN,footer:kN,sidebar:AN,scripts:EN,links:IN,feedback:Rg,search:TN,colorMode:$N,navigation:jN,codeSnippet:_N,markdown:RN,openapi:$p,graphql:Ip,analytics:NN,userMenu:MN,versionPicker:BN,breadcrumbs:QN,catalog:jp,entitiesCatalog:LN,catalogClassic:jp,scorecard:FN}),default:{redirects:{},seo:BI.default},additionalProperties:!0},iue=Object.assign(Object.assign({},vy(xy,"default")),{additionalProperties:!1});Object.assign(Object.assign({$id:"root-redocly-config"},xy),{properties:Object.assign(Object.assign({plugins:{type:"array",items:{type:"string"}}},xy.properties),{env:{type:"object",additionalProperties:iue}}),default:{},additionalProperties:!1});const FI={type:"object",properties:{logo:di.properties.logo,navbar:di.properties.navbar,footer:di.properties.footer,sidebar:di.properties.sidebar,search:di.properties.search,codeSnippet:di.properties.codeSnippet,breadcrumbs:di.properties.breadcrumbs,openapi:di.properties.openapi,feedback:di.properties.feedback,analytics:{type:"object",properties:{ga:DN}}},additionalProperties:!0,default:{}};Object.assign(Object.assign({},FI.properties),{apis:{type:"object",additionalProperties:zN},theme:FI});const oue={"font-awesome":"https://cdn.redocly.com/icons/fa/7.0.0",code:"https://cdn.redocly.com/icons/code/5.24.0"};var VN={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
487
487
|
* @license MIT */(function(t,e){(function(n,r){t.exports=r()})($e,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(g){var m,v;for(m in g)v=g[m],v!==void 0&&g.hasOwnProperty(m)&&(r[m]=v);return this},n.status=null,n.set=function(g){var m=n.isStarted();g=i(g,r.minimum,1),n.status=g===1?null:g;var v=n.render(!m),O=v.querySelector(r.barSelector),x=r.speed,y=r.easing;return v.offsetWidth,a(function(S){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(O,s(g,x,y)),g===1?(l(v,{transition:"none",opacity:1}),v.offsetWidth,setTimeout(function(){l(v,{transition:"all "+x+"ms linear",opacity:0}),setTimeout(function(){n.remove(),S()},x)},x)):setTimeout(S,x)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var g=function(){setTimeout(function(){n.status&&(n.trickle(),g())},r.trickleSpeed)};return r.trickle&&g(),this},n.done=function(g){return!g&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(g){var m=n.status;return m?(typeof g!="number"&&(g=(1-m)*i(Math.random()*m,.1,.95)),m=i(m+g,0,.994),n.set(m)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var g=0,m=0;n.promise=function(v){return!v||v.state()==="resolved"?this:(m===0&&n.start(),g++,m++,v.always(function(){m--,m===0?(g=0,n.done()):n.set((g-m)/g)}),this)}}(),n.render=function(g){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var m=document.createElement("div");m.id="nprogress",m.innerHTML=r.template;var v=m.querySelector(r.barSelector),O=g?"-100":o(n.status||0),x=document.querySelector(r.parent),y;return l(v,{transition:"all 0 linear",transform:"translate3d("+O+"%,0,0)"}),r.showSpinner||(y=m.querySelector(r.spinnerSelector),y&&h(y)),x!=document.body&&u(x,"nprogress-custom-parent"),x.appendChild(m),m},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var g=document.getElementById("nprogress");g&&h(g)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var g=document.body.style,m="WebkitTransform"in g?"Webkit":"MozTransform"in g?"Moz":"msTransform"in g?"ms":"OTransform"in g?"O":"";return m+"Perspective"in g?"translate3d":m+"Transform"in g?"translate":"margin"};function i(g,m,v){return g<m?m:g>v?v:g}function o(g){return(-1+g)*100}function s(g,m,v){var O;return r.positionUsing==="translate3d"?O={transform:"translate3d("+o(g)+"%,0,0)"}:r.positionUsing==="translate"?O={transform:"translate("+o(g)+"%,0)"}:O={"margin-left":o(g)+"%"},O.transition="all "+m+"ms "+v,O}var a=function(){var g=[];function m(){var v=g.shift();v&&v(m)}return function(v){g.push(v),g.length==1&&m()}}(),l=function(){var g=["Webkit","O","Moz","ms"],m={};function v(S){return S.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(b,w){return w.toUpperCase()})}function O(S){var b=document.body.style;if(S in b)return S;for(var w=g.length,C=S.charAt(0).toUpperCase()+S.slice(1),P;w--;)if(P=g[w]+C,P in b)return P;return S}function x(S){return S=v(S),m[S]||(m[S]=O(S))}function y(S,b,w){b=x(b),S.style[b]=w}return function(S,b){var w=arguments,C,P;if(w.length==2)for(C in b)P=b[C],P!==void 0&&b.hasOwnProperty(C)&&y(S,C,P);else y(S,w[1],w[2])}}();function c(g,m){var v=typeof g=="string"?g:d(g);return v.indexOf(" "+m+" ")>=0}function u(g,m){var v=d(g),O=v+m;c(v,m)||(g.className=O.substring(1))}function f(g,m){var v=d(g),O;c(g,m)&&(O=v.replace(" "+m+" "," "),g.className=O.substring(1,O.length-1))}function d(g){return(" "+(g.className||"")+" ").replace(/\s+/gi," ")}function h(g){g&&g.parentNode&&g.parentNode.removeChild(g)}return n})})(VN);var sue=VN.exports;const aue=po(sue);aue.configure({trickleSpeed:100,template:'<div class="bar" role="bar"><div class="peg"></div></div>'});var lue={exports:{}};(function(t,e){(function(n,r){r()})($e,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,f){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){l(d.response,u,f)},d.onerror=function(){console.error("could not download file")},d.send()}function i(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function o(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof $e=="object"&&$e.global===$e?$e:void 0,a=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(c,u,f){var d=s.URL||s.webkitURL,h=document.createElement("a");u=u||c.name||"download",h.download=u,h.rel="noopener",typeof c=="string"?(h.href=c,h.origin===location.origin?o(h):i(h.href)?r(c,u,f):o(h,h.target="_blank")):(h.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){o(h)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,f){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,f),u);else if(i(c))r(c,u,f);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){o(d)})}}:function(c,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,f);var h=c.type==="application/octet-stream",g=/constructor/i.test(s.HTMLElement)||s.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&g||a)&&typeof FileReader<"u"){var v=new FileReader;v.onloadend=function(){var y=v.result;y=m?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=y:location=y,d=null},v.readAsDataURL(c)}else{var O=s.URL||s.webkitURL,x=O.createObjectURL(c);d?d.location=x:location.href=x,d=null,setTimeout(function(){O.revokeObjectURL(x)},4e4)}});s.saveAs=l.saveAs=l,t.exports=l})})(lue);const cue=t=>{const{name:e,type:n,pack:r,mode:i,color:o,...s}=t,a=oue[r||"font-awesome"],l=r==="code"?"":n?n+"/":"regular/",c=i==="background"?{backgroundImage:`url(${a}/${l}${e}.svg)`,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"contain"}:{backgroundColor:o?V1(o):"currentColor",maskImage:`url(${a}/${l}${e}.svg)`,maskRepeat:"no-repeat",maskPosition:"center",maskSize:"contain"};return p.jsx("svg",{...s,style:{...c,display:"inline-block",verticalAlign:"middle"}})};A(cue).attrs(()=>({"data-component-name":"icons/CDNIcon/CDNIcon"}))`
|
|
488
488
|
height: ${({size:t})=>t||"var(--icon-height, 1em)"};
|
|
489
489
|
width: ${({size:t})=>t||"var(--icon-width, 1em)"};
|
|
@@ -9621,7 +9621,7 @@ function kg() {
|
|
|
9621
9621
|
}
|
|
9622
9622
|
const $i = class $i {
|
|
9623
9623
|
static async getUtils() {
|
|
9624
|
-
return $i.utils || ($i.utils = kg() ? await import("./replay-tauri-path-
|
|
9624
|
+
return $i.utils || ($i.utils = kg() ? await import("./replay-tauri-path-C69G_hen.js") : await Promise.resolve().then(() => fV)), $i.utils;
|
|
9625
9625
|
}
|
|
9626
9626
|
static async join(...e) {
|
|
9627
9627
|
return (await $i.getUtils()).join(...e);
|
|
@@ -43076,7 +43076,7 @@ const nm = kr({});
|
|
|
43076
43076
|
function cS() {
|
|
43077
43077
|
return fn(nm) || {};
|
|
43078
43078
|
}
|
|
43079
|
-
const nse = "0.
|
|
43079
|
+
const nse = "0.16.0-next.1", rse = {
|
|
43080
43080
|
version: nse
|
|
43081
43081
|
};
|
|
43082
43082
|
class ise {
|
|
@@ -49113,6 +49113,7 @@ const mfe = {
|
|
|
49113
49113
|
scopes: { type: "array", items: { type: "string" } },
|
|
49114
49114
|
tokenExpirationTime: { type: "number" },
|
|
49115
49115
|
authorizationRequestCustomParams: { type: "object", additionalProperties: { type: "string" } },
|
|
49116
|
+
introspectEndpoint: { type: "string" },
|
|
49116
49117
|
tokenRequestCustomParams: { type: "object", additionalProperties: { type: "string" } },
|
|
49117
49118
|
audience: { type: "array", items: { type: "string" } }
|
|
49118
49119
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as h, r } from "./replay-index-
|
|
2
|
-
import { i as j, j as u } from "./replay-index-
|
|
1
|
+
import { s as h, r } from "./replay-index-C-TiRAQ1.js";
|
|
2
|
+
import { i as j, j as u } from "./replay-index-C-TiRAQ1.js";
|
|
3
3
|
async function x(s, i) {
|
|
4
4
|
const t = h(), l = await r(s), c = await r(i), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), a = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), p = Math.min(o.length, a.length);
|
|
5
5
|
let n = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-Bv4UbMz0.js");async function v(i,l){const t=e.sep(),a=await e.resolve(i),c=await e.resolve(l),r=a.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),n=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),p=Math.min(r.length,n.length);let s=0;for(let o=0;o<p&&r[o]===n[o];o++)s++;const f=r.slice(s).map(()=>".."),g=n.slice(s);return[...f,...g].join(t)}exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.relative=v;
|
package/dist/replay.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-Bv4UbMz0.js");exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;exports.utils=e.utils;
|
package/dist/replay.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0-next.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react-dom": "^19.1.0",
|
|
20
20
|
"react-router-dom": "^6.21.1",
|
|
21
21
|
"styled-components": "^5.3.11",
|
|
22
|
-
"@redocly/theme": "0.
|
|
22
|
+
"@redocly/theme": "0.57.0-next.1"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@codemirror/autocomplete": "^6.15.0",
|