From b772447c16a97332ba466d18a2c6591cfbdf9ce9 Mon Sep 17 00:00:00 2001 From: "Sudeep Kumar : Data Engineering Career Coach & Mentor" Date: Fri, 16 Jan 2026 16:33:47 -0600 Subject: [PATCH 1/4] Day 1 Instructions --- Instructions/day 1.html | 796 ++++++++++++++++ Instructions/day 1_files/141535473 | Bin 0 -> 24530 bytes .../day 1_files/analytics.js.download | 105 +++ .../day 1_files/analytics.min.js.download | 2 + .../commons.59560acdd69ed701c941.js.gz | 2 + Instructions/day 1_files/frame.html | 355 ++++++++ Instructions/day 1_files/gtm.js.download | 854 ++++++++++++++++++ .../day 1_files/heap-269788835.js.download | 2 + Instructions/day 1_files/heap.dynamic.js.gz | 3 + .../day 1_files/index-B59N3yFD.js.download | 286 ++++++ Instructions/day 1_files/index-CJlxgJwY.css | 1 + Instructions/day 1_files/index-Lsqx7LIq.css | 1 + .../day 1_files/index.3bHSf9gi.js.download | 151 ++++ Instructions/day 1_files/index.BpABIXK9.css | 1 + Instructions/day 1_files/saved_resource.html | 128 +++ Instructions/day 1_files/script.js.download | 57 ++ ...eamlit-logo-primary-colormark-darktext.svg | 6 + 17 files changed, 2750 insertions(+) create mode 100644 Instructions/day 1.html create mode 100644 Instructions/day 1_files/141535473 create mode 100644 Instructions/day 1_files/analytics.js.download create mode 100644 Instructions/day 1_files/analytics.min.js.download create mode 100644 Instructions/day 1_files/commons.59560acdd69ed701c941.js.gz create mode 100644 Instructions/day 1_files/frame.html create mode 100644 Instructions/day 1_files/gtm.js.download create mode 100644 Instructions/day 1_files/heap-269788835.js.download create mode 100644 Instructions/day 1_files/heap.dynamic.js.gz create mode 100644 Instructions/day 1_files/index-B59N3yFD.js.download create mode 100644 Instructions/day 1_files/index-CJlxgJwY.css create mode 100644 Instructions/day 1_files/index-Lsqx7LIq.css create mode 100644 Instructions/day 1_files/index.3bHSf9gi.js.download create mode 100644 Instructions/day 1_files/index.BpABIXK9.css create mode 100644 Instructions/day 1_files/saved_resource.html create mode 100644 Instructions/day 1_files/script.js.download create mode 100644 Instructions/day 1_files/streamlit-logo-primary-colormark-darktext.svg diff --git a/Instructions/day 1.html b/Instructions/day 1.html new file mode 100644 index 0000000..15c3ebb --- /dev/null +++ b/Instructions/day 1.html @@ -0,0 +1,796 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Streamlit + + +
+ + + + + + \ No newline at end of file diff --git a/Instructions/day 1_files/141535473 b/Instructions/day 1_files/141535473 new file mode 100644 index 0000000000000000000000000000000000000000..287054aa6f08b50654091f80148b4abfbbbf95e7 GIT binary patch literal 24530 zcmbTdXH=6<_$?YhibxSj5Rl$OQA+3?r1#Jf=`~0Ry^4ScgeDyVQWGFRC<;ndq=hQI zNc&0ey(s;1{^zc_Os`1=57w~9za4wL`+0TLQG8j@F58) z8IYXp(IYatC)AWcMtWu@MtTMY7LMoKENuMj3=BNtV17X%2n52+Eh#G@Ec09hB8>O& z;X|@VWVGbuw8E?mtiu1F%uDr0PqO${wDzcci`a@ zJRl?@CV5Eu=rI5vkAMLG0RbW5g9rB`!|wY452y&AunH*>Q5)D2v%!JF5h+C^>`HY% zLD11d4iP)=$cLmfPig7sIk~ubz`PJqF>wh=Ddm?cs%q*QnubQkCZ=ZQ7WNK~PR=f_ zFdtt(|A4@t;HdY}A7WzT5UFYD8JStxImqG?6uPvm98>Z6OMS!FZ;egO9i3g>J-FV! z{;~0i$*Jj?-?K~0E30ek8=G6(N5?0pXXk(aU0mV;2>v&m`~Uw2^#8y^b&m)C!2^N^ z#QzHq9)7_6M?m#}kX4B2iJ}3qEu5N7ID!PIlu}gp^C7zk^blm{JxWT$0a@Za`d^U# z2hsmKK#~8y5d9xO{|C?AEP#vv?|#Avr~vYS{}dw-8)uXK&!q`ovlu3wMOU%#$hvLm z4IfrdQfT*pi&F#F{DKg zEveREKpuw(Cd;E2%R9vwNUrAyY(mPrU-paBH`E$=q(4C^enZ4!xVfr8-7oQ;6SpbP zkMVE&PR_v!_7RP8e??8k*P=s0i>tW*V>qjjK_b5ne7*zV>SXII9Vf!S+rg(=T%X_Kd$y0CeJ5F0}02&eh_J*j`^fucAaLLaQYftH{M)@P;A17=^qw0%?;dAL>| z=m#72k5LT~mWm`KxppMBI%OCk6@BUG7z}fK5DH~p%V?Y?Q}KEo2T1^h^i+MQfOD51 z5ud8iRb7v(*+#{_=%ta;Xjuw;F&~F@+dSd}bV0q>Ou4|P0yA4jb1bZ?yMC3?UP4fN z{Oq1aM{aKaH-Cz&)HJ>!-ioM7pqxeq4Ge)*X5t zh&p@n7^xqKV*40uY;Km@5(VfaYD#{*8RtjctV)pNlhiQbRGcrw;lR9RVd(D&Zq(4^ zPLvT~NQm}Q?3PeT`Ndas#Drwc9(?!bY`HdcsMW3^weA#H8Da)zAN9|uBDb%_Zx%$A z>ey^!G68;ADJCwutG|-tbZpuBNqlO3N`#A=#(|Sh&md=*O3EJ zy@iso{tR~cb?;=iZCdr8B9*-9)*)&lN?zXxjy4%8v9o3uGMBwcf zu15RK(&XV!nL7aQCZs6d0f%-p{o~l_qxE3if4s$D8u6!TZ23b9!WAQ=Zt|%Y&f5JP z{12F2s>btcM%GnG&!fImcikJIWS1_0|0$oRG2MWU0Ah#%mue~NuriG0*V|RELfDQ) zR0tw87BNrk-AwpITOvhz+=ez{QD_AT(9SoiI9r>LWX+QWrGCyfuQ92V8CCh7X10sW zvbUt)*j+y*$@}vW7`11csse-Tnuatq8qc|~4E1ts2v*x}?sT8os;)evT#^;K3g=h( zXoYNGbXdjj*yY?c|KjBhKHv%)_LUO6@oyQ9VjaJ_%7%w2J(tUvq>J-|%W)X7sQrw- zGE+M32`It$gH%K9B{bFt@tjme?Y;1FMZEXts3byn5~5M#)%Z7gcJWD~B-8KlQC|(u zGf)nETY3%aYrJNtQ>WI>zw(M^w^kZh%#TTCv=dt@4q@P=@6U3qSBPPc4K_|;ZcwjV zX^>9rja6#vCSu((iG=IeCQVqT_m}eL6Fwx7x2Pv(6nP2%sPmL}=%dsF21M1L+8*Bd z!AJIE7?}9iS=9o8vz-gC!tIa(MFZZtq}|P;7>ofbB^P5gw^d8W{ll^*0nIJj`18S6d@)?hBja7eo0M}9VOjvotar8A4hL{gqS3TxMQ~L zLQI5rm)f@}8!Ntj^Phg)bEr+pQD7xCo$Zp(+H!b~KF>8LQCl`^k-C~{SVVcqXx{;x zvm8uGKbI4~)AW{SFy?okD#u+t&BTt6?4N!z@NhilkQZTb>B9~38Fe=`)zCLg?mrn+ zukLu|KaXP4OzXX-;G2-)#6HJTC7Bze=Nf~rrqb&)J#b96nVN|6lu17^nO0H*<_2@B z)L^3yvh(Ved}@E5H>bcQI#6I&p)ZI|+rVp`Wj28H^G@uLYRNhXrg-(EBaQQmJf=EL z%hIAWj4!W;gz0R2YargYYA2Mac1pb^2`r?C1J0Y`&5oqIql@3wF4U)ADtA9+?Mgr> z)!)|JRjf+PCj;#fK^EF@l|DE-3UUla8EW?xp`i5e!bxrnIn{DniBp~nmRi_ekJOFm zKg_d|=}T3b+6JoJcWy5GQc~(Qo)1O& zRQrRSk1ECBYa)oumzKU2P0)Pw;~YjXy$pkWnkk6b7OF^`!?j}=~mhaJ9!!#ZzYo+TyH?8MC90Tv#>|4n~_{h;1=Y6|q7 zS%~8_^}Oh-LR&nZKNW0p4^^$TV9E^$ceZ&yKhF_J_fuy2Mfef7;up%R^BmmEM2)`7 z(;Cjn21ebr`0b}vU3UP0==#5HP6l z@0#z^w2VRJza+mj!&c#FW?n+l_)~o$vzGD&%hXD+N618Ny=y2{?Qu`^$K%$M*^+s< z79PHzz}T0jwm7X-qmK(Rrc{Fu7wDdaReTMCG@;?%nb`H;LLL#HDMzL%SU>FrQrS0O`H!h}j#UX}X)g&^*7M3tKQNZdxE=7QUvO(?LrU{vONU49jHQdRoaV ze~CsnJP$3iTMB#S5nfc|5E~OKDD#*+gci0q%8ZA!`HqDy&ePA|t?U>y~BL5qd$$C|0 zOc<2;ssS=S49Rti+z5%iKepe_@-#N7+C?^%QK?m8q;CMs<*V|1-=Q zG3>vbhsAZE_(1u$d>*=ZqHzHQ(xO%P^uj}hU3Ms6hH-brnUXfm)8BdD+3I5RCHpGN zD;ZeTERqQO?1Du3$Vj!_V(U^t5n zD0M%-agB7Odz!agHS^*ZOfoACQD@W0uOnU;@LaEhw4yReVZF39gDs&xsk}m1LzXXP zs?`VOnmHEXH6%AiW#B#cgL%iisT^lmocRPD#PjpnY*L*o`lU|SJ3+cxd2CQw>~}65 z$Oq}iAmAZh`*oOG;$*|s9&ByVJWo~Ef8%0;=3GTR)1@<0X;f9u`ux99wH-?kTxW}V zM^KVeiVs;`h1@<489)DIvhL)(#sXDlJ_J4ZmdwCp!TY;ZB1!)He+NwUbMXbwXLKkB z2mKocZq_}|)f^c`%u!$JIOBz6(k7;<(?ar3!JH`LkG~(EiR9v5dL65nax;Z6l9IAbOjMS*0@*HvJ{uV#Pa3iQ5-;C zo62gf$dYom(nz3fmeWqpN+pm6d22lHefm4|Izn{Mio7wgzWrFtN`gg&so;e?Ho(Tw zb>?b$F|#eFi(BP$bmk4Tzv@YL>=7=R|T)Z)$v3Fgjd;R zUAonc&P(@TXbz|4eWNS@!<1;Rp_rbBoA;`ZSz5|Ea<{DRk#~2sOkEVT?gIAAi*&t= zfLpdACwD&7Ekcj&qqi&=MoS{K(jZY@{NFrI+aQT12ss74_(?@6k-_uBz@gjAQ0>lSgNnx)2F=M6b-cn9Qb&uZ+ z@pfpm)5%RX*cMwZ&UbqauC9iEa(fYUDDXY@$@Z;i>W!|kH=W(evA}_uQ4Ott zj;*F)Fw^U@e|)beN+>-`f9aq4zb-iu{X*GM@VNi2y)(&KP|PW4?^%HN{Eh3($~(ZN zDOugv70-^D*_m_3t5C)^c5$i6bgR*x;agA{@y|Vp$InFv;$(}zKDtbG8~G3xPHKQt zG;eiRyfIp-0+$=spL?Q*8CJ}?^_sJH;;RV8~2iV%Q9VN-gI0W zjA+H?nW{(~!*(|?nsdy2R<5R(Oy%eFi7j*UT&mN|fx(!4z6m)7VJ%3}p^|DgacNME z`VsSo`U9FR>))4%j9D#ZVZ85LXT%qXV{$nGwV!e~J{U5(bG zSBu(5B2pA+x|e4k{-hYsPt*;c$7X8Vd#`8jB)M(cU1SXZ+IadVBKWyL-$ zCqS1Ginb)EZmB3mb|Dq1)Ce<8cX2EzqA4SGOGpHe2eEHVBUeW1ZU-kc=z;PhMSVMJ@pRsrmm+Ou^#D> zBX!7yE`|ipmeXr-bg15P+P0e?VO&>cnOQfUH(O#D+0Z5x6{hCSrn4&|jp$5H$jh)ng7Dpk;$k#X?D)+%S z(e{KxcCP4*d$tZ^t}ymVTqJ7zTDlzesAFmbt~j9#58u>Pswu*{stNj+0M)C}p&B4K)l zCio|MJt|z%rodcJLo`R``xL+{WUUREM8zg-P&=>;7|nGFT6}6a4q2k=wwg;(9n{}q zlPx0Sg<|uhqtr!}2%qgV*c{&-Fx=dzu{#bljIA&Xh!~&9uEj zcYsG!yMdSVpSd*LOESzreqbPWheF|LsL-L*4G=uNg^C(lNM&tp4-r+ctB8@4;8_VRdPp=0Tq0fcuNQ@buv1!u zw-Hu~`a%ehuj?C&Q`A0L!l-|B)!`b9`hIDw7YmnRc`{_(eoFuaMn0zr!;u*t*};=9 zgnatS_=*k`K1n0lp|(30<2~gob=Ny0-V~=T({;cq<vCgv+s0kyCwW8a@ z!d#b1HE`Qa$l{BiRxVC9}uD_s6$V$#ZVaOw|k)9PdpFXRVqZ)qu zS8^;Z;=xgp0Q=fKGprR2Tj;pFa=U&aJ+F`wW|cm`JIs|P3+p3Nug|+*@Hq2WR8}O- z*vRBVR`>D76*jpa9rx)+bdkAVh@C0RzO2YKR~w(=_-~ffwV1&>0Nc?B#gCj@o~`0}IDx#V+^%V{9yq;Gz^jPGTke$9iozS&rF779T%kYx?$4Y!eMov2*Ytw`Hx-Ma#eP_n>h2IJzdzTKwY-rh@;GuCA;m0%P=-_PLYU;YB z^?xc>@&1#~riAyJjkzP;YGSKL+=ik4td2btZdQ!`W+V9Tu1>6#O>)cA)P9a)cAfV9 z_6L$Xny|1fY-!R<8IKLn!y~fyKD5lA9IamW`L2E=kZi}G)iM?`V!L?1)=j%k@Ay5o zQHA$bUPUmv4P#$$eDUh*Jrym_XSb1`yloH_oDPUHs?+5i+zAliTCyxZqB~&T(Y*t_ zPrJ>j*)YE`Q7w4&I;p^Ww9PH&zBNU@>3T~oj{Odh?;B>KbopP(*ecY+VuLt#=|Jzk zAA!$vS>HlDH9F$JbV_ac?+6I|ahRgu@;{AP_P({Ht0phbZ+>72tiH;3t4)^8#Kbmz zHZyv`a$v55ZGXE%ij}Kl5+vcOmhk^3^vUTQayuW#Vaw7P%pv3-@{l5m}k!;W5Q(Ft@imN5rO~$;^QTXs7Mzr7CA*Ne;V8RU)4}diU8oK#{J`wPd%^ z`h{jm%zLMtji-CLWfcyS@hiDyOlM}(F|xnUji#HUfk#6^Fqg=E{uLJgvnnl)mlpv{ zIo;Od`Zo=Mx761a&3wN?dpcAldTEW%v3#^vVoyGUPE=6cT1YvC z?TB$SKIOe4vaDf!Tbj}k_)UpOStqrkGmpZ@O1$*7)$J}vwYD=$jpVspaf<-kQ?5sG zim!8T4Tl%Ei5q;3vcTi?n$ylfjQv08)=SCAeMZ&Il0B78Q=JJ8oN6ySx53a|m)43X zZrU38Bj@zPvZVUOmT8gb8cCt`huFta#Q+Y%y~)E#H;=ofB&)< z+!J>I5-ix%a(0)gk7prYYObt_e`=z=BGNZUwk0%q~b^n`+a~E z|8uiquC(`WIcv`|!LB(dNxrgolwTU^EDL+rY^MiI^le{`k1S$WW<$D3EQ(_x3vJSg zwyUlmx}Ps?nOnQV<^Rkuvi=y~@ZD1eP8w=G!mP0~X5b_1N^j@gJ zVBEPdMDcIgQPO0_`QYEOurG_BI%j&v0Zti_E0}9HervqNcFtQ0s<(1v?+&D&Y;_G z8H{$OGS#npvxCP|n`=v+n{x%ZAA_1hC#@#imY=Z`_IVnbSxqh*nYc5*Qq|Pgp)fEJ zSTTYB*bgWtw1~AaQB4?mulC%^&(`_rA^4~NuDnItgVX^&?Tx<)MGCu>n|zYiLMY{Z zOdrn2A~ROWxrKQwicWYWc~CmcZMKyeC7P7WFt#z2DGCUF&KGgW^xiKlPzz#<6;KGG zkg&hzyK$SP5hPZSje+$Wv`D$gnI#x^D~1aUia{GtuAIN-Rja*P+Fs3K_x@H5S(&Pj z(ay*C^qqo)M_(g7hIx)&dTViYIf=o2AgDcINp60*AN@^PiTnPqUa5*v(D3{txW1Y$ zu{Og6!Z~cpxm|FI$RCA)!HXmDAL1mJjB0i)J*ltD42!Y;-bl($u*cHLnd>4a_gWGW zZXI{&)SN9x@8ZAVjpI^N8v8=O>2dZqx?CYrVt&G zmyM0tj~`_HX!#ZPnC$Ng`lYQ&T|xzqEJgZ1&DjMZvYK}iP$F>gXwfsx6{d`i*=xIL zwh4}Svyl>^GGR4(h_`C1&v4y7VX#W#UREq5@XTH4dcc*KB?02#XTq51vn<%aifNNk z%1o$;Vz!w48WTvzU~*qykXV`hx@#(AD!_B1Wf=UqUUORT{pHS6J=hShT<}}HAU3yuZ-c3)*=skYreC_M6)etd zoTsjh`@|fb*Q^Xtsz?57C{1zndy)C^<@R6pNbjL!#b4t%Q1{%wlI~k3n&6yitH5dn zzr?a9k!_t6{%5y-yK)?()7?mg@oEo;#3u$2D3Idl8_PS5RfbbhwN7h_dVwcnXBPDE3?E}}yy zGN!kiA4atww!`@^gZcQgcfM826*tzWi&pRd>keshm?$sc%Nv7todj^vJ}1UXoJufm z)sb~Jp7gjXn-&J{ddc4eyM;-d71rX~AgQkSO7ymjm<_bx)rkIkyWFJH-Gp(U-a-_3 z)tL(!_C*!mLr&MtnkbDCUM$TsW11NAc1@?{#>jsX&+i&<8KY7lmy|Udd)!&H{0XV4 zOvpjzFcC3VSL!}D4N2_ng;)xB>+B(4uNTpkMd9uMRv)VpYO%;1YPJZvU%WN|>tIdp zmncECe_`P6S3geBM0rBGJsvMTC`O)@y5>^CKE=?M{#gMc!Rqg78rXW~;f5K@IdkPG zi;ONtZ`VH#hIkU&;ZlLR(kBN-Tmr;V_X6P`FiIIjt`3fX>68&O!ctkkq#lK`MEg~X zGn`mOFY_5fByg}loXPen2Uc>t0@{~vngfbI#+wvx8Jl9wk{i4kcUy=DS9V_MAMtB# z!!Mocu)QXR2d}8|^ze56{>TKE&zVuedqbFo12!Xqsj<}FUi zRNI@;O<7o&bmyfNBG>ooWn5hp_oB}o0AI9EM^);JGvB87E&WJg(ygp#x0DkW1M50i z+>Vq;)&~Vp5X&!VtRxd_EQf<|%K~iTLAAwhY9E!^nr-+9#%XcEyH=B*K0A62h{{O$ z!tla|lc8=Hdxv`UjZ7Nylh^ah^?HQca&Oy0s`c0wVRb=dBZ8SPmEOKd>rn>;v||e% z{ZpcR1hYQkYie`TdS|lysPH{?5-rupMl#xWne$OS55X8JNw6Bb=_YB%E!zPp0oqpJ zeUu`yktetVY*$V}FT8C|Wo0WqC#U@5VCOD3ey@@|PSjl>D}M{A`Ww2taO znF`Np*e6d9c88$*J%TUoltwm+lzV^P$djJ!9wC-x!borOe;x8HCfPbMs>?)NGXH7| zZLaxJ>5*{s1tvF^EN|p(@bT+98^s+!(;GvIx68{(%d&w?&v)CLtve?FFd_|Qw$L{?j_Zdq~KlahV0m-y|#y*~ROS}U&tw$uXoaoHzXiTL6LGWzcR01?@h&h9`sQwQR z4niG)d>|P4C}f;c6E0c0aR-=IRQKA;S0O8*+fo>2Y}?XX*qCl(X&gcoc%=U!0tcd2 z7EyE*a`tLaUhRajBp7Z`DL5YtgEp1elrnS@>56C}!n1T|gbZyZsoeWcuU$Vpe|xZE za*hx7$J1@E5YEaBWJ( zKXNllmPIpVn27iYHw11Q-Yf% zkXmI_1*qNBgEs8#(ZfDGSl?xTns9ur&BK9^8f+Ph))_ za){GV%6`s&?*82uhrzKQ)tDtMhYTkmQBciw9s$RXT)Kj!<;)mStXtq}qbjfB&!2y$ zBTRm5!$Nr&bhMUkx}15*}rz^F{5eS@*OS zn2vbVGupX5$`eX(9JX2Y9sCe!zc(Y{RlzW?k?~6b_-|%<( z;XA;SZ^@-YsPOi8D|Z0K>VH%TBfn9mEpU1^Cv$PCh{U$!HlefvA43e94UNk&8`bQl z(X;(W>Y6NSXGt0>!MHPAp8h&9%?_pD58~=q@d_FLiP3m6NA3Q=h7v0c>5)msiaW$j zbTh!`sr3j%UvJF8d4ttEnGm-Tf|J>0GE07KCev-nXjj8W#1qARiq$^jxVZvY3-0%`~R3m{7GOqVX zhc7KJZ>&xuRt>nAeht^*^-)yzNpeMv?f&G3M2q}_Yj&Fl0DV#GX|7DCpTK5>fPIvw zCf<5_5>GAJmIe|k4c(JCFG?4e8PQcGm$n^Z2QwrX*uEx5wVwi;N+1Z1lrIxAQIiG;ij27_-qDlvl)Zs4ER6HVeZJ-~T!hc^}UQ@vpa5=z7)vd+pD zaau;DOA1%?P=@bm5``F^BQ2RVsTex&bnk66dZYm%#%3{WVwPQt%S~Vbv}m6?*^%g5#mOaSqVe?d%` zKD$fY@Nyuf?K!@v*Yz}UX8$2=aebyig!M1nZ@H)YJAfa6{j^%yqQI{plTx^r`Ga@3 z=D$``T>tRc=YJ<1JD3SZ&Ba%&Am9@w5tSnAxgK?``0^4J#&}^c`$>&`{sLD+=I96g>fwR1V=RwqU%g|zNfw{Pj|XNA zNm+6St#pRR%s0V1sc!{!9DaAX8?5ks_%H2j%M^H|Rv*C1>Go8mow-}_hcQDWtTYVv zkOHh(UtCX*a7bNfMHMv5Vk%kB%84xks~`4#^Y`uMqoILHPnNIsu1P_RoylpLWk%?zXhQcKk7TR zmpvwN-j#T>vhDUIa>0FXCGPDune)V7$h2sKlb=0dou|KB`cd{mY4@IYLGQG-NRO;r z-jP4Wr^k1I(v=JP{egueDw({Y<0Yr-B%`t+&CwG*_Vu5#Tet&eY*?UgbApVwuG)YPZDBgO812;T|n*~IIdUchlQ8*v8$SP)aj*j}F@HgI zwh;K>kzShTi$#KR+g_G)$?9yj1%)>aJS&X|>z0iEURfMA^t)r!DrT^`pmH3QgO z9fNGl=QA4wH!bHl8Ospg)BojOjqdnayxZSbxvpdCrB?$5NG|z~&hpc1-h|u7Ba=R! z55BtJ>;y>M0lw>+o>o{`z4QH~>(&|S^ny7P_>!9C&swri`;A)!x1Q>-Q&q{UMGKL_ zHia(-1P2u1qzU36&dxa2xSu=5CkEo!L7J}UZLtlcx z!hHh!6rpYR8UB1_s^DzP0INx;spKfDr}=rRDiM9HGA^BxzLe5tbS|369J&0>YiF7K zwUQTz%;wh74dqHBi1+JNgDP#)d3Eg2?BFMV?GlQPA8E;L9DmaO5ms_*#z&s$ z?);n`6b#p_rIsPp%54cT`}@gs;Pwv!U;^HzX;_Z*Ywq$;0v2dMtG zlsl-P-bqZ_IWjH3JP7)7cAxT$H6ORZ4P+9Q<{q-=bxS4q=+0R?oy$u#&O4>iV#JnH zQIfH}=pMY{z<*yT&`7Ld!1O`&u@z-jKphj1d#f3niy5M6=;b6yog} zf`-Hg?gyvG1~|QQC83k$sieI$&}KUQ<3g>BQ7m0g*H_;?(gcG|u@92&uLbu+2JGUL zfZF8|@o*xf#v)zN>yh|*ge+wNh1#lC*>Y!<=GP)Dyw#>!WmoHC8EIYI38BWV-ow>hZy>%EO%zjEM{aebas}2mTv5GSL`gyYS$<~2j z5|o|PKP_ROc5CW;2xDfy+^Lw{4*##ESj!AZ$`*VcgG`D78OXBMr>9Z z?*I~_HexD)i47&PLrmp?WfZROCgPJVUM2&N#YSjx})+yyJY_ayK5 zn2;F*>e5>pe!BCQ_i|y7hNi-&!Ayu*p$zM)$uQUeJbg1U^_`86PM{u5wI^|9i2{T# z5H)?NxGA<4UOwXb_%~o)$JZZ86ou9#Gg0045_E2oj=Q9YI>x3qCs3v?@|-N_lkOYY zx({n2d^1*HKK?Yt}*838%Z}y)D3OOIaSPaV1wOePLCKB;VGv&)|R$ z`6_L=p5P5PVfmh&7bJEi_=|$rN!Z}VyuYM&b;>mOGgAimJ*iv3yeq^>@@V^i#Y)rX zb^avQC-OJ2O>yUS?lP_>9Xmt0n&&=Og^$DKcV3$_NY+ujPEJ^sypmy0_Kszkh|Ep8 z_muk8)NH;Dp81eFn-3G2`Z(eYNSm$tZ6VtA-QL+{lb6I!oSKk;#jo4%@vADqa{Lrg zPDcmMMylshSI_}^O+gj*A{Yb{`L{e&#JU0+DbC2*A~J6n_ zxv~)22nuq8+HHSuWESLMGJaC}i0hvbofrbGF(lYWkv~O8+E0+)!X+~%N|#|=M3-Dq zfD+AY;o++CfMQ63-cjH|-Ez8*4sdM+@jw%G3d*T+9SHDjGxD(V4w;JG(NqnTzirM@ z(J)6sD|ro}@sN7HxEJ-(ui`YE2@6w_p}m3fvGQn_6=KkEAZ&HcP3l8NUN_sLUR)6r z^zQoEX?0Foa`3;wuouqe1!%{Hwy#XWYzy@h{ee41c^}nFao(f(sw!|W<2mGKSc=F;)*%T=LRm^&?Z zS|dT*M`*MAX{L!KA+!JbS6{U@(LIz^AZCuJwp$8SIHs+7!QK2eX7{{8tiW5BZ^T4s z-g(FLvAh1$h@{A7*4R|hj35hKzUw0JNOrYY$0P_r(4iw}%&gyv-1i+4*?mmt`XD*s z2@#=n5B!!3g#+rAQe&eDK-jRHeEgfDw$&6a*AL#vwla3gD}2`RwKTS+xp0h~3h`i++%CXy?JJhHsXn zB3m-VR=p@~*kmd>q&nC4u{lY~m~{fV{X(FtTvcjXTt*cv7#s%vT|djCuj{C(=J{d4uPjg8LeepajOo6@HSyG%1d_2y|&c z+5P3?qYM;bBT?qe79W=kECK%18vE4e@{!3^aXp({g8sSI%P8y%ru1&e^*Cqpo>p%u zX&}m}ny2xyU8sL5&}KZBI)V83?-CDu& z-XT3Pb9+&fF~~X0S5RUD<`p`3D;DuEB+v6(u8Bl5B!biz* zhF#w|QupU&{6~2r7c_=@Q72~{b=Po>5}4=4BlC5af?M-mY~teNd64fEQ)!b?B9 zVX&Gujf7QqMj7IK-1+U)Hxj4m`o&UlwGF~#hoDGj%1M~OvQDF2f-|xzYYO_6 zy*WC$5N`6Ww|C>LqFE%JlW}Ar1~S$l#|yrHDAXHic)VP9fDP^Dz(Y=kIuk=8RL6u0 zu&)Oa@?MYP{*<_T)bB=8@ZMrzqfNH6Umo@l@_jnWl4@MhSj@t*{28Z(I;D^K7W(52 zF~7I~`eij+yH3Fog_ZCv zpNP^OW-#O|`ZNB;01*hGvOQhWzLzI;?l)|h2&8cGNgpv<8uC-uO6P&lO*1qBp&3~C zk*=)9LO~eZjyHR6V7oAa?t2wFOeY5B8mB=gR_%T(;9O4W?ma_R<;@=PU}9l)vGQST z;N16h{veL^)?LTfK?Y}%G@$b4&r;SgS&uxAD3volHPjY z^`<%kmnJ1Ci323uW}Nx0#zPjpADieiP|Z^z58gKSm;$PBUFunr1PI}vYw7?d#XunRv^=f!K z#`lK)z`T*lY!(u~=tO95U1@(|f=CxnA)m8X@}z4Yqdt!xlO02zz4dIhO7i_g! zJ$96V;qku#g9v&)jB|33@YdV1a$L5iS=>fkz6oy}UrtY9KI&I{hLRl) z^<``}ZQT}sW9iJVXPMt{@-3eKmEMsF8jpc)_T>sQA7kgK=y=2@$-Y@J!J6SR5fQua zTu=k(vz0}K$Lx(k8ztHX+-b6yBmYd6ZzAn$j}Rg=VH5KD^;$;#jT)bC8HxH;=i=A0 z@uFrWbb|05;6b4?@qDnUh>z!aH#Ek*%UMW0Ji~3vqHNaon2XTEZfUal#;rI}*U>3x z21$`u{S~}Th_W$E|sp2dE@b4x9GWa4czvlGK=2x3ef;nNgBIC03lFvLsd^8p(oIW+ds zDZO#$1ljwJC`USB1L-}$8GXC9TC}yz3(P@bx=$gi$n7be(ZRK_heK~%t)wR)ztsjc z1MVqUv&1WMyU(MDPL*zMA{o~1C6Z^7KV~qqkx!H8=-PF@$Bt_@DK6qnDNavVVW8iF zs-qP~8(B^_u%W-qD!t&Z=>0L}b8Pibz1{cGaoDB!Tl=0auWS07@w$Ul@bCinVQJEP zD#URvGsCu+*-42jarMb{qMuYi(w?W_7q!~cwOY3d(2`tPvNcZ^bj#N_AajdfE#D2< z{H~kzw7OI{i-bvx4CPnx^jv#WkM7b02LgL*4sLjxCO|j1A)080C~e}gsOD)?W_1_f zhmTcss3FL>kD`XD`NVxJqZUnoFt;9 zcn^IyvCsX)t0VtmIl!a-kLBe^4h3J6)CnR`qGG2t0HX?@D*vUP?psEhz$7)EJ}%;t zZa9rrC6_T|Emnk9Y~-yM^QV+Z*8<2+EI%}@I7SS8&lg@;+et<{LaS_>+Q=BSmFuZy zhGa}I&8{g=<-6SSCS{yGJ*qO%4&h^s8fSb1zv(s_QwDq@=SlrP*R}-EWLC8|(-Ix6 zmwPA7iZPK10-!=wG|HGE6>hEh?}gE8!wz~c;r+&M@0D3(-&)~azpKgPho4`CEy#2e zpVa6dF05WMuEsxOAi8SH4q#3U%Ep+pe}6BTD{I@dUIf?j3?ScYwp5r)iCL!fa*;dh z6%%>XD0H}gcnf$Tk*V-KjR_Vd(?c%WE-zyL+wkG=b~zme8;Ns z6g!&akEpUc{Y%HP52vqOU&h;2t+b+koQT#xdk69=w4so=uBg|gHI81d+sGVBos2U< z;_i!1#VH-^(hR%_NK=;nHuv$`+kN5eJ*u5x+1_6}Euv(y6U%M1S*e4AoiF&? z-_mt^|3}06BryKx`5%XRo44M0R;3ng=RWp~sWM>`I98~jA{*91(>_K08a5nfm-K>q z8{So9{|bX2vDKJ-SRq7u&XHuM<>Y%fC@2_g+|%Ip{;62wQ~1sJ@0gACl(@UsBCB{K;5JaZ1SW+b6W04}wvYIQCOD z2bvy)w-RHO@`XqLc;=6tFX8m7*_jJO=PS69na~e0zuCg9J4Xj@bIV@Z7ro; ze=pEnJ-{6p)$;zaO~3a^`ED%J>?Pqff2 z=&hUoHsxV~frc!3wA%uTL~_7h7{kJU`i)YTmSCc#R6o`Cv@C^$S^_tUg(P^S-$T zgm|m^bI3Q?ztR)CbunLT_|sx=qKcl2zl43pv~Xc^^rU{i@aB^aopKW5s6%o&EI}2Fc4m9z#+^(Jd=^>Yeg0YOAFs zx}{v{X1+YpSWOM$Dq65o(M;0az0wwAg0S{InSEkp#ZXlW(*X;c5Tmo2H5M5B({(ZIL!3jJL%qNFsI!5ZP>F9>2B_H>Sg*%4Lve& zm$R!D@nmJP-B`l~?{t-KR#(xz`lzPFhcNR`Du{M<{pRi-YxzYviTLl^f+Z^>n3%sV zGPtCOD;J49|46y`!0$moS)B4Ip}-<~`WWNW4LPm4K&Y4RMCli_ndErG)mbc8 z*U`OG?AUKK!*5L9J0q~P054ugiKu`}u}D$!dMEndC*QauzD^e$ z)$dn|e0PBVRAS{nR^I`16Z6kzj-SZ9<(N*s)@Z$Q?!sy(W%g#S99rMD1z$LLaYN|ujMbVo3Ap%L`nXLC#b?4z4kbxueZ}i-HwkSe zXZz#g5Ayw4U0D>(s%dup#(k;V3ThJmvjzXQH;zDH3h&wV=V@;|8faHmD)0asN%eJ*vp3aR1KnK}_NV zv~rnu|DwnB16O*mdU#IJ8{YW;2!58(U1KOM^j$b6MjKpxcVchb71Y%iV1E@q?SOP@%KHW1 zXHU+Yx_#mPB>d>I7bJU{g76;y0Ie_D^ZZz>zp&pa;gj>D?0SIipPefv3Jaq(mgJw} zryHHUO<~FQxB)H(2Yl8o{{V>1xZA<@1Da0Db81+5)pm)~Y8vboagxjl^v_!1bq!+Y zRJw09kCUDkJYushZ)U%ndpJJBj8uxr8UpOO$3E4Bsw?PwG%zZf*H&ml3{kG)%j?ZD z>shq3j}0&_{n1?3rLST9xQ<7yVX%_&UD6&a3F0~<)TNg5K5CCcrjx~TOvWo%xyB0< z)84s#PUO#UL2|)+p7nI9!ifwkg8fgmW85}pWA9wGCn;{vQidL#H}0YqH2W(_FRx*> zkF1T1`VQytrXF*O>bxmtv0F=i=uD1$xR1B-9DX2Drw(aY>72P^b80wawuvB!<~YXH zIO;urtz`Iu<87+No?Pef6|7s*xvhQkH(czG{D1n@-%)bH$mFKEr>R=rAeuOo{pqJ8 zpG8sqTB^vN)p#LW8#tJK)M*dZoc{noDk&4?&MU;K^*x#~_ez%V?s5Rh>x$U$uA}{d z;<&_seU9jPQfH>dBcH(5ex5+o5g33U%_G1`=aO6Ha?M=nQNlR2s=NUI8RDKS`(pU#wY{&bkB z6?ppAZ&9Q;ahi7EDLQg0HaG{GmV{TnpFbcYXyp6UI!ByrWVw_T7g83Cf72y6U(D`5 zjZ@X6oT|ZSyRPP896e%T@U7N}M-*0(9IQ&P$MhTnT{PopU%4}OX&Rahu$CO- z9(0(`w@>k}oVBZ?f8uRk^qh(BC2{`l>Sif~d!aZ9h5#*18vNJc5**j=;XoLdld)t zu6p~6$^QV}HNXD=EFnG2Yy7HFbJ-bJs8;iM>ez3_ov0t)TU-u=59v~0uJ%Lq6v@Gp zOGfU86q!lvQnk4L&hZVs&^TD;M?XySTeoTD-`y|wWnuc)GkOViZ&j|Y{{Rm(cM5p9 zhB-o%^CR}ax-4O8m~NT&yCHnPK{1@?8}N1xHTyVdJ3#1J54-DG1|IM9ixel z#8VIB{EbZ?iRDJfai4nQkTV}o#+(5h6I^Pvne|f3>2*hUAB-JwxFJ5~tf!3?e)J&y z8ocxao+@PrsU1Bk)me5q<(5!qq9=`Qhu(pJ{{VY6FZ?EUY&eQf%vYX93l4`A(p!EP zInQBF+CADb{>z|ux1J)3=G~S!*aE%Ct_tc?H15YFXV;}H*P;lS9oRNHVzFnwc}~>e zXRTpgzeCW#W$K;U*wT{jD{unkocbP>oq2U6IhLmv4L=hW3H?w&wZepK}C zYmQTF_9@VeN&Y~7W?#hAg5?u{3HBA54>f5(I5nDP?H4VJOK>D^Gr%5#v8Cch`qs^< z0rK4kHHyTRE$>cS4hvREXKeSEkz2+x(y(8k?rYGb*oYD(3mO2b2cWKd!WLx(#q%!& zc~PIQ-apE^3)_oLE)<_pn8h26#~O^uC;OwY_c;7(u7#r)DHzsna~qC+UKiCPzG&c+i>Ox&9Pv8zAbOm29qSxGvJ$K^3budml4})rMp5G> zWI`A);EJV7o;NvbK3Q1rd?eC%H{uD=<(Qp6QUW0Cc)|YwR>#~PKRWeEp=5Sf7-cvk z9V^6jZ9%+Ep)KU4S5niz)@|c_M2<(${{TAnUk>UAU+{*Tt8eorl0Pos{{Yie`A_G7 ze;VM&(RNZV3s%yz5#UqKI{Q>D3om@t<{vgY(@KM0L(ugSC~YA0#ZMZVn4mmjlN(J< z#*pAMPwn_q0j19rhhf>MrC<=8_N6V`wN<(ECMjtH0X*jlNa06w^c3Q*>?iK4v6?Ns z)9P~St;81lqJSUcko95gqj3Cdpwr-4t_-J<7f*9l(iOF}hRO_>;a!QItb3F0O={al zutul{IQfsM?_IEs+P6cNP1(1*IR5~PH)byb+{C91aXe5Cdt|Zw7Q8AkoB>{$@o!ZV zM`L8ChPskd^i>K!Qq|_R{I|KUdkC#f9!-CVm(@6@1;M8dl{%zW_RW2Jm9>oFK?mYO=v#Lz?8m7jnqwX*38s_HGdmd9oZU=++BLnLTfzSTT-Leii84ri zNj1>0!lIwyMIWU~E_))Z<9;ca{{TakJ*rphOdJ9zWTP7Cai|} z&|!!3th=-e`@crx>59Ll0Qzj{-5kh1n{oXrQ#6;tN=U4`_cGnAL#P2q)YgD}fKN{K zQo=v9>t17jtB9Ff=)FH&P{kgmwc4b29#nYS60Bn%?2I4RHCEz53_*`MI0M$DQM>OR zN#y?kI<0O}?@)PU=HA_R{Xjeq#L(F`>R9C;++#K9J_Wr?+p(w0a6F>wN$N*o_*b2l zEK44w=B??s^4MNSG)`5}?SW?s;N+3ky6sC>OR{o+ zpQUq~3b|mtPHUc2)LoJEbSu=HKX|nt^s$!ftc~0262kz_1m^LEe?L?6`g5v#M28;+Elg5H#d@8%w5|g znt;r)jy`5Rg+f~d(^t8#IqL3v@rp{wdv0^ON8EdRRBcbqAsMG(k<`(?I@BkvI8+Uy z*P23{dSa?a15G-@n9CewoB{7n-NiCSA|?RiBbqJ|(CBCJCAN`bx^|ly%`{7oJ%`Ax z-IRY9`DDq*VaLr7Cm)d`H!fJHbCYE8UTTNK&U zY1b!JuvRh`y@7T}y;?*a7<%9w8bynol1S}}=3$mwNz!;EXyjAFDaI?KwAJmkCnDe_ zrO5*g{1PAil>U{3;n?V5sUzT zoj~YH*7W1c8yt12^Gu~{FOhHyAKfr1ARW}#pnNUyHLr*DOU)Zqxe-`h;KL&~$sB{f zupssJ73cE9%|9YYkTLs%uX6kC;k1uT)T3*?D6j#EK4rM+@_LVI_Nxs>%U7^l?K0*&n^H&;Cu8VGW9)0j zuYyoLDmbR}XFrg6>qu*2^G;cFEI%uE9gSkjtrHcIO1Gh}Hgud>=~9}QndX;w6&X0~ z%`9=e?TD8+>T$sO)TCHak=R-zMx21!p-SD~=M zStV?@W$Y_hL72{J!)+ru6E|MK{{T9$^6ZV@`>IH%5rb8(c(s`47!|tHL}2yQ@UMt+ zvv`&$N#ZMU$D=zlAJB^DZH8n5w0vK4_OBM|5_S@8AAra7s=8ziaWO^UV=VoVM^-+- zSJ2RpED__^cavtVtPuz$zq=(YZOAS`!$^O)p6B$gZ&uZ%)oue7@~x913vu^iUqSs% zORef@dpvgb!Pd&y6op%>bIUim{W?}q9O9}@?3!@4th-}qZsyt!5OU4vD|jSuph(mN z9V(uXrYje05M+M7z*V<2(VXRWQkF8(ao)5L1dUO6z^eH9s(kTD6Cfs{mG;KR+MLF! z%K1_$f<-1=mhO)~Iqx5uH)8d=$S521ah@yMiI{nEFch;lmOq|;TB+F5cznYR5@a(`S^7u*!b z{6UKTwWk^K(l~*@LC^J|Z$uZj3kACseJP;vN+=}R()C#_M$+eF zae`}AwUUPfH|JcUoFjUHn$xwAPXK1>IN(=x97Bw3dDx5`XD(|UO@s>Ih5&(Ag_W}~ zJ8@L>ytaSBw6Mx>SM;w^D(Lx&(vqHxXt9Aw$f-qy1xHWBP;-uWsh1@O9jdI19OvAp zstav1OqS`FAPfQOO?e&6?QwG?jn#=Y+<5m?RJMmtR?8L=x6_rEBJduWgxns^luJk)^ICMJm6?@&8ZNyE^lvwMtvG3oftHM&p* zCtsM-0aH5U)Of{BjZ+nBLDHiX^{PT+u}oo4q#}k*&22jLTmfx4%)h}S9;5rFt}M$5lr`1>0>ZFtYmnYLn<^I6cuUkb}~o5jvg)Xh?-{NEmK}9t}r|qcqA- z84H|NuZ6r~f0N`&K+;~4zDpX6R+^`ohwtilI`umKZ zt$hU?&|KTcaceS9Zz$ayk(`Dewd2>L$uA?)qgR_oR{qMd<2KR$wK%tl6JkcFzKSp^ zPPA7&kPikxJanq+{{S$lvp|?XN~BF&YNsy_YDWW))-=r1nxj8j zLO|yric4{eh=1Q-=SWRD4sK%q0DONsV|y957)?&+&`kdT&YL9UqbNN_4JGl$p>yve ze>#%WWIyRLjoVM|ko0!{00B~K=3LlptrpA6+dRNYaNpfds-MXIG^5(0MSPc$ndD=a zW;rC(f`S3)6l14R&*Um+Q6$Ah&a~Av)bW23Y6nu*=bRj-?W^=0R$819OeZFk9AMXs<;?DW zl}?(c1qIMqP9*#VFdB5nBsaB24P`CO5g;`nH3&5DXiOR%D9#N|;E_6z z$}vrGflRk=oT>DwQy~yq*KpY2;z}Qi;8m65lScqKeaH^@x?K?rU+@K5<#ca zDHe;Cx|PME`Cx~LoRnewk80G0^4jEq8|-pEat#cko zYRb0MZY{oD-eP}s`Tqd*R<*U&z4GncBA2og!Tf5}lQEPeij0Sx{x#_z3w&ra`IEz1 zl!~@9Gc~NNKh?-_^5^@f`PTs?WlkAzeZ@f}X8?o9Y<2Sh<_1 zk~7zv{8`kR4I&#wI5!+0pf%_cNsQNxd|JE`>vmS*f%2`x9Cj>8t+1Z;RAq?wX`X#E z@FN`uC+kdA=75=O)WJX%?O5{L7zId!nr=C%U|rGy+L}UazMm>6^c2@_X>;DAb5zWQ zR{7WKS2(QTeqr^i*`yK%HBw){R$HZ2o9|E&9|u!cK?GGeIvTN@QU*D_x>QZYJerN@ zV1(UHw?FBS0o|$sd8sXqFD=ib{{Tuzb~CO>lTetRo5}wGKb1Z4xA2*os}xU?`5=<^iRBtNqd5t)WO)Y)Gr>am_O(>@jTQ zDjxB~QJ>&b$*D!c!kaBnM!h$G5vZ865?P5prkmc7uW?5%4|>{yd1HlC0gA?ijpH?{ zzjRiSlUo^7ihG`mqWFs6OSBNpykpQ-vUtM9xe_q?it}#~&d|W6Pb_gXd5M-Av}Ky7%#4u-SXaaL?)$Y@VqqMCY&OG}M)A;>hCsb^9c z5m5>OY#{=WFEsi}0Gd7pOjR6VhH41UYLp&oks6idv?DDU$n@`3NXBzofrvS%X17^B zVTEt!NuuK}g$hhl-ZqTkhAA;pUC_)@XB{czQ*l8_nikr-qKK{#O%Umx3jGaVSuF0j zf_*=~u8`TeC$xEFL)&&L8+K7qPn(cwz`RfB$2i-NAj$36k}NqoTW{l zPQF#JX@%>Q@HdTO@m-Lyx^23>x((!z1;GCDk6xJ-(l%6(Yv=1zl_^=C)e4cQv=(4w z0yX>2cJp65_@7e#*6|(n&?LrXWsLs-vN#{5dq<45c{EQ7-d{v^%)`imvw|JFkDvy; z335TrdRc8P9NEE*sGPY_pa3b<+FaMDa0`mHZlDa+RUb87L4*_vL&@TzdXV&}o`O*x zd8_Jjpy#z`p0#cU%ww7YOF~0cX8ZMM)p>`_NwFdDeZf;2f-kx%Y|sr6iAM4X_NNn7 zXUg0+q2yGN$+>#;q*aGC5goI}-G?-UijA9UvGz2^jP*HU$GNHFZLSSKG5Ax|^0@1o zgGaHr$`s&q6w^+S@_!19oYfrY38v(EKYRLDE;ev$tMPCP3|Rj0u0u81jDNg1a_wj%O4>^`=3ofNPWh}$ z&ywxA;GQbcITcp(_nTOC0|vRLQtM;BlzC-wpyW_$DBt*MUezi`LqkcUG#W}95T}t$ zJt@GDXm$B_4u-O527^uwQFEFzK}iy@$6rchQh8G&{{VF6pPljNy3`LqSk|}zVxq61Uc-#dEVPie@{C)N5ED?(R>eK_;Ij2|}(Z*tH~5 zr2`z&vXx?_V2;$>^GKpwdx>o>W4MAwj#$_-x||SwtKYmI;`n@Dr4KdZOtnHP48l8qu>Z6O2!9E!U-d65z6$gJ{lNtGR}TJu31R5MAGKT3=>GDgV7E0&^1nwHso z+k{_y)LE;VVvX`hdk#LPkma$U?~-aWCMg*4P_}89*wKP?WCI{KN}91Z6*(MKvEE3Z z#7#88!J4ht-j@ce!FaN8!v?fb5UxoAp5#3@F8IAzMHYX(T#!a5rFMQQK4K_5klpK= zMO7f;y$n?~DwjO$zI?cJKEq0y`SvKseAO*p$?PtKGJ0+v;)wF5YVzwBZ_h9W*Lbm3uvmmWOc49(#&tat_zxow%bnkQxL!jM8R~Dcl7Hm%mzWX=u0$MIfc1Lxnr(QRa-(xQTci|a~^6r4rw-8L`2gV z(}}3bsWd@~*0zt!wNd;{^BT*AJjqpkO>A^09XeA)O^qO$O@Q^M3UC7y%*c(hw{uZF zs}4}^_N$ns0*eosnZaFH5~OolvD`ACAI_u4tyxuFywPDv+~4saDd{*Qr}so-PsorHhVx>d-O82PG5nKG^qp{C&Hp{vD5JX3a$N_HaUKo6m(0DTQx00GjB4@yCDt`DUf zPo-SiGt!r6&q{U`%6LAMVCSV>3Oy-8jAs;BIf__5hL;CD4P6QkYH(5MO(5ndZ9bH3 zK9zrB5g&1rxhNZ4k?nPXB9cY z6q{HMhO{S803dTw#&gsPn-$Dd+I=X)dR6_S(vYa*iYy%Feh;M~2hy}kFQo++9Vys3 z%*~|sGz31Cqp^76fQoUz=8F%Qq@em!@O>)cqT{7FB9qdSLUOT72hyULw!*m0Y8ccG z1w`nlwFwDG$J%`<3ZFw-I~UTFC>^LToXTZ5=zl7Rsq{aUYq%KbDgujj1Kj2RAZ$G&T=XRK9v2Z(yU-)(|{XuimMZHz7M4sK9yjBgT*v-rYn$+ WdR3%g7pSPn0k8*b(+^rq5C7REmQ&gQ literal 0 HcmV?d00001 diff --git a/Instructions/day 1_files/analytics.js.download b/Instructions/day 1_files/analytics.js.download new file mode 100644 index 0000000..df06f2a --- /dev/null +++ b/Instructions/day 1_files/analytics.js.download @@ -0,0 +1,105 @@ +(function(){var aa=function(a){var b=0;return function(){return b>4);g!==64&&(c+=String.fromCharCode(f<<4&240|g>>2),h!==64&&(c+=String.fromCharCode(g<<6&192|h)))}};var x={};function y(a){x.TAGGING=x.TAGGING||[];x.TAGGING[a]=!0};function da(a,b){if(a&&Array.isArray(a))for(var c=0;c=0&&(a[a.length-1]="");a=a.join("/");break;case "query":a=a.search.replace("?","");break;case "extension":a=a.pathname.split(".");a=a.length>1?a[a.length-1]:"";a=a.split("/")[0];break;case "fragment":a=a.hash.replace("#","");break;default:a=a&&a.href}return a}function L(a){return a?a.replace(":","").toLowerCase():""}var N={},O=0; +function P(a){var b=N[a];if(!b){b=E.createElement("a");a&&(b.href=a);var c=b.pathname;c[0]!=="/"&&(a||y(1),c="/"+c);var d=b.hostname.replace(J,"");b={href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port};O<5&&(N[a]=b,O++)}return b};var Q;function R(){function a(g){c(g.target||g.srcElement||{})}function b(g){d(g.target||g.srcElement||{})}var c=ha,d=ia,e=S();if(!e.init){E.addEventListener&&E.addEventListener("mousedown",a,!1);E.addEventListener&&E.addEventListener("keyup",a,!1);E.addEventListener&&E.addEventListener("submit",b,!1);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){d(this);f.call(this)};e.init=!0}} +function T(a,b,c,d,e){a={callback:a,domains:b,fragment:c===2,placement:c,forms:d,sameHost:e};S().decorators.push(a)} +function U(a,b,c){for(var d=S().decorators,e={},f=0;f=0||l&&h[k].indexOf(m)>=0){h=!0;break a}h=!1}h&&(h=g.placement,h===void 0&&(h=g.fragment?2:1),h===b&&z(e,g.callback()))}return e}function S(){var a=G(),b=a.gl;b&&b.decorators||(b={decorators:[]},a.gl=b);return b};var V=[];function W(a){return V[a]===void 0?!1:V[a]};var ja=/(.*?)\*(.*?)\*(.*)/,ka=/([^?#]+)(\?[^#]*)?(#.*)?/;function X(a){if(a=ka.exec(a))return{g:a[1],query:a[2],fragment:a[3]}}function Y(a){return new RegExp("(.*?)(^|&)"+a+"=([^&]*)&?(.*)")} +function Z(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(d!==void 0&&d===d&&d!==null&&d.toString()!=="[object Object]"){b.push(c);var e=b,f=e.push;d=String(d);t=t||u();w=w||r();for(var g=[],h=0;h>2;k=(k&3)<<4|n>>4;n=(n&15)<<2|v>>6;v&=63;l||(v=64,m||(n=64));g.push(t[ta],t[k],t[n],t[v])}f.call(e,g.join(""))}}a=b.join("*");return["1",la(a),a].join("*")} +function la(a,b){a=[F.userAgent,(new Date).getTimezoneOffset(),F.userLanguage||F.language,Math.floor((new Date(Date.now())).getTime()/60/1E3)-(b===void 0?0:b),a].join("*");if(!(b=Q)){b=Array(256);for(var c=0;c<256;c++){for(var d=c,e=0;e<8;e++)d=d&1?d>>>1^3988292384:d>>>1;b[c]=d}}Q=b;b=4294967295;for(c=0;c>>8^Q[(b^a.charCodeAt(c))&255];return((b^-1)>>>0).toString(36)} +function ma(a){return function(b){var c=P(C.location.href),d=c.search.replace("?","");var e={};for(var f=p(d.split("&")),g=f.next();!g.done;g=f.next()){var h=p(g.value.split("="));g=h.next().value;for(var m,l=[];!(m=h.next()).done;)l.push(m.value);h=l;g=decodeURIComponent(g.replace(/\+/g," "));g==="_gl"&&(h=h.join("="),e[g]||(e[g]=[]),e[g].push(h))}var k;e=(k=e._gl)==null?void 0:k[0];b.query=na(e||"")||{};k=K(c,"fragment");e=-1;k.length>=4&&k.substring(0,4)==="_gl="?e=4:(f=k.indexOf("&_gl="),f>0&& +(e=f+3+2));e<0?e=void 0:(f=k.indexOf("&",e),e=f<0?k.substring(e):k.substring(e,f));b.fragment=na(e||"")||{};a&&oa(c,d,k)}}function pa(a,b){if(a=Y(a).exec(b)){var c=a[2],d=a[4];b=a[1];d&&(b=b+c+d)}return b}function oa(a,b,c){function d(f,g){f=pa("_gl",f);f.length&&(f=g+f);return f}if(D&&D.replaceState){var e=Y("_gl");if(e.test(b)||e.test(c))a=K(a,"path"),b=d(b,"?"),c=d(c,"#"),D.replaceState({},"",""+a+b+c)}} +var na=function(a){try{a:{if(a){b:{for(var b=0;b<3;++b){var c=ja.exec(a);if(c){var d=c;break b}c:{try{var e=decodeURIComponent(a);break c}catch(v){}e=void 0}a=e||""}d=void 0}if(d&&d[1]==="1"){var f=d[3];b:{var g=d[2];for(d=0;d<3;++d)if(g===la(f,d)){var h=!0;break b}h=!1}if(h){var m=f;break a}y(7)}}m=void 0}f=m;if(f!==void 0){m={};var l=f?f.split("*"):[];for(f=0;f+10;){if(a.href&&a.nodeName.match(/^a(?:rea)?$/i)){var c=a;break a}a=a.parentNode;b--}c=null}if(c){var d=c.protocol;d!=="http:"&&d!=="https:"||ra(c,c.hostname)}}catch(e){}}function ia(a){try{var b=a.getAttribute("action");if(b){var c=K(P(b),"host");ra(a,c)}}catch(d){}};q("google_tag_data.glBridge.auto",function(a,b,c,d){R();c=c==="fragment"?2:1;d=!!d;T(a,b,c,d,!1);c===2&&y(23);d&&y(24)});q("google_tag_data.glBridge.passthrough",function(a,b,c){R();T(a,[M(C.location,"host",!0)],b,!!c,!0)});q("google_tag_data.glBridge.decorate",function(a,b,c){a=Z(a);va("_gl",a,b,!!c)});q("google_tag_data.glBridge.generate",Z); +q("google_tag_data.glBridge.get",function(a,b){var c=ma(!!b);b=S();b.data||(b.data={query:{},fragment:{}},c(b.data));c={};if(b=b.data)z(c,b.query),a&&z(c,b.fragment);return c});q("google_tag_data.tcBridge.registerUa",function(a,b){a=a+"_"+b;var c=H(),d=c.destination[a];d?(d.state=2,d.containers=[],d.destinations=[b]):c.destination[a]={state:2,containers:[],destinations:[b]}}); +q("google_tag_data.tcBridge.setSideload",function(a,b,c){var d={source:5,fromContainerExecution:!0};a={ctid:a+"_"+c,isDestination:!0};c=H().container[b];c&&c.state!==3||(H().container[b]={state:1,context:d,parent:a},ea({ctid:b,isDestination:!1}))});q("google_tag_data.tcBridge.isContainerLoaded",function(a){return!!H().container[a]});})(window); +(function(){function La(a){var b=1,c;if(a)for(b=0,c=a.length-1;c>=0;c--){var d=a.charCodeAt(c);b=(b<<6&268435455)+d+(d<<14);d=b&266338304;b=d!=0?b^d>>21:b}return b};var $c=function(a){this.C=a||[]};$c.prototype.set=function(a){this.C[a]=!0};$c.prototype.get=function(a){return this.C[a]};$c.prototype.encode=function(){for(var a=[],b=0;b-1;var ha;if(ha=Y){var wa=window.GoogleAnalyticsObject;ha=wa?wa.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""):""}var gb=ha||"ga",jd=/^(?:utma\.)?\d+\.\d+$/,kd=/^amp-[\w.-]{22,64}$/,Ba=!1;var vd=new $c;function J(a){vd.set(a)}var Td=function(a){a=Dd(a);return vd.union(new $c(a)).encode()},Dd=function(a){a=a.get(Gd);ka(a)||(a=[]);return a};var ea=function(a){return typeof a=="function"},ka=function(a){return Object.prototype.toString.call(Object(a))=="[object Array]"},qa=function(a){var b;if(b=a!=void 0)b=(a.constructor+"").indexOf("String")>-1;return b},D=function(a,b){return a.indexOf(b)==0},sa=function(a){return a?a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""):""},ra=function(){for(var a=O.navigator.userAgent+(M.cookie?M.cookie:"")+(M.referrer?M.referrer:""),b=a.length,c=O.history.length;c>0;)a+=c--^b++;return[hd()^La(a)&2147483647,Math.round((new Date).getTime()/ +1E3)].join(".")},ta=function(a){var b=M.createElement("img");b.width=1;b.height=1;b.src=a;return b},ua=function(){},K=function(a){if(encodeURIComponent instanceof Function)return encodeURIComponent(a);J(28);return a},L=function(a,b,c){var d=M;try{d.addEventListener?d.addEventListener(a,b,!!c):d.attachEvent&&d.attachEvent("on"+a,b)}catch(e){J(27)}},f=/^[\w\-:/.?=&%!\[\]]+$/,Nd=/^[\w+/_-]+[=]{0,2}$/,ff=null,Id=function(a,b,c,d,e){if(!ff){ff={createScriptURL:function(ca){return ca},createHTML:function(ca){return ca}}; +try{ff=window.trustedTypes.createPolicy("google-analytics",ff)}catch(ca){}}if(a){var g=M.querySelector&&M.querySelector("script[nonce]")||null;g=g?g.nonce||g.getAttribute&&g.getAttribute("nonce")||"":"";c?(e=d="",b&&f.test(b)&&(d=' id="'+b+'"'),g&&Nd.test(g)&&(e=' nonce="'+g+'"'),f.test(a)&&M.write(ff.createHTML("\x3c/script>'))):(c=M.createElement("script"),c.type="text/javascript",c.async=!0,c.src=ff.createScriptURL(a),d&&(c.onload=d),e&&(c.onerror=e),b&&(c.id=b),g&&c.setAttribute("nonce", +g),a=M.getElementsByTagName("script")[0],a.parentNode.insertBefore(c,a))}},be=function(a,b){return E(M.location[b?"href":"search"],a)},E=function(a,b){return(a=a.match("(?:&|#|\\?)"+K(b).replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")+"=([^&#]*)"))&&a.length==2?a[1]:""},xa=function(){var a=""+M.location.hostname;return a.indexOf("www.")==0?a.substring(4):a},de=function(a,b){var c=a.indexOf(b);if(c==5||c==6)if(a=a.charAt(c+b.length),a=="/"||a=="?"||a==""||a==":")return!0;return!1},of=function(a,b){var c= +M.referrer;if(/^(https?|android-app):\/\//i.test(c)){if(a)return c;a="//"+M.location.hostname;if(!de(c,a))return b&&(b=a.replace(/\./g,"-")+".cdn.ampproject.org",de(c,b))?void 0:c}},za=function(a,b){if(b.length==1&&b[0]!=null&&typeof b[0]==="object")return b[0];for(var c={},d=Math.min(a.length+1,b.length),e=0;e1200&&(b=b.substring(0,1200));c=a+"="+b+"; path="+c+"; ";g&&(c+="expires="+(new Date((new Date).getTime()+g)).toGMTString()+"; ");d&&d!=="none"&&(c+="domain="+d+";");ca&&(c+=ca+";");d=M.cookie;M.cookie=c;if(!(d=d!=M.cookie))a:{a= +Ca(a);for(d=0;d3&&(ca.labels=g.slice(3));d[b[e].ja].push(ca)}}return d};var Fa,Ga,fb,Ab,ja=/^https?:\/\/[^/]*cdn\.ampproject\.org\//,Ue=/^(?:www\.|m\.|amp\.)+/,Ub=[],da=function(a){if(ye(a[Kd])){if(Ab===void 0){var b;if(b=(b=De.get())&&b._ga||void 0)Ab=b,J(81)}if(Ab!==void 0)return a[Q]||(a[Q]=Ab),!1}if(a[Kd]){J(67);if(a[ac]&&a[ac]!="cookie")return!1;if(Ab!==void 0)a[Q]||(a[Q]=Ab);else{a:{b=String(a[W]||xa());var c=String(a[Yb]||"/"),d=Ca(String(a[U]||"_ga"));b=na(d,b,c);if(!b||jd.test(b))b=!0;else if(b=Ca("AMP_TOKEN"),b.length==0)b=!0;else{if(b.length==1&&(b=decodeURIComponent(b[0]), +b=="$RETRIEVING"||b=="$OPT_OUT"||b=="$ERROR"||b=="$NOT_FOUND")){b=!0;break a}b=!1}}if(b&&tc(ic,String(a[Na])))return!0}}return!1},ic=function(){Z.D([ua])},tc=function(a,b){var c=Ca("AMP_TOKEN");if(c.length>1)return J(55),!1;c=decodeURIComponent(c[0]||"");if(c=="$OPT_OUT"||c=="$ERROR"||G(b))return J(62),!1;if(!ja.test(M.referrer)&&c=="$NOT_FOUND")return J(68),!1;if(Ab!==void 0)return J(56),va(function(){a(Ab)},0),!0;if(Fa)return Ub.push(a),!0;if(c=="$RETRIEVING")return J(57),va(function(){tc(a,b)}, +1E4),!0;Fa=!0;c&&c[0]!="$"||(xc("$RETRIEVING",3E4),setTimeout(Mc,3E4),c="");return Pc(c,b)?(Ub.push(a),!0):!1},Pc=function(a,b,c){if(!window.JSON)return J(58),!1;var d=O.XMLHttpRequest;if(!d)return J(59),!1;var e=new d;if(!("withCredentials"in e))return J(60),!1;e.open("POST",(c||"https://ampcid.google.com/v1/publisher:getClientId")+"?key=AIzaSyA65lEHUEizIsNtlbNo-l2K18dT680nsaM",!0);e.withCredentials=!0;e.setRequestHeader("Content-Type","text/plain");e.onload=function(){Fa=!1;if(e.readyState==4){try{e.status!= +200&&(J(61),Qc("","$ERROR",3E4));var g=JSON.parse(e.responseText);g.optOut?(J(63),Qc("","$OPT_OUT",31536E6)):g.clientId?Qc(g.clientId,g.securityToken,31536E6):!c&&g.alternateUrl?(Ga&&clearTimeout(Ga),Fa=!0,Pc(a,b,g.alternateUrl)):(J(64),Qc("","$NOT_FOUND",36E5))}catch(ca){J(65),Qc("","$ERROR",3E4)}e=null}};d={originScope:"AMP_ECID_GOOGLE"};a&&(d.securityToken=a);e.send(JSON.stringify(d));Ga=va(function(){J(66);Qc("","$ERROR",3E4)},1E4);return!0},Mc=function(){Fa=!1},xc=function(a,b){if(fb===void 0){fb= +"";for(var c=id(),d=0;d3)c();else{var d=b.charAt(0);if(d==="1")oc(a,b.substring(1),c);else if(a.V&&d==="2"){var e=b.substring(1).split(","),g=0;b=function(){++g===e.length&&c()};for(d=0;d=R(a,Ka)*100)throw"abort";}function Ma(a){if(G(P(a,Na)))throw"abort";}function Oa(){var a=M.location.protocol;if(a!="http:"&&a!="https:")throw"abort";} +function pf(a){var b=!1,c=!1;if(vd.get(89)){c=!0;var d=a.get(kb),e=M.location;if(e){var g=e.pathname||"";g.charAt(0)!="/"&&(g="/"+g);e=e.protocol+"//"+e.hostname+g+e.search;d&&d.indexOf(e)===0||(b=!0)}}!c&&vd.get(90)&&(c=!0,d=a.get(lb),e=of(!!a.get(ec),!!a.get(Kd)),d!==e&&(b=!0));!c&&vd.get(91)&&(c=!0,a.get(qf)!==M.title&&(b=!0));return c&&!b} +function Pa(a){try{O.navigator.sendBeacon?J(42):O.XMLHttpRequest&&"withCredentials"in new O.XMLHttpRequest&&J(40)}catch(c){}a.set(ld,Td(a),!0);a.set(Ac,R(a,Ac)+1);var b=[];ue.map(function(c,d){d.F&&(c=a.get(c),c!=void 0&&c!=d.defaultValue&&(typeof c=="boolean"&&(c*=1),b.push(d.F+"="+K(""+c))))});a.get(xe)===!1&&b.push("npa=1");b.push("z="+Bd());pf(a)&&J(109);a.set(Ra,b.join("&"),!0)} +function Sa(a){var b=P(a,fa);!b&&a.get(Vd)&&(b="beacon");var c=P(a,gd),d=P(a,oe),e=c||(d||bd(!1)+"")+"/collect",g=!(!c&&!d),ca=a.Z(Ia),l=P(a,Ra),k=P(a,Na);switch(P(a,ad)){case "d":if(!g&&!P(a,Od)){ca&&ca();break}e=c||(d||bd(!1)+"")+"/j/collect";b=a.get(qe)||void 0;pe(e,l,b,ca);break;default:g?b?(ca=ca||ua,b=="image"?wc(e,l,ca):b=="xhr"&&wd(e,l,ca)||b=="beacon"&&x(e,l,ca)||ba(e,l,ca)):ba(e,l,ca):ca&&ca()}l=h(k);ca=l.hitcount;l.hitcount=ca?ca+1:1;l.first_hit||(l.first_hit=(new Date).getTime());delete h(k).pending_experiments; +a.set(Ia,ua,!0);if(rf(a))if(l=P(a,Na),k=sf[l])for(l=0;l0&&(b=b.concat(c.split(",")));c=[];for(var d=0;db-9E5};var hd=function(){return Math.round(Math.random()*2147483647)},Bd=function(){try{var a=new Uint32Array(1);O.crypto.getRandomValues(a);return a[0]&2147483647}catch(b){return hd()}};function Ta(a){var b=R(a,Ua);b>=500&&J(15);var c=P(a,Va);if(c!="transaction"&&c!="item"){c=R(a,Wa);var d=(new Date).getTime(),e=R(a,Xa);e==0&&a.set(Xa,d);e=Math.round((d-e)*2/1E3);e>0&&(c=Math.min(c+e,20),a.set(Xa,d));if(c<=0)throw"abort";a.set(Wa,--c)}a.set(Ua,++b)};var Ya=function(){this.data=new ee};Ya.prototype.get=function(a){var b=$a(a),c=this.data.get(a);b&&c==void 0&&(c=ea(b.defaultValue)?b.defaultValue():b.defaultValue);return b&&b.Z?b.Z(this,a,c):c};var P=function(a,b){a=a.get(b);return a==void 0?"":""+a},R=function(a,b){a=a.get(b);return a==void 0||a===""?0:Number(a)};Ya.prototype.Z=function(a){return(a=this.get(a))&&ea(a)?a:ua}; +Ya.prototype.set=function(a,b,c){if(a)if(typeof a==="object")for(var d in a)a.hasOwnProperty(d)&&ab(this,d,a[d],c);else ab(this,a,b,c)}; +var ab=function(a,b,c,d){if(c==void 0)switch(b){case Na:case Va:case hb:}else switch(b){case Va:case Ra:case pb:case kb:case lb:case mb:case sb:case nb:case qf:case qb:case rb:case Q:case tb:case Eb:case Fb:case Gb:case Hb:case Ib:case ub:case xb:case yb:case Bb:case Cb:case Db:case Mb:case Nb:case Ob:case Jb:case Kb:case Lb:case fc:case Ec:case U:case W:case Yb:case $b:case ac:case Fc:break;case jb:case Fd:case Pb:case Zb:case Ka:case dc:break;case zb:break;case ge:case Oe:case "forceSSL":case bc:case cc:case ec:break; +case Ia:case Qb:case Rb:case Sb:case Tb:case Vb:case Wb:case Xb:break;case V:break;case Na:wb.test(c);break;case Ve:break;case We:}var e=$a(b);e&&e.o?e.o(a,b,c,d):a.data.set(b,c,d)},gf={hitPayload:88,location:89,referrer:90,title:91,buildHitTask:93,sendHitTask:94,displayFeaturesTask:95,customTask:97,cookieName:98,cookieDomain:99,cookiePath:100,cookieExpires:101,cookieUpdate:102,cookieFlags:103,storage:104,_x_19:105,transportUrl:106,allowAdFeatures:107,sampleRate:108}; +function hf(a,b){var c=gf[a];c&&J(c);a==="displayFeaturesTask"&&b==void 0&&J(96);/.*Task$/.test(a)&&J(92)}function mf(a,b){if(a)if(typeof a==="object")for(var c in a)a.hasOwnProperty(c)&&hf(c,b);else hf(a,b)};var ue=new ee,ve=[],bb=function(a,b,c,d,e){this.name=a;this.F=b;this.Z=d;this.o=e;this.defaultValue=c};function $a(a){var b=ue.get(a);if(!b)for(var c=0;c0?a[0]:void 0},Fe=function(a){var b;if(b=P(a,oe)&&a.get(Ze))b=De.get(a.get(cc)),b=!(b&&b._fplc);b&&!Ed(a)&&a.set(Ae,"0")};var hc=!1,mc=function(a){if(P(a,ac)=="cookie"){if(a.get(Hd)||P(a,xd)!=P(a,Q)){var b=1E3*R(a,Zb);ma(a,Q,U,b);a.data.set(xd,P(a,Q))}(a.get(Hd)||uc(a)!=P(a,I))&&ma(a,I,la,864E5);if(a.get(je)){if(b=P(a,ce)){var c=Math.min(R(a,he),R(a,Zb)*1E3);c=c===0?0:Math.min(c,R(a,fe)*1E3+c-(new Date).getTime());a.data.set(he,c);var d={},e=P(a,fe),g=P(a,ie),ca=kc(P(a,Yb)),l=lc(P(a,W)),k=P(a,Na),w=P(a,Be);g&&g!="aw.ds"?d&&(d.ua=!0):(b=["1",e,Cc(b)].join("."),c>=0&&(d&&(d.ta=!0),zc("_gac_"+Cc(k),b,ca,l,k,c,w)));le(d)}}else J(75); +a.get(je)&&(b=P(a,Se))&&(c=Math.min(R(a,bf),R(a,Zb)*1E3),c=c===0?0:Math.min(c,R(a,Te)*1E3+c-(new Date).getTime()),a.data.set(bf,c),d={},w=P(a,Te),ca=kc(P(a,Yb)),l=lc(P(a,W)),k=P(a,Na),a=P(a,Be),b=["1",w,Cc(b)].join("."),c>=0&&(d&&(d.ta=!0),zc("_gac_gb_"+Cc(k),b,ca,l,k,c,a)),ef(d))}},ma=function(a,b,c,d){var e=nd(a,b);if(e){c=P(a,c);var g=kc(P(a,Yb)),ca=lc(P(a,W)),l=P(a,Be),k=P(a,Na);if(ca!="auto")zc(c,e,g,ca,k,d,l)&&(hc=!0);else{J(32);for(var w=id(),Ce=0;Ce1&&(c+="-"+a);return b?["GA1",c,b].join("."): +""},Xd=function(a,b){return na(b,P(a,W),P(a,Yb))},na=function(a,b,c){if(!a||a.length<1)J(12);else{for(var d=[],e=0;e1?(g=ca.shift().split("-"),g.length==1&&(g[1]="1"),g[0]*=1,g[1]*=1,ca={H:g,l:ca.join(".")}):ca=kd.test(g)?{H:[0,0],l:g}:void 0;ca&&d.push(ca)}if(d.length==1)return J(13),d[0].l;if(d.length==0)J(12);else{J(14);d=Gc(d,lc(b).split(".").length,0);if(d.length==1)return d[0].l;d=Gc(d,jc(c),1);d.length> +1&&J(41);return d[0]&&d[0].l}}},Gc=function(a,b,c){for(var d=[],e=[],g,ca=0;ca0?d:e},lc=function(a){return a.indexOf(".")==0?a.substr(1):a},id=function(){var a=[],b=xa().split(".");if(b.length==4){var c=b[b.length-1];if(parseInt(c,10)==c)return["none"]}for(c=b.length-2;c>=0;c--)a.push(b.slice(c).join("."));b=M.location.hostname;eb.test(b)||vc.test(b)||a.push("none");return a}, +kc=function(a){if(!a)return"/";a.length>1&&a.lastIndexOf("/")==a.length-1&&(a=a.substr(0,a.length-1));a.indexOf("/")!=0&&(a="/"+a);return a},jc=function(a){a=kc(a);return a=="/"?1:a.split("/").length},le=function(a){a.ta&&J(77);a.na&&J(74);a.pa&&J(73);a.ua&&J(69)},ef=function(a){a.ta&&J(85);a.na&&J(86);a.pa&&J(87)};function Xc(a,b,c){b=="none"&&(b="");var d=[],e=Ca(a);a=a=="__utma"?6:2;for(var g=0;g=a&&d.push({hash:ca[0],R:e[g],O:ca})}if(d.length!=0)return d.length==1?d[0]:Zc(b,d)||Zc(c,d)||Zc(null,d)||d[0]}function Zc(a,b){if(a==null)var c=a=1;else c=La(a),a=La(D(a,".")?a.substring(1):"."+a);for(var d=0;d=3&&(b=d[1]+(d[3]?d[2]+d[3]:""));(d=od.exec(b))&&d.length>=3&&(b=d[1]+(d[3]?d[2]+d[3]:""));a=a.target.get("linkerParam");d=b.indexOf("?");var e=b.indexOf("#");b=c?b+((e==-1?"#":"&")+a):e==-1?b+((d===-1?"?":"&")+a):b.substring(0,e)+(d===-1||d>e?"?":"&")+a+b.substring(e);b=b.replace(/&+_ga=/,"&_ga=");return b=b.replace(RegExp("&+_gac="),"&_gac=")},rd=function(a,b){if(b&&b.action)if(b.method.toLowerCase()=="get"){a=a.target.get("linkerParam").split("&"); +for(var c=0;c0;){if(ca.href&&ca.nodeName.match(/^a(?:rea)?$/i)){var l=ca;break a}ca=ca.parentNode;g--}l={}}(l.protocol=="http:"||l.protocol=="https:")&&sd(a,l.hostname||"")&&l.href&&(l.href=qd(e,l.href,b))}catch(k){J(26)}}var e=this;this.target.get(Ze)?De.auto(function(){return $e(e.target)},a,b?"fragment":"",c):(this.T||(this.T=!0,L("mousedown",d,!1),L("keyup",d,!1)),c&&L("submit",function(g){g=g||O.event; +if((g=g.target||g.srcElement)&&g.action){var ca=g.action.match(Jc);ca&&sd(a,ca[1])&&rd(e,g)}}))};Dc.prototype.$=function(a){if(a){var b=this,c=b.target.get(F);c!==void 0&&De.passthrough(function(){if(c("analytics_storage"))return{};var d={};return d._ga=b.target.get(Q),d._up="1",d},1,!0)}};function sd(a,b){if(b==M.location.hostname)return!1;for(var c=0;c=0)return!0;return!1} +function ke(a,b){return b!=Ic(a,0)&&b!=Ic(a,-1)&&b!=Ic(a,-2)&&b!=pa(a,0)&&b!=pa(a,-1)&&b!=pa(a,-2)}function $e(a){var b=af(a),c={};c._ga=a.get(Q);c._gid=a.get(I)||void 0;c._gac=b?[b.qa,b.timestamp].join("."):void 0;b=a.get(Ae);a=Ed(a);return c._fplc=b&&b!=="0"?b:a,c}function af(a){function b(e){return e==void 0||e===""?0:Number(e)}var c=a.get(ce);if(c&&a.get(je)){var d=b(a.get(fe));if(d*1E3+b(a.get(he))<=(new Date).getTime())J(76);else return{timestamp:d,qa:c}}};var p=/^(GTM|OPT)-[A-Z0-9]+$/,q=/;_gaexp=[^;]*/g,r=/;((__utma=)|([^;=]+=GAX?\d+\.))[^;]*/g,Aa=/^https?:\/\/[\w\-.]+\.google.com(:\d+)?\/optimize\/opt-launch\.html\?.*$/,nf=0,wf={},t=function(a){function b(d,e){e&&(c+="&"+d+"="+K(e))}var c=Ge(a.type)+K(a.id);a.B!="dataLayer"&&b("l",a.B);b("cx",a.context);b("t",a.target);b("cid",a.clientId);b("cidt",a.ka);b("gac",a.la);b("aip",a.ia);a.sa&&b("_slc","1");a.sync&&b("m","sync");b("cycle",a.G);a.qa&&b("gclid",a.qa);Aa.test(M.referrer)&&b("cb",String(hd())); +return c},He=function(a,b){var c=(new Date).getTime();O[a.B]=O[a.B]||[];wf[a.B]||(wf[a.B]=!0,c={"gtm.start":c},a.sync||(c.event="gtm.js"),O[a.B].push(c));a.type===2&&function(d,e,g){O[a.B].push(arguments)}("config",a.id,b)},Ke=function(a,b,c,d){c=c||{};var e=O.google_tag_data.tcBridge;if(p.test(b))var g=1;else{var ca=b.split("-");ca.length>1&&ca[0]!=="GTM"&&ca[0]!=="UA"&&(g=2)}if(g){ca={id:b,type:g,B:c.dataLayer||"dataLayer",G:!1};var l=void 0;a.get(">m")==b&&(ca.G=!0);switch(g){case 1:ca.ia=!!a.get("anonymizeIp"); +ca.sync=d;b=String(a.get("name"));b!="t0"&&(ca.target=b);G(String(a.get("trackingId")))||(ca.clientId=String(a.get(Q)),ca.ka=Number(a.get(n)),b=c.palindrome?r:q,b=(b=M.cookie.replace(/^|(; +)/g,";").match(b))?b.sort().join("").substring(1):void 0,ca.la=b,ca.qa=E(P(a,kb),"gclid"));break;case 2:if(e.isContainerLoaded(b)||nf>=20)return;nf++;ca.context="c";l={};l=(l.is_legacy_loaded=!0,l);ca.sa=!0;e.registerUa(a.get("name"),a.get("trackingId"));e.setSideload(a.get("name"),b,a.get("trackingId"))}He(ca, +l);return t(ca)}};var Jd=function(a,b){b||(b=(b=P(a,V))&&b!="t0"?Wd.test(b)?"_gat_"+Cc(P(a,Na)):"_gat_"+Cc(b):"_gat");this.Y=b},Rd=function(a,b){var c=b.get(Wb);b.set(Wb,function(e){Pd(a,e,ed);Pd(a,e,ia);var g=c(e);Qd(a,e);return g});var d=b.get(Xb);b.set(Xb,function(e){var g=d(e);if(se(e)){J(80);var ca={U:re(e,1),google:re(e,2),count:0};pe("https://stats.g.doubleclick.net/j/collect",ca.U,ca);e.set(ed,"",!0)}return g})},Pd=function(a,b,c){b.get(Ud)===!1||b.get(c)||(Ca(a.Y)[0]=="1"?b.set(c,"",!0):b.set(c,""+hd(),!0))}, +Qd=function(a,b){se(b)&&zc(a.Y,"1",P(b,Yb),P(b,W),P(b,Na),6E4,P(b,Be))},se=function(a){return!!a.get(ed)&&a.get(Ud)!==!1},Ne=function(a){var b=P(a,Na);return!H[b]&&rf(a)},re=function(a,b){var c=new ee,d=function(g){$a(g).F&&c.set($a(g).F,a.get(g))};d(hb);d(ib);d(Na);d(Q);d(ed);b==1&&(d(Ad),d(ia),d(I));a.get(xe)===!1&&c.set("npa","1");c.set($a(ld).F,Td(a));var e="";c.map(function(g,ca){e+=K(g)+"=";e+=K(""+ca)+"&"});e+="z="+hd();b==1?e="t=dc&aip=1&_r=3&"+e:b==2&&(e="t=sr&aip=1&_r=4&slf_rd=1&"+e);return e}, +Me=function(a){if(Ne(a)){var b=P(a,Na);H[b]=!0;return function(c){if(c&&!H[c]){var d=Ke(a,c);if(d){var e=d.indexOf("&_slc=1")>0;H[c]=!0;sf[b]||(sf[b]=[]);e&&(sf[b].push(c),tf(c,vf[b]));Id(d)}}}}},Wd=/^gtm\d+$/;var fd=function(a,b){a=a.model;if(!a.get("dcLoaded")){var c=new $c(Dd(a));c.set(29);a.set(Gd,c.C);b=b||{};var d;b[U]&&(d=Cc(b[U]));b=new Jd(a,d);Rd(b,a);a.set("dcLoaded",!0)}};var Sd=function(a){var b=a.get(ac)!="cookie"?!1:!0;if(b){b=new Jd(a);var c=a.get("dcLoaded");c||(Pd(b,a,ed),Pd(b,a,ia),Qd(b,a));b=!c&&se(a);c=Ne(a);b&&a.set(Md,1,!0);c&&a.set(Od,1,!0);if(b||c)a.set(ad,"d",!0),J(79),a.set(qe,{U:re(a,1),google:re(a,2),V:Me(a),count:0},!0)}};var Lc=function(){var a=O.gaGlobal=O.gaGlobal||{};return a.hid=a.hid||hd()};var wb=/^(UA|YT|MO|GP)-(\d+)-(\d+)$/,pc=function(a){function b(e,g){d.model.data.set(e,g);a.hasOwnProperty(e)&&hf(e,g)}function c(e,g){d.model.data.set(e,g);d.filters.add(e)}var d=this;this.model=new Ya;this.filters=new Ha;b(V,a[V]);b(Na,sa(a[Na]));b(U,a[U]);b(W,a[W]||xa());b(Yb,a[Yb]);b(Zb,a[Zb]);b(Hd,a[Hd]);b(Be,a[Be]);b($b,a[$b]);b(Wc,a[Wc]);b(bc,a[bc]);b(cc,a[cc]);b(Ka,a[Ka]);b(dc,a[dc]);b(ec,a[ec]);b(ac,a[ac]);b(Ad,a[Ad]);b(n,a[n]);b(Kd,a[Kd]);b(je,a[je]);b(Ze,a[Ze]);b(oe,a[oe]);b(Je,a[Je]); +b(F,a[F]);b(hb,1);b(ib,"j102");c(Re,Pe);c(Qb,Ma);c(oa,ua);c(dd,cd);c(Rb,Oa);c(md,vb);c(Sb,nc);c(Uc,Yc);c(Tb,Ja);c(Vb,Ta);c(Vc,Hc);c(zd,yd);c(Ld,Sd);c(ze,Fe);c(Wb,Pa);c(Xb,Sa);c(Cd,ua);pd(this.model);td(this.model,a[Q]);this.model.set(jb,Lc())};pc.prototype.get=function(a){return this.model.get(a)};pc.prototype.set=function(a,b){this.model.set(a,b);mf(a,b)}; +pc.prototype.send=function(a){if(!(arguments.length<1)){if(typeof arguments[0]==="string"){var b=arguments[0];var c=[].slice.call(arguments,1)}else b=arguments[0]&&arguments[0][Va],c=arguments;b&&(c=za(me[b]||[],c),c[Va]=b,mf(c),this.model.set(c,void 0,!0),this.filters.D(this.model),this.model.data.m={})}};pc.prototype.ma=function(a,b){var c=this;u(a,c,b)||(v(a,function(){u(a,c,b)}),y(String(c.get(V)),a,void 0,b,!0))}; +function td(a,b){var c=P(a,U);a.data.set(la,c=="_ga"?"_gid":c+"_gid");if(P(a,ac)=="cookie"){hc=!1;c=Ca(P(a,U));c=Xd(a,c);if(!c){c=P(a,W);var d=P(a,$b)||xa();c=Xc("__utma",d,c);c!=void 0?(J(10),c=c.O[1]+"."+c.O[2]):c=void 0}c&&(hc=!0);if(d=c&&!a.get(Hd))if(d=c.split("."),d.length!=2)d=!1;else if(d=Number(d[1])){var e=R(a,Zb);d=d+e<(new Date).getTime()/1E3}else d=!1;d&&(c=void 0);c&&(a.data.set(xd,c),a.data.set(Q,c),(c=uc(a))&&a.data.set(I,c));a.get(je)&&(c=a.get(ce),d=a.get(ie),!c||d&&d!="aw.ds")&& +(c={},d=(M?ob(c):{})[P(a,Na)],le(c),d&&d.length!=0&&(c=d[0],a.data.set(fe,c.timestamp/1E3),a.data.set(ce,c.qa)));a.get(je)&&(c=a.get(Se),d={},e=(M?ob(d,"_gac_gb",!0):{})[P(a,Na)],ef(d),e&&e.length!=0&&(d=e[0],e=d.qa,c&&c!==e||(d.labels&&d.labels.length&&(e+="."+d.labels.join(".")),a.data.set(Te,d.timestamp/1E3),a.data.set(Se,e))))}if(a.get(Hd)){c=be("_ga",!!a.get(cc));var g=be("_gl",!!a.get(cc));d=De.get(a.get(cc));e=d._ga;g&&g.indexOf("_ga*")>0&&!e&&J(30);if(b||!a.get(Je))g=!1;else if(g=a.get(F), +g===void 0||g("analytics_storage"))g=!1;else{J(84);a.data.set(Le,1);if(g=d._up)if(g=Jc.exec(M.referrer)){g=g[1];var ca=M.location.hostname;g=ca===g||ca.indexOf("."+g)>=0||g.indexOf("."+ca)>=0?!0:!1}else g=!1;g=g?!0:!1}ca=d.gclid;var l=d._gac;if(c||e||ca||l)if(c&&e&&J(36),a.get(bc)||ye(a.get(Kd))||g){if(e&&(J(38),a.data.set(Q,e),d._gid&&(J(51),a.data.set(I,d._gid))),ca?(J(82),a.data.set(ce,ca),d.gclsrc&&a.data.set(ie,d.gclsrc)):l&&(e=l.split("."))&&e.length===2&&(J(37),a.data.set(ce,e[0]),a.data.set(fe, +e[1])),(d=d._fplc)&&P(a,oe)&&(J(83),a.data.set(Ae,d)),c)b:if(d=c.indexOf("."),d==-1)J(22);else{e=c.substring(0,d);g=c.substring(d+1);d=g.indexOf(".");c=g.substring(0,d);g=g.substring(d+1);if(e=="1"){if(d=g,ke(d,c)){J(23);break b}}else if(e=="2"){d=g.indexOf("-");e="";d>0?(e=g.substring(0,d),d=g.substring(d+1)):d=g.substring(1);if(ke(e+d,c)){J(53);break b}e&&(J(2),a.data.set(I,e))}else{J(22);break b}J(11);a.data.set(Q,d);if(c=be("_gac",!!a.get(cc)))c=c.split("."),c[0]!="1"||c.length!=4?J(72):ke(c[3], +c[1])?J(71):(a.data.set(ce,c[3]),a.data.set(fe,c[2]),J(70))}}else J(21)}b&&(J(9),a.data.set(Q,K(b)));a.get(Q)||(b=(b=O.gaGlobal)&&b.from_cookie&&P(a,ac)!=="cookie"?void 0:(b=b&&b.vid)&&b.search(jd)!==-1?b:void 0,b?(J(17),a.data.set(Q,b)):(J(8),a.data.set(Q,ra())));a.get(I)||(J(3),a.data.set(I,ra()));mc(a);b=O.gaGlobal=O.gaGlobal||{};c=P(a,Q);a=c===P(a,xd);if(b.vid==void 0||a&&!b.from_cookie)b.vid=c,b.from_cookie=a} +function pd(a){var b=O.navigator,c=O.screen,d=M.location;a.set(lb,of(!!a.get(ec),!!a.get(Kd)));if(d){var e=d.pathname||"";e.charAt(0)!="/"&&(J(31),e="/"+e);a.set(kb,d.protocol+"//"+d.hostname+e+d.search)}c&&a.set(qb,c.width+"x"+c.height);c=M.documentElement;var g=(e=M.body)&&e.clientWidth&&e.clientHeight,ca=[];c&&c.clientWidth&&c.clientHeight&&(M.compatMode==="CSS1Compat"||!g)?ca=[c.clientWidth,c.clientHeight]:g&&(ca=[e.clientWidth,e.clientHeight]);c=ca[0]<=0||ca[1]<=0?"":ca.join("x");a.set(rb,c); +a.set(nb,(b&&(b.language||b.browserLanguage)||"").toLowerCase());a.data.set(ce,be("gclid",!0));a.data.set(ie,be("gclsrc",!0));a.data.set(fe,Math.round((new Date).getTime()/1E3));a.get(ce)||(a.data.set(Se,be("wbraid",!0)),a.data.set(Te,Math.round((new Date).getTime()/1E3)));if(d&&a.get(cc)&&(b=M.location.hash)){b=b.split(/[?&#]+/);d=[];for(c=0;c0&&(b="#"+d.join("&"),a.set(kb,a.get(kb)+b))}}var me={pageview:[mb],event:[ub,xb,yb,zb],social:[Bb,Cb,Db],timing:[Mb,Nb,Pb,Ob]};var rc=function(a){if(M.visibilityState=="prerender")return!1;a();return!0},z=function(a){if(!rc(a)){J(16);var b=!1,c=function(){if(!b&&rc(a)){b=!0;var d=M;d.removeEventListener?d.removeEventListener("visibilitychange",c,!1):d.detachEvent&&d.detachEvent("onvisibilitychange",c)}};L("visibilitychange",c)}};var te=/^(?:(\w+)\.)?(?:(\w+):)?(\w+)$/,sc=function(a){if(ea(a[0]))this.u=a[0];else{var b=te.exec(a[0]);b!=null&&b.length==4&&(this.da=b[1]||"t0",this.K=b[2]||"",this.methodName=b[3],this.aa=[].slice.call(a,1),this.K||(this.A=this.methodName=="create",this.i=this.methodName=="require",this.g=this.methodName=="provide",this.ba=this.methodName=="remove"),this.i&&(this.aa.length>=3?(this.X=this.aa[1],this.W=this.aa[2]):this.aa[1]&&(qa(this.aa[1])?this.X=this.aa[1]:this.W=this.aa[1])));b=a[1];a=a[2]; +if(!this.methodName)throw"abort";if(this.i&&(!qa(b)||b==""))throw"abort";if(this.g&&(!qa(b)||b==""||!ea(a)))throw"abort";if(ud(this.da)||ud(this.K))throw"abort";if(this.g&&this.da!="t0")throw"abort";}};function ud(a){return a.indexOf(".")>=0||a.indexOf(":")>=0};var Yd,Zd,$d,A;Yd=new ee;$d=new ee;A=new ee;Zd={ec:45,ecommerce:46,linkid:47}; +var u=function(a,b,c){b==N||b.get(V);var d=Yd.get(a);if(!ea(d))return!1;b.plugins_=b.plugins_||new ee;if(b.plugins_.get(a))return!0;b.plugins_.set(a,new d(b,c||{}));return!0},y=function(a,b,c,d,e){if(!ea(Yd.get(b))&&!$d.get(b)){Zd.hasOwnProperty(b)&&J(Zd[b]);var g=void 0;if(p.test(b)){J(52);a=N.j(a);if(!a)return!0;c=Ke(a.model,b,d,e);g=function(){Z.D(["provide",b,function(){}]);var l=O[d&&d.dataLayer||"dataLayer"];l&&l.hide&&ea(l.hide.end)&&l.hide[b]&&(l.hide.end(),l.hide.end=void 0)}}!c&&Zd.hasOwnProperty(b)? +(J(39),c=b+".js"):J(43);if(c){var ca;d&&(ca=d[oe]);qa(ca)||(ca=void 0);a=ae(cf(c,ca));!ca||ne(a.protocol)&&B(a)||(a=ae(cf(c)));ne(a.protocol)&&B(a)&&(Id(a.url,void 0,e,void 0,g),$d.set(b,!0))}}},v=function(a,b){var c=A.get(a)||[];c.push(b);A.set(a,c)},C=function(a,b){Yd.set(a,b);b=A.get(a)||[];for(var c=0;c=0||a.path.indexOf("://")>=0)return!1;if(a.host== +b.host&&a.port==b.port||jf&&(b=M.createElement("a"),b.href=jf,b=kf(b),a.host===b[0]&&a.port===b[1]))return!0;b=a.protocol=="http:"?80:443;return a.host=="www.google-analytics.com"&&(a.port||b)==b&&D(a.path,"/plugins/")?!0:!1},ne=function(a){var b=M.location.protocol;return a=="https:"||a==b?!0:a!="http:"?!1:b=="http:"},kf=function(a){var b=a.hostname||"",c=b.indexOf("]")>=0;b=b.split(c?"]":":")[0].toLowerCase();c&&(b+="]");c=(a.protocol||"").toLowerCase();c=a.port*1||(c=="http:"?80:c=="https:"?443: +"");a=a.pathname||"";D(a,"/")||(a="/"+a);return[b,""+c,a]},ae=function(a){var b=M.createElement("a");b.href=M.location.href;var c=(b.protocol||"").toLowerCase(),d=kf(b),e=b.search||"",g=c+"//"+d[0]+(d[1]?":"+d[1]:"");D(a,"//")?a=c+a:D(a,"/")?a=g+a:!a||D(a,"?")?a=g+d[2]+(a||e):a.split("/")[0].indexOf(":")<0&&(a=g+d[2].substring(0,d[2].lastIndexOf("/"))+"/"+a);b.href=a;c=kf(b);return{protocol:(b.protocol||"").toLowerCase(),host:c[0],port:c[1],path:c[2],query:b.search||"",url:a||""}},cf=function(a,b){return a&& +a.indexOf("/")>=0?a:(b||bd(!1))+"/plugins/ua/"+a};var Z={ga:function(){Z.fa=[]}};Z.ga();Z.D=function(a){var b=Z.J.apply(Z,arguments);b=Z.fa.concat(b);for(Z.fa=[];b.length>0&&!Z.v(b[0])&&!(b.shift(),Z.fa.length>0););Z.fa=Z.fa.concat(b)};Z.ra=function(a){N.q&&(N.q.length===300&&(N.q.shift(),N.qd++),N.q.push(a))};Z.J=function(a){for(var b=[],c=0;c-1&&(t.type="ios"),e.indexOf("android")>-1&&(t.type="android")),t},f.userAgent=l.proxy("context.userAgent"),f.timezone=l.proxy("context.timezone"),f.timestamp=l.field("timestamp"),f.channel=l.field("channel"),f.ip=l.proxy("context.ip"),f.userId=l.field("userId"),i.default(f)},7748:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Group=void 0;var i=r(n(5615)),o=r(n(6362)),s=r(n(7639)),u=n(2265);function a(t,e){u.Facade.call(this,t,e)}e.Group=a,i.default(a,u.Facade);var c=a.prototype;c.action=function(){return"group"},c.type=c.action,c.groupId=u.Facade.field("groupId"),c.created=function(){var t=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(t)return s.default(t)},c.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.groupId();return o.default(e)?e:void 0},c.traits=function(t){var e=this.properties(),n=this.groupId();for(var r in t=t||{},n&&(e.id=n),t){var i=null==this[r]?this.proxy("traits."+r):this[r]();null!=i&&(e[t[r]]=i,delete e[r])}return e},c.name=u.Facade.proxy("traits.name"),c.industry=u.Facade.proxy("traits.industry"),c.employees=u.Facade.proxy("traits.employees"),c.properties=function(){return this.field("traits")||this.field("properties")||{}}},5543:function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Identify=void 0;var i=n(2265),o=r(n(8578)),s=r(n(5615)),u=r(n(6362)),a=r(n(7639)),c=function(t){return t.trim()};function l(t,e){i.Facade.call(this,t,e)}e.Identify=l,s.default(l,i.Facade);var f=l.prototype;f.action=function(){return"identify"},f.type=f.action,f.traits=function(t){var e=this.field("traits")||{},n=this.userId();for(var r in t=t||{},n&&(e.id=n),t){var i=null==this[r]?this.proxy("traits."+r):this[r]();null!=i&&(e[t[r]]=i,r!==t[r]&&delete e[r])}return e},f.email=function(){var t=this.proxy("traits.email");if(t)return t;var e=this.userId();return u.default(e)?e:void 0},f.created=function(){var t=this.proxy("traits.created")||this.proxy("traits.createdAt");if(t)return a.default(t)},f.companyCreated=function(){var t=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(t)return a.default(t)},f.companyName=function(){return this.proxy("traits.company.name")},f.name=function(){var t=this.proxy("traits.name");if("string"==typeof t)return c(t);var e=this.firstName(),n=this.lastName();return e&&n?c(e+" "+n):void 0},f.firstName=function(){var t=this.proxy("traits.firstName");if("string"==typeof t)return c(t);var e=this.proxy("traits.name");return"string"==typeof e?c(e).split(" ")[0]:void 0},f.lastName=function(){var t=this.proxy("traits.lastName");if("string"==typeof t)return c(t);var e=this.proxy("traits.name");if("string"==typeof e){var n=c(e).indexOf(" ");if(-1!==n)return c(e.substr(n+1))}},f.uid=function(){return this.userId()||this.username()||this.email()},f.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")},f.age=function(){var t=this.birthday(),e=o.default(this.traits(),"age");return null!=e?e:t instanceof Date?(new Date).getFullYear()-t.getFullYear():void 0},f.avatar=function(){var t=this.traits();return o.default(t,"avatar")||o.default(t,"photoUrl")||o.default(t,"avatarUrl")},f.position=function(){var t=this.traits();return o.default(t,"position")||o.default(t,"jobTitle")},f.username=i.Facade.proxy("traits.username"),f.website=i.Facade.one("traits.website"),f.websites=i.Facade.multi("traits.website"),f.phone=i.Facade.one("traits.phone"),f.phones=i.Facade.multi("traits.phone"),f.address=i.Facade.proxy("traits.address"),f.gender=i.Facade.proxy("traits.gender"),f.birthday=i.Facade.proxy("traits.birthday")},4303:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0){var c=!1,l=function(){c||(c=!0,s.flush().catch(a),c=!1,setTimeout(l,s.flushTimer))};l()}}return t.prototype.increment=function(t,e){if(t.includes("analytics_js.")&&0!==e.length&&!(Math.random()>this.sampleRate||this.queue.length>=this.maxQueueSize)){var n=function(t,e,n){var i=e.reduce((function(t,e){var n=e.split(":"),r=n[0],i=n[1];return t[r]=i,t}),{});return{type:"Counter",metric:t,value:1,tags:(0,r.Cl)((0,r.Cl)({},i),{library:"analytics.js",library_version:"web"===n?"next-".concat(o.r):"npm:next-".concat(o.r)})}}(t,e,(0,s.X)());this.queue.push(n),t.includes("error")&&this.flush().catch(a)}},t.prototype.flush=function(){return(0,r.sH)(this,void 0,Promise,(function(){var t=this;return(0,r.YH)(this,(function(e){switch(e.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch((function(e){a(e),t.sampleRate=0}))];case 1:return e.sent(),[2]}}))}))},t.prototype.send=function(){return(0,r.sH)(this,void 0,Promise,(function(){var t,e,n;return(0,r.YH)(this,(function(r){return t={series:this.queue},this.queue=[],e={"Content-Type":"text/plain"},n="".concat(this.protocol,"://").concat(this.host,"/m"),[2,(0,i.h)(n,{headers:e,body:JSON.stringify(t),method:"POST"})]}))}))},t}()},6452:function(t,e,n){"use strict";n.d(e,{r:function(){return r}});var r="1.81.0"},7610:function(t,e,n){"use strict";n.d(e,{V:function(){return r}});try{window.analyticsWriteKey="GI7vYWHNmWwHbyFjBrvL0jOBA1TpZOXC"}catch(t){}function r(){if(void 0!==window.analyticsWriteKey)return window.analyticsWriteKey!==["__","WRITE","_","KEY","__"].join("")?window.analyticsWriteKey:void 0}},824:function(t,e,n){"use strict";function r(t,e){return e=e||{},new Promise((function(n,r){var i=new XMLHttpRequest,o=[],s=[],u={},a=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(JSON.parse(i.responseText))},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return s},get:function(t){return u[t.toLowerCase()]},has:function(t){return t.toLowerCase()in u}}}};for(var c in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){o.push(e=e.toLowerCase()),s.push([e,n]),u[e]=u[e]?u[e]+","+n:n})),n(a())},i.onerror=r,i.withCredentials="include"==e.credentials,e.headers)i.setRequestHeader(c,e.headers[c]);i.send(e.body||null)}))}n.d(e,{h:function(){return o}});var i=n(5120),o=function(){for(var t=[],e=0;et}(o);if(s)return u.setItem(r,JSON.stringify((new Date).getTime()+50)),e(),void u.removeItem(r);!s&&n<3?setTimeout((function(){f(t,e,n+1)}),50):console.error("Unable to retrieve lock")}var d=function(t){function e(e,n){var i=t.call(this,e,[])||this,o="persisted-queue:v1:".concat(n,":items"),s="persisted-queue:v1:".concat(n,":seen"),d=[],p={};return f(n,(function(){try{d=a(o),p=c(s),l(o),l(s),i.queue=(0,r.fX)((0,r.fX)([],d,!0),i.queue,!0),i.seen=(0,r.Cl)((0,r.Cl)({},p),i.seen)}catch(t){console.error(t)}})),window.addEventListener("pagehide",(function(){if(i.todo>0){var t=(0,r.fX)((0,r.fX)([],i.queue,!0),i.future,!0);try{f(n,(function(){!function(t,e){var n=a(t),i=(0,r.fX)((0,r.fX)([],e,!0),n,!0).reduce((function(t,e){var n;return(0,r.Cl)((0,r.Cl)({},t),((n={})[e.id]=e,n))}),{});u.setItem(t,JSON.stringify(Object.values(i)))}(o,t),function(t,e){var n=c(t);u.setItem(t,JSON.stringify((0,r.Cl)((0,r.Cl)({},n),e)))}(s,i.seen)}))}catch(t){console.error(t)}}})),i}return(0,r.C6)(e,t),e}(i.M)},7536:function(t,e,n){"use strict";n.d(e,{W:function(){return i}});var r=n(4303);function i(t,e){var n=new r.Facade(t,e);return"track"===t.type&&(n=new r.Track(t,e)),"identify"===t.type&&(n=new r.Identify(t,e)),"page"===t.type&&(n=new r.Page(t,e)),"alias"===t.type&&(n=new r.Alias(t,e)),"group"===t.type&&(n=new r.Group(t,e)),"screen"===t.type&&(n=new r.Screen(t,e)),Object.defineProperty(n,"obj",{value:t,writable:!0}),n}},3831:function(t,e,n){"use strict";n.d(e,{J:function(){return i},X:function(){return o}});var r="npm";function i(t){r=t}function o(){return r}},1418:function(t,e,n){"use strict";n.r(e),n.d(e,{applyDestinationMiddleware:function(){return s},sourceMiddlewarePlugin:function(){return u}});var r=n(5478),i=n(9752),o=n(7536);function s(t,e,n){return(0,r.sH)(this,void 0,Promise,(function(){function i(e,n){return(0,r.sH)(this,void 0,Promise,(function(){var i,s,u;return(0,r.YH)(this,(function(a){switch(a.label){case 0:return i=!1,s=null,[4,n({payload:(0,o.W)(e,{clone:!0,traverse:!1}),integration:t,next:function(t){i=!0,null===t&&(s=null),t&&(s=t.obj)}})];case 1:return a.sent(),i||null===s||(s.integrations=(0,r.Cl)((0,r.Cl)({},e.integrations),((u={})[t]=!1,u))),[2,s]}}))}))}var s,u,a,c,l;return(0,r.YH)(this,(function(t){switch(t.label){case 0:s=(0,o.W)(e,{clone:!0,traverse:!1}).rawEvent(),u=0,a=n,t.label=1;case 1:return u0&&i[i.length-1])||6!==u[0]&&2!==u[0])){s=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]1){var t=this._logs.reduce((function(t,e){var n,r,i,s=(0,o.Cl)((0,o.Cl)({},e),{json:JSON.stringify(e.extras,null," "),extras:e.extras});delete s.time;var u=null!==(i=null===(r=e.time)||void 0===r?void 0:r.toISOString())&&void 0!==i?i:"";return t[u]&&(u="".concat(u,"-").concat(Math.random())),(0,o.Cl)((0,o.Cl)({},t),((n={})[u]=s,n))}),{});console.table?console.table(t):console.log(t)}else this.logs.forEach((function(t){var e=t.level,n=t.message,r=t.extras;"info"===e||"debug"===e?console.log(n,null!=r?r:""):console[e](n,null!=r?r:"")}));this._logs=[]},t}(),u=n(4034),a=function(t){var e,n,r;this.retry=null===(e=t.retry)||void 0===e||e,this.type=null!==(n=t.type)&&void 0!==n?n:"plugin Error",this.reason=null!==(r=t.reason)&&void 0!==r?r:""},c=function(){function t(t,e,n,i){void 0===e&&(e=(0,r.v4)()),void 0===n&&(n=new u.r),void 0===i&&(i=new s),this.attempts=0,this.event=t,this._id=e,this.logger=i,this.stats=n}return t.system=function(){},t.prototype.isSame=function(t){return t.id===this.id},t.prototype.cancel=function(t){if(t)throw t;throw new a({reason:"Context Cancel"})},t.prototype.log=function(t,e,n){this.logger.log(t,e,n)},Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),t.prototype.updateEvent=function(t,e){var n;if("integrations"===t.split(".")[0]){var r=t.split(".")[1];if(!1===(null===(n=this.event.integrations)||void 0===n?void 0:n[r]))return this.event}return(0,i.J)(this.event,t,e),this.event},t.prototype.failedDelivery=function(){return this._failedDelivery},t.prototype.setFailedDelivery=function(t){this._failedDelivery=t},t.prototype.logs=function(){return this.logger.logs},t.prototype.flush=function(){this.logger.flush(),this.stats.flush()},t.prototype.toJSON=function(){return{id:this._id,event:this.event,logs:this.logger.logs,metrics:this.stats.metrics}},t}()},2939:function(t,e,n){"use strict";n.d(e,{g:function(){return o},M:function(){return s}});var r=n(5478),i=n(3255);var o="onRemoveFromFuture",s=function(t){function e(e,n,r){var i=t.call(this)||this;return i.future=[],i.maxAttempts=e,i.queue=n,i.seen=null!=r?r:{},i}return(0,r.C6)(e,t),e.prototype.push=function(){for(var t=this,e=[],n=0;nt.maxAttempts||t.includes(e))&&(t.queue.push(e),!0)}));return this.queue=this.queue.sort((function(e,n){return t.getAttempts(e)-t.getAttempts(n)})),r},e.prototype.pushWithBackoff=function(t,e){var n=this;if(void 0===e&&(e=0),0==e&&0===this.getAttempts(t))return this.push(t)[0];var r=this.updateAttempts(t);if(r>this.maxAttempts||this.includes(t))return!1;var i=function(t){var e=Math.random()+1,n=t.minTimeout,r=void 0===n?500:n,i=t.factor,o=void 0===i?2:i,s=t.attempt,u=t.maxTimeout,a=void 0===u?1/0:u;return Math.min(e*r*Math.pow(o,s),a)}({attempt:r-1});return e>0&&ithis.maxListeners&&(console.warn("Event Emitter: Possible memory leak detected; ".concat(String(t)," has exceeded ").concat(this.maxListeners," listeners.")),this.warned=!0)},t.prototype.on=function(t,e){return this.callbacks[t]?(this.callbacks[t].push(e),this.warnIfPossibleMemoryLeak(t)):this.callbacks[t]=[e],this},t.prototype.once=function(t,e){var n=this,r=function(){for(var i=[],o=0;o256){for(r=Array(e=256);e--;)r[e]=256*Math.random()|0;e=i=0}for(;e<16;e++)t=r[i+e],n+=6==e?o[15&t|64]:8==e?o[63&t|128]:o[t],1&e&&e>1&&e<11&&(n+="-");return i++,n}},3435:function(t,e,n){"use strict";function r(t,e,n){e.split&&(e=e.split("."));for(var r,i,o=0,s=e.length,u=t;o-1?t:t+e}(r,o):-1===(n=(e=s).indexOf("#"))?e:e.slice(0,n);return{path:c,referrer:u,search:o,title:a,url:l}},w=function(){var t=document.querySelector("link[rel='canonical']");return y(location.href,t&&t.getAttribute("href")||void 0,location.search,location.pathname,document.title,document.referrer)},_=function(e,n){void 0===n&&(n=b(w()));var r,i,o,s=e.context;"page"===e.type&&(r=e.properties&&(i=e.properties,o=Object.keys(n),Object.assign.apply(Object,(0,t.fX)([{}],o.map((function(t){var e;if(i&&Object.prototype.hasOwnProperty.call(i,t))return(e={})[t]=i[t],e})),!1))),e.properties=(0,t.Cl)((0,t.Cl)((0,t.Cl)({},n),e.properties),e.name?{name:e.name}:{})),s.page=(0,t.Cl)((0,t.Cl)((0,t.Cl)({},n),r),s.page)},x=s(3435),S=function(e){function n(t,n){var r=e.call(this,"".concat(t," ").concat(n))||this;return r.field=t,r}return(0,t.C6)(n,e),n}(Error),C="is not a string",j="is not an object",P="is nil";function k(t){!function(t){if(!(0,i.t2)(t))throw new S("Event",P);if("object"!=typeof t)throw new S("Event",j)}(t),function(t){if(!(0,i.Kg)(t.type))throw new S(".type",C)}(t),function(t){if(!(0,i.Kg)(t.messageId))throw new S(".messageId",C)}(t),"track"===t.type&&(function(t){if(!(0,i.Kg)(t.event))throw new S(".event",C)}(t),function(t){if(!(0,i.Qd)(t.properties))throw new S(".properties",j)}(t)),["group","identify"].includes(t.type)&&function(t){if(!(0,i.Qd)(t.traits))throw new S(".traits",j)}(t)}var I=function(t){var e,n;this.settings=t,this.createMessageId=t.createMessageId,this.onEventMethodCall=null!==(e=t.onEventMethodCall)&&void 0!==e?e:function(){},this.onFinishedEvent=null!==(n=t.onFinishedEvent)&&void 0!==n?n:function(){}},O=function(){function e(t){this.settings=new I(t)}return e.prototype.track=function(e,n,r,i){return this.settings.onEventMethodCall({type:"track",options:r}),this.normalize((0,t.Cl)((0,t.Cl)({},this.baseEvent()),{event:e,type:"track",properties:null!=n?n:{},options:(0,t.Cl)({},r),integrations:(0,t.Cl)({},i)}))},e.prototype.page=function(e,n,r,i,o){var s;this.settings.onEventMethodCall({type:"page",options:i});var u={type:"page",properties:(0,t.Cl)({},r),options:(0,t.Cl)({},i),integrations:(0,t.Cl)({},o)};return null!==e&&(u.category=e,u.properties=null!==(s=u.properties)&&void 0!==s?s:{},u.properties.category=e),null!==n&&(u.name=n),this.normalize((0,t.Cl)((0,t.Cl)({},this.baseEvent()),u))},e.prototype.screen=function(e,n,r,i,o){this.settings.onEventMethodCall({type:"screen",options:i});var s={type:"screen",properties:(0,t.Cl)({},r),options:(0,t.Cl)({},i),integrations:(0,t.Cl)({},o)};return null!==e&&(s.category=e),null!==n&&(s.name=n),this.normalize((0,t.Cl)((0,t.Cl)({},this.baseEvent()),s))},e.prototype.identify=function(e,n,r,i){return this.settings.onEventMethodCall({type:"identify",options:r}),this.normalize((0,t.Cl)((0,t.Cl)({},this.baseEvent()),{type:"identify",userId:e,traits:null!=n?n:{},options:(0,t.Cl)({},r),integrations:i}))},e.prototype.group=function(e,n,r,i){return this.settings.onEventMethodCall({type:"group",options:r}),this.normalize((0,t.Cl)((0,t.Cl)({},this.baseEvent()),{type:"group",traits:null!=n?n:{},options:(0,t.Cl)({},r),integrations:(0,t.Cl)({},i),groupId:e}))},e.prototype.alias=function(e,n,r,i){this.settings.onEventMethodCall({type:"alias",options:r});var o={userId:e,type:"alias",options:(0,t.Cl)({},r),integrations:(0,t.Cl)({},i)};return null!==n&&(o.previousId=n),void 0===e?this.normalize((0,t.Cl)((0,t.Cl)({},o),this.baseEvent())):this.normalize((0,t.Cl)((0,t.Cl)({},this.baseEvent()),o))},e.prototype.baseEvent=function(){return{integrations:{},options:{}}},e.prototype.context=function(t){var e,n=["userId","anonymousId","timestamp","messageId"];delete t.integrations;var r=Object.keys(t),i=null!==(e=t.context)&&void 0!==e?e:{},o={};return r.forEach((function(e){"context"!==e&&(n.includes(e)?(0,x.J)(o,e,t[e]):(0,x.J)(i,e,t[e]))})),[i,o]},e.prototype.normalize=function(e){var n,r,i,o,s=Object.keys(null!==(n=e.integrations)&&void 0!==n?n:{}).reduce((function(n,r){var i,o;return(0,t.Cl)((0,t.Cl)({},n),((i={})[r]=Boolean(null===(o=e.integrations)||void 0===o?void 0:o[r]),i))}),{});e.options=(i=e.options||{},o=function(t,e){return void 0!==e},Object.keys(i).filter((function(t){return o(t,i[t])})).reduce((function(t,e){return t[e]=i[e],t}),{}));var u=(0,t.Cl)((0,t.Cl)({},s),null===(r=e.options)||void 0===r?void 0:r.integrations),a=e.options?this.context(e.options):[],c=a[0],l=a[1],f=e.options,d=(0,t.Tt)(e,["options"]),p=(0,t.Cl)((0,t.Cl)((0,t.Cl)((0,t.Cl)({timestamp:new Date},d),{context:c,integrations:u}),l),{messageId:f.messageId||this.settings.createMessageId()});return this.settings.onFinishedEvent(p),k(p),p},e}(),H=function(e){function n(t){var n=e.call(this,{createMessageId:function(){return"ajs-next-".concat(Date.now(),"-").concat((0,v.v4)())},onEventMethodCall:function(t){var e=t.options;n.maybeUpdateAnonId(e)},onFinishedEvent:function(t){return n.addIdentity(t),t}})||this;return n.user=t,n}return(0,t.C6)(n,e),n.prototype.maybeUpdateAnonId=function(t){(null==t?void 0:t.anonymousId)&&this.user.anonymousId(t.anonymousId)},n.prototype.addIdentity=function(t){this.user.id()&&(t.userId=this.user.id()),this.user.anonymousId()&&(t.anonymousId=this.user.anonymousId())},n.prototype.track=function(t,n,r,i,o){var s=e.prototype.track.call(this,t,n,r,i);return _(s,o),s},n.prototype.page=function(t,n,r,i,o,s){var u=e.prototype.page.call(this,t,n,r,i,o);return _(u,s),u},n.prototype.screen=function(t,n,r,i,o,s){var u=e.prototype.screen.call(this,t,n,r,i,o);return _(u,s),u},n.prototype.identify=function(t,n,r,i,o){var s=e.prototype.identify.call(this,t,n,r,i);return _(s,o),s},n.prototype.group=function(t,n,r,i,o){var s=e.prototype.group.call(this,t,n,r,i);return _(s,o),s},n.prototype.alias=function(t,n,r,i,o){var s=e.prototype.alias.call(this,t,n,r,i);return _(s,o),s},n}(O),E=function(t){return"addMiddleware"in t&&"destination"===t.type},M=s(9732);var A=s(2939),F=s(9752),D=s(2620),T=function(e){function n(t){var n,r,i,o=e.call(this)||this;return o.criticalTasks=(i=0,{done:function(){return n},run:function(t){var e,o=t();return"object"==typeof(e=o)&&null!==e&&"then"in e&&"function"==typeof e.then&&(1==++i&&(n=new Promise((function(t){return r=t}))),o.finally((function(){return 0==--i&&r()}))),o}}),o.plugins=[],o.failedInitializations=[],o.flushing=!1,o.queue=t,o.queue.on(A.g,(function(){o.scheduleFlush(0)})),o}return(0,t.C6)(n,e),n.prototype.register=function(e,n,r){return(0,t.sH)(this,void 0,void 0,(function(){var i,o,s=this;return(0,t.YH)(this,(function(t){switch(t.label){case 0:return this.plugins.push(n),i=function(t){s.failedInitializations.push(n.name),s.emit("initialization_failure",n),console.warn(n.name,t),e.log("warn","Failed to load destination",{plugin:n.name,error:t}),s.plugins=s.plugins.filter((function(t){return t!==n}))},"destination"!==n.type||"Segment.io"===n.name?[3,1]:(n.load(e,r).catch(i),[3,4]);case 1:return t.trys.push([1,3,,4]),[4,n.load(e,r)];case 2:return t.sent(),[3,4];case 3:return o=t.sent(),i(o),[3,4];case 4:return[2]}}))}))},n.prototype.deregister=function(e,n,r){return(0,t.sH)(this,void 0,void 0,(function(){var i;return(0,t.YH)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),n.unload?[4,Promise.resolve(n.unload(e,r))]:[3,2];case 1:t.sent(),t.label=2;case 2:return this.plugins=this.plugins.filter((function(t){return t.name!==n.name})),[3,4];case 3:return i=t.sent(),e.log("warn","Failed to unload destination",{plugin:n.name,error:i}),[3,4];case 4:return[2]}}))}))},n.prototype.dispatch=function(e){return(0,t.sH)(this,void 0,void 0,(function(){var n;return(0,t.YH)(this,(function(t){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.push(e),n=this.subscribeToDelivery(e),this.scheduleFlush(0),[2,n]}))}))},n.prototype.subscribeToDelivery=function(e){return(0,t.sH)(this,void 0,void 0,(function(){var n=this;return(0,t.YH)(this,(function(t){return[2,new Promise((function(t){var r=function(i,o){i.isSame(e)&&(n.off("flush",r),t(i))};n.on("flush",r)}))]}))}))},n.prototype.dispatchSingle=function(e){return(0,t.sH)(this,void 0,void 0,(function(){var n=this;return(0,t.YH)(this,(function(t){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.updateAttempts(e),e.attempts=1,[2,this.deliver(e).catch((function(t){return n.enqueuRetry(t,e)?n.subscribeToDelivery(e):(e.setFailedDelivery({reason:t}),e)}))]}))}))},n.prototype.isEmpty=function(){return 0===this.queue.length},n.prototype.scheduleFlush=function(t){var e=this;void 0===t&&(t=500),this.flushing||(this.flushing=!0,setTimeout((function(){e.flush().then((function(){setTimeout((function(){e.flushing=!1,e.queue.length&&e.scheduleFlush(0)}),0)}))}),t))},n.prototype.deliver=function(e){return(0,t.sH)(this,void 0,void 0,(function(){var n,r,i,o;return(0,t.YH)(this,(function(t){switch(t.label){case 0:return[4,this.criticalTasks.done()];case 1:t.sent(),n=Date.now(),t.label=2;case 2:return t.trys.push([2,4,,5]),[4,this.flushOne(e)];case 3:return e=t.sent(),r=Date.now()-n,this.emit("delivery_success",e),e.stats.gauge("delivered",r),e.log("debug","Delivered",e.event),[2,e];case 4:throw i=t.sent(),o=i,e.log("error","Failed to deliver",o),this.emit("delivery_failure",e,o),e.stats.increment("delivery_failed"),i;case 5:return[2]}}))}))},n.prototype.enqueuRetry=function(t,e){return!(t instanceof F.d&&!t.retry)&&this.queue.pushWithBackoff(e)},n.prototype.flush=function(){return(0,t.sH)(this,void 0,void 0,(function(){var e,n;return(0,t.YH)(this,(function(t){switch(t.label){case 0:if(0===this.queue.length)return[2,[]];if(!(e=this.queue.pop()))return[2,[]];e.attempts=this.queue.getAttempts(e),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.deliver(e)];case 2:return e=t.sent(),this.emit("flush",e,!0),[3,4];case 3:return n=t.sent(),this.enqueuRetry(n,e)||(e.setFailedDelivery({reason:n}),this.emit("flush",e,!1)),[2,[]];case 4:return[2,[e]]}}))}))},n.prototype.isReady=function(){return!0},n.prototype.availableExtensions=function(e){var n,r,i=this.plugins.filter((function(t){var n,r,i;if("destination"!==t.type&&"Segment.io"!==t.name)return!0;var o=void 0;return null===(n=t.alternativeNames)||void 0===n||n.forEach((function(t){void 0!==e[t]&&(o=e[t])})),null!==(i=null!==(r=e[t.name])&&void 0!==r?r:o)&&void 0!==i?i:!1!==("Segment.io"===t.name||e.All)})),o=(n="type",r={},i.forEach((function(e){var i,o=void 0;if("string"==typeof n){var s=e[n];o="string"!=typeof s?JSON.stringify(s):s}else n instanceof Function&&(o=n(e));void 0!==o&&(r[o]=(0,t.fX)((0,t.fX)([],null!==(i=r[o])&&void 0!==i?i:[],!0),[e],!1))})),r),s=o.before,u=void 0===s?[]:s,a=o.enrichment,c=void 0===a?[]:a,l=o.destination,f=void 0===l?[]:l,d=o.after;return{before:u,enrichment:c,destinations:f,after:void 0===d?[]:d}},n.prototype.flushOne=function(e){var n,r;return(0,t.sH)(this,void 0,void 0,(function(){var i,o,s,u,a,c,l,f,d,p,h,v,y,m;return(0,t.YH)(this,(function(t){switch(t.label){case 0:if(!this.isReady())throw new Error("Not ready");e.attempts>1&&this.emit("delivery_retry",e),i=this.availableExtensions(null!==(n=e.event.integrations)&&void 0!==n?n:{}),o=i.before,s=i.enrichment,u=0,a=o,t.label=1;case 1:return u0)return r;if(e.length<=1)return r;for(var i=e.length-2;i>=0;--i)r.push(e.slice(i).join("."));return r}(e),r=0;r=500)throw new Error("Bad response from server: ".concat(t.status));if(429===t.status){var n=null===(e=t.headers)||void 0===e?void 0:e.get("x-ratelimit-reset"),r="string"==typeof n?1e3*parseInt(n):d;throw new gt("Rate limit exceeded: ".concat(t.status),r)}}))}}function v(e){var r;return void 0===e&&(e=1),(0,t.sH)(this,void 0,Promise,(function(){var i;return(0,t.YH)(this,(function(o){return a.length?(i=a,a=[],[2,null===(r=h(i))||void 0===r?void 0:r.catch((function(r){var o;f.o.system().log("error","Error sending batch",r),e<=(null!==(o=null==n?void 0:n.maxRetries)&&void 0!==o?o:10)&&("RateLimitError"===r.name&&(p=r.retryTimeout),a.push.apply(a,i),a.map((function(n){if("_metadata"in n){var r=n;r._metadata=(0,t.Cl)((0,t.Cl)({},r._metadata),{retryCount:e})}})),y(e+1))}))]):[2]}))}))}function y(t){void 0===t&&(t=1),o||(o=setTimeout((function(){o=void 0,v(t).catch(console.error)}),p||d),p=0)}return s=function(t){if((c=t)&&a.length){var e=function(t){var e=[],n=0;return t.forEach((function(t){wt(e[n])>=64&&n++,e[n]?e[n].push(t):e[n]=[t]})),e}(a).map(h);Promise.all(e).catch(console.error)}},u=!1,window.addEventListener("pagehide",(function(){u||s(u=!0)})),document.addEventListener("visibilitychange",(function(){if("hidden"==document.visibilityState){if(u)return;u=!0}else u=!1;s(u)})),{dispatch:function(e,r){return(0,t.sH)(this,void 0,Promise,(function(){var e;return(0,t.YH)(this,(function(t){return a.push(r),e=a.length>=l||function(t){return wt(t)>=450}(a)||(null==n?void 0:n.keepalive)&&function(t){return wt(t)>=54}(a),[2,e||c?v():y()]}))}))}}}function xt(e,n,r,i,o){var s,u=e.user();delete n.options,n.writeKey=null==r?void 0:r.apiKey,n.userId=n.userId||u.id(),n.anonymousId=n.anonymousId||u.anonymousId(),n.sentAt=new Date;var a=e.queue.failedInitializations||[];a.length>0&&(n._metadata={failedInitializations:a}),null!=o&&(o.attempts>1&&(n._metadata=(0,t.Cl)((0,t.Cl)({},n._metadata),{retryCount:o.attempts})),o.attempts++);var c=[],l=[];for(var f in i){var d=i[f];"Segment.io"===f&&c.push(f),"bundled"===d.bundlingStatus&&c.push(f),"unbundled"===d.bundlingStatus&&l.push(f)}for(var p=0,h=(null==r?void 0:r.unbundledIntegrations)||[];p0&&!(0,l.a)()}),(function(){return(0,t.sH)(i,void 0,void 0,(function(){var i,o;return(0,t.YH)(this,(function(t){switch(t.label){case 0:return(i=n.pop())?[4,(0,D.C)(i,e)]:[2];case 1:return o=t.sent(),o instanceof f.o||r.push(i),[2]}}))}))}))];case 1:return o.sent(),r.map((function(t){return n.pushWithBackoff(t)})),[2,n]}}))}))}function jt(e,n,r,i){var o=this;e||setTimeout((function(){return(0,t.sH)(o,void 0,void 0,(function(){var e,o;return(0,t.YH)(this,(function(t){switch(t.label){case 0:return e=!0,[4,Ct(r,n)];case 1:return o=t.sent(),e=!1,n.todo>0&&i(e,o,r,i),[2]}}))}))}),5e3*Math.random())}var Pt=s(3858);var kt=function(t){return"Segment.io"===t.name};function It(e,n,r){var i,o,s;window.addEventListener("pagehide",(function(){c.push.apply(c,Array.from(f)),f.clear()}));var u,a=null!==(i=null==n?void 0:n.apiKey)&&void 0!==i?i:"",c=e.options.disableClientPersistence?new A.M(e.queue.queue.maxAttempts,[]):new M.x(e.queue.queue.maxAttempts,"".concat(a,":dest-Segment.io")),f=new Set,d=!1,p=null!==(o=null==n?void 0:n.apiHost)&&void 0!==o?o:Pt.a,h=null!==(s=null==n?void 0:n.protocol)&&void 0!==s?s:"https",v="".concat(h,"://").concat(p),y=null==n?void 0:n.deliveryStrategy,m=y&&"strategy"in y&&"batching"===y.strategy?_t(p,y.config):(u=null==y?void 0:y.config,{dispatch:function(t,e){return(0,mt.h)(t,{credentials:null==u?void 0:u.credentials,keepalive:null==u?void 0:u.keepalive,headers:bt(null==u?void 0:u.headers),method:"post",body:JSON.stringify(e),priority:null==u?void 0:u.priority}).then((function(t){var e;if(t.status>=500)throw new Error("Bad response from server: ".concat(t.status));if(429===t.status){var n=null===(e=t.headers)||void 0===e?void 0:e.get("x-ratelimit-reset"),r=n?1e3*parseInt(n):5e3;throw new gt("Rate limit exceeded: ".concat(t.status),r)}}))}});function g(i){return(0,t.sH)(this,void 0,Promise,(function(){var o,s;return(0,t.YH)(this,(function(t){return(0,l.a)()?(c.push(i),jt(d,c,b,jt),[2,i]):(f.add(i),o=i.event.type.charAt(0),s=(0,yt.W)(i.event).json(),"track"===i.event.type&&delete s.traits,"alias"===i.event.type&&(s=function(t,e){var n,r,i,o,s=t.user();return e.previousId=null!==(i=null!==(r=null!==(n=e.previousId)&&void 0!==n?n:e.from)&&void 0!==r?r:s.id())&&void 0!==i?i:s.anonymousId(),e.userId=null!==(o=e.userId)&&void 0!==o?o:e.to,delete e.from,delete e.to,e}(e,s)),c.getAttempts(i)>=c.maxAttempts?(f.delete(i),[2,i]):[2,m.dispatch("".concat(v,"/").concat(o),xt(e,s,n,r,i)).then((function(){return i})).catch((function(t){if(i.log("error","Error sending event",t),"RateLimitError"===t.name){var e=t.retryTimeout;c.pushWithBackoff(i,e)}else c.pushWithBackoff(i);return jt(d,c,b,jt),i})).finally((function(){f.delete(i)}))])}))}))}var b={metadata:{writeKey:a,apiHost:p,protocol:h},name:"Segment.io",type:"destination",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:g,identify:g,page:g,alias:g,group:g,screen:g};return c.todo&&jt(d,c,b,jt),b}var Ot="This is being deprecated and will be not be available in future releases of Analytics JS",Ht=(0,rt.m)(),Et=null==Ht?void 0:Ht.analytics;var Mt=function(){function t(t,e){var n;this.timeout=300,this._getSegmentPluginMetadata=function(){var t;return null===(t=e.plugins.find(kt))||void 0===t?void 0:t.metadata},this.writeKey=t.writeKey;this.cdnSettings=null!==(n=t.cdnSettings)&&void 0!==n?n:{integrations:{"Segment.io":{apiKey:""}}},this.cdnURL=t.cdnURL}return Object.defineProperty(t.prototype,"apiHost",{get:function(){var t,e;return null===(e=null===(t=this._getSegmentPluginMetadata)||void 0===t?void 0:t.call(this))||void 0===e?void 0:e.apiHost},enumerable:!1,configurable:!0}),t}();function At(){console.warn(Ot)}var Ft,Dt=function(e){function n(n,r,i,o,s){var u,a,c=this;(c=e.call(this)||this)._debug=!1,c.initialized=!1,c.user=function(){return c._user},c.init=c.initialize.bind(c),c.log=At,c.addIntegrationMiddleware=At,c.listeners=At,c.addEventListener=At,c.removeAllListeners=At,c.removeListener=At,c.removeEventListener=At,c.hasListeners=At,c.add=At,c.addIntegration=At;var l=null==r?void 0:r.cookie,f=null!==(u=null==r?void 0:r.disableClientPersistence)&&void 0!==u&&u;c.queue=null!=i?i:function(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=e?10:1,i=n?new A.M(r,[]):new M.x(r,t);return new q(i)}("".concat(n.writeKey,":event-queue"),null==r?void 0:r.retryQueue,f),c.settings=new Mt(n,c.queue);var d=null==r?void 0:r.storage;return c._universalStorage=c.createStore(f,d,l),c._user=null!=o?o:new $((0,t.Cl)({persist:!f,storage:null==r?void 0:r.storage},null==r?void 0:r.user),l).load(),c._group=null!=s?s:new et((0,t.Cl)({persist:!f,storage:null==r?void 0:r.storage},null==r?void 0:r.group),l).load(),c.eventFactory=new H(c._user),c.integrations=null!==(a=null==r?void 0:r.integrations)&&void 0!==a?a:{},c.options=null!=r?r:{},N(c),c}return(0,t.C6)(n,e),n.prototype.createStore=function(t,e,n){return t?new R([new K]):e&&z(e)?new R(V(G(e.stores,n))):new R(V([Y.LocalStorage,{name:Y.Cookie,settings:n},Y.Memory]))},Object.defineProperty(n.prototype,"storage",{get:function(){return this._universalStorage},enumerable:!1,configurable:!0}),n.prototype.track=function(){for(var e=[],n=0;n4){var s=r.slice(4);"campaign"===s&&(s="name"),t[s]=(0,Yt.p)(o)}return t}),{})}(a));var l=function(){var t=B.get("_ga");if(t&&t.startsWith("amp"))return t}();l&&(s.amp={id:l}),function(e,n,r){var i,o=new R(r?[]:[new W(Rt())]),s=o.get("s:context.referrer"),u=null!==(i=function(t){var e={btid:"dataxu",urid:"millennial-media"};t.startsWith("?")&&(t=t.substring(1));for(var n=0,r=(t=t.replace(/\?/g,"&")).split("&");n0}(n)?[4,s.e(10).then(s.bind(s,31)).then((function(t){return t.tsubMiddleware(n.middlewareSettings.routingRules)}))]:[3,2];case 1:return y=I.sent(),[3,3];case 2:y=void 0,I.label=3;case 3:return v=y,O=n,"test"!==r().NODE_ENV&&Object.keys(O.integrations).length>1||a.length>0?[4,s.e(50).then(s.bind(s,3771)).then((function(t){return t.ajsDestinations(e,n,i.integrations,o,v,a)}))]:[3,5];case 4:return g=I.sent(),[3,6];case 5:g=[],I.label=6;case 6:return m=g,n.legacyVideoPluginsEnabled?[4,s.e(694).then(s.bind(s,8162)).then((function(t){return t.loadLegacyVideoPlugins(i)}))]:[3,8];case 7:I.sent(),I.label=8;case 8:return(null===(l=o.plan)||void 0===l?void 0:l.track)?[4,s.e(104).then(s.bind(s,3542)).then((function(t){var e;return t.schemaFilter(null===(e=o.plan)||void 0===e?void 0:e.track,n)}))]:[3,10];case 9:return w=I.sent(),[3,11];case 10:w=void 0,I.label=11;case 11:return b=w,_=(0,qt.J)(n,o),[4,Gt(n,i.integrations,_,o,v,h).catch((function(){return[]}))];case 12:return x=I.sent(),S=(0,t.fX)((0,t.fX)([Jt],m,!0),x,!0),b&&S.push(b),!1===(null===(f=o.integrations)||void 0===f?void 0:f.All)&&!o.integrations["Segment.io"]||o.integrations&&!1===o.integrations["Segment.io"]?[3,14]:(j=(C=S).push,[4,It(i,_["Segment.io"],n.integrations)]);case 13:j.apply(C,[I.sent()]),I.label=14;case 14:return[4,i.register.apply(i,(0,t.fX)((0,t.fX)([],S,!1),p,!1))];case 15:return P=I.sent(),[4,ut(i,c)];case 16:return I.sent(),Object.entries(null!==(d=n.enabledMiddleware)&&void 0!==d?d:{}).some((function(t){return t[1]}))?[4,s.e(521).then(s.bind(s,9231)).then((function(e){var r=e.remoteMiddlewares;return(0,t.sH)(k,void 0,void 0,(function(){var e,s;return(0,t.YH)(this,(function(t){switch(t.label){case 0:return[4,r(P,n,o.obfuscate)];case 1:return e=t.sent(),s=e.map((function(t){return i.addSourceMiddleware(t)})),[2,Promise.all(s)]}}))}))}))]:[3,18];case 17:I.sent(),I.label=18;case 18:return[4,st(i,c)];case 19:return I.sent(),[2,P]}var O}))}))}function re(n,r,i){var o,s,u,a,c,l,d,p,h;return void 0===r&&(r={}),(0,t.sH)(this,void 0,Promise,(function(){var v,y,m,g,b,w,_,x,S,C;return(0,t.YH)(this,(function(j){switch(j.label){case 0:return!0===r.disable?[2,[new Tt,f.o.system()]]:(r.globalAnalyticsKey&&(0,it.rY)(r.globalAnalyticsKey),n.cdnURL&&(0,e.qQ)(n.cdnURL),r.initialPageview&&i.add(new dt("page",[])),v=function(){var t,e,n=null!==(t=window.location.hash)&&void 0!==t?t:"",r=null!==(e=window.location.search)&&void 0!==e?e:"";return r.length?r:n.replace(/(?=#).*(?=\?)/,"")}(),y=null!==(o=n.cdnURL)&&void 0!==o?o:(0,e.I2)(),null===(s=n.cdnSettings)||void 0===s?[3,1]:(g=s,[3,3]));case 1:return[4,(P=n.writeKey,k=y,(0,mt.h)("".concat(k,"/v1/projects/").concat(P,"/settings")).then((function(t){return t.ok?t.json():t.text().then((function(t){throw new Error(t)}))})).catch((function(t){throw console.error(t.message),t})))];case 2:g=j.sent(),j.label=3;case 3:return m=g,r.updateCDNSettings&&(m=r.updateCDNSettings(m)),"function"!=typeof r.disable?[3,5]:[4,r.disable(m)];case 4:if(j.sent())return[2,[new Tt,f.o.system()]];j.label=5;case 5:return b=null===(a=null===(u=m.integrations["Segment.io"])||void 0===u?void 0:u.retryQueue)||void 0===a||a,r=(0,t.Cl)({retryQueue:b},r),function(t){var e;null===(e=Zt.attach)||void 0===e||e.call(Zt,t)}(w=new Dt((0,t.Cl)((0,t.Cl)({},n),{cdnSettings:m,cdnURL:y}),r)),_=null!==(c=n.plugins)&&void 0!==c?c:[],x=null!==(l=n.classicIntegrations)&&void 0!==l?l:[],S=null===(d=r.integrations)||void 0===d?void 0:d["Segment.io"],$t.U.initRemoteMetrics((0,t.Cl)((0,t.Cl)({},m.metrics),{host:null!==(p=null==S?void 0:S.apiHost)&&void 0!==p?p:null===(h=m.metrics)||void 0===h?void 0:h.host,protocol:null==S?void 0:S.protocol})),[4,ne(n.writeKey,m,w,r,_,x,i)];case 6:return C=j.sent(),w.initialized=!0,w.emit("initialize",n,r),[4,te(w,v,i)];case 7:return j.sent(),[2,[w,C]]}var P,k}))}))}var ie=function(e){function n(){var t=this,n=(0,Nt.u)(),r=n.promise,i=n.resolve;return t=e.call(this,(function(t){return r.then((function(e){return re(e[0],e[1],t)}))}))||this,t._resolveLoadStart=function(t,e){return i([t,e])},t}return(0,t.C6)(n,e),n.prototype.load=function(t,e){return void 0===e&&(e={}),this._resolveLoadStart(t,e),this},n.load=function(t,e){return void 0===e&&(e={}),(new n).load(t,e)},n.standalone=function(t,e){return n.load({writeKey:t},e).then((function(t){return t[0]}))},n}(vt),oe=s(7610);function se(){var e,n;return(0,t.sH)(this,void 0,Promise,(function(){var r,i,o;return(0,t.YH)(this,(function(t){switch(t.label){case 0:return r=function(){var t;if((0,oe.V)())return(0,oe.V)();var e=(0,it.kJ)();if(null==e?void 0:e._writeKey)return e._writeKey;for(var n=/http.*\/analytics\.js\/v1\/([^/]*)(\/platform)?\/analytics.*/,r=void 0,i=0,o=Array.prototype.slice.call(document.querySelectorAll("script"));i=parseInt(o)}()){var he=document.createElement("script");he.setAttribute("src","https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.7.0/polyfill.min.js"),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",(function(){return document.body.appendChild(he)})):document.body.appendChild(he),he.onload=function(){de(se)}}else de(se)}(),window.AnalyticsNext={}}(); +//# sourceMappingURL=standalone.js.map \ No newline at end of file diff --git a/Instructions/day 1_files/commons.59560acdd69ed701c941.js.gz b/Instructions/day 1_files/commons.59560acdd69ed701c941.js.gz new file mode 100644 index 0000000..b1b98ae --- /dev/null +++ b/Instructions/day 1_files/commons.59560acdd69ed701c941.js.gz @@ -0,0 +1,2 @@ +(window.webpackJsonp_name_Integration=window.webpackJsonp_name_Integration||[]).push([[0],{"+BL1":function(t,e,r){"use strict";function n(t){var e=t.toString();return 1===e.length?"0"+e:e}t.exports=function(t){return t.getUTCFullYear()+"-"+n(t.getUTCMonth()+1)+"-"+n(t.getUTCDate())+"T"+n(t.getUTCHours())+":"+n(t.getUTCMinutes())+":"+n(t.getUTCSeconds())+"."+String((t.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}},"+VvR":function(t,e){t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("String expected");e||(e=document);var r=/<([\w:]+)/.exec(t);if(!r)return e.createTextNode(t);t=t.replace(/^\s+|\s+$/g,"");var n=r[1];if("body"==n){return(i=e.createElement("html")).innerHTML=t,i.removeChild(i.lastChild)}var i,a=Object.prototype.hasOwnProperty.call(o,n)?o[n]:o._default,c=a[0],u=a[1],s=a[2];(i=e.createElement("div")).innerHTML=u+t+s;for(;c--;)i=i.lastChild;if(i.firstChild==i.lastChild)return i.removeChild(i.firstChild);var p=e.createDocumentFragment();for(;i.firstChild;)p.appendChild(i.removeChild(i.firstChild));return p};var r,n=!1;"undefined"!=typeof document&&((r=document.createElement("div")).innerHTML='
a',n=!r.getElementsByTagName("link").length,r=void 0);var o={legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"],_default:n?[1,"X
","
"]:[0,"",""]};o.td=o.th=[3,"","
"],o.option=o.optgroup=[1,'"],o.thead=o.tbody=o.colgroup=o.caption=o.tfoot=[1,"","
"],o.polyline=o.ellipse=o.polygon=o.circle=o.text=o.line=o.path=o.rect=o.g=[1,'',""]},"+za2":function(t,e,r){"use strict";var n=r("Z2kk"),o=r("YWS0"),i=r("stHd"),a=Object.prototype.toString;t.exports=function(t){return e=t,"[object Date]"===a.call(e)?t:function(t){return"[object Number]"===a.call(t)}(t)?new Date((r=t)<315576e5?1e3*r:r):n.is(t)?n.parse(t):o.is(t)?o.parse(t):i.is(t)?i.parse(t):new Date(t);var e,r}},"1JUM":function(t,e,r){"use strict";var n=r("Xhoa").parse,o=r("Ogr1");function i(t){for(var r=e.cookie,n=e.levels(t),o=0;o=0;--i)o.push(e.slice(i).join("."));return o},i.cookie=o,e=t.exports=i},"1Lz2":function(t,e,r){"use strict";var n=r("hzPI").inherit,o=r("hzPI").type,i=r("j25Z"),a=r("iS5v"),c=r("HKI3"),u=r("y3MG");function s(t,e){i.call(this,t,e)}n(s,i),s.prototype.action=function(){return"track"},s.prototype.type=s.prototype.action,s.prototype.event=i.field("event"),s.prototype.value=i.proxy("properties.value"),s.prototype.category=i.proxy("properties.category"),s.prototype.id=i.proxy("properties.id"),s.prototype.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")},s.prototype.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")},s.prototype.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")},s.prototype.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")},s.prototype.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")},s.prototype.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")},s.prototype.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")},s.prototype.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")},s.prototype.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")},s.prototype.sku=i.proxy("properties.sku"),s.prototype.tax=i.proxy("properties.tax"),s.prototype.name=i.proxy("properties.name"),s.prototype.price=i.proxy("properties.price"),s.prototype.total=i.proxy("properties.total"),s.prototype.repeat=i.proxy("properties.repeat"),s.prototype.coupon=i.proxy("properties.coupon"),s.prototype.shipping=i.proxy("properties.shipping"),s.prototype.discount=i.proxy("properties.discount"),s.prototype.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")},s.prototype.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")},s.prototype.description=i.proxy("properties.description"),s.prototype.plan=i.proxy("properties.plan"),s.prototype.subtotal=function(){var t=u(this.properties(),"subtotal"),e=this.total()||this.revenue();if(t)return t;if(!e)return 0;if(this.total()){var r=this.tax();r&&(e-=r),(r=this.shipping())&&(e-=r),(r=this.discount())&&(e+=r)}return e},s.prototype.products=function(){var t=this.properties(),e=u(t,"products");return"array"===o(e)?e:[]},s.prototype.quantity=function(){return(this.obj.properties||{}).quantity||1},s.prototype.currency=function(){return(this.obj.properties||{}).currency||"USD"},s.prototype.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},s.prototype.query=i.proxy("options.query"),s.prototype.properties=function(t){var e=this.field("properties")||{};for(var r in t=t||{}){var n=null==this[r]?this.proxy("properties."+r):this[r]();null!=n&&(e[t[r]]=n,delete e[r])}return e},s.prototype.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()},s.prototype.email=function(){var t=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(t)return t;var e=this.userId();return c(e)?e:void 0},s.prototype.revenue=function(){var t=this.proxy("properties.revenue"),e=this.event();return!t&&e&&e.match(/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i)&&(t=this.proxy("properties.total")),function(t){if(!t)return;if("number"==typeof t)return t;if("string"!=typeof t)return;if(t=t.replace(/\$/g,""),t=parseFloat(t),!isNaN(t))return t}(t)},s.prototype.cents=function(){var t=this.revenue();return"number"!=typeof t?this.value()||0:100*t},s.prototype.identify=function(){var t=this.json();return t.traits=this.traits(),new a(t,this.opts)},t.exports=s},"3IO0":function(t,e){t.exports=function(t){return r.test(t)?t.toLowerCase():n.test(t)?(function(t){return t.replace(o,(function(t,e){return e?" "+e:""}))}(t)||t).toLowerCase():function(t){return t.replace(i,(function(t,e,r){return e+" "+r.toLowerCase().split("").join(" ")}))}(t).toLowerCase()};var r=/\s/,n=/[\W_]/;var o=/[\W_]+(.|$)/g;var i=/(.)([A-Z]+)/g},"48VB":function(t,e){var r=Object.prototype.toString;t.exports=function(t){switch(r.call(t)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array"}return null===t?"null":void 0===t?"undefined":t===Object(t)?"object":typeof t}},"5mDK":function(t,e,r){var n=r("NOtv");t.exports=function(t,e){var r=n("global-queue:"+t);return e=e||{},function(n){n=[].slice.call(arguments),window[t]||(window[t]=[]),r("%o",n),!1===e.wrap?window[t].push.apply(window[t],n):window[t].push(n)}}},"6YGp":function(t,e,r){"use strict";var n=r("XWve"),o=Object.prototype.toString,i="function"==typeof Array.isArray?Array.isArray:function(t){return"[object Array]"===o.call(t)},a=function(t){return null!=t&&(i(t)||"function"!==t&&function(t){var e=typeof t;return"number"===e||"object"===e&&"[object Number]"===o.call(t)}(t.length))},c=function(t,e){for(var r=0;r1)for(var r=1;r=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,r("yLpj"))},HKI3:function(t,e){t.exports=function(t){return/.+\@.+\..+/.test(t)}},"Hv/q":function(t,e,r){"use strict";var n=r("hzPI").inherit,o=r("j25Z"),i=r("1Lz2"),a=r("HKI3");function c(t,e){o.call(this,t,e)}n(c,o),c.prototype.action=function(){return"page"},c.prototype.type=c.prototype.action,c.prototype.category=o.field("category"),c.prototype.name=o.field("name"),c.prototype.title=o.proxy("properties.title"),c.prototype.path=o.proxy("properties.path"),c.prototype.url=o.proxy("properties.url"),c.prototype.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},c.prototype.properties=function(t){var e=this.field("properties")||{},r=this.category(),n=this.name();for(var o in t=t||{},r&&(e.category=r),n&&(e.name=n),t){var i=null==this[o]?this.proxy("properties."+o):this[o]();null!=i&&(e[t[o]]=i,o!==t[o]&&delete e[o])}return e},c.prototype.email=function(){var t=this.proxy("context.traits.email")||this.proxy("properties.email");if(t)return t;var e=this.userId();return a(e)?e:void 0},c.prototype.fullName=function(){var t=this.category(),e=this.name();return e&&t?t+" "+e:e},c.prototype.event=function(t){return t?"Viewed "+t+" Page":"Loaded a Page"},c.prototype.track=function(t){var e=this.json();return e.event=this.event(t),e.timestamp=this.timestamp(),e.properties=this.properties(),new i(e,this.opts)},t.exports=c},IWyO:function(t,e,r){try{var n=r("z6Jx")}catch(t){n=r("z6Jx")}var o=r("BaHu"),i=Object.prototype.hasOwnProperty;function a(t,e,r){for(var n=0;n=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(o())}).call(this,r("8oxB"))},NtLt:function(t,e,r){var n=r("XKrD");t.exports=function(t){return n(t).replace(/[\W_]+(.|$)/g,(function(t,e){return e?" "+e:""})).trim()}},OO3c:function(t,e,r){"use strict";var n=r("SnsM"),o=r("6YGp"),i=r("s7Eg");t.exports=function t(e,r){return e=n(e),o((function(n,o){"date"===i(n)&&(e[o]=r(n)),"object"!==i(n)&&"array"!==i(n)||(e[o]=t(n,r))}),e),e}},Ogr1:function(t,e,r){var n=r("NOtv")("cookie");function o(t,e,r){r=r||{};var n=c(t)+"="+c(e);null==e&&(r.maxage=-1),r.maxage&&(r.expires=new Date(+new Date+r.maxage)),r.path&&(n+="; path="+r.path),r.domain&&(n+="; domain="+r.domain),r.expires&&(n+="; expires="+r.expires.toUTCString()),r.secure&&(n+="; secure"),document.cookie=n}function i(){var t;try{t=document.cookie}catch(t){return"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t.stack||t),{}}return function(t){var e,r={},n=t.split(/ *; */);if(""==n[0])return r;for(var o=0;o>2]|=t[M]<>2]|=g<>2]|=(192|g>>6)<>2]|=(128|63&g)<=57344?(s[b>>2]|=(224|g>>12)<>2]|=(128|g>>6&63)<>2]|=(128|63&g)<>2]|=(240|g>>18)<>2]|=(128|g>>12&63)<>2]|=(128|g>>6&63)<>2]|=(128|63&g)<>2]|=a[3&b],++M),m=s[16],M>L&&b<56&&(s[15]=N<<3,E=!0);var P=o,z=p,D=l,B=f,U=d,F=y,Z=h,H=v;for(w=16;w<64;++w)x=((T=s[w-15])>>>7|T<<25)^(T>>>18|T<<14)^T>>>3,j=((T=s[w-2])>>>17|T<<15)^(T>>>19|T<<13)^T>>>10,s[w]=s[w-16]+x+s[w-7]+j<<0;for(_=z&D,w=0;w<64;w+=4)C?(e?(A=300032,H=(T=s[0]-1413257819)-150054599<<0,B=T+24177077<<0):(A=704751109,H=(T=s[0]-210244248)-1521486534<<0,B=T+143694565<<0),C=!1):(x=(P>>>2|P<<30)^(P>>>13|P<<19)^(P>>>22|P<<10),k=(A=P&z)^P&D^_,H=B+(T=H+(j=(U>>>6|U<<26)^(U>>>11|U<<21)^(U>>>25|U<<7))+(U&F^~U&Z)+u[w]+s[w])<<0,B=T+(x+k)<<0),x=(B>>>2|B<<30)^(B>>>13|B<<19)^(B>>>22|B<<10),k=(O=B&P)^B&z^A,Z=D+(T=Z+(j=(H>>>6|H<<26)^(H>>>11|H<<21)^(H>>>25|H<<7))+(H&U^~H&F)+u[w+1]+s[w+1])<<0,x=((D=T+(x+k)<<0)>>>2|D<<30)^(D>>>13|D<<19)^(D>>>22|D<<10),k=(I=D&B)^D&P^O,F=z+(T=F+(j=(Z>>>6|Z<<26)^(Z>>>11|Z<<21)^(Z>>>25|Z<<7))+(Z&H^~Z&U)+u[w+2]+s[w+2])<<0,x=((z=T+(x+k)<<0)>>>2|z<<30)^(z>>>13|z<<19)^(z>>>22|z<<10),k=(_=z&D)^z&B^I,U=P+(T=U+(j=(F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7))+(F&Z^~F&H)+u[w+3]+s[w+3])<<0,P=T+(x+k)<<0;o=o+P<<0,p=p+z<<0,l=l+D<<0,f=f+B<<0,d=d+U<<0,y=y+F<<0,h=h+Z<<0,v=v+H<<0}while(!E);var q=i[o>>28&15]+i[o>>24&15]+i[o>>20&15]+i[o>>16&15]+i[o>>12&15]+i[o>>8&15]+i[o>>4&15]+i[15&o]+i[p>>28&15]+i[p>>24&15]+i[p>>20&15]+i[p>>16&15]+i[p>>12&15]+i[p>>8&15]+i[p>>4&15]+i[15&p]+i[l>>28&15]+i[l>>24&15]+i[l>>20&15]+i[l>>16&15]+i[l>>12&15]+i[l>>8&15]+i[l>>4&15]+i[15&l]+i[f>>28&15]+i[f>>24&15]+i[f>>20&15]+i[f>>16&15]+i[f>>12&15]+i[f>>8&15]+i[f>>4&15]+i[15&f]+i[d>>28&15]+i[d>>24&15]+i[d>>20&15]+i[d>>16&15]+i[d>>12&15]+i[d>>8&15]+i[d>>4&15]+i[15&d]+i[y>>28&15]+i[y>>24&15]+i[y>>20&15]+i[y>>16&15]+i[y>>12&15]+i[y>>8&15]+i[y>>4&15]+i[15&y]+i[h>>28&15]+i[h>>24&15]+i[h>>20&15]+i[h>>16&15]+i[h>>12&15]+i[h>>8&15]+i[h>>4&15]+i[15&h];return e||(q+=i[v>>28&15]+i[v>>24&15]+i[v>>20&15]+i[v>>16&15]+i[v>>12&15]+i[v>>8&15]+i[v>>4&15]+i[15&v]),q};o?(l.sha256=l,l.sha224=p,t.exports=l):n&&(n.sha256=l,n.sha224=p)}(this)}).call(this,r("8oxB"),r("yLpj"))},bmjW:function(t,e,r){var n=r("48VB");function o(t,e){return e=e||i,"array"==n(t)?o.array(t,e):o.object(t,e)}function i(t){return null==t}t.exports=o,o.array=function(t,e){for(var r=[],n=0;n-1&&(t.type="ios"),e.indexOf("android")>-1&&(t.type="android")),t},p.prototype.userAgent=p.proxy("context.userAgent"),p.prototype.timezone=p.proxy("context.timezone"),p.prototype.timestamp=p.field("timestamp"),p.prototype.channel=p.field("channel"),p.prototype.ip=p.proxy("context.ip"),p.prototype.userId=p.field("userId"),n(p.prototype),t.exports=p},k2N2:function(t,e){var r=1e3,n=60*r,o=60*n,i=24*o,a=365.25*i;function c(t,e,r){if(!(t0)return function(t){if((t=String(t)).length>100)return;var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!e)return;var c=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(t);if("number"===s&&!1===isNaN(t))return e.long?c(u=t,i,"day")||c(u,o,"hour")||c(u,n,"minute")||c(u,r,"second")||u+" ms":function(t){if(t>=i)return Math.round(t/i)+"d";if(t>=o)return Math.round(t/o)+"h";if(t>=n)return Math.round(t/n)+"m";if(t>=r)return Math.round(t/r)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},l9VJ:function(t,e){function r(t){return n()?"https:"+t:"http:"+t}function n(){return"https:"==location.protocol||"chrome-extension:"==location.protocol}t.exports=function(t){switch(arguments.length){case 0:return n();case 1:return r(t)}}},lv48:function(t,e,r){var n;function o(t){function r(){if(r.enabled){var t=r,o=+new Date,i=o-(n||o);t.diff=i,t.prev=n,t.curr=o,n=o;for(var a=new Array(arguments.length),c=0;c=0},f.bool=f.boolean=function(t){return"[object Boolean]"===c.call(t)},f.false=function(t){return f.bool(t)&&!1===Boolean(Number(t))},f.true=function(t){return f.bool(t)&&!0===Boolean(Number(t))},f.date=function(t){return"[object Date]"===c.call(t)},f.date.valid=function(t){return f.date(t)&&!isNaN(Number(t))},f.element=function(t){return void 0!==t&&"undefined"!=typeof HTMLElement&&t instanceof HTMLElement&&1===t.nodeType},f.error=function(t){return"[object Error]"===c.call(t)},f.fn=f.function=function(t){if("undefined"!=typeof window&&t===window.alert)return!0;var e=c.call(t);return"[object Function]"===e||"[object GeneratorFunction]"===e||"[object AsyncFunction]"===e},f.number=function(t){return"[object Number]"===c.call(t)},f.infinite=function(t){return t===1/0||t===-1/0},f.decimal=function(t){return f.number(t)&&!u(t)&&!f.infinite(t)&&t%1!=0},f.divisibleBy=function(t,e){var r=f.infinite(t),n=f.infinite(e),o=f.number(t)&&!u(t)&&f.number(e)&&!u(e)&&0!==e;return r||n||o&&t%e==0},f.integer=f.int=function(t){return f.number(t)&&!u(t)&&t%1==0},f.maximum=function(t,e){if(u(t))throw new TypeError("NaN is not a valid value");if(!f.arraylike(e))throw new TypeError("second argument must be array-like");for(var r=e.length;--r>=0;)if(t=0;)if(t>e[r])return!1;return!0},f.nan=function(t){return!f.number(t)||t!=t},f.even=function(t){return f.infinite(t)||f.number(t)&&t==t&&t%2==0},f.odd=function(t){return f.infinite(t)||f.number(t)&&t==t&&t%2!=0},f.ge=function(t,e){if(u(t)||u(e))throw new TypeError("NaN is not a valid value");return!f.infinite(t)&&!f.infinite(e)&&t>=e},f.gt=function(t,e){if(u(t)||u(e))throw new TypeError("NaN is not a valid value");return!f.infinite(t)&&!f.infinite(e)&&t>e},f.le=function(t,e){if(u(t)||u(e))throw new TypeError("NaN is not a valid value");return!f.infinite(t)&&!f.infinite(e)&&t<=e},f.lt=function(t,e){if(u(t)||u(e))throw new TypeError("NaN is not a valid value");return!f.infinite(t)&&!f.infinite(e)&&t=e&&t<=r},f.object=function(t){return"[object Object]"===c.call(t)},f.primitive=function(t){return!t||!("object"==typeof t||f.object(t)||f.fn(t)||f.array(t))},f.hash=function(t){return f.object(t)&&t.constructor===Object&&!t.nodeType&&!t.setInterval},f.regexp=function(t){return"[object RegExp]"===c.call(t)},f.string=function(t){return"[object String]"===c.call(t)},f.base64=function(t){return f.string(t)&&(!t.length||p.test(t))},f.hex=function(t){return f.string(t)&&(!t.length||l.test(t))},f.symbol=function(t){return"function"==typeof Symbol&&"[object Symbol]"===c.call(t)&&"symbol"==typeof n.call(t)},f.bigint=function(t){return"function"==typeof BigInt&&"[object BigInt]"===c.call(t)&&"bigint"==typeof o.call(t)},t.exports=f},rZo2:function(t,e){var r=/\b(Array|Date|Object|Math|JSON)\b/g;t.exports=function(t,e){var n=function(t){for(var e=[],r=0;r0?"-":"+")+s(100*Math.floor(Math.abs(j)/60)+Math.abs(j)%60,4),S:["th","st","nd","rd"][y%10>3?0:(y%100-y%10!=10)*y%10],W:k,N:T};return e.replace(i,(function(t){return t in A?A[t]:t.slice(1,t.length-1)}))});function s(t,e){for(t=String(t),e=e||2;t.length + + + + + Frame + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+

+

Status embed installed correctly

+

+ +
+ This will be shown if an incident or maintenance is posted on your status page. +
+ + +
+ +
+ +
+
+ + + + \ No newline at end of file diff --git a/Instructions/day 1_files/gtm.js.download b/Instructions/day 1_files/gtm.js.download new file mode 100644 index 0000000..ae43650 --- /dev/null +++ b/Instructions/day 1_files/gtm.js.download @@ -0,0 +1,854 @@ + +// Copyright 2012 Google Inc. All rights reserved. + + (function(w,g){w[g]=w[g]||{}; + w[g].e=function(s){return eval(s);};})(window,'google_tag_manager'); + +(function(){ + +var data = { +"resource": { + "version":"49", + + "macros":[{"function":"__e"},{"function":"__jsm","vtp_javascript":["template","(function(){return window.location.pathname+window.location.search+window.location.hash})();"]},{"function":"__gas","vtp_cookieDomain":"auto","vtp_doubleClick":true,"vtp_setTrackerName":false,"vtp_useDebugVersion":false,"vtp_useHashAutoLink":false,"vtp_decorateFormsAutoLink":false,"vtp_enableLinkId":false,"vtp_enableEcommerce":false,"vtp_trackingId":"UA-122023594-8","vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false},{"function":"__v","vtp_name":"gtm.triggers","vtp_dataLayerVersion":2,"vtp_setDefaultValue":true,"vtp_defaultValue":""},{"function":"__v","vtp_name":"gtm.videoStatus","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoPercent","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoCurrentTime","vtp_dataLayerVersion":1},{"function":"__jsm","vtp_javascript":["template","(function(){var a=",["escape",["macro",4],8,16],";switch(a){case \"start\":return\"Started playing\";case \"pause\":return\"Pause\";case \"buffering\":return\"Buffering at \"+",["escape",["macro",5],8,16],"+\"%\";case \"progress\":return\"Reached \"+",["escape",["macro",5],8,16],"+\"%\";case \"seek\":return\"Seek \"+",["escape",["macro",6],8,16],";case \"complete\":return\"Reached the end\";default:return a}})();"]},{"function":"__v","vtp_name":"gtm.videoTitle","vtp_dataLayerVersion":1},{"function":"__u","vtp_component":"PATH","vtp_enableMultiQueryKeys":false,"vtp_enableIgnoreEmptyQueryParam":false},{"function":"__v","vtp_name":"gtm.elementUrl","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementClasses","vtp_dataLayerVersion":1},{"function":"__u","vtp_component":"URL","vtp_enableMultiQueryKeys":false,"vtp_enableIgnoreEmptyQueryParam":false},{"function":"__aev","vtp_setDefaultValue":false,"vtp_varType":"URL","vtp_component":"IS_OUTBOUND","vtp_affiliatedDomains":"streamlit.io,docs.streamlit.io,discuss.streamlit.io,blog.streamlit.io,share.streamlit.io"},{"function":"__aev","vtp_setDefaultValue":false,"vtp_stripWww":true,"vtp_varType":"URL","vtp_component":"HOST"},{"function":"__aev","vtp_varType":"TEXT"},{"function":"__f","vtp_component":"URL"},{"function":"__v","vtp_name":"gtm.elementId","vtp_dataLayerVersion":1},{"function":"__u","vtp_component":"HOST","vtp_enableMultiQueryKeys":false,"vtp_enableIgnoreEmptyQueryParam":false},{"function":"__e"},{"function":"__v","vtp_name":"gtm.element","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementId","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementTarget","vtp_dataLayerVersion":1},{"function":"__aev","vtp_varType":"TEXT"},{"function":"__v","vtp_name":"gtm.element","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementClasses","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementTarget","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementUrl","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.newUrlFragment","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.historyChangeSource","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoProvider","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoUrl","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoDuration","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoVisible","vtp_dataLayerVersion":1}], + "tags":[{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_overrideGaSettings":true,"vtp_fieldsToSet":["list",["map","fieldName","page","value",["macro",1]]],"vtp_trackType":"TRACK_PAGEVIEW","vtp_gaSettings":["macro",2],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":44},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"YouTube","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":["macro",7],"vtp_eventLabel":["macro",8],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":50},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Post Created","vtp_eventLabel":["template","Discuss - ",["macro",9]],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":59},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Post Bookmarked","vtp_eventLabel":["template","Discuss -",["macro",9]],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":60},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Post Liked","vtp_eventLabel":["template","Discuss - ",["macro",9]],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":61},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Topic Bookmarked","vtp_eventLabel":["template","Discuss -",["macro",9]],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":63},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Topic Created","vtp_eventLabel":["template","Discuss -",["macro",9]],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":64},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"GitHub Link Click","vtp_eventLabel":["macro",10],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":67},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Teams - Signup Button Click","vtp_eventLabel":["macro",12],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":69},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Teams - Form Start","vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":71},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Discuss Sign Up - Form Start","vtp_eventLabel":["macro",9],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":75},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Discuss Sign Up - Form Complete","vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":77},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Discuss Sign Up - Email Activation","vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":79},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Teams - Form Complete","vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":81},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Outbound Link Click","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":["macro",14],"vtp_eventLabel":["macro",10],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":89},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Discuss - Share Button Click","vtp_eventLabel":["macro",12],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":95},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Share - Form Start","vtp_eventLabel":["macro",16],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":100},{"function":"__ua","metadata":["map"],"once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":false,"vtp_eventCategory":"Engagement","vtp_trackType":"TRACK_EVENT","vtp_gaSettings":["macro",2],"vtp_eventAction":"Share - Form Complete","vtp_eventLabel":["macro",16],"vtp_enableRecaptchaOption":false,"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":105},{"function":"__hl","tag_id":106},{"function":"__ytl","vtp_progressThresholdsPercent":"10,25,50,75,90","vtp_captureComplete":true,"vtp_captureStart":true,"vtp_fixMissingApi":true,"vtp_triggerStartOption":"DOM_READY","vtp_radioButtonGroup1":"PERCENTAGE","vtp_capturePause":true,"vtp_captureProgress":true,"vtp_uniqueTriggerId":"31594782_49","vtp_enableTriggerStartOption":true,"tag_id":107},{"function":"__lcl","vtp_waitForTags":false,"vtp_checkValidation":false,"vtp_uniqueTriggerId":"31594782_66","tag_id":108},{"function":"__lcl","vtp_waitForTags":false,"vtp_checkValidation":false,"vtp_uniqueTriggerId":"31594782_68","tag_id":109},{"function":"__evl","vtp_useOnScreenDuration":false,"vtp_useDomChangeListener":true,"vtp_elementSelector":".create-account-email","vtp_firingFrequency":"ONCE","vtp_selectorType":"CSS","vtp_onScreenRatio":"5","vtp_uniqueTriggerId":"31594782_74","tag_id":110},{"function":"__fsl","vtp_waitForTags":true,"vtp_waitForTagsTimeout":"2000","vtp_uniqueTriggerId":"31594782_82","tag_id":111},{"function":"__lcl","vtp_waitForTags":false,"vtp_checkValidation":false,"vtp_uniqueTriggerId":"31594782_88","tag_id":112},{"function":"__cl","tag_id":113},{"function":"__html","metadata":["map"],"once_per_event":true,"vtp_html":"\u003Cscript type=\"text\/gtmscript\"\u003Efunction addEvent(b,a,c){document.addEventListener?b.addEventListener(a,c,!1):document.attachEvent?b.attachEvent(\"on\"+a,c):b[\"on\"+a]=c}addEvent(window,\"message\",function(b){var a=b.data;a=Object.values(a)[0];var c=window.dataLayer=window.dataLayer||[];-1\u003Ca.indexOf(\"formSubmit\")\u0026\u0026\"https:\/\/i.prefinery.com\"===b.origin\u0026\u0026c.push({event:\"formSubmit\"})});\u003C\/script\u003E","vtp_supportDocumentWrite":false,"vtp_enableIframeMode":false,"vtp_enableEditJsMacroBehavior":false,"tag_id":84},{"function":"__html","metadata":["map"],"once_per_event":true,"vtp_html":"\u003Cscript type=\"text\/gtmscript\"\u003Efunction addEvent(b,a,c){document.addEventListener?b.addEventListener(a,c,!1):document.attachEvent?b.attachEvent(\"on\"+a,c):b[\"on\"+a]=c}addEvent(window,\"message\",function(b){var a=b.data;a=Object.values(a)[0];var c=window.dataLayer=window.dataLayer||[];-1\u003Ca.indexOf(\"formSubmit\")\u0026\u0026\"https:\/\/i.prefinery.com\"===b.origin\u0026\u0026c.push({event:\"formSubmitShare\"})});\u003C\/script\u003E","vtp_supportDocumentWrite":false,"vtp_enableIframeMode":false,"vtp_enableEditJsMacroBehavior":false,"tag_id":103}], + "predicates":[{"function":"_eq","arg0":["macro",0],"arg1":"gtm.js"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.historyChange"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.video"},{"function":"_re","arg0":["macro",3],"arg1":"(^$|((^|,)31594782_49($|,)))"},{"function":"_eq","arg0":["macro",0],"arg1":"postCreated"},{"function":"_eq","arg0":["macro",0],"arg1":"postBookmarked"},{"function":"_eq","arg0":["macro",0],"arg1":"postLiked"},{"function":"_eq","arg0":["macro",0],"arg1":"topicBookmarked"},{"function":"_eq","arg0":["macro",0],"arg1":"topicCreated"},{"function":"_cn","arg0":["macro",10],"arg1":"github.com"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.linkClick"},{"function":"_re","arg0":["macro",3],"arg1":"(^$|((^|,)31594782_66($|,)))"},{"function":"_cn","arg0":["macro",11],"arg1":"button"},{"function":"_cn","arg0":["macro",10],"arg1":"\/for-teams"},{"function":"_re","arg0":["macro",3],"arg1":"(^$|((^|,)31594782_68($|,)))"},{"function":"_cn","arg0":["macro",12],"arg1":"www.streamlit.io\/for-teams"},{"function":"_cn","arg0":["macro",12],"arg1":"https:\/\/discuss.streamlit.io\/"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.elementVisibility"},{"function":"_re","arg0":["macro",3],"arg1":"(^$|((^|,)31594782_74($|,)))"},{"function":"_cn","arg0":["macro",12],"arg1":"discuss.streamlit.io\/u\/account-created"},{"function":"_cn","arg0":["macro",12],"arg1":"discuss.streamlit.io\/u\/activate-account\/"},{"function":"_eq","arg0":["macro",0],"arg1":"formSubmit"},{"function":"_eq","arg0":["macro",13],"arg1":"true"},{"function":"_re","arg0":["macro",3],"arg1":"(^$|((^|,)31594782_88($|,)))"},{"function":"_eq","arg0":["macro",15],"arg1":"Share"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.click"},{"function":"_cn","arg0":["macro",12],"arg1":"streamlit.io\/sharing-sign-up"},{"function":"_eq","arg0":["macro",0],"arg1":"formSubmitShare"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.dom"},{"function":"_cn","arg0":["macro",17],"arg1":"pfy-signup-form"},{"function":"_cn","arg0":["macro",12],"arg1":"streamlit.io\/for-teams"}], + "rules":[[["if",0],["add",0,18,20,21,22,24,25]],[["if",1],["add",0]],[["if",2,3],["add",1]],[["if",4],["add",2]],[["if",5],["add",3]],[["if",6],["add",4]],[["if",7],["add",5]],[["if",8],["add",6]],[["if",9,10,11],["add",7]],[["if",10,12,13,14],["add",8]],[["if",0,15],["add",9]],[["if",16,17,18],["add",10]],[["if",0,19],["add",11]],[["if",0,20],["add",12]],[["if",21],["add",13]],[["if",10,22,23],["unless",9],["add",14]],[["if",24,25],["add",15]],[["if",0,26],["add",16,27]],[["if",27],["add",17]],[["if",28],["add",19]],[["if",0,29],["add",23]],[["if",0,30],["add",26]]] +}, +"runtime":[ [50,"__aev",[46,"a"],[50,"aC",[46,"aJ"],[22,[2,[15,"v"],"hasOwnProperty",[7,[15,"aJ"]]],[46,[53,[36,[16,[15,"v"],[15,"aJ"]]]]]],[52,"aK",[16,[15,"z"],"element"]],[22,[28,[15,"aK"]],[46,[36,[44]]]],[52,"aL",["g",[15,"aK"]]],["aD",[15,"aJ"],[15,"aL"]],[36,[15,"aL"]]],[50,"aD",[46,"aJ","aK"],[43,[15,"v"],[15,"aJ"],[15,"aK"]],[2,[15,"w"],"push",[7,[15,"aJ"]]],[22,[18,[17,[15,"w"],"length"],[15,"s"]],[46,[53,[52,"aL",[2,[15,"w"],"shift",[7]]],[2,[15,"b"],"delete",[7,[15,"v"],[15,"aL"]]]]]]],[50,"aE",[46,"aJ","aK"],[52,"aL",["n",[30,[30,[16,[15,"z"],"elementUrl"],[15,"aJ"]],""]]],[52,"aM",["n",[30,[17,[15,"aK"],"component"],"URL"]]],[38,[15,"aM"],[46,"URL","IS_OUTBOUND","PROTOCOL","HOST","PORT","PATH","EXTENSION","QUERY","FRAGMENT"],[46,[5,[46,[36,[15,"aL"]]]],[5,[46,[36,["aG",[15,"aL"],[17,[15,"aK"],"affiliatedDomains"]]]]],[5,[46,[36,[2,[15,"l"],"B",[7,[15,"aL"]]]]]],[5,[46,[36,[2,[15,"l"],"C",[7,[15,"aL"],[17,[15,"aK"],"stripWww"]]]]]],[5,[46,[36,[2,[15,"l"],"D",[7,[15,"aL"]]]]]],[5,[46,[36,[2,[15,"l"],"E",[7,[15,"aL"],[17,[15,"aK"],"defaultPages"]]]]]],[5,[46,[36,[2,[15,"l"],"F",[7,[15,"aL"]]]]]],[5,[46,[22,[17,[15,"aK"],"queryKey"],[46,[53,[36,[2,[15,"l"],"H",[7,[15,"aL"],[17,[15,"aK"],"queryKey"]]]]]],[46,[53,[36,[2,[17,["m",[15,"aL"]],"search"],"replace",[7,"?",""]]]]]]]],[5,[46,[36,[2,[15,"l"],"G",[7,[15,"aL"]]]]]],[9,[46,[36,[17,["m",[15,"aL"]],"href"]]]]]]],[50,"aF",[46,"aJ","aK"],[52,"aL",[8,"ATTRIBUTE","elementAttribute","CLASSES","elementClasses","ELEMENT","element","ID","elementId","HISTORY_CHANGE_SOURCE","historyChangeSource","HISTORY_NEW_STATE","newHistoryState","HISTORY_NEW_URL_FRAGMENT","newUrlFragment","HISTORY_OLD_STATE","oldHistoryState","HISTORY_OLD_URL_FRAGMENT","oldUrlFragment","TARGET","elementTarget"]],[52,"aM",[16,[15,"z"],[16,[15,"aL"],[15,"aJ"]]]],[36,[39,[21,[15,"aM"],[44]],[15,"aM"],[15,"aK"]]]],[50,"aG",[46,"aJ","aK"],[22,[28,[15,"aJ"]],[46,[53,[36,false]]]],[52,"aL",["aI",[15,"aJ"]]],[22,["aH",[15,"aL"],["k"]],[46,[53,[36,false]]]],[22,[28,["q",[15,"aK"]]],[46,[53,[3,"aK",[2,[2,["n",[30,[15,"aK"],""]],"replace",[7,["c","\\s+","g"],""]],"split",[7,","]]]]]],[65,"aM",[15,"aK"],[46,[53,[22,[20,["j",[15,"aM"]],"object"],[46,[53,[22,[16,[15,"aM"],"is_regex"],[46,[53,[52,"aN",["c",[16,[15,"aM"],"domain"]]],[22,[20,[15,"aN"],[45]],[46,[6]]],[22,["p",[15,"aN"],[15,"aL"]],[46,[53,[36,false]]]]]],[46,[53,[22,["aH",[15,"aL"],[16,[15,"aM"],"domain"]],[46,[53,[36,false]]]]]]]]],[46,[22,[20,["j",[15,"aM"]],"RegExp"],[46,[53,[22,["p",[15,"aM"],[15,"aL"]],[46,[53,[36,false]]]]]],[46,[53,[22,["aH",[15,"aL"],[15,"aM"]],[46,[53,[36,false]]]]]]]]]]]],[36,true]],[50,"aH",[46,"aJ","aK"],[22,[28,[15,"aK"]],[46,[36,false]]],[22,[19,[2,[15,"aJ"],"indexOf",[7,[15,"aK"]]],0],[46,[36,true]]],[3,"aK",["aI",[15,"aK"]]],[22,[28,[15,"aK"]],[46,[36,false]]],[3,"aK",[2,[15,"aK"],"toLowerCase",[7]]],[41,"aL"],[3,"aL",[37,[17,[15,"aJ"],"length"],[17,[15,"aK"],"length"]]],[22,[1,[18,[15,"aL"],0],[29,[2,[15,"aK"],"charAt",[7,0]],"."]],[46,[53,[34,[3,"aL",[37,[15,"aL"],1]]],[3,"aK",[0,".",[15,"aK"]]]]]],[36,[1,[19,[15,"aL"],0],[12,[2,[15,"aJ"],"indexOf",[7,[15,"aK"],[15,"aL"]]],[15,"aL"]]]]],[50,"aI",[46,"aJ"],[22,[28,["p",[15,"r"],[15,"aJ"]]],[46,[53,[3,"aJ",[0,"http://",[15,"aJ"]]]]]],[36,[2,[15,"l"],"C",[7,[15,"aJ"],true]]]],[52,"b",["require","Object"]],[52,"c",["require","internal.createRegex"]],[52,"d",["require","internal.getElementAttribute"]],[52,"e",["require","internal.getElementValue"]],[52,"f",["require","internal.getEventData"]],[52,"g",["require","internal.getElementInnerText"]],[52,"h",["require","internal.getElementProperty"]],[52,"i",["require","internal.copyFromDataLayerCache"]],[52,"j",["require","getType"]],[52,"k",["require","getUrl"]],[52,"l",[15,"__module_legacyUrls"]],[52,"m",["require","internal.legacyParseUrl"]],[52,"n",["require","makeString"]],[52,"o",["require","templateStorage"]],[52,"p",["require","internal.testRegex"]],[52,"q",[51,"",[7,"aJ"],[36,[20,["j",[15,"aJ"]],"array"]]]],[52,"r",["c","^https?:\\/\\/","i"]],[52,"s",35],[52,"t","eq"],[52,"u","evc"],[52,"v",[30,[2,[15,"o"],"getItem",[7,[15,"u"]]],[8]]],[2,[15,"o"],"setItem",[7,[15,"u"],[15,"v"]]],[52,"w",[30,[2,[15,"o"],"getItem",[7,[15,"t"]]],[7]]],[2,[15,"o"],"setItem",[7,[15,"t"],[15,"w"]]],[52,"x",[17,[15,"a"],"defaultValue"]],[52,"y",[17,[15,"a"],"varType"]],[52,"z",["i","gtm"]],[38,[15,"y"],[46,"TAG_NAME","TEXT","URL","ATTRIBUTE"],[46,[5,[46,[52,"aA",[16,[15,"z"],"element"]],[52,"aB",[1,[15,"aA"],["h",[15,"aA"],"tagName"]]],[36,[30,[15,"aB"],[15,"x"]]]]],[5,[46,[36,[30,["aC",["f","gtm\\.uniqueEventId"]],[15,"x"]]]]],[5,[46,[36,["aE",[15,"x"],[15,"a"]]]]],[5,[46,[22,[20,[17,[15,"a"],"attribute"],[44]],[46,[53,[36,["aF",[15,"y"],[15,"x"]]]]],[46,[53,[52,"aJ",[16,[15,"z"],"element"]],[52,"aK",[1,[15,"aJ"],[39,[20,[17,[15,"a"],"attribute"],"value"],["e",[15,"aJ"]],["d",[15,"aJ"],[17,[15,"a"],"attribute"]]]]],[36,[30,[30,[15,"aK"],[15,"x"]],""]]]]]]],[9,[46,[36,["aF",[15,"y"],[15,"x"]]]]]]]] + ,[50,"__cl",[46,"a"],[52,"b",["require","internal.enableAutoEventOnClick"]],["b"],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__e",[46,"a"],[36,[13,[41,"$0"],[3,"$0",["require","internal.getEventData"]],["$0","event"]]]] + ,[50,"__evl",[46,"a"],[52,"b",["require","internal.enableAutoEventOnElementVisibility"]],[52,"c",["require","makeNumber"]],[52,"d",[8,"selectorType",[17,[15,"a"],"selectorType"],"id",[17,[15,"a"],"elementId"],"selector",[17,[15,"a"],"elementSelector"],"useDomChangeListener",[28,[28,[17,[15,"a"],"useDomChangeListener"]]],"onScreenRatio",["c",[17,[15,"a"],"onScreenRatio"]],"firingFrequency",[17,[15,"a"],"firingFrequency"]]],[22,[17,[15,"a"],"useOnScreenDuration"],[46,[53,[43,[15,"d"],"onScreenDuration",["c",[17,[15,"a"],"onScreenDuration"]]]]]],["b",[15,"d"],[17,[15,"a"],"uniqueTriggerId"]],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__f",[46,"a"],[52,"b",["require","copyFromDataLayer"]],[52,"c",["require","getReferrerUrl"]],[52,"d",["require","makeString"]],[52,"e",["require","parseUrl"]],[52,"f",[15,"__module_legacyUrls"]],[52,"g",[30,["b","gtm.referrer",1],["c"]]],[22,[28,[15,"g"]],[46,[36,["d",[15,"g"]]]]],[38,[17,[15,"a"],"component"],[46,"PROTOCOL","HOST","PORT","PATH","QUERY","FRAGMENT","URL"],[46,[5,[46,[36,[2,[15,"f"],"B",[7,[15,"g"]]]]]],[5,[46,[36,[2,[15,"f"],"C",[7,[15,"g"],[17,[15,"a"],"stripWww"]]]]]],[5,[46,[36,[2,[15,"f"],"D",[7,[15,"g"]]]]]],[5,[46,[36,[2,[15,"f"],"E",[7,[15,"g"],[17,[15,"a"],"defaultPages"]]]]]],[5,[46,[22,[17,[15,"a"],"queryKey"],[46,[53,[36,[2,[15,"f"],"H",[7,[15,"g"],[17,[15,"a"],"queryKey"]]]]]]],[52,"h",["e",[15,"g"]]],[36,[2,[17,[15,"h"],"search"],"replace",[7,"?",""]]]]],[5,[46,[36,[2,[15,"f"],"G",[7,[15,"g"]]]]]],[5,[46]],[9,[46,[36,[2,[15,"f"],"A",[7,["d",[15,"g"]]]]]]]]]] + ,[50,"__fsl",[46,"a"],[52,"b",["require","internal.enableAutoEventOnFormSubmit"]],[52,"c",[8,"waitForTags",[17,[15,"a"],"waitForTags"],"checkValidation",[17,[15,"a"],"checkValidation"],"waitForTagsTimeout",[17,[15,"a"],"waitForTagsTimeout"]]],[52,"d",[30,[17,[15,"a"],"uniqueTriggerId"],"0"]],["b",[15,"c"],[15,"d"]],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__gas",[46,"a"],[50,"d",[46,"e","f","g"],[43,[15,"e"],"fieldsToSet",[30,[17,[15,"e"],"fieldsToSet"],[7]]],[52,"h",[16,[15,"e"],[15,"f"]]],[22,[21,[15,"h"],[44]],[46,[53,[2,[17,[15,"e"],"fieldsToSet"],"push",[7,[8,"fieldName",[15,"g"],"value",[15,"h"]]]],[2,[15,"b"],"delete",[7,[15,"e"],[15,"f"]]]]]]],[52,"b",["require","Object"]],[52,"c",[8]],[65,"e",[2,[15,"b"],"entries",[7,[15,"a"]]],[46,[53,[52,"f",[16,[15,"e"],0]],[22,[30,[20,[15,"f"],"function"],[20,[15,"f"],"instance_name"]],[46,[53,[43,[15,"c"],[15,"f"],[45]]]],[46,[53,[43,[15,"c"],[15,"f"],[16,[15,"e"],1]]]]]]]],["d",[15,"c"],"cookieDomain","cookieDomain"],[65,"e",[2,[15,"b"],"keys",[7,[15,"c"]]],[46,[53,[43,[15,"c"],[0,"vtp_",[15,"e"]],[16,[15,"c"],[15,"e"]]]]]],[36,[15,"c"]]] + ,[50,"__hl",[46,"a"],[52,"b",["require","internal.enableAutoEventOnHistoryChange"]],["b"],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__html",[46,"a"],[52,"b",["require","internal.injectHtml"]],["b",[17,[15,"a"],"html"],[17,[15,"a"],"gtmOnSuccess"],[17,[15,"a"],"gtmOnFailure"],[17,[15,"a"],"useIframe"],[17,[15,"a"],"supportDocumentWrite"]]] + ,[50,"__jsm",[46,"a"],[52,"b",["require","internal.executeJavascriptString"]],[22,[20,[17,[15,"a"],"javascript"],[44]],[46,[36]]],[36,["b",[17,[15,"a"],"javascript"]]]] + ,[50,"__lcl",[46,"a"],[52,"b",["require","makeInteger"]],[52,"c",["require","makeString"]],[52,"d",["require","internal.enableAutoEventOnLinkClick"]],[52,"e",[8]],[22,[17,[15,"a"],"waitForTags"],[46,[53,[43,[15,"e"],"waitForTags",true],[43,[15,"e"],"waitForTagsTimeout",["b",[17,[15,"a"],"waitForTagsTimeout"]]]]]],[22,[17,[15,"a"],"checkValidation"],[46,[53,[43,[15,"e"],"checkValidation",true]]]],[52,"f",[30,[17,[15,"a"],"uniqueTriggerId"],"0"]],["d",[15,"e"],[15,"f"]],[2,[15,"a"],"gtmOnSuccess",[7]]] + ,[50,"__u",[46,"a"],[50,"k",[46,"l","m"],[52,"n",[17,[15,"m"],"multiQueryKeys"]],[52,"o",[30,[17,[15,"m"],"queryKey"],""]],[52,"p",[17,[15,"m"],"ignoreEmptyQueryParam"]],[22,[20,[15,"o"],""],[46,[53,[52,"r",[2,[17,["i",[15,"l"]],"search"],"replace",[7,"?",""]]],[36,[39,[1,[28,[15,"r"]],[15,"p"]],[44],[15,"r"]]]]]],[41,"q"],[22,[15,"n"],[46,[53,[22,[20,["e",[15,"o"]],"array"],[46,[53,[3,"q",[15,"o"]]]],[46,[53,[52,"r",["c","\\s+","g"]],[3,"q",[2,[2,["f",[15,"o"]],"replace",[7,[15,"r"],""]],"split",[7,","]]]]]]]],[46,[53,[3,"q",[7,["f",[15,"o"]]]]]]],[65,"r",[15,"q"],[46,[53,[52,"s",[2,[15,"h"],"H",[7,[15,"l"],[15,"r"]]]],[22,[29,[15,"s"],[44]],[46,[53,[22,[1,[15,"p"],[20,[15,"s"],""]],[46,[53,[6]]]],[36,[15,"s"]]]]]]]],[36,[44]]],[52,"b",["require","copyFromDataLayer"]],[52,"c",["require","internal.createRegex"]],[52,"d",["require","getUrl"]],[52,"e",["require","getType"]],[52,"f",["require","makeString"]],[52,"g",["require","parseUrl"]],[52,"h",[15,"__module_legacyUrls"]],[52,"i",["require","internal.legacyParseUrl"]],[41,"j"],[22,[17,[15,"a"],"customUrlSource"],[46,[53,[3,"j",[17,[15,"a"],"customUrlSource"]]]],[46,[53,[3,"j",["b","gtm.url",1]]]]],[3,"j",[30,[15,"j"],["d"]]],[38,[17,[15,"a"],"component"],[46,"PROTOCOL","HOST","PORT","PATH","EXTENSION","QUERY","FRAGMENT","URL"],[46,[5,[46,[36,[2,[15,"h"],"B",[7,[15,"j"]]]]]],[5,[46,[36,[2,[15,"h"],"C",[7,[15,"j"],[17,[15,"a"],"stripWww"]]]]]],[5,[46,[36,[2,[15,"h"],"D",[7,[15,"j"]]]]]],[5,[46,[36,[2,[15,"h"],"E",[7,[15,"j"],[17,[15,"a"],"defaultPages"]]]]]],[5,[46,[36,[2,[15,"h"],"F",[7,[15,"j"]]]]]],[5,[46,[36,["k",[15,"j"],[15,"a"]]]]],[5,[46,[36,[2,[15,"h"],"G",[7,[15,"j"]]]]]],[5,[46]],[9,[46,[36,[2,[15,"h"],"A",[7,["f",[15,"j"]]]]]]]]]] + ,[50,"__v",[46,"a"],[52,"b",["require","copyFromDataLayer"]],[52,"c",["require","internal.createRegex"]],[52,"d",["require","getType"]],[52,"e",[17,[15,"a"],"name"]],[22,[30,[28,[15,"e"]],[21,["d",[15,"e"]],"string"]],[46,[36,false]]],[52,"f",[2,[15,"e"],"replace",[7,["c","\\\\.","g"],"."]]],[52,"g",["b",[15,"f"],[30,[17,[15,"a"],"dataLayerVersion"],1]]],[36,[39,[21,[15,"g"],[44]],[15,"g"],[17,[15,"a"],"defaultValue"]]]] + ,[50,"__ytl",[46,"a"],[50,"f",[46,"h"],[52,"i",[39,[20,[17,[15,"h"],"uniqueTriggerId"],[44]],"",[17,[15,"h"],"uniqueTriggerId"]]],[52,"j",[8,"captureStart",[17,[15,"h"],"captureStart"],"captureComplete",[17,[15,"h"],"captureComplete"],"capturePause",[17,[15,"h"],"capturePause"],"fixMissingApi",[17,[15,"h"],"fixMissingApi"],"progressThresholdsPercent",["g",[17,[15,"h"],"progressThresholdsPercent"]],"progressThresholdsTimeInSeconds",["g",[17,[15,"h"],"progressThresholdsTimeInSeconds"]]]],["c",[15,"j"],[15,"i"]],[2,[15,"h"],"gtmOnSuccess",[7]]],[50,"g",[46,"h"],[52,"i",[2,["e",[15,"h"]],"split",[7,","]]],[52,"j",[7]],[66,"k",[15,"i"],[46,[53,[22,[12,[17,[2,[15,"k"],"trim",[7]],"length"],0],[46,[53,[6]]]],[52,"l",["d",[15,"k"]]],[22,[21,[15,"l"],[15,"l"]],[46,[53,[6]]]],[2,[15,"j"],"push",[7,[15,"l"]]]]]],[36,[15,"j"]]],[52,"b",["require","callOnDomReady"]],[52,"c",["require","internal.enableAutoEventOnYouTubeActivity"]],[52,"d",["require","makeNumber"]],[52,"e",["require","makeString"]],[22,[17,[15,"a"],"triggerStartOption"],[46,[53,["f",[15,"a"]]]],[46,[53,["b",[51,"",[7],[36,["f",[15,"a"]]]]]]]]] + ,[52,"__module_legacyUrls",[13,[41,"$0"],[3,"$0",[51,"",[7],[50,"a",[46],[50,"h",[46,"p"],[52,"q",[2,[15,"p"],"indexOf",[7,"#"]]],[36,[39,[23,[15,"q"],0],[15,"p"],[2,[15,"p"],"substring",[7,0,[15,"q"]]]]]],[50,"i",[46,"p"],[52,"q",[17,["e",[15,"p"]],"protocol"]],[36,[39,[15,"q"],[2,[15,"q"],"replace",[7,":",""]],""]]],[50,"j",[46,"p","q"],[41,"r"],[3,"r",[17,["e",[15,"p"]],"hostname"]],[22,[28,[15,"r"]],[46,[36,""]]],[52,"s",["b",":[0-9]+"]],[3,"r",[2,[15,"r"],"replace",[7,[15,"s"],""]]],[22,[15,"q"],[46,[53,[52,"t",["b","^www\\d*\\."]],[52,"u",[2,[15,"r"],"match",[7,[15,"t"]]]],[22,[1,[15,"u"],[16,[15,"u"],0]],[46,[3,"r",[2,[15,"r"],"substring",[7,[17,[16,[15,"u"],0],"length"]]]]]]]]],[36,[15,"r"]]],[50,"k",[46,"p"],[52,"q",["e",[15,"p"]]],[41,"r"],[3,"r",["f",[17,[15,"q"],"port"]]],[22,[28,[15,"r"]],[46,[53,[22,[20,[17,[15,"q"],"protocol"],"http:"],[46,[53,[3,"r",80]]],[46,[22,[20,[17,[15,"q"],"protocol"],"https:"],[46,[53,[3,"r",443]]],[46,[53,[3,"r",""]]]]]]]]],[36,["g",[15,"r"]]]],[50,"l",[46,"p","q"],[52,"r",["e",[15,"p"]]],[41,"s"],[3,"s",[39,[20,[2,[17,[15,"r"],"pathname"],"indexOf",[7,"/"]],0],[17,[15,"r"],"pathname"],[0,"/",[17,[15,"r"],"pathName"]]]],[22,[20,["d",[15,"q"]],"array"],[46,[53,[52,"t",[2,[15,"s"],"split",[7,"/"]]],[22,[19,[2,[15,"q"],"indexOf",[7,[16,[15,"t"],[37,[17,[15,"t"],"length"],1]]]],0],[46,[53,[43,[15,"t"],[37,[17,[15,"t"],"length"],1],""],[3,"s",[2,[15,"t"],"join",[7,"/"]]]]]]]]],[36,[15,"s"]]],[50,"m",[46,"p"],[52,"q",[17,["e",[15,"p"]],"pathname"]],[52,"r",[2,[15,"q"],"split",[7,"."]]],[41,"s"],[3,"s",[39,[18,[17,[15,"r"],"length"],1],[16,[15,"r"],[37,[17,[15,"r"],"length"],1]],""]],[36,[16,[2,[15,"s"],"split",[7,"/"]],0]]],[50,"n",[46,"p"],[52,"q",[17,["e",[15,"p"]],"hash"]],[36,[2,[15,"q"],"replace",[7,"#",""]]]],[50,"o",[46,"p","q"],[50,"s",[46,"t"],[36,["c",[2,[15,"t"],"replace",[7,["b","\\+","g"]," "]]]]],[52,"r",[2,[17,["e",[15,"p"]],"search"],"replace",[7,"?",""]]],[65,"t",[2,[15,"r"],"split",[7,"&"]],[46,[53,[52,"u",[2,[15,"t"],"split",[7,"="]]],[22,[21,["s",[16,[15,"u"],0]],[15,"q"]],[46,[6]]],[36,["s",[2,[2,[15,"u"],"slice",[7,1]],"join",[7,"="]]]]]]],[36]],[52,"b",["require","internal.createRegex"]],[52,"c",["require","decodeUriComponent"]],[52,"d",["require","getType"]],[52,"e",["require","internal.legacyParseUrl"]],[52,"f",["require","makeNumber"]],[52,"g",["require","makeString"]],[36,[8,"F",[15,"m"],"H",[15,"o"],"G",[15,"n"],"C",[15,"j"],"E",[15,"l"],"D",[15,"k"],"B",[15,"i"],"A",[15,"h"]]]],[36,["a"]]]],["$0"]]] + +] +,"entities":{ +"__aev":{"2":true,"5":true} +, +"__e":{"2":true,"5":true} +, +"__f":{"2":true,"5":true} +, +"__fsl":{"5":true} +, +"__gas":{"5":true} +, +"__hl":{"5":true} +, +"__lcl":{"5":true} +, +"__u":{"2":true,"5":true} +, +"__v":{"2":true,"5":true} +, +"__ytl":{"5":true} + + +} +,"blob":{"1":"49","10":"GTM-52GRQSL","14":"61e1","15":"0","16":"ChEIgOCnywYQ/5n0i9fe+eT/ARIcAPoV4hGAjW2g7Kk7wVl1qmJrBBWdNTQpVnSRLBoCz/U=","19":"dataLayer","20":"","21":"www.googletagmanager.com","22":"eyIwIjoiVVMiLCIxIjoiVVMtTU8iLCIyIjpmYWxzZSwiMyI6IiIsIjQiOiIiLCI1Ijp0cnVlLCI2IjpmYWxzZSwiNyI6ImFkX3N0b3JhZ2V8YW5hbHl0aWNzX3N0b3JhZ2V8YWRfdXNlcl9kYXRhfGFkX3BlcnNvbmFsaXphdGlvbiIsIjgiOiIifQ","23":"google.tagmanager.debugui2.queue","24":"tagassistant.google.com","27":0.005,"3":"www.googletagmanager.com","30":"US","31":"US-MO","32":true,"36":"https://adservice.google.com/pagead/regclk","37":"__TAGGY_INSTALLED","38":"cct.google","39":"googTaggyReferrer","40":"https://cct.google/taggy/agent.js","41":"google.tagmanager.ta.prodqueue","42":0.01,"43":"{\"keys\":[{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BGj52L2eSt+4l/cqjC9UTHbSWaVOZdsJ3dW0qHE5kkmDznJCX5PaVQGWa5WOBcZap+fes7QkfImAlgF/SYFY7D8=\",\"version\":0},\"id\":\"cb6a8578-fb8f-4370-9948-024b0bfc96a1\"},{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BJmIvfkIlemfHP002cp6lIvo0o8EM98gvxr+isdtKXWxyeJVjmdtTxlrTBrg6Ih74w/5gDd9ikjxuq3DVvhHmZs=\",\"version\":0},\"id\":\"c4f0dd12-57ed-4ac3-a10a-5893775e59d3\"},{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BLX2yNJDrfKTSG17/JqFWRikfdHN4IbzssNgGMM9VrXhmt3DNp2ICb3G4NBuBZyMcBQrqg+X1n9Lgac+aTys8aU=\",\"version\":0},\"id\":\"9fb29a56-94c5-4d15-810a-50ce6d1e89c0\"},{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BJHuS2l/HeWDi/+KlzMCubPoa1OhT1WsBky547bPqctI8LWS4F452wWpRS4nkizgplJ8bOgZE21gS6cpSpaADjA=\",\"version\":0},\"id\":\"92219256-a09c-46aa-8459-4875c5834ebb\"},{\"hpkePublicKey\":{\"params\":{\"aead\":\"AES_128_GCM\",\"kdf\":\"HKDF_SHA256\",\"kem\":\"DHKEM_P256_HKDF_SHA256\"},\"publicKey\":\"BJGkhCa97ri+nEmV+cyCsisBT68w2e5KiSOMCXFcojA7Lqn5QLrp7JfOygh/2VwPz7jqRpYUQ7fvodU+POlvLFA=\",\"version\":0},\"id\":\"76972032-ef6e-43ff-ba1a-075915d30933\"}]}","44":"103116026~103200004~104684208~104684211","46":{"1":"1000","10":"6150","11":"6150","14":"1000","16":"US-CO~US-CT~US-MT~US-NE~US-NH~US-TX~US-MN~US-NJ~US-MD~US-OR~US-DE","17":"US-CO~US-CT~US-MT~US-NE~US-NH~US-TX~US-MN~US-NJ~US-MD~US-OR~US-DE","2":"9","20":"5000","21":"5000","22":"4.0.0","23":"0.0.0","25":"1","26":"4000","27":"100","3":"5","4":"ad_storage|analytics_storage|ad_user_data|ad_personalization","44":"15000","48":"30000","5":"ad_storage|analytics_storage|ad_user_data","6":"1","7":"10"},"48":true,"5":"GTM-52GRQSL","55":["GTM-52GRQSL"],"56":[{"1":403,"3":0.5,"4":115938465,"5":115938466,"6":0,"7":2},{"1":404,"3":0.5,"4":115938468,"5":115938469,"6":0,"7":1},{"1":440,"2":true},{"1":433,"3":0.1,"4":116682875,"5":116682876,"6":116682877,"7":2},{"1":430,"3":0.01,"4":116992597,"5":116992598,"6":0,"7":2},{"1":429,"2":true},{"1":437,"3":0.01,"4":117099528,"5":117099529,"6":0,"7":1},{"1":409,"3":0.1,"4":116744866,"5":116744867,"6":0,"7":2},{"1":438,"3":0.5,"4":117041587,"5":117041588,"6":0,"7":1},{"1":407,"3":0.01,"4":117025847,"5":117025848,"6":0,"7":1},{"1":417,"2":true},{"1":420,"2":true},{"1":451,"3":0.01,"4":117127390,"5":117127391,"6":117127392,"7":1},{"1":426,"2":true},{"1":406,"2":true},{"1":414,"3":0.1,"4":115985661,"5":115985660,"6":0,"7":2},{"1":415,"2":true},{"1":423,"3":0.01,"4":116491844,"5":116491845,"6":116491846,"7":2},{"1":412,"2":true},{"1":441,"2":true}],"59":["GTM-52GRQSL"],"6":"31594782"} +,"permissions":{ +"__aev":{"read_data_layer":{"allowedKeys":"specific","keyPatterns":["gtm"]},"read_event_data":{"eventDataAccess":"any"},"read_dom_element_text":{},"get_element_attributes":{"allowedAttributes":"any"},"get_url":{"urlParts":"any"},"access_dom_element_properties":{"properties":[{"property":"tagName","read":true}]},"access_template_storage":{},"access_element_values":{"allowRead":[true],"allowWrite":[false]}} +, +"__cl":{"detect_click_events":{}} +, +"__e":{"read_event_data":{"eventDataAccess":"specific","keyPatterns":["event"]}} +, +"__evl":{"detect_element_visibility_events":{}} +, +"__f":{"read_data_layer":{"keyPatterns":["gtm.referrer"]},"get_referrer":{"urlParts":"any"}} +, +"__fsl":{"detect_form_submit_events":{"allowWaitForTags":true}} +, +"__gas":{} +, +"__hl":{"detect_history_change_events":{}} +, +"__html":{"unsafe_inject_arbitrary_html":{}} +, +"__jsm":{"unsafe_run_arbitrary_javascript":{}} +, +"__lcl":{"detect_link_click_events":{"allowWaitForTags":true}} +, +"__u":{"read_data_layer":{"keyPatterns":["gtm.url"]},"get_url":{"urlParts":"any"}} +, +"__v":{"read_data_layer":{"allowedKeys":"any"}} +, +"__ytl":{"process_dom_events":{"targets":[{"targetType":"document","eventName":"DOMContentLoaded"},{"targetType":"document","eventName":"readystatechange"},{"targetType":"window","eventName":"load"}]},"detect_youtube_activity_events":{"allowFixMissingJavaScriptApi":true}} + + +} + + + +,"security_groups":{ +"customScripts":[ +"__html" +, +"__jsm" + +] +, +"google":[ +"__aev" +, +"__cl" +, +"__e" +, +"__evl" +, +"__f" +, +"__gas" +, +"__hl" +, +"__u" +, +"__v" +, +"__ytl" + +] + + +} + + + +}; + + + + +var k,aa=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ca=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},da=function(a){for(var b=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global],c=0;c>>0;ja[n]=fa?ea.Symbol(n):"$jscp$"+r+"$"+n}ca(g,ja[n],{configurable:!0,writable:!0,value:q})}}},qa;if(fa&&typeof Object.setPrototypeOf=="function")qa=Object.setPrototypeOf;else{var ra;a:{var sa={a:!0},ua={};try{ua.__proto__=sa;ra=ua.a;break a}catch(a){}ra=!1}qa=ra?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} +var va=qa,wa=function(a,b){a.prototype=aa(b.prototype);a.prototype.constructor=a;if(va)va(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.ls=b.prototype},xa=function(a){var b=0;return function(){return b-1};var Qa=function(a,b){this.ka=a;this.parent=b;this.T=this.H=void 0;this.Ab=!1;this.P=function(d,e,f){return d.apply(e,f)};this.C=Oa();var c;a:{try{if(Set){c=new Set;break a}}catch(d){}c=new Pa}this.V=c};Qa.prototype.add=function(a,b){Ra(this,a,b,!1)};Qa.prototype.Eh=function(a,b){Ra(this,a,b,!0)};var Ra=function(a,b,c,d){a.Ab||a.V.has(b)||(d&&a.V.add(b),a.C.set(b,c))};k=Qa.prototype; +k.set=function(a,b){this.Ab||(!this.C.has(a)&&this.parent&&this.parent.has(a)?this.parent.set(a,b):this.V.has(a)||this.C.set(a,b))};k.get=function(a){return this.C.has(a)?this.C.get(a):this.parent?this.parent.get(a):void 0};k.has=function(a){return!!this.C.has(a)||!(!this.parent||!this.parent.has(a))};k.ob=function(){var a=new Qa(this.ka,this);this.H&&a.Qb(this.H);a.ed(this.P);a.Vd(this.T);return a};k.Md=function(){return this.ka};k.Qb=function(a){this.H=a};k.tn=function(){return this.H}; +k.ed=function(a){this.P=a};k.mj=function(){return this.P};k.Ua=function(){this.Ab=!0};k.Vd=function(a){this.T=a};k.qb=function(){return this.T};var Ta=function(a,b,c){var d;d=Error.call(this,a.message);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.Dn=a;this.mn=c===void 0?!1:c;this.debugInfo=[];this.C=b};wa(Ta,Error);var Ua=function(a){return a instanceof Ta?a:new Ta(a,void 0,!0)};var Va=[];function Wa(a){return Va[a]===void 0?!1:Va[a]};var Xa=Oa();function Ya(a,b){for(var c,d=m(b),e=d.next();!e.done&&!(c=$a(a,e.value),c instanceof Ga);e=d.next());return c} +function $a(a,b){try{if(Wa(17)){var c=b[0],d=b.slice(1),e=String(c),f=Xa.has(e)?Xa.get(e):a.get(e);if(!f||typeof f.invoke!=="function")throw Ua(Error("Attempting to execute non-function "+b[0]+"."));return f.apply(a,d)}var g=m(b),h=g.next().value,l=ya(g),n=a.get(String(h));if(!n||typeof n.invoke!=="function")throw Ua(Error("Attempting to execute non-function "+b[0]+"."));return n.invoke.apply(n,[a].concat(za(l)))}catch(q){var p=a.tn();p&&p(q,b.context?{id:b[0],line:b.context.line}:null);throw q;}} +;var ab=function(){this.H=new Ja;this.C=Wa(17)?new Qa(this.H):new Ka(this.H)};k=ab.prototype;k.Md=function(){return this.H};k.Qb=function(a){this.C.Qb(a)};k.ed=function(a){this.C.ed(a)};k.execute=function(a){return this.Mj([a].concat(za(Da.apply(1,arguments))))};k.Mj=function(){for(var a,b=m(Da.apply(0,arguments)),c=b.next();!c.done;c=b.next())a=$a(this.C,c.value);return a}; +k.Kp=function(a){var b=Da.apply(1,arguments),c=this.C.ob();c.Vd(a);for(var d,e=m(b),f=e.next();!f.done;f=e.next())d=$a(c,f.value);return d};k.Ua=function(){this.C.Ua()};var cb=function(){this.Ja=!1;this.da=new Ha};k=cb.prototype;k.get=function(a){return this.da.get(a)};k.set=function(a,b){this.Ja||this.da.set(a,b)};k.has=function(a){return this.da.has(a)};k.remove=function(a){this.Ja||this.da.remove(a)};k.ya=function(){return this.da.ya()};k.Ec=function(){return this.da.Ec()};k.fc=function(){return this.da.fc()};k.Ua=function(){this.Ja=!0};k.Ab=function(){return this.Ja};function db(){for(var a=eb,b={},c=0;c>2,n=(f&3)<<4|g>>4,p=(g&15)<<2|h>>6,q=h&63;e||(q=64,d||(p=64));b.push(eb[l],eb[n],eb[p],eb[q])}return b.join("")} +function ib(a){function b(l){for(;d>4);g!==64&&(c+=String.fromCharCode(f<<4&240|g>>2),h!==64&&(c+=String.fromCharCode(g<<6&192|h)))}};var jb={};function kb(a,b){var c=jb[a];c||(c=jb[a]=[]);c[b]=!0}function lb(){delete jb.GA4_EVENT}function mb(){var a=ob.slice();jb.GTAG_EVENT_FEATURE_CHANNEL=a}function pb(a){for(var b=[],c=0,d=0;d0&&(b.push(String.fromCharCode(c)),c=0),a[d]&&(c|=1<0&&b.push(String.fromCharCode(c));return hb(b.join("")).replace(/\.+$/,"")};function qb(){}function rb(a){return typeof a==="function"}function sb(a){return typeof a==="string"}function tb(a){return typeof a==="number"&&!isNaN(a)}function ub(a){return Array.isArray(a)?a:[a]}function vb(a,b){if(a&&Array.isArray(a))for(var c=0;cb)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)} +function xb(a,b){for(var c=new yb,d=0;d=b.length&&a.substring(0,b.length)===b}function Mb(a,b){return a.length>=b.length&&a.substring(a.length-b.length,a.length)===b} +function Nb(a,b,c){c=c||[];for(var d=a,e=0;e=0)return}return d}function Qb(a,b){for(var c={},d=c,e=a.split("."),f=0;f>6,128|d&63):d<55296||d>=57344?b.push(224|d>>12,128|d>>6&63,128|d&63):(d=65536+((d&1023)<<10|a.charCodeAt(++c)&1023),b.push(240|d>>18,128|d>>12&63,128|d>>6&63,128|d&63))}return new Uint8Array(b)}function Ub(a,b){function c(){e&&++d===b&&(e(),e=null,c.done=!0)}var d=0,e=a;c.done=!1;return c} +function Vb(a){if(!a)return a;var b=a;try{b=decodeURIComponent(a)}catch(d){}var c=b.split(",");return c.length===2&&c[0]===c[1]?c[0]:a} +function Wb(a,b,c){function d(n){var p=n.split("=")[0];if(a.indexOf(p)<0)return n;if(c!==void 0)return p+"="+c}function e(n){return n.split("&").map(d).filter(function(p){return p!==void 0}).join("&")}var f=b.href.split(/[?#]/)[0],g=b.search,h=b.hash;g[0]==="?"&&(g=g.substring(1));h[0]==="#"&&(h=h.substring(1));g=e(g);h=e(h);g!==""&&(g="?"+g);h!==""&&(h="#"+h);var l=""+f+g+h;l[l.length-1]==="/"&&(l=l.substring(0,l.length-1));return l} +function Xb(a){for(var b=0;b<3;++b)try{var c=decodeURIComponent(a).replace(/\+/g," ");if(c===a)break;a=c}catch(d){return""}return a}function Yb(){var a=w,b;a:{var c=a.crypto||a.msCrypto;if(c&&c.getRandomValues)try{var d=new Uint8Array(25);c.getRandomValues(d);b=btoa(String.fromCharCode.apply(String,za(d))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");break a}catch(e){}b=void 0}return b};/* + + Copyright Google LLC + SPDX-License-Identifier: Apache-2.0 +*/ +var Zb=globalThis.trustedTypes,$b;function ac(){var a=null;if(!Zb)return a;try{var b=function(c){return c};a=Zb.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function bc(){$b===void 0&&($b=ac());return $b};var cc=function(a){this.C=a};cc.prototype.toString=function(){return this.C+""};function dc(a){var b=a,c=bc(),d=c?c.createScriptURL(b):b;return new cc(d)}function ec(a){if(a instanceof cc)return a.C;throw Error("");};var fc=Ba([""]),hc=Aa(["\x00"],["\\0"]),ic=Aa(["\n"],["\\n"]),jc=Aa(["\x00"],["\\u0000"]);function kc(a){return a.toString().indexOf("`")===-1}kc(function(a){return a(fc)})||kc(function(a){return a(hc)})||kc(function(a){return a(ic)})||kc(function(a){return a(jc)});var lc=function(a){this.C=a};lc.prototype.toString=function(){return this.C};var mc=function(a){this.yr=a};function nc(a){return new mc(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var oc=[nc("data"),nc("http"),nc("https"),nc("mailto"),nc("ftp"),new mc(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function pc(a){var b;b=b===void 0?oc:b;if(a instanceof lc)return a;for(var c=0;c"+a+""),f=bc(),g=f?f.createHTML(e):e;d=new uc(g);if(c.nodeType===1&&/^(script|style)$/i.test(c.tagName))throw Error("");var h;if(d instanceof uc)h=d.C;else throw Error("");c.innerHTML=h;b=b.lastChild;for(var l=[];b&&b.firstChild;)l.push(b.removeChild(b.firstChild));return l} +function Yc(a,b,c){c=c||100;for(var d={},e=0;e0&&(a=c[0].type)}catch(d){return"e"}if(!a)return"u";switch(a){case "navigate":return"n";case "back_forward":return"h";case "reload":return"r";case "prerender":return"p";default:return"x"}}function hd(){return w.performance||void 0}function id(){var a=w.webPixelsManager;return a?a.createShopifyExtend!==void 0:!1} +var Rc=function(a,b,c,d){var e=new Image(1,1);Mc(e,d,{});e.onload=function(){e.onload=null;b&&b()};e.onerror=function(){e.onerror=null;c&&c()};e.src=a;return e},dd=Zc;function jd(a,b){return this.evaluate(a)&&this.evaluate(b)}function kd(a,b){return this.evaluate(a)===this.evaluate(b)}function ld(a,b){return this.evaluate(a)||this.evaluate(b)}function md(a,b){var c=this.evaluate(a),d=this.evaluate(b);return String(c).indexOf(String(d))>-1}function nd(a,b){var c=String(this.evaluate(a)),d=String(this.evaluate(b));return c.substring(0,d.length)===d} +function od(a,b){var c=this.evaluate(a),d=this.evaluate(b);switch(c){case "pageLocation":var e=w.location.href;d instanceof cb&&d.get("stripProtocol")&&(e=e.replace(/^https?:\/\//,""));return e}};/* + jQuery (c) 2005, 2012 jQuery Foundation, Inc. jquery.org/license. +*/ +var pd=/\[object (Boolean|Number|String|Function|Array|Date|RegExp)\]/,qd=function(a){if(a==null)return String(a);var b=pd.exec(Object.prototype.toString.call(Object(a)));return b?b[1].toLowerCase():"object"},rd=function(a,b){return Object.prototype.hasOwnProperty.call(Object(a),b)},sd=function(a){if(!a||qd(a)!="object"||a.nodeType||a==a.window)return!1;try{if(a.constructor&&!rd(a,"constructor")&&!rd(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}for(var b in a);return b===void 0|| +rd(a,b)},td=function(a,b){var c=b||(qd(a)=="array"?[]:{}),d;for(d in a)if(rd(a,d)){var e=a[d];qd(e)=="array"?(qd(c[d])!="array"&&(c[d]=[]),c[d]=td(e,c[d])):sd(e)?(sd(c[d])||(c[d]={}),c[d]=td(e,c[d])):c[d]=e}return c};function ud(a){if(a==void 0||Array.isArray(a)||sd(a))return!0;switch(typeof a){case "boolean":case "number":case "string":case "function":return!0}return!1}function vd(a){return typeof a==="number"&&a>=0&&isFinite(a)&&a%1===0||typeof a==="string"&&a[0]!=="-"&&a===""+parseInt(a)};var wd=function(a){a=a===void 0?[]:a;this.da=new Ha;this.values=[];this.Ja=!1;for(var b in a)a.hasOwnProperty(b)&&(vd(b)?this.values[Number(b)]=a[Number(b)]:this.da.set(b,a[b]))};k=wd.prototype;k.toString=function(a){if(a&&a.indexOf(this)>=0)return"";for(var b=[],c=0;c-1)return this.values[b]};function Ed(){try{return Map?new Cd:new Dd}catch(a){return new Dd}};var Fd=function(a){if(a instanceof Fd)return a;if(ud(a))throw Error("Type of given value has an equivalent Pixie type.");this.value=a};Fd.prototype.getValue=function(){return this.value};Fd.prototype.toString=function(){return String(this.value)};var Hd=function(a){this.promise=a;this.Ja=!1;this.da=new Ha;this.da.set("then",Gd(this));this.da.set("catch",Gd(this,!0));this.da.set("finally",Gd(this,!1,!0))};k=Hd.prototype;k.get=function(a){return this.da.get(a)};k.set=function(a,b){this.Ja||this.da.set(a,b)};k.has=function(a){return this.da.has(a)};k.remove=function(a){this.Ja||this.da.remove(a)};k.ya=function(){return this.da.ya()};k.Ec=function(){return this.da.Ec()};k.fc=function(){return this.da.fc()}; +var Gd=function(a,b,c){b=b===void 0?!1:b;c=c===void 0?!1:c;return new Ad("",function(d,e){b&&(e=d,d=void 0);c&&(e=d);d instanceof Ad||(d=void 0);e instanceof Ad||(e=void 0);var f=this.K.ob(),g=function(l){return function(n){try{return c?(l.invoke(f),a.promise):l.invoke(f,n)}catch(p){return Promise.reject(p instanceof Error?new Fd(p):String(p))}}},h=a.promise.then(d&&g(d),e&&g(e));return new Hd(h)})};Hd.prototype.Ua=function(){this.Ja=!0};Hd.prototype.Ab=function(){return this.Ja};function B(a,b,c){var d=Ed(),e=function(g,h){for(var l=g.ya(),n=0;n=0;f--)if(this.has(f)&&this.get(f)===b)return f;return-1},map:function(a,b){for(var c=this.length(),d=[],e=0;ed)throw Ua(Error("TypeError: ReduceRight on List with no elements."));}for(var h=f;h>=0;h--)this.has(h)&&(e=b.invoke(a,e,this.get(h),h,this));return e},reverse:function(){for(var a=xd(this),b=a.length-1,c=0;b>=0;b--,c++)a.hasOwnProperty(b)?this.set(c,a[b]):this.remove(c);return this},shift:function(){return this.shift()},slice:function(a,b,c){var d=this.length();b===void 0&&(b=0);b=b<0?Math.max(d+b,0):Math.min(b,d);c=c=== +void 0?d:c<0?Math.max(d+c,0):Math.min(c,d);c=Math.max(b,c);for(var e=[],f=b;f=0){var u=xd(f);return Jd[e].call.apply(Jd[e], +[d,this.K].concat(za(u)))}}if(d instanceof Ad||d instanceof cb||d instanceof Hd){if(d.has(e)){var t=d.get(e);if(t instanceof Ad){var v=xd(f);return Wa(17)?t.apply(this.K,v):t.invoke.apply(t,[this.K].concat(za(v)))}throw Ua(Error("TypeError: "+e+" is not a function"));}if(e==="toString")return d instanceof Ad?d.getName():d.toString();if(e==="hasOwnProperty")return d.has(f.get(0))}if(d instanceof Fd&&e==="toString")return d.toString();throw Ua(Error("TypeError: Object has no '"+e+"' property."));} +function Qd(a,b){a=this.evaluate(a);if(typeof a!=="string")throw Error("Invalid key name given for assignment.");var c=this.K;if(!c.has(a))throw Error("Attempting to assign to undefined value "+b);var d=this.evaluate(b);c.set(a,d);return d}function Rd(){var a=Da.apply(0,arguments),b=this.K.ob(),c=Ya(b,a);if(c instanceof Ga)return c}function Sd(){return Ld}function Td(a){for(var b=this.evaluate(a),c=0;cthis.evaluate(b)}function re(a,b){return this.evaluate(a)>=this.evaluate(b)} +function se(a,b){var c=this.evaluate(a),d=this.evaluate(b);c instanceof Fd&&(c=c.getValue());d instanceof Fd&&(d=d.getValue());return c===d}function te(a,b){return!se.call(this,a,b)}function ue(a,b,c){var d=[];this.evaluate(a)?d=this.evaluate(b):c&&(d=this.evaluate(c));var e=Ya(this.K,d);if(e instanceof Ga)return e}var oe=!1; +function ve(a,b){return this.evaluate(a)>Number(this.evaluate(b))} +function Ve(a,b){return Number(this.evaluate(a))>>>Number(this.evaluate(b))}function We(a,b){return Number(this.evaluate(a))&Number(this.evaluate(b))}function Xe(a,b){return Number(this.evaluate(a))^Number(this.evaluate(b))}function Ye(a,b){return Number(this.evaluate(a))|Number(this.evaluate(b))}function Ze(){} +function $e(a,b,c){try{var d=this.evaluate(b);if(d instanceof Ga)return d}catch(h){if(!(h instanceof Ta&&h.mn))throw h;var e=this.K.ob();a!==""&&(h instanceof Ta&&(h=h.Dn),e.add(a,new Fd(h)));var f=this.evaluate(c),g=Ya(e,f);if(g instanceof Ga)return g}}function af(a,b){var c,d;try{d=this.evaluate(a)}catch(f){if(!(f instanceof Ta&&f.mn))throw f;c=f}var e=this.evaluate(b);if(e instanceof Ga)return e;if(c)throw c;if(d instanceof Ga)return d};var cf=function(){this.C=new ab;bf(this)};cf.prototype.execute=function(a){return this.C.Mj(a)};var bf=function(a){var b=function(c,d){var e=new Bd(String(c),d);e.Ua();var f=String(c);a.C.C.set(f,e);Xa.set(f,e)};b("map",ye);b("and",jd);b("contains",md);b("equals",kd);b("or",ld);b("startsWith",nd);b("variable",od)};cf.prototype.Qb=function(a){this.C.Qb(a)};var ef=function(){this.H=!1;this.C=new ab;df(this);this.H=!0};ef.prototype.execute=function(a){return ff(this.C.Mj(a))};var gf=function(a,b,c){return ff(a.C.Kp(b,c))};ef.prototype.Ua=function(){this.C.Ua()}; +var df=function(a){var b=function(c,d){var e=String(c),f=new Bd(e,d);f.Ua();a.C.C.set(e,f);Xa.set(e,f)};b(0,Nd);b(1,Od);b(2,Pd);b(3,Qd);b(56,We);b(57,Te);b(58,Se);b(59,Ye);b(60,Ue);b(61,Ve);b(62,Xe);b(53,Rd);b(4,Sd);b(5,Td);b(68,$e);b(52,Ud);b(6,Vd);b(49,Wd);b(7,xe);b(8,ye);b(9,Td);b(50,Xd);b(10,Yd);b(12,Zd);b(13,$d);b(67,af);b(51,me);b(47,ce);b(54,de);b(55,ee);b(63,le);b(64,fe);b(65,he);b(66,ie);b(15,ne);b(16,pe);b(17,pe);b(18,qe);b(19,re);b(20,se);b(21,te);b(22,ue);b(23,ve);b(24,we);b(25,ze);b(26, +Ae);b(27,Be);b(28,Ce);b(29,De);b(45,Ee);b(30,Fe);b(32,Ge);b(33,Ge);b(34,He);b(35,He);b(46,Ie);b(36,Je);b(43,Ke);b(37,Le);b(38,Me);b(39,Ne);b(40,Oe);b(44,Ze);b(41,Pe);b(42,Re)};ef.prototype.Md=function(){return this.C.Md()};ef.prototype.Qb=function(a){this.C.Qb(a)};ef.prototype.ed=function(a){this.C.ed(a)}; +function ff(a){if(a instanceof Ga||a instanceof Ad||a instanceof wd||a instanceof cb||a instanceof Hd||a instanceof Fd||a===null||a===void 0||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return a};var hf=function(a){this.message=a};function jf(a){a.Ut=!0;return a};var kf=jf(function(a){return typeof a==="string"});function lf(a){var b="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[a];return b===void 0?new hf("Value "+a+" can not be encoded in web-safe base64 dictionary."):b};function mf(a){switch(a){case 1:return"1";case 2:case 4:return"0";default:return"-"}};var nf=/^[1-9a-zA-Z_-][1-9a-c][1-9a-v]\d$/;function of(a,b){for(var c="",d=!0;a>7;){var e=a&31;a>>=5;d?d=!1:e|=32;c=""+lf(e)+c}a<<=2;d||(a|=32);return c=""+lf(a|b)+c} +function pf(a,b){var c;var d=a.Sh,e=a.Aj;d===void 0?c="":(e||(e=0),c=""+of(1,1)+lf(d<<2|e));var f=a.qq,g="4"+c+(f?""+of(2,1)+lf(f):""),h,l=a.Pn;h=l&&nf.test(l)?""+of(3,2)+l:"";var n,p=a.Ln;n=p?""+of(4,1)+lf(p):"";var q;var r=a.ctid;if(r&&b){var u=of(5,3),t=r.split("-"),v=t[0].toUpperCase();if(v!=="GTM"&&v!=="OPT")q="";else{var x=t[1];q=""+u+lf(1+x.length)+(a.zr||0)+x}}else q="";var y=a.hs,z=a.canonicalId,C=a.Sa,E=a.Yt,G=g+h+n+q+(y?""+of(6,1)+lf(y):"")+(z?""+of(7,3)+lf(z.length)+z:"")+(C?""+of(8,3)+ +lf(C.length)+C:"")+(E?""+of(9,3)+lf(E.length)+E:""),I;var N=a.xq;N=N===void 0?{}:N;for(var ba=[],U=m(Object.keys(N)),M=U.next();!M.done;M=U.next()){var T=M.value;ba[Number(T)]=N[T]}if(ba.length){var la=of(10,3),ma;if(ba.length===0)ma=lf(0);else{for(var W=[],V=0,ia=!1,ta=0;ta>6|192:((e&64512)==55296&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b};function rf(a,b){for(var c=ib(b),d=new Uint8Array(c.length),e=0;e":">","\t":" ","\n":" ","\v":" ","\f":" ","\r":" "," ":" ","-":"-","/":"/","=":"=","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},Bf=/[\x00\x22\x26\x27\x3c\x3e]/g; +var Ff=/[\x00\x08-\x0d\x22\x26\x27\/\x3c-\x3e\\\x85\u2028\u2029]/g,wf={"\x00":"\\x00", +"\b":"\\x08","\t":"\\t","\n":"\\n","\v":"\\x0b","\f":"\\f","\r":"\\r",'"':"\\x22","&":"\\x26","'":"\\x27","/":"\\/","<":"\\x3c","=":"\\x3d",">":"\\x3e","\\":"\\\\","\u0085":"\\x85","\u2028":"\\u2028","\u2029":"\\u2029",$:"\\x24","(":"\\x28",")":"\\x29","*":"\\x2a","+":"\\x2b",",":"\\x2c","-":"\\x2d",".":"\\x2e",":":"\\x3a","?":"\\x3f","[":"\\x5b","]":"\\x5d","^":"\\x5e","{":"\\x7b","|":"\\x7c","}":"\\x7d"}; +Af[8]=function(a){if(a==null)return" null ";switch(typeof a){case "boolean":case "number":return" "+a+" ";default:return"'"+String(String(a)).replace(Ff,xf)+"'"}};var Nf=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,uf={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10", +"\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86", +"\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"};Af[16]=function(a){return a};var Pf;var Qf=[],Rf=[],Sf=[],Tf=[],Uf=[],Vf,Wf,Xf;function Yf(a){Xf=Xf||a} +function Zf(){for(var a=data.resource||{},b=a.macros||[],c=0;c0;b--)tb(a[b].id)&&a.splice(b++,1);for(var c=a.length-1;c>0;c--)a[c].line=a[c-1].line;a.splice(0,1);return a};function ug(a){function b(r){for(var u=0;ud.length||!g&&d.length!==e.length?0:g?Lb(d,h)&&(d===h||d.charAt(h.length)==="."):d===h)return!0}return!1},$g=/^[a-z$_][\w-$]*$/i,Zg=/^(?:[a-z_$][a-z-_$0-9]*\.)*[a-z_$][a-z-_$0-9]*(?:\.\*)?$/i; +var bh=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"];function ch(a,b){var c=String(a),d=String(b),e=c.length-d.length;return e>=0&&c.indexOf(d,e)===e}function dh(a,b){return String(a).split(",").indexOf(String(b))>=0}var eh=new yb;function fh(a,b,c){var d=c?"i":void 0;try{var e=String(b)+String(d),f=eh.get(e);f||(f=new RegExp(b,d),eh.set(e,f));return f.test(a)}catch(g){return!1}}function gh(a,b){return String(a).indexOf(String(b))>=0} +function hh(a,b){return String(a)===String(b)}function ih(a,b){return Number(a)>=Number(b)}function jh(a,b){return Number(a)<=Number(b)}function kh(a,b){return Number(a)>Number(b)}function lh(a,b){return Number(a)=0;d--)e=a.charCodeAt(d),b=(b<<6&268435455)+e+(e<<14),c=b&266338304,b=c!==0?b^c>>21:b;return b};function ci(a){var b=B(a);return bi(b?""+b:"")};function di(a,b){if(!Ih(a)||!Ih(b))throw H(this.getName(),["number","number"],arguments);return wb(a,b)};function ei(){return(new Date).getTime()};function fi(a){if(a===null)return"null";if(a instanceof wd)return"array";if(a instanceof Ad)return"function";if(a instanceof Fd){var b=a.getValue();if((b==null?void 0:b.constructor)===void 0||b.constructor.name===void 0){var c=String(b);return c.substring(8,c.length-1)}return String(b.constructor.name)}return typeof a};function gi(a){function b(c){return function(d){try{return c(d)}catch(e){(Lg||Mg.Vn)&&a.call(this,e.message)}}}return{parse:b(function(c){return Id(JSON.parse(c))}),stringify:b(function(c){return JSON.stringify(B(c))}),publicName:"JSON"}};function hi(a){return Bb(B(a,this.K))};function ii(a){return Number(B(a,this.K))};function ji(a){return a===null?"null":a===void 0?"undefined":a.toString()};function ki(a,b,c){var d=null,e=!1;return e?d:null};var Rh="floor ceil round max min abs pow sqrt".split(" ");function li(){var a={};return{Sq:function(b){return a.hasOwnProperty(b)?a[b]:void 0},Sn:function(b,c){a[b]=c},reset:function(){a={}}}}function mi(a,b){return function(){return Ad.prototype.invoke.apply(a,[b].concat(za(Da.apply(0,arguments))))}} +function ni(a,b){if(!Dh(a))throw H(this.getName(),["string","any"],arguments);} +function oi(a,b){if(!Dh(a)||!wh(b))throw H(this.getName(),["string","PixieMap"],arguments);};var pi={};var qi=function(a){var b=new cb;if(a instanceof wd)for(var c=a.ya(),d=0;d30)return;return a},Mi={Wr:Li}; +function Li(a,b,c){var d=Ji[b];if(!((c===void 0?wb(0,9999):c%1E4)>1)%2===0:Ki();if(p===void 0)break a;n|=(p?0:1)<<1}n===0?Ni(a,f,e):n===1?Ni(a,g,e):n===2&&Ni(a,h,e)}}}return a} +function Oi(a,b){return Ji[b]?!!Ji[b].active||Ji[b].probability>.5||!!(a.exp||{})[Ji[b].experimentId]:!1}function Pi(a,b){for(var c=a.exp||{},d=m(Object.keys(c).map(Number)),e=d.next();!e.done;e=d.next()){var f=e.value;if(c[f]===b)return f}}function Ni(a,b,c){var d=a.exp||{};d[b]=c;a.exp=d};var Qi={N:{gk:"call_conversion",be:"ccm_conversion",jk:"common_aw",Ha:"conversion",zi:"floodlight",Sf:"ga_conversion",Dd:"gcp_remarketing",tm:"landing_page",Da:"page_view",Ge:"fpm_test_hit",Yb:"remarketing",Kb:"user_data_lead",yb:"user_data_web"}};var Ri=function(){this.C=new Set;this.H=new Set},Ti=function(a){var b=Si.C;a=a===void 0?[]:a;var c=[].concat(za(b.C)).concat([].concat(za(b.H))).concat(a);c.sort(function(d,e){return d-e});return c},Ui=function(){var a=[].concat(za(Si.C.C));a.sort(function(b,c){return b-c});return a},Vi=function(){var a=Si.C,b=D(44);a.C=new Set;if(b!=="")for(var c=m(b.split("~")),d=c.next();!d.done;d=c.next()){var e=Number(d.value);isNaN(e)||a.C.add(e)}};var Wi={},Xi={__cl:1,__ecl:1,__ehl:1,__evl:1,__fal:1,__fil:1,__fsl:1,__hl:1,__jel:1,__lcl:1,__sdl:1,__tl:1,__ytl:1},Yi={__paused:1,__tg:1},Zi;for(Zi in Xi)Xi.hasOwnProperty(Zi)&&(Yi[Zi]=1);var $i=kg(45),aj,bj=!1;aj=bj;var cj=null,dj={},ej="";Wi.Si=ej; +var Si=new function(){this.C=new Ri;this.H=!1};var fj=/:[0-9]+$/,gj=/^\d+\.fls\.doubleclick\.net$/;function hj(a,b,c,d){var e=ij(a,!!d,b),f,g;return c?(g=e[b])!=null?g:[]:(f=e[b])==null?void 0:f[0]}function ij(a,b,c){for(var d={},e=m(a.split("&")),f=e.next();!f.done;f=e.next()){var g=m(f.value.split("=")),h=g.next().value,l=ya(g),n=decodeURIComponent(h.replace(/\+/g," "));if(c===void 0||n===c){var p=l.join("=");d[n]||(d[n]=[]);d[n].push(b?p:decodeURIComponent(p.replace(/\+/g," ")))}}return d} +function jj(a){try{return decodeURIComponent(a)}catch(b){}}function kj(a,b,c,d,e){b&&(b=String(b).toLowerCase());if(b==="protocol"||b==="port")a.protocol=lj(a.protocol)||lj(w.location.protocol);b==="port"?a.port=String(Number(a.hostname?a.port:w.location.port)||(a.protocol==="http"?80:a.protocol==="https"?443:"")):b==="host"&&(a.hostname=(a.hostname||w.location.hostname).replace(fj,"").toLowerCase());return mj(a,b,c,d,e)} +function mj(a,b,c,d,e){var f,g=lj(a.protocol);b&&(b=String(b).toLowerCase());switch(b){case "url_no_fragment":f=nj(a);break;case "protocol":f=g;break;case "host":f=a.hostname.replace(fj,"").toLowerCase();if(c){var h=/^www\d*\./.exec(f);h&&h[0]&&(f=f.substring(h[0].length))}break;case "port":f=String(Number(a.port)||(g==="http"?80:g==="https"?443:""));break;case "path":a.pathname||a.hostname||kb("TAGGING",1);f=a.pathname.substring(0,1)==="/"?a.pathname:"/"+a.pathname;var l=f.split("/");(d||[]).indexOf(l[l.length- +1])>=0&&(l[l.length-1]="");f=l.join("/");break;case "query":f=a.search.replace("?","");e&&(f=hj(f,e,!1));break;case "extension":var n=a.pathname.split(".");f=n.length>1?n[n.length-1]:"";f=f.split("/")[0];break;case "fragment":f=a.hash.replace("#","");break;default:f=a&&a.href}return f}function lj(a){return a?a.replace(":","").toLowerCase():""}function nj(a){var b="";if(a&&a.href){var c=a.href.indexOf("#");b=c<0?a.href:a.href.substring(0,c)}return b}var oj={},pj=0; +function qj(a){var b=oj[a];if(!b){var c=A.createElement("a");a&&(c.href=a);var d=c.pathname;d[0]!=="/"&&(a||kb("TAGGING",1),d="/"+d);var e=c.hostname.replace(fj,"");b={href:c.href,protocol:c.protocol,host:c.host,hostname:e,pathname:d,search:c.search,hash:c.hash,port:c.port};pj<5&&(oj[a]=b,pj++)}return b}function rj(a,b,c){var d=qj(a);return Wb(b,d,c)} +function sj(a){var b=qj(w.location.href),c=kj(b,"host",!1);if(c&&c.match(gj)){var d=kj(b,"path");if(d){var e=d.split(a+"=");if(e.length>1)return e[1].split(";")[0].split("?")[0]}}};var tj={"https://www.google.com":"/g","https://www.googleadservices.com":"/as","https://pagead2.googlesyndication.com":"/gs"},uj=["/as/d/ccm/conversion","/g/d/ccm/conversion","/gs/ccm/conversion","/d/ccm/form-data"];function vj(){return kg(47)?lg(54)!==1:!1}function wj(){var a=D(18),b=a.length;return a[b-1]==="/"?a.substring(0,b-1):a} +function xj(a,b){if(a){var c=""+a;c.indexOf("http://")!==0&&c.indexOf("https://")!==0&&(c="https://"+c);c[c.length-1]==="/"&&(c=c.substring(0,c.length-1));return qj(""+c+b).href}}function yj(a,b){if(zj())return xj(a,b)}function zj(){return vj()||kg(50)}function Aj(){return!!Wi.Si&&Wi.Si.split("@@").join("")!=="SGTM_TOKEN"}function Bj(a){for(var b=m([K.m.yd,K.m.Tc]),c=b.next();!c.done;c=b.next()){var d=L(a,c.value);if(d)return d}} +function Cj(a,b,c){c=c===void 0?"":c;if(!vj())return a;var d=b?tj[a]||"":"";d==="/gs"&&(c="");return""+wj()+d+c}function Dj(a){if(!vj())return a;for(var b=m(uj),c=b.next();!c.done;c=b.next()){var d=c.value;if(Lb(a,""+wj()+d))return a+"&_uip="+encodeURIComponent("::")}return a};var Ej=/gtag[.\/]js/,Fj=/gtm[.\/]js/,Gj=!1; +function Hj(a){if((a.scriptContainerId||"").indexOf("GTM-")>=0){var b;a:{var c,d=(c=a.scriptElement)==null?void 0:c.src;if(d){for(var e=kg(47),f=qj(d),g=e?f.pathname:""+f.hostname+f.pathname,h=A.scripts,l="",n=0;n=0){b=String(n);break a}l=String(n)}}if(l){b=l;break a}}b=void 0}var q=b;if(q)return Gj=!0, +q}var r=[].slice.call(A.scripts);return a.scriptElement?String(r.indexOf(a.scriptElement)):"-1"}function Ij(a){if(Gj)return"1";var b,c=(b=a.scriptElement)==null?void 0:b.src;if(c){if(Ej.test(c))return"3";if(Fj.test(c))return"2"}return"0"};function O(a){kb("GTM",a)};function Jj(a){var b=Kj().destinationArray[a],c=Kj().destination[a];return b&&b.length>0?b[0]:c}function Lj(a,b){var c=Kj();c.pending||(c.pending=[]);vb(c.pending,function(d){return d.target.ctid===a.ctid&&d.target.isDestination===a.isDestination})||c.pending.push({target:a,onLoad:b})}function Mj(){var a=w.google_tags_first_party;Array.isArray(a)||(a=[]);for(var b={},c=m(a),d=c.next();!d.done;d=c.next())b[d.value]=!0;return Object.freeze(b)} +var Nj=function(){this.container={};this.destination={};this.destinationArray={};this.canonical={};this.pending=[];this.injectedFirstPartyContainers={};this.injectedFirstPartyContainers=Mj()}; +function Kj(){var a=Fc("google_tag_data",{}),b=a.tidr;b&&typeof b==="object"||(b=new Nj,a.tidr=b);var c=b;c.container||(c.container={});c.destination||(c.destination={});c.destinationArray||(c.destinationArray={});c.canonical||(c.canonical={});c.pending||(c.pending=[]);c.injectedFirstPartyContainers||(c.injectedFirstPartyContainers=Mj());return c};function Oj(){return kg(7)&&Pj().some(function(a){return a===D(5)})}function Qj(){var a;return(a=mg(55))!=null?a:[]}function Rj(){return D(6)||"_"+D(5)}function Sj(){var a=D(10);return a?a.split("|"):[D(5)]}function Pj(){var a=mg(59);return Array.isArray(a)?a.filter(function(b){return typeof b==="string"}).filter(function(b){return b.indexOf("GTM-")!==0}):[]}function Tj(){var a=Uj(Vj()),b=a&&a.parent;if(b)return Uj(b)} +function Wj(){var a=Uj(Vj());if(a){for(;a.parent;){var b=Uj(a.parent);if(!b)break;a=b}return a}}function Uj(a){var b=Kj();return a.isDestination?Jj(a.ctid):b.container[a.ctid]}function Xj(){var a=Kj();if(a.pending){for(var b,c=[],d=!1,e=Sj(),f=Pj(),g={},h=0;h=0||w.location.search.indexOf(">m_latency=")>=0;var Ck=Math.random(),Dk,Ek=lg(27);Dk=Bk||Ck=1-Gk;var Hk={},Ik=(Hk[1]={},Hk[2]={},Hk[3]={},Hk[4]={},Hk);function Jk(a,b,c){if(Fk){var d=Kk(b,c);if(d){var e=Ik[b][d];e||(e=Ik[b][d]=[]);e.push(na(Object,"assign").call(Object,{},a));yk(zk,a.destinationId,a.endpoint);a.endpoint!==56&&a.endpoint!==61&&ok("mde",!0)}}}function Lk(a,b){var c=Kk(a,b);if(c){var d=Ik[a][c];d&&(Ik[a][c]=d.filter(function(e){return!e.Mn}))}} +function Mk(a){switch(a){case "script-src":case "script-src-elem":return 1;case "frame-src":return 4;case "connect-src":return 2;case "img-src":return 3}}function Kk(a,b){var c=b;if(b[0]==="/"){var d;c=((d=w.location)==null?void 0:d.origin)+b}try{var e=new URL(c);return a===4?e.origin:e.origin+e.pathname}catch(f){}};function Nk(a,b,c){var d,e=a.GooglebQhCsO;e||(e={},a.GooglebQhCsO=e);d=e;if(d[b])return!1;d[b]=[];d[b][0]=c;return!0};var Ok,Pk;a:{for(var Qk=["CLOSURE_FLAGS"],Rk=Ea,Wk=0;Wk0:!1}function dl(){return cl()?!1:bl("Opera")}function el(){return bl("Firefox")||bl("FxiOS")}function fl(){return cl()?al("Chromium"):(bl("Chrome")||bl("CriOS"))&&!(cl()?0:bl("Edge"))||bl("Silk")};function gl(){return Ok?!!Zk&&!!Zk.platform:!1}function hl(){return bl("iPhone")&&!bl("iPod")&&!bl("iPad")}function il(){hl()||bl("iPad")||bl("iPod")};var jl=function(a){jl[" "](a);return a};jl[" "]=function(){};dl();cl()||bl("Trident")||bl("MSIE");bl("Edge");!bl("Gecko")||Yk().toLowerCase().indexOf("webkit")!=-1&&!bl("Edge")||bl("Trident")||bl("MSIE")||bl("Edge");Yk().toLowerCase().indexOf("webkit")!=-1&&!bl("Edge")&&bl("Mobile");gl()||bl("Macintosh");gl()||bl("Windows");(gl()?Zk.platform==="Linux":bl("Linux"))||gl()||bl("CrOS");gl()||bl("Android");hl();bl("iPad");bl("iPod");il();Yk().toLowerCase().indexOf("kaios");el();hl()||bl("iPod");bl("iPad");!bl("Android")||fl()||el()||dl()||bl("Silk");fl();!bl("Safari")||fl()||(cl()?0:bl("Coast"))||dl()||(cl()?0:bl("Edge"))||(cl()?al("Microsoft Edge"):bl("Edg/"))||(cl()?al("Opera"):bl("OPR"))||el()||bl("Silk")||bl("Android")||il();var kl={},ll=null; +function ml(a){for(var b=[],c=0,d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}var f=4;f===void 0&&(f=0);if(!ll){ll={};for(var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),h=["+/=","+/","-_=","-_.","-_"],l=0;l<5;l++){var n=g.concat(h[l].split(""));kl[l]=n;for(var p=0;p>2],G=r[(y&3)<<4|z>>4],I=r[(z&15)<<2|C>>6],N=r[C&63];u[x++]=""+E+G+I+N}var ba=0,U=t;switch(b.length-v){case 2:ba=b[v+1],U=r[(ba&15)<<2]||t;case 1:var M=b[v];u[x]=""+r[M>>2]+r[(M&3)<<4|ba>>4]+U+t}return u.join("")};var nl=function(a){return decodeURIComponent(a.replace(/\+/g," "))};function ol(a,b,c,d){for(var e=b,f=c.length;(e=a.indexOf(c,e))>=0&&ec)e=c;d+=b.length+1;return nl(a.slice(d,e!==-1?e:0))}var rl=/[?&]($|#)/; +function sl(a,b,c){for(var d,e=a.search(pl),f=0,g,h=[];(g=ol(a,f,b,e))>=0;)h.push(a.substring(f,g)),f=Math.min(a.indexOf("&",g)+1||e,e);h.push(a.slice(f));d=h.join("").replace(rl,"$1");var l,n=c!=null?"="+encodeURIComponent(String(c)):"";var p=b+n;if(p){var q,r=d.indexOf("#");r<0&&(r=d.length);var u=d.indexOf("?"),t;u<0||u>r?(u=r,t=""):t=d.substring(u+1,r);q=[d.slice(0,u),t,d.slice(r)];var v=q[1];q[1]=p?v?v+"&"+p:p:v;l=q[0]+(q[1]?"?"+q[1]:"")+q[2]}else l=d;return l};function tl(a,b,c,d,e,f,g){var h=ql(c,"fmt");if(d){var l=ql(c,"random"),n=ql(c,"label")||"";if(!l)return!1;var p=ml(nl(n)+":"+nl(l));if(!Nk(a,p,d))return!1}h&&Number(h)!==4&&(c=sl(c,"rfmt",h));var q=sl(c,"fmt",4),r=b.getElementsByTagName("script")[0].parentElement;g==null||ul(g);Nc(q,function(){g==null||vl(g);a.google_noFurtherRedirects&&d&&(a.google_noFurtherRedirects=null,d())},function(){g==null||vl(g);e==null||e()},f,r||void 0);return!0};function wl(a){var b=Da.apply(1,arguments);Jk(a,2,b[0]);Jk(a,3,b[0]);Zc.apply(null,za(b))}function xl(a){var b=Da.apply(1,arguments);Jk(a,2,b[0]);return $c.apply(null,za(b))}function yl(a){var b=Da.apply(1,arguments);Jk(a,3,b[0]);Qc.apply(null,za(b))}function zl(a){var b=Da.apply(1,arguments);Jk(a,2,b[0]);Jk(a,3,b[0]);return bd.apply(null,za(b))}function Al(a){var b=Da.apply(1,arguments);Jk(a,1,b[0]);Nc.apply(null,za(b))} +function Bl(a){var b=Da.apply(1,arguments);b[0]&&Jk(a,4,b[0]);Pc.apply(null,za(b))}function Cl(a){var b=Da.apply(1,arguments);Jk(a,1,b[2]);return tl.apply(null,za(b))};var Dl={Na:{Be:0,Ee:1,Li:2}};Dl.Na[Dl.Na.Be]="FULL_TRANSMISSION";Dl.Na[Dl.Na.Ee]="LIMITED_TRANSMISSION";Dl.Na[Dl.Na.Li]="NO_TRANSMISSION";var El={aa:{Vc:0,Wa:1,gd:2,Dc:3}};El.aa[El.aa.Vc]="NO_QUEUE";El.aa[El.aa.Wa]="ADS";El.aa[El.aa.gd]="ANALYTICS";El.aa[El.aa.Dc]="MONITORING";function Fl(){var a=Fc("google_tag_data",{});return a.ics=a.ics||new Gl}var Gl=function(){this.entries={};this.waitPeriodTimedOut=this.wasSetLate=this.accessedAny=this.accessedDefault=this.usedImplicit=this.usedUpdate=this.usedDefault=this.usedDeclare=this.active=!1;this.C=[]}; +Gl.prototype.default=function(a,b,c,d,e,f,g){this.usedDefault||this.usedDeclare||!this.accessedDefault&&!this.accessedAny||(this.wasSetLate=!0);this.usedDefault=this.active=!0;kb("TAGGING",19);b==null?kb("TAGGING",18):Hl(this,a,b==="granted",c,d,e,f,g)};Gl.prototype.waitForUpdate=function(a,b,c){for(var d=0;d0&&n.update===void 0),u={region:q,declare_region:n.declare_region,implicit:n.implicit,default:c!==void 0?c:n.default,declare:n.declare,update:n.update,quiet:r};if(e!==""||n.default!==!1)l[b]=u;r&&w.setTimeout(function(){l[b]===u&&u.quiet&&(kb("TAGGING",2),a.waitPeriodTimedOut=!0,a.clearTimeout(b,void 0,h), +a.notifyListeners())},g)}};k=Gl.prototype;k.clearTimeout=function(a,b,c){var d=[a],e=c.delegatedConsentTypes,f;for(f in e)e.hasOwnProperty(f)&&e[f]===a&&d.push(f);var g=this.entries[a]||{},h=this.getConsentState(a,c);if(g.quiet){g.quiet=!1;for(var l=m(d),n=l.next();!n.done;n=l.next())Il(this,n.value)}else if(b!==void 0&&h!==b)for(var p=m(d),q=p.next();!q.done;q=p.next())Il(this,q.value)}; +k.update=function(a,b,c){this.usedDefault||this.usedDeclare||this.usedUpdate||!this.accessedAny||(this.wasSetLate=!0);this.usedUpdate=this.active=!0;if(b!=null){var d=this.getConsentState(a,c),e=this.entries;(e[a]=e[a]||{}).update=b==="granted";this.clearTimeout(a,d,c)}}; +k.declare=function(a,b,c,d,e){this.usedDeclare=this.active=!0;var f=this.entries,g=f[a]||{},h=g.declare_region,l=c&&sb(c)?c.toUpperCase():void 0;d=d.toUpperCase();e=e.toUpperCase();if(d===""||l===e||(l===d?h!==e:!l&&!h)){var n={region:g.region,declare_region:l,declare:b==="granted",implicit:g.implicit,default:g.default,update:g.update,quiet:g.quiet};if(d!==""||g.declare!==!1)f[a]=n}}; +k.implicit=function(a,b){this.usedImplicit=!0;var c=this.entries,d=c[a]=c[a]||{};d.implicit!==!1&&(d.implicit=b==="granted")}; +k.getConsentState=function(a,b){var c=this.entries,d=c[a]||{},e=d.update;if(e!==void 0)return e?1:2;if(b.usedContainerScopedDefaults){var f=b.containerScopedDefaults[a];if(f===3)return 1;if(f===2)return 2}else if(e=d.default,e!==void 0)return e?1:2;if(b==null?0:b.delegatedConsentTypes.hasOwnProperty(a)){var g=b.delegatedConsentTypes[a],h=c[g]||{};e=h.update;if(e!==void 0)return e?1:2;if(b.usedContainerScopedDefaults){var l=b.containerScopedDefaults[g];if(l===3)return 1;if(l===2)return 2}else if(e= +h.default,e!==void 0)return e?1:2}e=d.declare;if(e!==void 0)return e?1:2;e=d.implicit;return e!==void 0?e?3:4:0};k.addListener=function(a,b){this.C.push({consentTypes:a,Ld:b})};var Il=function(a,b){for(var c=0;c=e.length?l(n):w.setTimeout(function(){l(c())},500)}}))};var Vl={},Wl=(Vl[El.aa.Vc]=Dl.Na.Be,Vl[El.aa.Wa]=Dl.Na.Be,Vl[El.aa.gd]=Dl.Na.Be,Vl[El.aa.Dc]=Dl.Na.Be,Vl),Xl=function(a,b){this.C=a;this.consentTypes=b};Xl.prototype.isConsentGranted=function(){switch(this.C){case 0:return this.consentTypes.every(function(a){return Nl(a)});case 1:return this.consentTypes.some(function(a){return Nl(a)});default:tc(this.C,"consentsRequired had an unknown type")}}; +var Yl={},Zl=(Yl[El.aa.Vc]=new Xl(0,[]),Yl[El.aa.Wa]=new Xl(0,["ad_storage"]),Yl[El.aa.gd]=new Xl(0,["analytics_storage"]),Yl[El.aa.Dc]=new Xl(1,["ad_storage","analytics_storage"]),Yl);var am=function(a){var b=this;this.type=a;this.C=[];Rl(Zl[a].consentTypes,function(){$l(b)||b.flush()})};am.prototype.flush=function(){for(var a=m(this.C),b=a.next();!b.done;b=a.next()){var c=b.value;c()}this.C=[]};var $l=function(a){return Wl[a.type]===Dl.Na.Li&&!Zl[a.type].isConsentGranted()},bm=function(a,b){$l(a)?a.C.push(b):b()},cm=new Map;function dm(a){cm.has(a)||cm.set(a,new am(a));return cm.get(a)};var em={Z:{Zn:"aw_user_data_cache",Yh:"cookie_deprecation_label",Og:"diagnostics_page_id",Ls:"em_registry",wi:"eab",wp:"fl_user_data_cache",Cp:"ga4_user_data_cache",Hp:"idc_pv_claim",Ce:"ip_geo_data_cache",Di:"ip_geo_fetch_in_progress",zm:"nb_data",Up:"page_experiment_ids",Bm:"pld",He:"pt_data",Cm:"pt_listener_set",Im:"service_worker_endpoint",Lm:"shared_user_id",Mm:"shared_user_id_requested",Ch:"shared_user_id_source"}};var fm=function(a){return jf(function(b){for(var c in a)if(b===a[c]&&!/^[0-9]+$/.test(c))return!0;return!1})}(em.Z); +function gm(a,b){b=b===void 0?!1:b;if(fm(a)){var c,d,e=(d=(c=Fc("google_tag_data",{})).xcd)!=null?d:c.xcd={};if(e[a])return e[a];if(b){var f=void 0,g=1,h={},l={set:function(n){f=n;l.notify()},get:function(){return f},subscribe:function(n){h[String(g)]=n;return g++},unsubscribe:function(n){var p=String(n);return h.hasOwnProperty(p)?(delete h[p],!0):!1},notify:function(){for(var n=m(Object.keys(h)),p=n.next();!p.done;p=n.next()){var q=p.value;try{h[q](a,f)}catch(r){}}}};return e[a]=l}}} +function hm(a,b){var c=gm(a,!0);c&&c.set(b)}function im(a){var b;return(b=gm(a))==null?void 0:b.get()}function jm(a,b){var c=gm(a);if(!c){c=gm(a,!0);if(!c)return;c.set(b)}return c.get()}function km(a,b){if(typeof b==="function"){var c;return(c=gm(a,!0))==null?void 0:c.subscribe(b)}}function lm(a,b){var c=gm(a);return c?c.unsubscribe(b):!1};var mm=["fin","mcc"],nm=!1;function om(a){a=a===void 0?!1:a;var b=lk().filter(function(c){return mk[c]!==void 0&&(a||!mm.includes(c))});pk(b);return b.map(function(c){var d=mk[c];typeof d==="function"&&(d=d());return d?"&"+c+"="+d:""}).join("")+"&z=0"}function pm(a){var b="https://"+D(21),c="/td?id="+D(5);return""+Cj(b)+c+a} +function qm(a){a=a===void 0?!1:a;if(Si.H&&Fk&&D(5)){var b=dm(El.aa.Dc);if($l(b))nm||(nm=!0,bm(b,qm));else{a&&nk("fin","1");var c=om(a),d=pm(c),e={destinationId:D(5),endpoint:61};a?zl(e,d,void 0,{Re:!0},void 0,function(){yl(e,d+"&img=1")}):yl(e,d);nm=!1;rm(c)}}} +function rm(a){if(P(426)&&Ec&&(Lb(Ec,"https://www.googletagmanager.com/")||kg(47))&&!(a.indexOf("&csp=")<0&&a.indexOf("&mde=")<0)){var b;a:{try{if(Ec){b=new URL(Ec);break a}}catch(c){}b=void 0}b&&Nc(""+Ec+(Ec.indexOf("?")>=0?"&":"?")+"is_td=1"+a)}}function sm(){lk().some(function(a){return!jk[a]})&&qm(!0)}var tm;function um(){if(im(em.Z.Og)===void 0){var a=function(){hm(em.Z.Og,wb());tm=0};a();w.setInterval(a,864E5)}else km(em.Z.Og,function(){tm=0});tm=0} +function vm(){um();nk("v","3");nk("t","t");nk("pid",function(){return String(im(em.Z.Og))});nk("seq",function(){return String(++tm)});nk("exp",qk());Sc(w,"pagehide",sm)};var wm=["ad_storage","analytics_storage","ad_user_data","ad_personalization"],xm=[K.m.yd,K.m.Tc,K.m.yf,K.m.Tb,K.m.mb,K.m.Oa,K.m.cb,K.m.ab,K.m.Eb,K.m.wc],ym=!1,zm=!1,Am={},Bm={};function Cm(){!zm&&ym&&(wm.some(function(a){return Ml.containerScopedDefaults[a]!==1})||Dm("mbc"));zm=!0}function Dm(a){Fk&&(nk(a,"1"),qm())}function Em(a,b){if(!Am[b]&&(Am[b]=!0,Bm[b]))for(var c=m(xm),d=c.next();!d.done;d=c.next())if(L(a,d.value)){Dm("erc");break}};function Fm(a){kb("HEALTH",a)};var Gm={},Hm=!1;function Im(){function a(){c!==void 0&&lm(em.Z.Ce,c);try{var e=im(em.Z.Ce);Gm=JSON.parse(e)}catch(f){O(123),Fm(2),Gm={}}Hm=!0;b()}var b=Jm,c=void 0,d=im(em.Z.Ce);d?a(d):(c=km(em.Z.Ce,a),Km())} +function Km(){function a(b){hm(em.Z.Ce,b||"{}");hm(em.Z.Di,!1)}if(!im(em.Z.Di)){hm(em.Z.Di,!0);try{w.fetch("https://www.google.com/ccm/geo",{method:"GET",cache:"no-store",mode:"cors",credentials:"omit"}).then(function(b){b.ok?b.text().then(function(c){a(c)},function(){a()}):a()},function(){a()})}catch(b){a()}}}function Lm(){var a=D(22);try{return JSON.parse(ib(a))}catch(b){return O(123),Fm(2),{}}}function Mm(){return Gm["0"]||""}function Nm(){return Gm["1"]||""} +function Om(){var a=!1;return a}function Pm(){return Gm["6"]!==!1}function Qm(){var a="";return a}function Rm(){var a="";return a};var Sm={},Tm=Object.freeze((Sm[K.m.Sb]=1,Sm[K.m.Pg]=1,Sm[K.m.bi]=1,Sm[K.m.vc]=1,Sm[K.m.oa]=1,Sm[K.m.Eb]=1,Sm[K.m.wb]=1,Sm[K.m.Ub]=1,Sm[K.m.nd]=1,Sm[K.m.wc]=1,Sm[K.m.ab]=1,Sm[K.m.od]=1,Sm[K.m.se]=1,Sm[K.m.Ia]=1,Sm[K.m.Ro]=1,Sm[K.m.xf]=1,Sm[K.m.ki]=1,Sm[K.m.Zg]=1,Sm[K.m.sd]=1,Sm[K.m.yf]=1,Sm[K.m.bp]=1,Sm[K.m.Fb]=1,Sm[K.m.Cf]=1,Sm[K.m.ep]=1,Sm[K.m.gh]=1,Sm[K.m.il]=1,Sm[K.m.Oc]=1,Sm[K.m.Pc]=1,Sm[K.m.cb]=1,Sm[K.m.sl]=1,Sm[K.m.Vb]=1,Sm[K.m.wd]=1,Sm[K.m.xd]=1,Sm[K.m.yd]=1,Sm[K.m.kh]=1,Sm[K.m.ri]=1,Sm[K.m.zd]= +1,Sm[K.m.Tc]=1,Sm[K.m.Bd]=1,Sm[K.m.Dl]=1,Sm[K.m.Bc]=1,Sm[K.m.Uc]=1,Sm[K.m.Ri]=1,Sm));Object.freeze([K.m.xa,K.m.Xa,K.m.Gb,K.m.lb,K.m.oi,K.m.Oa,K.m.li,K.m.Oo]); +var Um={},Vm=Object.freeze((Um[K.m.so]=1,Um[K.m.uo]=1,Um[K.m.vo]=1,Um[K.m.wo]=1,Um[K.m.xo]=1,Um[K.m.Bo]=1,Um[K.m.Co]=1,Um[K.m.Do]=1,Um[K.m.Fo]=1,Um[K.m.je]=1,Um)),Wm={},Xm=Object.freeze((Wm[K.m.Ek]=1,Wm[K.m.Fk]=1,Wm[K.m.ee]=1,Wm[K.m.fe]=1,Wm[K.m.Gk]=1,Wm[K.m.jd]=1,Wm[K.m.he]=1,Wm[K.m.oc]=1,Wm[K.m.Ic]=1,Wm[K.m.qc]=1,Wm[K.m.Bb]=1,Wm[K.m.ie]=1,Wm[K.m.rc]=1,Wm[K.m.Hk]=1,Wm)),Ym=Object.freeze([K.m.Sb,K.m.ff,K.m.vc,K.m.od,K.m.yf,K.m.Ef,K.m.wd,K.m.Bd]),Zm=Object.freeze([].concat(za(Ym))),$m=Object.freeze([K.m.wb, +K.m.Zg,K.m.kh,K.m.ri,K.m.Xg]),an=Object.freeze([].concat(za($m))),bn={},cn=(bn[K.m.W]="1",bn[K.m.ja]="2",bn[K.m.X]="3",bn[K.m.Ka]="4",bn),dn={},en=Object.freeze((dn.search="s",dn.youtube="y",dn.playstore="p",dn.shopping="h",dn.ads="a",dn.maps="m",dn));function fn(a){return typeof a!=="object"||a===null?{}:a}function gn(a){return a===void 0||a===null?"":typeof a==="object"?a.toString():String(a)}function hn(a){if(a!==void 0&&a!==null)return gn(a)};function jn(a){return a&&a.indexOf("pending:")===0?kn(a.substr(8)):!1}function kn(a){if(a==null||a.length===0)return!1;var b=Number(a),c=Gb();return bc-9E5};var ln=!1,mn=!1,nn=!1,on=0,pn=!1,qn=[];function rn(a){if(on===0)pn&&qn&&(qn.length>=100&&qn.shift(),qn.push(a));else if(sn()){var b=D(41),c=Fc(b,[]);c.length>=50&&c.shift();c.push(a)}}function tn(){un();Tc(A,"TAProdDebugSignal",tn)}function un(){if(!mn){mn=!0;vn();var a=qn;qn=void 0;a==null||a.forEach(function(b){rn(b)})}} +function vn(){var a=A.documentElement.getAttribute("data-tag-assistant-prod-present");kn(a)?on=1:!jn(a)||ln||nn?on=2:(nn=!0,Sc(A,"TAProdDebugSignal",tn,!1),w.setTimeout(function(){un();ln=!0},200))}function sn(){if(!pn)return!1;switch(on){case 1:case 0:return!0;case 2:return!1;default:return!1}};var wn=!1;function xn(a,b){var c=Sj(),d=Pj();D(26);var e=kg(47)?0:kg(50)?1:3,f=wj();if(sn()){var g=yn("INIT");g.containerLoadSource=a!=null?a:0;b&&(g.parentTargetReference=b);g.aliases=c;g.destinations=d;e!==void 0&&(g.gtg={source:e,mPath:f!=null?f:""});rn(g)}} +function zn(a){var b,c,d,e;b=a.targetId;c=a.request;d=a.hb;e=a.isBatched;var f;if(f=sn()){var g;a:switch(c.endpoint){case 19:case 47:g=!0;break a;default:g=!1}f=!g}if(f){var h=yn("GTAG_HIT",{eventId:d.eventId,priorityId:d.priorityId});h.target=b;h.url=c.url;c.postBody&&(h.postBody=c.postBody);h.parameterEncoding=c.parameterEncoding;h.endpoint=c.endpoint;e!==void 0&&(h.isBatched=e);rn(h)}}function An(a){sn()&&zn(a())} +function yn(a,b){b=b===void 0?{}:b;b.groupId=Bn;var c,d=b,e=Cn,f={publicId:Dn};d.eventId!=null&&(f.eventId=d.eventId);d.priorityId!=null&&(f.priorityId=d.priorityId);d.eventName&&(f.eventName=d.eventName);d.groupId&&(f.groupId=d.groupId);d.tagName&&(f.tagName=d.tagName);c={containerProduct:"GTM",key:f,version:e,messageType:a};c.containerProduct=wn?"OGT":"GTM";c.key.targetRef=En;return c}var Dn="",Cn="",En={ctid:"",isDestination:!1},Bn; +function Fn(a){var b=D(5),c=Oj(),d=D(6),e=D(1);D(23);on=0;pn=!0;vn();Bn=a;Dn=b;Cn=e;wn=$i;En={ctid:b,isDestination:c,canonicalId:d}};var Gn=[K.m.W,K.m.ja,K.m.X,K.m.Ka],Hn,In;function Jn(a){var b=a[K.m.nc];b||(b=[""]);for(var c={pg:0};c.pg=0;a--)go[a]();go=[]}};var io=/^(?:AW|DC|G|GF|GT|HA|MC|UA)$/,jo=/\s/; +function ko(a,b){if(sb(a)){a=Eb(a);var c=a.indexOf("-");if(!(c<0)){var d=a.substring(0,c);if(io.test(d)){var e=a.substring(c+1),f;if(b){var g=function(n){var p=n.indexOf("/");return p<0?[n]:[n.substring(0,p),n.substring(p+1)]};f=g(e);if(d==="DC"&&f.length===2){var h=g(f[1]);h.length===2&&(f[1]=h[0],f.push(h[1]))}}else{f=e.split("/");for(var l=0;l0&&(ok("tdc",!0),uo=w.setTimeout(function(){qm();po={};uo=void 0},oo))}} +function wo(a,b){var c={},d;for(d in b)b.hasOwnProperty(d)&&(c[d]=!0);for(var e in a)a.hasOwnProperty(e)&&(c[e]=!0);return c} +function xo(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?"":d;if(a===b)return[];var e=function(r,u){var t;qd(u)==="object"?t=u[r]:qd(u)==="array"&&(t=u[r]);return t===void 0?to[r]:t},f=wo(a,b),g;for(g in f)if(f.hasOwnProperty(g)){var h=(d?d+".":"")+g,l=e(g,a),n=e(g,b),p=qd(l)==="object"||qd(l)==="array",q=qd(n)==="object"||qd(n)==="array";if(p&&q)xo(l,n,c,h);else if(p||q||l!==n)c[h]=!0}return Object.keys(c)} +function yo(){nk("tdc",function(){uo&&(w.clearTimeout(uo),uo=void 0);var a=[],b;for(b in po)po.hasOwnProperty(b)&&a.push(b+"*"+po[b].join("."));return a.length?a.join("!"):void 0},!1)};var zo={R:{dk:1,Qi:2,Xj:3,wk:4,Yj:5,hd:6,vk:7,Np:8,Gm:9,Zj:10,bk:11,rh:12,Rl:13,Ol:14,Ql:15,Nl:16,Pl:17,Ml:18,Yn:19,xp:20,yp:21,Ki:22}};zo.R[zo.R.dk]="ALLOW_INTEREST_GROUPS";zo.R[zo.R.Qi]="SERVER_CONTAINER_URL";zo.R[zo.R.Xj]="ADS_DATA_REDACTION";zo.R[zo.R.wk]="CUSTOMER_LIFETIME_VALUE";zo.R[zo.R.Yj]="ALLOW_CUSTOM_SCRIPTS";zo.R[zo.R.hd]="ANY_COOKIE_PARAMS";zo.R[zo.R.vk]="COOKIE_EXPIRES";zo.R[zo.R.Np]="LEGACY_ENHANCED_CONVERSION_JS_VARIABLE";zo.R[zo.R.Gm]="RESTRICTED_DATA_PROCESSING";zo.R[zo.R.Zj]="ALLOW_DISPLAY_FEATURES"; +zo.R[zo.R.bk]="ALLOW_GOOGLE_SIGNALS";zo.R[zo.R.rh]="GENERATED_TRANSACTION_ID";zo.R[zo.R.Rl]="FLOODLIGHT_COUNTING_METHOD_UNKNOWN";zo.R[zo.R.Ol]="FLOODLIGHT_COUNTING_METHOD_STANDARD";zo.R[zo.R.Ql]="FLOODLIGHT_COUNTING_METHOD_UNIQUE";zo.R[zo.R.Nl]="FLOODLIGHT_COUNTING_METHOD_PER_SESSION";zo.R[zo.R.Pl]="FLOODLIGHT_COUNTING_METHOD_TRANSACTIONS";zo.R[zo.R.Ml]="FLOODLIGHT_COUNTING_METHOD_ITEMS_SOLD";zo.R[zo.R.Yn]="ADS_OGT_V1_USAGE";zo.R[zo.R.xp]="FORM_INTERACTION_PERMISSION_DENIED";zo.R[zo.R.yp]="FORM_SUBMIT_PERMISSION_DENIED"; +zo.R[zo.R.Ki]="MICROTASK_NOT_SUPPORTED";var Ao={},Bo=(Ao[K.m.di]=zo.R.dk,Ao[K.m.yd]=zo.R.Qi,Ao[K.m.Tc]=zo.R.Qi,Ao[K.m.La]=zo.R.Xj,Ao[K.m.qe]=zo.R.wk,Ao[K.m.ef]=zo.R.Yj,Ao[K.m.od]=zo.R.hd,Ao[K.m.ab]=zo.R.hd,Ao[K.m.Eb]=zo.R.hd,Ao[K.m.nd]=zo.R.hd,Ao[K.m.wc]=zo.R.hd,Ao[K.m.Ub]=zo.R.hd,Ao[K.m.wb]=zo.R.vk,Ao[K.m.Vb]=zo.R.Gm,Ao[K.m.Pg]=zo.R.Zj,Ao[K.m.vc]=zo.R.bk,Ao),Co={},Do=(Co.unknown=zo.R.Rl,Co.standard=zo.R.Ol,Co.unique=zo.R.Ql,Co.per_session=zo.R.Nl,Co.transactions=zo.R.Pl,Co.items_sold=zo.R.Ml,Co);var ob=[];function Eo(a,b){b=b===void 0?!1:b;kb("GTAG_EVENT_FEATURE_CHANNEL",a);b&&(ob[a]=!0)}function Fo(a,b){b=b===void 0?!1:b;for(var c=Object.keys(a),d=m(Object.keys(Bo)),e=d.next();!e.done;e=d.next()){var f=e.value;c.includes(f)&&Eo(Bo[f],b)}};function Go(a,b){return arguments.length===1?Ho("set",a):Ho("set",a,b)}function Io(a,b){return arguments.length===1?Ho("config",a):Ho("config",a,b)}function Jo(a,b,c){c=c||{};c[K.m.xd]=a;return Ho("event",b,c)}function Ho(){return arguments};var Ko=function(a,b,c,d,e,f,g,h,l,n,p){this.eventId=a;this.priorityId=b;this.C=c;this.V=d;this.H=e;this.T=f;this.P=g;this.eventMetadata=h;this.onSuccess=l;this.onFailure=n;this.isGtmEvent=p},Lo=function(a,b){var c=[];switch(b){case 3:c.push(a.C);c.push(a.V);c.push(a.H);c.push(a.T);c.push(a.P);break;case 2:c.push(a.C);break;case 1:c.push(a.V);c.push(a.H);c.push(a.T);c.push(a.P);break;case 4:c.push(a.C),c.push(a.V),c.push(a.H),c.push(a.T)}return c},L=function(a,b,c,d){for(var e=m(Lo(a,d===void 0?3: +d)),f=e.next();!f.done;f=e.next()){var g=f.value;if(g[b]!==void 0)return g[b]}return c},Mo=function(a){for(var b={},c=Lo(a,4),d=m(c),e=d.next();!e.done;e=d.next())for(var f=Object.keys(e.value),g=m(f),h=g.next();!h.done;h=g.next())b[h.value]=1;return Object.keys(b)}; +Ko.prototype.getMergedValues=function(a,b,c){function d(n){sd(n)&&zb(n,function(p,q){f=!0;e[p]=q})}b=b===void 0?3:b;var e={},f=!1;c&&d(c);var g=Lo(this,b);g.reverse();for(var h=m(g),l=h.next();!l.done;l=h.next())d(l.value[a]);return f?e:void 0}; +var No=function(a){for(var b=[K.m.tf,K.m.nf,K.m.pf,K.m.qf,K.m.rf,K.m.uf,K.m.vf],c=Lo(a,3),d=m(c),e=d.next();!e.done;e=d.next()){for(var f=e.value,g={},h=!1,l=m(b),n=l.next();!n.done;n=l.next()){var p=n.value;f[p]!==void 0&&(g[p]=f[p],h=!0)}var q=h?g:void 0;if(q)return q}return{}},Oo=function(a,b){this.eventId=a;this.priorityId=b;this.H={};this.V={};this.C={};this.P={};this.ka={};this.T={};this.eventMetadata={};this.isGtmEvent=!1;this.onSuccess=function(){};this.onFailure=function(){}},Po=function(a, +b){a.H=b;return a},Qo=function(a,b){a.V=b;return a},Ro=function(a,b){a.C=b;return a},bp=function(a,b){a.P=b;return a},cp=function(a,b){a.ka=b;return a},dp=function(a,b){a.T=b;return a},ep=function(a,b){a.eventMetadata=b||{};return a},fp=function(a,b){a.onSuccess=b;return a},gp=function(a,b){a.onFailure=b;return a},hp=function(a,b){a.isGtmEvent=b;return a},ip=function(a){return new Ko(a.eventId,a.priorityId,a.H,a.V,a.C,a.P,a.T,a.eventMetadata,a.onSuccess,a.onFailure,a.isGtmEvent)};var Q={A:{Uh:"accept_by_default",Uj:"add_tag_timing",ae:"ads_event_page_view",fd:"allow_ad_personalization",Bs:"auto_event",ek:"batch_on_navigation",ik:"client_id_source",Hg:"consent_event_id",Ig:"consent_priority_id",Ds:"consent_state",ia:"consent_updated",ce:"conversion_linker_enabled",Aa:"cookie_options",Lg:"create_dc_join",Mg:"create_fpm_geo_join",Ng:"create_fpm_signals_join",de:"create_google_join",zk:"dc_random",Hc:"em_event",Ks:"endpoint_for_debug",Dk:"enhanced_client_id_source",ai:"enhanced_match_result", +Gl:"euid_logged_in_state",Ae:"euid_mode_enabled",nb:"event_start_timestamp_ms",Kl:"event_usage",yi:"extra_tag_experiment_ids",Vs:"add_parameter",Ai:"attribution_reporting_experiment",Bi:"counting_method",qh:"send_as_iframe",Ws:"parameter_order",Rf:"parsed_target",Ap:"ga4_collection_subdomain",bm:"gbraid_cookie_marked",eb:"handle_internally",ba:"hit_type",Wb:"hit_type_override",Tf:"ignore_hit_success_failure",wt:"is_config_command",th:"is_consent_update",Uf:"is_conversion",jm:"is_ecommerce",km:"is_ec_cm_split", +Ed:"is_external_event",Fi:"is_fallback_aw_conversion_ping_allowed",Vf:"is_first_visit",lm:"is_first_visit_conversion",uh:"is_fl_fallback_conversion_flow_allowed",Fd:"is_fpm_encryption",Gi:"is_fpm_split",Xb:"is_gcp_conversion",wh:"is_google_signals_allowed",Hi:"is_google_signals_enabled",Gd:"is_merchant_center",xh:"is_new_to_site",Wf:"is_personalization",qm:"is_server_side_destination",De:"is_session_start",rm:"is_session_start_conversion",xt:"is_sgtm_ga_ads_conversion_study_control_group",zt:"is_sgtm_prehit", +sm:"is_sgtm_service_worker",Ii:"is_split_conversion",Ip:"is_syn",Jp:"is_test_event",Xf:"join_id",Ji:"join_elapsed",Yf:"join_timer_sec",wm:"local_storage_aw_conversion_counters",Ie:"tunnel_updated",Dt:"prehit_for_retry",Ft:"promises",Gt:"record_aw_latency",Wc:"redact_ads_data",Je:"redact_click_ids",Fm:"remarketing_only",Oi:"send_ccm_parallel_ping",It:"send_ccm_parallel_test_ping",eg:"send_to_destinations",Pi:"send_to_targets",Hm:"send_user_data_hit",Pa:"source_canonical_id",Ea:"speculative",Pm:"speculative_in_message", +Rm:"suppress_script_load",Sm:"syn_or_mod",Yi:"transient_ecsid",fg:"transmission_type",Qa:"user_data",Lt:"user_data_from_automatic",Mt:"user_data_from_automatic_getter",Ym:"user_data_from_code",cq:"user_data_from_manual",Zm:"user_data_mode",gg:"user_id_updated"}};function jp(a){zb(a,function(b){b.charAt(0)==="_"&&delete a[b]})};var kp=new yb,lp={},mp={},pp={name:D(19),set:function(a,b){td(Qb(a,b),lp);np()},get:function(a){return op(a,2)},reset:function(){kp=new yb;lp={};np()}};function op(a,b){return b!=2?kp.get(a):qp(a)}function qp(a,b){var c=a.split(".");b=b||[];for(var d=lp,e=0;e0&&(a=wp.Xn);this.H=a;this.C=0;this.P=[]},Ep=1E3; +function Fp(a,b){var c=Ap;if(c===void 0)if(b)c=eo();else return"";for(var d=[Cj("https://"+D(21)),"/a","?id="+D(5)],e=m(xp),f=e.next();!f.done;f=e.next())for(var g=f.value,h=g({eventId:c,Zd:!!a}),l=m(h),n=l.next();!n.done;n=l.next()){var p=m(n.value),q=p.next().value,r=p.next().value;d.push("&"+q+"="+r)}d.push("&z=0");return d.join("")} +function Gp(){if(Si.H&&(Cp&&(w.clearTimeout(Cp),Cp=void 0),Ap!==void 0&&Hp)){var a=dm(El.aa.Dc);if($l(a))yp||(yp=!0,bm(a,Gp));else{var b;if(!(b=Bp[Ap])){var c=Dp;b=c.C=2022&&Gp())}var Kp=wb();function Lp(){Kp=wb()}function Mp(){var a=[["v","3"],["t","t"],["pid",String(Kp)]],b=vp();b&&a.push(["gtm",b]);return a};var Np={};function Op(a,b,c){Dk&&a!==void 0&&(Np[a]=Np[a]||[],Np[a].push(c+b),Jp(a))}function Pp(a){var b=a.eventId,c=a.Zd,d=[],e=Np[b]||[];e.length&&d.push(["epr",e.join(".")]);c&&delete Np[b];return d};var Qp=!1;function Rp(a,b,c,d){var e=ko(c,d.isGtmEvent);e&&(Qp&&(d.deferrable=!0),Sp.push("event",[b,a],e,d))}function Tp(a,b,c,d){var e=ko(c,d.isGtmEvent);e&&Sp.push("get",[a,b],e,d)}function Up(a){var b=ko(a,!0),c;b?c=Vp(Sp,b).T:c={};return c}var Wp=function(){this.C={};this.T={};this.V={};this.ka=null;this.P={};this.H=!1;this.status=1},Xp=function(a,b,c,d){this.H=Gb();this.C=b;this.args=c;this.messageContext=d;this.type=a}; +function Yp(a){var b={};zb(a,function(c,d){td(Qb(c,d),b)});P(411)&&jp(b);return b}function Zp(a){var b=em.Z.Hp,c=im(b)||{};if(c[a])return!1;c[a]=!0;hm(b,c);return!0} +var $p=function(){this.destinations={};this.C={};this.commands=[]},Vp=function(a,b){return a.destinations[b.destinationId]=a.destinations[b.destinationId]||new Wp},aq=function(a,b,c,d){if(d.C){var e=Vp(a,d.C),f=e.ka;if(f){var g=td(c,null),h=td(e.C[d.C.destinationId],null),l=td(e.P,null),n=td(e.T,null),p=td(a.C,null),q={};if(Dk)try{q=td(lp,null)}catch(x){O(72)}var r=d.C.prefix,u=function(x){Op(d.messageContext.eventId,r,x)},t=ip(hp(gp(fp(ep(cp(bp(dp(Ro(Qo(Po(new Oo(d.messageContext.eventId,d.messageContext.priorityId), +g),h),l),n),p),q),d.messageContext.eventMetadata),function(){if(u){var x=u;u=void 0;x("2");if(d.messageContext.onSuccess)d.messageContext.onSuccess()}}),function(){if(u){var x=u;u=void 0;x("3");if(d.messageContext.onFailure)d.messageContext.onFailure()}}),!!d.messageContext.isGtmEvent)),v=function(){try{Op(d.messageContext.eventId,r,"1");var x=d.C.id;if(Fk&&b===K.m.ma){var y,z=(y=ko(x))==null?void 0:y.ids;if(!(z&&z.length>1)){var C,E=Fc("google_tag_data",{});E.td||(E.td={});C=E.td;var G=td(t.T);td(t.C, +G);var I=[],N;for(N in C)C.hasOwnProperty(N)&&xo(C[N],G).length&&I.push(N);I.length&&(vo(x,I),kb("TAGGING",ro[A.readyState]||14));C[x]=G}}f(d.C.id,b,d.H,t)}catch(ba){Op(d.messageContext.eventId,r,"4")}};b==="gtag.get"?v():bm(e.wa,v)}}},bq=function(a,b){if(b.type!=="require")if(b.C)for(var c=Vp(a,b.C).V[b.type]||[],d=0;d=0&&Array.prototype.splice.call(g,h,1)}oq(e,"load",f);oq(e,"error",f)};nq(e,"load",f);nq(e,"error",f)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)} +function qq(a){var b;b=b===void 0?!1:b;var c="https://pagead2.googlesyndication.com/pagead/gen_204?id=tcfe";iq(a,function(d,e){if(d||d===0)c+="&"+e+"="+encodeURIComponent(String(d))});rq(c,b)} +function rq(a,b){var c=window,d;b=b===void 0?!1:b;d=d===void 0?!1:d;if(c.fetch){var e={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"};d&&(e.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?e.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}:e.headers={"Attribution-Reporting-Eligible":"event-source"});c.fetch(a,e)}else pq(c,a,b===void 0?!1:b,d===void 0?!1:d)};var sq=function(){this.ka=this.ka;this.T=this.T};sq.prototype.ka=!1;sq.prototype.dispose=function(){this.ka||(this.ka=!0,this.P())};sq.prototype[Symbol.dispose]=function(){this.dispose()};sq.prototype.addOnDisposeCallback=function(a,b){this.ka?b!==void 0?a.call(b):a():(this.T||(this.T=[]),b&&(a=a.bind(b)),this.T.push(a))};sq.prototype.P=function(){if(this.T)for(;this.T.length;)this.T.shift()()};function tq(a){a.addtlConsent!==void 0&&typeof a.addtlConsent!=="string"&&(a.addtlConsent=void 0);a.gdprApplies!==void 0&&typeof a.gdprApplies!=="boolean"&&(a.gdprApplies=void 0);return a.tcString!==void 0&&typeof a.tcString!=="string"||a.listenerId!==void 0&&typeof a.listenerId!=="number"?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3} +var uq=function(a,b){b=b===void 0?{}:b;sq.call(this);this.C=null;this.wa={};this.xb=0;this.V=null;this.H=a;var c;this.timeoutMs=(c=b.timeoutMs)!=null?c:500;var d;this.cj=(d=b.cj)!=null?d:!1};wa(uq,sq);uq.prototype.P=function(){this.wa={};this.V&&(oq(this.H,"message",this.V),delete this.V);delete this.wa;delete this.H;delete this.C;sq.prototype.P.call(this)};var wq=function(a){return typeof a.H.__tcfapi==="function"||vq(a)!=null}; +uq.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.cj},d=hq(function(){a(c)}),e=0;this.timeoutMs!==-1&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.timeoutMs));var f=function(g,h){clearTimeout(e);g?(c=g,c.internalErrorState=tq(c),c.internalBlockOnErrors=b.cj,h&&c.internalErrorState===0||(c.tcString="tcunavailable",h||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{xq(this,"addEventListener", +f)}catch(g){c.tcString="tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};uq.prototype.removeEventListener=function(a){a&&a.listenerId&&xq(this,"removeEventListener",null,a.listenerId)}; +var zq=function(a,b,c){var d;d=d===void 0?"755":d;var e;a:{if(a.publisher&&a.publisher.restrictions){var f=a.publisher.restrictions[b];if(f!==void 0){e=f[d===void 0?"755":d];break a}}e=void 0}var g=e;if(g===0)return!1;var h=c;c===2?(h=0,g===2&&(h=1)):c===3&&(h=1,g===1&&(h=0));var l;if(h===0)if(a.purpose&&a.vendor){var n=yq(a.vendor.consents,d===void 0?"755":d);l=n&&b==="1"&&a.purposeOneTreatment&&a.publisherCC==="CH"?!0:n&&yq(a.purpose.consents,b)}else l=!0;else l=h===1?a.purpose&&a.vendor?yq(a.purpose.legitimateInterests, +b)&&yq(a.vendor.legitimateInterests,d===void 0?"755":d):!0:!0;return l},yq=function(a,b){return!(!a||!a[b])},xq=function(a,b,c,d){c||(c=function(){});var e=a.H;if(typeof e.__tcfapi==="function"){var f=e.__tcfapi;f(b,2,c,d)}else if(vq(a)){Aq(a);var g=++a.xb;a.wa[g]=c;if(a.C){var h={};a.C.postMessage((h.__tcfapiCall={command:b,version:2,callId:g,parameter:d},h),"*")}}else c({},!1)},vq=function(a){if(a.C)return a.C;a.C=jq(a.H,"__tcfapiLocator");return a.C},Aq=function(a){if(!a.V){var b=function(c){try{var d; +d=(typeof c.data==="string"?JSON.parse(c.data):c.data).__tcfapiReturn;a.wa[d.callId](d.returnValue,d.success)}catch(e){}};a.V=b;nq(a.H,"message",b)}},Bq=function(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.internalErrorState=tq(a));return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(qq({e:String(a.internalErrorState)}),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};var Cq={1:0,3:0,4:0,7:3,9:3,10:3};pg(32,500);function Dq(){return Zn("tcf",function(){return{}})}var Eq=function(){return new uq(w,{timeoutMs:-1})}; +function Fq(){var a=Dq(),b=Eq();wq(b)&&!Gq()&&!Hq()&&O(124);if(!a.active&&wq(b)){Gq()&&(a.active=!0,a.purposes={},a.cmpId=0,a.tcfPolicyVersion=0,Fl().active=!0,a.tcString="tcunavailable");Un();try{b.addEventListener(function(c){if(c.internalErrorState!==0)Iq(a),Vn([K.m.W,K.m.Ka,K.m.X]),Fl().active=!0;else if(a.gdprApplies=c.gdprApplies,a.cmpId=c.cmpId,a.enableAdvertiserConsentMode=c.enableAdvertiserConsentMode,Hq()&&(a.active=!0),!Jq(c)||Gq()||Hq()){a.tcfPolicyVersion=c.tcfPolicyVersion;var d;if(c.gdprApplies=== +!1){var e={},f;for(f in Cq)Cq.hasOwnProperty(f)&&(e[f]=!0);d=e;b.removeEventListener(c)}else if(Jq(c)){var g={},h;for(h in Cq)if(Cq.hasOwnProperty(h))if(h==="1"){var l,n=c,p={Rq:!0};p=p===void 0?{}:p;l=Bq(n)?n.gdprApplies===!1?!0:n.tcString==="tcunavailable"?!p.idpcApplies:(p.idpcApplies||n.gdprApplies!==void 0||p.Rq)&&(p.idpcApplies||typeof n.tcString==="string"&&n.tcString.length)?zq(n,"1",0):!0:!1;g["1"]=l}else g[h]=zq(c,h,Cq[h]);d=g}if(d){a.tcString=c.tcString||"tcempty";a.purposes=d;var q={}, +r=(q[K.m.W]=a.purposes["1"]?"granted":"denied",q);a.gdprApplies!==!0?(Vn([K.m.W,K.m.Ka,K.m.X]),Fl().active=!0):(r[K.m.Ka]=a.purposes["3"]&&a.purposes["4"]?"granted":"denied",typeof a.tcfPolicyVersion==="number"&&a.tcfPolicyVersion>=4?r[K.m.X]=a.purposes["1"]&&a.purposes["7"]?"granted":"denied":Vn([K.m.X]),Mn(r,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:Kq()||""}))}}else Vn([K.m.W,K.m.Ka,K.m.X])})}catch(c){Iq(a),Vn([K.m.W,K.m.Ka,K.m.X]),Fl().active=!0}}} +function Iq(a){a.type="e";a.tcString="tcunavailable"}function Jq(a){return a.eventStatus==="tcloaded"||a.eventStatus==="useractioncomplete"||a.eventStatus==="cmpuishown"}function Gq(){return w.gtag_enable_tcf_support===!0}function Hq(){return Dq().enableAdvertiserConsentMode===!0}function Kq(){var a=Dq();if(a.active)return a.tcString}function Lq(){var a=Dq();if(a.active&&a.gdprApplies!==void 0)return a.gdprApplies?"1":"0"} +function Mq(a){if(!Cq.hasOwnProperty(String(a)))return!0;var b=Dq();return b.active&&b.purposes?!!b.purposes[String(a)]:!0};var Nq=[K.m.W,K.m.ja,K.m.X,K.m.Ka],Oq={},Pq=(Oq[K.m.W]=1,Oq[K.m.ja]=2,Oq);function Qq(a){if(a===void 0)return 0;switch(L(a,K.m.Sb)){case void 0:return 1;case !1:return 3;default:return 2}}function Rq(){return(P(183)?ng(16).split("~"):ng(17).split("~")).indexOf(Nm())!==-1&&Bc.globalPrivacyControl===!0}function Sq(a){if(Rq())return!1;var b=Qq(a);if(b===3)return!1;switch(Ol(K.m.Ka)){case 1:case 3:return!0;case 2:return!1;case 4:return b===2;case 0:return!0;default:return!1}} +function Tq(){return Ql()||!Nl(K.m.W)||!Nl(K.m.ja)}function Uq(){var a={},b;for(b in Pq)Pq.hasOwnProperty(b)&&(a[Pq[b]]=Ol(b));return"G1"+mf(a[1]||0)+mf(a[2]||0)}var Vq={},Wq=(Vq[K.m.W]=0,Vq[K.m.ja]=1,Vq[K.m.X]=2,Vq[K.m.Ka]=3,Vq);function Xq(a){switch(a){case void 0:return 1;case !0:return 3;case !1:return 2;default:return 0}} +function Yq(a){for(var b="1",c=0;c=0&&c<=4095&&(a="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[c>>6&63],b="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[c&63]);var e="0",f;var g=Dq();f=g.active?g.tcfPolicyVersion:void 0;typeof f==="number"&&f>=0&&f<=63&&(e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[f]);var h=0;Pm()&&(h|=1);Lq()==="1"&&(h|=2);Gq()&&(h|=4);var l;var n=Dq();l=n.enableAdvertiserConsentMode!== +void 0?n.enableAdvertiserConsentMode?"1":"0":void 0;l==="1"&&(h|=8);Fl().waitPeriodTimedOut&&(h|=16);return"1"+a+b+e+"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"[h]}function cr(){return Nm()==="US-CO"};function dr(a,b,c,d){var e,f=Number(a.bd!=null?a.bd:void 0);f!==0&&(e=new Date((b||Gb())+1E3*(f||7776E3)));return{path:a.path,domain:a.domain,flags:a.flags,encode:!!c,expires:e,Gc:d}};var er=["ad_storage","ad_user_data"];function fr(a,b){if(!a)return kb("TAGGING",32),10;if(b===null||b===void 0||b==="")return kb("TAGGING",33),11;var c=gr(!1);if(c.error!==0)return kb("TAGGING",34),c.error;if(!c.value)return kb("TAGGING",35),2;c.value[a]=b;var d=hr(c);d!==0&&kb("TAGGING",36);return d} +function ir(a){if(!a)return kb("TAGGING",27),{error:10};var b=gr();if(b.error!==0)return kb("TAGGING",29),b;if(!b.value)return kb("TAGGING",30),{error:2};if(!(a in b.value))return kb("TAGGING",31),{value:void 0,error:15};var c=b.value[a];return c===null||c===void 0||c===""?(kb("TAGGING",28),{value:void 0,error:11}):{value:c,error:0}} +function gr(a){a=a===void 0?!0:a;if(!Nl(er))return kb("TAGGING",43),{error:3};try{if(!w.localStorage)return kb("TAGGING",44),{error:1}}catch(f){return kb("TAGGING",45),{error:14}}var b={schema:"gcl",version:1},c=void 0;try{c=w.localStorage.getItem("_gcl_ls")}catch(f){return kb("TAGGING",46),{error:13}}try{if(c){var d=JSON.parse(c);if(d&&typeof d==="object")b=d;else return kb("TAGGING",47),{error:12}}}catch(f){return kb("TAGGING",48),{error:8}}if(b.schema!=="gcl")return kb("TAGGING",49),{error:4}; +if(b.version!==1)return kb("TAGGING",50),{error:5};try{var e=jr(b);a&&e&&hr({value:b,error:0})}catch(f){return kb("TAGGING",48),{error:8}}return{value:b,error:0}} +function jr(a){if(!a||typeof a!=="object")return!1;if("expires"in a&&"value"in a){var b;typeof a.expires==="number"?b=a.expires:b=typeof a.expires==="string"?Number(a.expires):NaN;if(isNaN(b)||!(Date.now()<=b))return a.value=null,a.error=9,kb("TAGGING",54),!0}else{for(var c=!1,d=m(Object.keys(a)),e=d.next();!e.done;e=d.next())c=jr(a[e.value])||c;return c}return!1} +function hr(a){if(a.error)return a.error;if(!a.value)return kb("TAGGING",42),2;var b=a.value,c;try{c=JSON.stringify(b)}catch(d){return kb("TAGGING",52),6}try{w.localStorage.setItem("_gcl_ls",c)}catch(d){return kb("TAGGING",53),7}return 0};var kr={yg:"value",fb:"conversionCount",zg:1},lr={Mh:7,Rh:8,yg:"timeouts",fb:"timeouts",zg:0},mr={Mh:9,Rh:10,yg:"errors",fb:"errors",zg:0},nr=[kr,lr,mr,{Mh:11,Rh:12,yg:"eopCount",fb:"endOfPageCount",zg:0}];function or(a){var b;b=b===void 0?1:b;if(!pr(a))return{};var c=qr(nr),d=c[a.fb];if(d===void 0||d===-1)return c;var e={},f=na(Object,"assign").call(Object,{},c,(e[a.fb]=d+b,e));return rr(f)?f:c} +function qr(a){var b;a:{var c=ir("gcl_ctr");if(c.error===0&&c.value&&typeof c.value==="object"){var d=c.value;try{b="value"in d&&typeof d.value==="object"?d.value:void 0;break a}catch(p){}}b=void 0}for(var e=b,f={},g=m(a),h=g.next();!h.done;h=g.next()){var l=h.value;if(e&&pr(l)){var n=e[l.yg];n===void 0||Number.isNaN(n)?f[l.fb]=-1:f[l.fb]=Number(n)}else f[l.fb]=-1}return f} +function rr(a,b){b=b||{};for(var c=Gb(),d=dr(b,c,!0),e={},f=m(nr),g=f.next();!g.done;g=f.next()){var h=g.value,l=a[h.fb];l!==void 0&&l!==-1&&(e[h.yg]=l)}e.creationTimeMs=c;return fr("gcl_ctr",{value:e,expires:Number(d.expires)})===0?!0:!1}function pr(a){return Nl(["ad_storage","ad_user_data"])?!a.Rh||Wa(a.Rh):!1}function sr(a){return Nl(["ad_storage","ad_user_data"])?!a.Mh||Wa(a.Mh):!1};var tr={O:{Wp:0,Wj:1,Kg:2,mk:3,Wh:4,kk:5,lk:6,nk:7,Xh:8,Il:9,Hl:10,xi:11,Jl:12,ph:13,Sl:14,cg:15,Tp:16,Ke:17,Ui:18,Vi:19,Wi:20,Um:21,Xi:22,Zh:23,xk:24}};tr.O[tr.O.Wp]="RESERVED_ZERO";tr.O[tr.O.Wj]="ADS_CONVERSION_HIT";tr.O[tr.O.Kg]="CONTAINER_EXECUTE_START";tr.O[tr.O.mk]="CONTAINER_SETUP_END";tr.O[tr.O.Wh]="CONTAINER_SETUP_START";tr.O[tr.O.kk]="CONTAINER_BLOCKING_END";tr.O[tr.O.lk]="CONTAINER_EXECUTE_END";tr.O[tr.O.nk]="CONTAINER_YIELD_END";tr.O[tr.O.Xh]="CONTAINER_YIELD_START";tr.O[tr.O.Il]="EVENT_EXECUTE_END"; +tr.O[tr.O.Hl]="EVENT_EVALUATION_END";tr.O[tr.O.xi]="EVENT_EVALUATION_START";tr.O[tr.O.Jl]="EVENT_SETUP_END";tr.O[tr.O.ph]="EVENT_SETUP_START";tr.O[tr.O.Sl]="GA4_CONVERSION_HIT";tr.O[tr.O.cg]="PAGE_LOAD";tr.O[tr.O.Tp]="PAGEVIEW";tr.O[tr.O.Ke]="SNIPPET_LOAD";tr.O[tr.O.Ui]="TAG_CALLBACK_ERROR";tr.O[tr.O.Vi]="TAG_CALLBACK_FAILURE";tr.O[tr.O.Wi]="TAG_CALLBACK_SUCCESS";tr.O[tr.O.Um]="TAG_EXECUTE_END";tr.O[tr.O.Xi]="TAG_EXECUTE_START";tr.O[tr.O.Zh]="CUSTOM_PERFORMANCE_START";tr.O[tr.O.xk]="CUSTOM_PERFORMANCE_END";var ur=[],vr={},wr={};function xr(a){if(Wa(19)&&ur.includes(a)){var b;(b=hd())==null||b.mark(a+"-"+tr.O.Zh+"-"+(wr[a]||0))}}function yr(a){if(Wa(19)&&ur.includes(a)){var b=a+"-"+tr.O.xk+"-"+(wr[a]||0),c={start:a+"-"+tr.O.Zh+"-"+(wr[a]||0),end:b},d;(d=hd())==null||d.mark(b);var e,f,g=(f=(e=hd())==null?void 0:e.measure(b,c))==null?void 0:f.duration;g!==void 0&&(wr[a]=(wr[a]||0)+1,vr[a]=g+(vr[a]||0))}};var zr=["3","4"];function Ar(a){return a.origin!=="null"};function Br(a,b,c,d){try{xr("3");var e;return(e=Cr(function(f){return f===a},b,c,d)[a])!=null?e:[]}finally{yr("3")}}function Cr(a,b,c,d){var e;if(Dr(d)){for(var f={},g=String(b||Er()).split(";"),h=0;h=0} +function Jr(a,b,c,d){function e(x,y,z){if(z==null)return delete h[y],x;h[y]=z;return x+"; "+y+"="+z}function f(x,y){if(y==null)return x;h[y]=!0;return x+"; "+y}if(!Dr(c.Gc))return 2;var g;b==null?g=a+"=deleted; expires="+(new Date(0)).toUTCString():(c.encode&&(b=encodeURIComponent(b)),b=Kr(b),g=a+"="+b);var h={};g=e(g,"path",c.path);var l;c.expires instanceof Date?l=c.expires.toUTCString():c.expires!=null&&(l=""+c.expires);g=e(g,"expires",l);g=e(g,"max-age",c.Cr);g=e(g,"samesite",c.Vr);c.secure&& +(g=f(g,"secure"));var n=c.domain;if(n&&n.toLowerCase()==="auto"){for(var p=Lr(),q=void 0,r=!1,u=0;u0?d:e} +function Gr(a,b,c){for(var d=[],e=Br(a,void 0,void 0,c),f=0;f1200&&(a=a.substring(0,1200));return a}var Or=/^(www\.)?google(\.com?)?(\.[a-z]{2})?$/,Pr=/(^|\.)doubleclick\.net$/i; +function Mr(a,b){return a!==void 0&&(Pr.test(window.document.location.hostname)||b==="/"&&Or.test(a))}function Qr(a){if(!a)return 1;var b=a;Wa(5)&&a==="none"&&(b=window.document.location.hostname);b=b.indexOf(".")===0?b.substring(1):b;return b.split(".").length}function Rr(a){if(!a||a==="/")return 1;a[0]!=="/"&&(a="/"+a);a[a.length-1]!=="/"&&(a+="/");return a.split("/").length-1}function Sr(a,b){var c=""+Qr(a),d=Rr(b);d>1&&(c+="-"+d);return c} +var Er=function(){return Ar(window)?window.document.cookie:""},Dr=function(a){return a&&Wa(6)?(Array.isArray(a)?a:[a]).every(function(b){return Pl(b)&&Nl(b)}):!0},Lr=function(){var a=[],b=window.document.location.hostname.split(".");if(b.length===4){var c=b[b.length-1];if(Number(c).toString()===c)return["none"]}for(var d=b.length-2;d>=0;d--)a.push(b.slice(d).join("."));var e=window.document.location.hostname;Pr.test(e)||Or.test(e)||a.push("none");return a};function Tr(a){var b=Math.round(Math.random()*2147483647);return a?String(b^bi(a)&2147483647):String(b)}function Ur(a){return[Tr(a),Math.round(Gb()/1E3)].join(".")}function Vr(a,b,c,d,e){var f=Qr(b),g;return(g=Fr(a,f,Rr(c),d,e))==null?void 0:g.Aq};var Wr;function Xr(){function a(g){c(g.target||g.srcElement||{})}function b(g){d(g.target||g.srcElement||{})}var c=Yr,d=Zr,e=$r();if(!e.init){Sc(A,"mousedown",a);Sc(A,"keyup",a);Sc(A,"submit",b);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){d(this);f.call(this)};e.init=!0}}function as(a,b,c,d,e){var f={callback:a,domains:b,fragment:c===2,placement:c,forms:d,sameHost:e};$r().decorators.push(f)} +function bs(a,b,c){for(var d=$r().decorators,e={},f=0;f=0||p&&l[q].indexOf(n)>=0){h=!0;break a}h=!1}if(h){var r=g.placement;r===void 0&&(r=g.fragment?2:1);r===b&&Jb(e,g.callback())}}return e} +function $r(){var a=Fc("google_tag_data",{}),b=a.gl;b&&b.decorators||(b={decorators:[]},a.gl=b);return b};var cs=/(.*?)\*(.*?)\*(.*)/,ds=/^https?:\/\/([^\/]*?)\.?cdn\.ampproject\.org\/?(.*)/,es=/^(?:www\.|m\.|amp\.)+/,fs=/([^?#]+)(\?[^#]*)?(#.*)?/;function gs(a){var b=fs.exec(a);if(b)return{Hj:b[1],query:b[2],fragment:b[3]}}function hs(a){return new RegExp("(.*?)(^|&)"+a+"=([^&]*)&?(.*)")} +function is(a,b){var c=[Bc.userAgent,(new Date).getTimezoneOffset(),Bc.userLanguage||Bc.language,Math.floor(Gb()/60/1E3)-(b===void 0?0:b),a].join("*"),d;if(!(d=Wr)){for(var e=Array(256),f=0;f<256;f++){for(var g=f,h=0;h<8;h++)g=g&1?g>>>1^3988292384:g>>>1;e[f]=g}d=e}Wr=d;for(var l=4294967295,n=0;n>>8^Wr[(l^c.charCodeAt(n))&255];return((l^-1)>>>0).toString(36)} +function js(a){return function(b){var c=qj(w.location.href),d=c.search.replace("?",""),e=hj(d,"_gl",!1,!0)||"";b.query=ks(e)||{};var f=kj(c,"fragment"),g;var h=-1;if(Lb(f,"_gl="))h=4;else{var l=f.indexOf("&_gl=");l>0&&(h=l+3+2)}if(h<0)g=void 0;else{var n=f.indexOf("&",h);g=n<0?f.substring(h):f.substring(h,n)}b.fragment=ks(g||"")||{};a&&ls(c,d,f)}}function ms(a,b){var c=hs(a).exec(b),d=b;if(c){var e=c[2],f=c[4];d=c[1];f&&(d=d+e+f)}return d} +function ls(a,b,c){function d(g,h){var l=ms("_gl",g);l.length&&(l=h+l);return l}if(Ac&&Ac.replaceState){var e=hs("_gl");if(e.test(b)||e.test(c)){var f=kj(a,"path");b=d(b,"?");c=d(c,"#");Ac.replaceState({},"",""+f+b+c)}}}function ns(a,b){var c=js(!!b),d=$r();d.data||(d.data={query:{},fragment:{}},c(d.data));var e={},f=d.data;f&&(Jb(e,f.query),a&&Jb(e,f.fragment));return e} +var ks=function(a){try{var b=os(a,3);if(b!==void 0){for(var c={},d=b?b.split("*"):[],e=0;e+10;){if(c.href&&c.nodeName.match(/^a(?:rea)?$/i)){b=c;break a}c=c.parentNode;d--}b=null}var e=b;if(e){var f=e.protocol;f!=="http:"&&f!=="https:"||qs(e,e.hostname)}}catch(g){}}function Zr(a){try{var b=a.getAttribute("action");if(b){var c=kj(qj(b),"host");qs(a,c)}}catch(d){}}function us(a,b,c,d){Xr();var e=c==="fragment"?2:1;d=!!d;as(a,b,e,d,!1);e===2&&kb("TAGGING",23);d&&kb("TAGGING",24)} +function vs(a,b){Xr();as(a,[mj(w.location,"host",!0)],b,!0,!0)}function ws(){var a=A.location.hostname,b=ds.exec(A.referrer);if(!b)return!1;var c=b[2],d=b[1],e="";if(c){var f=c.split("/"),g=f[1];e=g==="s"?jj(f[2])||"":jj(g)||""}else if(d){if(d.indexOf("xn--")===0)return!1;e=d.replace(/-/g,".").replace(/\.\./g,"-")}var h=a.replace(es,""),l=e.replace(es,"");return h===l||Mb(h,"."+l)}function xs(a,b){return a===!1?!1:a||b||ws()};var ys=["1"],zs={},As={};function Bs(a,b){b=b===void 0?!0:b;var c=Cs(a.prefix);if(zs[c])Ds(a);else if(Es(c,a.path,a.domain)){var d=As[Cs(a.prefix)]||{id:void 0,Oh:void 0};b&&Fs(a,d.id,d.Oh);Ds(a)}else{var e=sj("auiddc");if(e)kb("TAGGING",17),zs[c]=e;else if(b){var f=Cs(a.prefix),g=Ur();Gs(f,g,a);Es(c,a.path,a.domain);Ds(a,!0)}}} +function Ds(a,b){if((b===void 0?0:b)&&pr(kr)){var c=gr(!1);c.error!==0?kb("TAGGING",38):c.value?"gcl_ctr"in c.value?(delete c.value.gcl_ctr,hr(c)!==0&&kb("TAGGING",41)):kb("TAGGING",40):kb("TAGGING",39)}if(sr(kr)&&qr([kr])[kr.fb]===-1){for(var d={},e=(d[kr.fb]=0,d),f=m(nr),g=f.next();!g.done;g=f.next()){var h=g.value;h!==kr&&sr(h)&&(e[h.fb]=0)}rr(e,a)}} +function Fs(a,b,c){var d=Cs(a.prefix),e=zs[d];if(e){var f=e.split(".");if(f.length===2){var g=Number(f[1])||0;if(g){var h=e;b&&(h=e+"."+b+"."+(c?c:Math.floor(Gb()/1E3)));Gs(d,h,a,g*1E3)}}}}function Gs(a,b,c,d){var e;e=["1",Sr(c.domain,c.path),b].join(".");var f=dr(c,d);f.Gc=Hs();Nr(a,e,f)}function Es(a,b,c){var d=Vr(a,b,c,ys,Hs());if(!d)return!1;Is(a,d);return!0} +function Is(a,b){var c=b.split(".");c.length===5?(zs[a]=c.slice(0,2).join("."),As[a]={id:c.slice(2,4).join("."),Oh:Number(c[4])||0}):c.length===3?As[a]={id:c.slice(0,2).join("."),Oh:Number(c[2])||0}:zs[a]=b}function Cs(a){return(a||"_gcl")+"_au"}function Js(a){function b(){Nl(c)&&a()}var c=Hs();Tl(function(){b();Nl(c)||Ul(b,c)},c)} +function Ks(a){var b=ns(!0),c=Cs(a.prefix);Js(function(){var d=b[c];if(d){Is(c,d);var e=Number(zs[c].split(".")[1])*1E3;if(e){kb("TAGGING",16);var f=dr(a,e);f.Gc=Hs();var g=["1",Sr(a.domain,a.path),d].join(".");Nr(c,g,f)}}})}function Ls(a,b,c,d,e){e=e||{};var f=function(){var g={},h=Vr(a,e.path,e.domain,ys,Hs());h&&(g[a]=h);return g};Js(function(){us(f,b,c,d)})}function Hs(){return["ad_storage","ad_user_data"]};function Ms(a){for(var b=[],c=A.cookie.split(";"),d=new RegExp("^\\s*"+(a||"_gac")+"_(UA-\\d+-\\d+)=\\s*(.+?)\\s*$"),e=0;e3&&(g.labels=f.slice(3));d[c[e].Yd].push(g)}}return d};var Os={},Ps=(Os.k={fa:/^[\w-]+$/},Os.b={fa:/^[\w-]+$/,Kj:!0},Os.i={fa:/^[1-9]\d*$/},Os.h={fa:/^\d+$/},Os.t={fa:/^[1-9]\d*$/},Os.d={fa:/^[A-Za-z0-9_-]+$/},Os.j={fa:/^\d+$/},Os.u={fa:/^[1-9]\d*$/},Os.l={fa:/^[01]$/},Os.o={fa:/^[1-9]\d*$/},Os.g={fa:/^[01]$/},Os.s={fa:/^.+$/},Os);var Qs={},Us=(Qs[5]={Th:{2:Rs},zj:"2",Gh:["k","i","b","u"]},Qs[4]={Th:{2:Rs,GCL:Ss},zj:"2",Gh:["k","i","b"]},Qs[2]={Th:{GS2:Rs,GS1:Ts},zj:"GS2",Gh:"sogtjlhd".split("")},Qs);function Vs(a,b,c){var d=Us[b];if(d){var e=a.split(".")[0];c==null||c(e);if(e){var f=d.Th[e];if(f)return f(a,b)}}} +function Rs(a,b){var c=a.split(".");if(c.length===3){var d=c[2];if(d.indexOf("$")===-1&&d.indexOf("%24")!==-1)try{d=decodeURIComponent(d)}catch(u){}var e={},f=Us[b];if(f){for(var g=f.Gh,h=m(d.split("$")),l=h.next();!l.done;l=h.next()){var n=l.value,p=n[0];if(g.indexOf(p)!==-1)try{var q=decodeURIComponent(n.substring(1)),r=Ps[p];r&&(r.Kj?(e[p]=e[p]||[],e[p].push(q)):e[p]=q)}catch(u){}}return e}}}function Ws(a,b,c){var d=Us[b];if(d)return[d.zj,c||"1",Xs(a,b)].join(".")} +function Xs(a,b){var c=Us[b];if(c){for(var d=[],e=m(c.Gh),f=e.next();!f.done;f=e.next()){var g=f.value,h=Ps[g];if(h){var l=a[g];if(l!==void 0)if(h.Kj&&Array.isArray(l))for(var n=m(l),p=n.next();!p.done;p=n.next())d.push(encodeURIComponent(""+g+p.value));else d.push(encodeURIComponent(""+g+l))}}return d.join("$")}}function Ss(a){var b=a.split(".");b.shift();var c=b.shift(),d=b.shift(),e={};return e.k=d,e.i=c,e.b=b,e} +function Ts(a){var b=a.split(".").slice(2);if(!(b.length<5||b.length>7)){var c={};return c.s=b[0],c.o=b[1],c.g=b[2],c.t=b[3],c.j=b[4],c.l=b[5],c.h=b[6],c}};var Ys=new Map([[5,"ad_storage"],[4,["ad_storage","ad_user_data"]],[2,"analytics_storage"]]);function Zs(a,b,c){if(Us[b]){for(var d=[],e=Br(a,void 0,void 0,Ys.get(b)),f=m(e),g=f.next();!g.done;g=f.next()){var h=Vs(g.value,b,c);h&&d.push($s(h))}return d}} +function at(a){var b=bt;if(Us[2]){for(var c={},d=Cr(a,void 0,void 0,Ys.get(2)),e=Object.keys(d).sort(),f=m(e),g=f.next();!g.done;g=f.next())for(var h=g.value,l=m(d[h]),n=l.next();!n.done;n=l.next()){var p=Vs(n.value,2,b);p&&(c[h]||(c[h]=[]),c[h].push($s(p)))}return c}}function ct(a,b,c,d,e){d=d||{};var f=Sr(d.domain,d.path),g=Ws(b,c,f);if(!g)return 1;var h=dr(d,e,void 0,Ys.get(c));return Nr(a,g,h)}function dt(a,b){var c=b.fa;return typeof c==="function"?c(a):c.test(a)} +function $s(a){for(var b=m(Object.keys(a)),c=b.next(),d={};!c.done;d={jg:void 0},c=b.next()){var e=c.value,f=a[e];d.jg=Ps[e];d.jg?d.jg.Kj?a[e]=Array.isArray(f)?f.filter(function(g){return function(h){return dt(h,g.jg)}}(d)):void 0:typeof f==="string"&&dt(f,d.jg)||(a[e]=void 0):a[e]=void 0}return a};var et=function(){this.value=0};et.prototype.set=function(a){return this.value|=1<=a.length)return;e=a[f++];c|=(e&127)<2&&(d=d.replace(/^(www[0-9]*|web|ftp|wap|home|m|w|amp|mobile)\./,""));b=d;c=Xb(c);var e=c.split(";")[0];e=e.replace(/\/(ar|slp|web|index)?\/?$/,"");return a(bi((""+b+e).toLowerCase()))};var jt={},kt=(jt.gclid=!0,jt.dclid=!0,jt.gbraid=!0,jt.wbraid=!0,jt),lt=/^\w+$/,mt=/^[\w-]+$/,nt={},ot=(nt.aw="_aw",nt.dc="_dc",nt.gf="_gf",nt.gp="_gp",nt.gs="_gs",nt.ha="_ha",nt.ag="_ag",nt.gb="_gb",nt),pt=/^(?:www\.)?google(?:\.com?)?(?:\.[a-z]{2}t?)?$/,qt=/^www\.googleadservices\.com$/;function rt(){return["ad_storage","ad_user_data"]}function st(a){return!Wa(6)||Nl(a)}function tt(a,b){function c(){var d=st(b);d&&a();return d}Tl(function(){c()||Ul(c,b)},b)} +function ut(a){return vt(a).map(function(b){return b.gclid})}function wt(a){return xt(a).filter(function(b){return b.gclid}).map(function(b){return b.gclid})}function xt(a){var b=zt(a.prefix),c=At("gb",b),d=At("ag",b);if(!d||!c)return[];var e=function(h){return function(l){l.type=h;return l}},f=vt(c).map(e("gb")),g=Bt(d).map(e("ag"));return f.concat(g).sort(function(h,l){return l.timestamp-h.timestamp})} +function Ct(a,b,c,d,e){var f=vb(a,function(g){return g.gclid===b});f?(f.timestamp200)p=!1;else{var q=gt(n),r;if(q)c:{var u=q;if(u&&u.length!==0){var t=0;try{for(var v=10;t>3===16382){if(I!==0)break; +var N=ht(u,G);if(N===void 0)break;r=m(N).next().value===1;break c}var ba;d:{var U=void 0,M=u,T=G;switch(I){case 0:ba=(U=ht(M,T))==null?void 0:U[1];break d;case 1:ba=T+8;break d;case 2:var la=ht(M,T);if(la===void 0)break;var ma=m(la),W=ma.next().value;ba=ma.next().value+W;break d;case 5:ba=T+4;break d}ba=void 0}if(ba===void 0||ba>u.length||ba<=t)break;t=ba}}catch(ia){}}r=!1}else r=!1;p=r}if(p){d=n;break a}}}d=void 0}var V=d;V&&Yt(V,7,a)}} +function Yt(a,b,c){c=c||{};var d=Gb(),e=dr(c,d,!0),f=rt(),g=function(){if(st(f)&&e.expires!==void 0){var h=Lt()||[];Gt(h,{version:"",gclid:a,timestamp:d,expires:Number(e.expires),za:Jt(b)},!0);fr("gcl_aw",h.map(function(l){return{value:{value:l.gclid,creationTimeMs:l.timestamp,linkDecorationSources:l.za?l.za.get():0},expires:Number(l.expires)}}))}};Tl(function(){st(f)?g():Ul(g,f)},f)} +function Tt(a,b,c,d,e){c=c||{};e=e||[];var f=zt(c.prefix),g=d||Gb(),h=Math.round(g/1E3),l=rt(),n=!1,p=!1,q=Wa(20),r=function(){if(st(l)){var u=dr(c,g,!0);u.Gc=l;for(var t=function(U,M){var T=At(U,f);T&&(Nr(T,M,u),U!=="gb"&&(n=!0))},v=function(U){var M=["GCL",h,U];e.length>0&&M.push(e.join("."));return M.join(".")},x=m(["aw","dc","gf","ha","gp"]),y=x.next();!y.done;y=x.next()){var z=y.value;a[z]&&t(z,v(a[z][0]))}if((!n||q)&&a.gb){var C=a.gb[0],E=At("gb",f);!b&&vt(E).some(function(U){return U.gclid=== +C&&U.labels&&U.labels.length>0})||t("gb",v(C))}}if(!p&&a.gbraid&&st("ad_storage")&&(p=!0,!n||q)){var G=a.gbraid,I=At("ag",f);if(b||!Bt(I).some(function(U){return U.gclid===G&&U.labels&&U.labels.length>0})){var N={},ba=(N.k=G,N.i=""+h,N.b=e,N);ct(I,ba,5,c,g)}}Zt(a,f,g,c)};Tl(function(){r();st(l)||Ul(r,l)},l)} +function Zt(a,b,c,d){if(a.gad_source!==void 0&&st("ad_storage")){var e=gd();if(e!=="r"&&e!=="h"){var f=a.gad_source,g=At("gs",b);if(g){var h=Math.floor((Gb()-(fd()||0))/1E3),l,n=it(),p={};l=(p.k=f,p.i=""+h,p.u=n,p);ct(g,l,5,d,c)}}}} +function $t(a,b){var c=ns(!0);tt(function(){for(var d=zt(b.prefix),e=0;ep){n=!0;break b}n=!1}if(!n){var u=dr(b,l,!0);u.Gc=rt();Nr(g,h,u)}}}}Tt(Qt(c.gclid,c.gclsrc),!1,b)},rt())} +function bu(a){var b=["ag"],c=ns(!0),d=zt(a.prefix);tt(function(){for(var e=0;ep){n=!0;break a}n=!1}if(n)break;h.i=""+Math.round(l/1E3);ct(f,h,5,a,l)}}}}},["ad_storage"])}function At(a,b){var c=ot[a];if(c!==void 0)return b+c}function au(a){return cu(a.split(".")).length!==0?(Number(a.split(".")[1])||0)*1E3:0} +function Et(a){return a?(Number(a.i)||0)*1E3:0}function Ft(a){var b=cu(a.split("."));return b.length===0?null:{version:b[0],gclid:b[2],timestamp:(Number(b[1])||0)*1E3,labels:b.slice(3)}}function cu(a){return a.length<3||a[0]!=="GCL"&&a[0]!=="1"||!/^\d+$/.test(a[1])||!mt.test(a[2])?[]:a} +function du(a,b,c,d,e){if(Array.isArray(b)&&Ar(w)){var f=zt(e),g=function(){for(var h={},l=0;lb} +function Wt(){return A.referrer?kj(qj(A.referrer),"host"):""};function Cu(a){var b=window,c=b.webkit;delete b.webkit;a(b.webkit);b.webkit=c}function Du(a){var b={action:"gcl_setup"};if("CWVWebViewMessage"in a.messageHandlers)return a.messageHandlers.CWVWebViewMessage.postMessage({command:"awb",payload:b}),!0;var c=a.messageHandlers.awb;return c?(c.postMessage(b),!0):!1};function Eu(){return["ad_storage","ad_user_data"]}function Fu(a){if(P(38)&&!im(em.Z.zm)&&"webkit"in window&&window.webkit.messageHandlers){var b=function(){try{Cu(function(c){c&&("CWVWebViewMessage"in c.messageHandlers||"awb"in c.messageHandlers)&&(hm(em.Z.zm,function(d){d.gclid&&Yt(d.gclid,5,a)}),Du(c)||O(178))})}catch(c){O(177)}};Tl(function(){st(Eu())?b():Ul(b,Eu())},Eu())}};var Gu=["https://www.google.com","https://www.youtube.com","https://m.youtube.com"];function Hu(a){return a.data.action!=="gcl_transfer"?(O(173),!0):a.data.gadSource?a.data.gclid?!1:(O(181),!0):(O(180),!0)} +function Iu(a,b){if(P(a)){if(im(em.Z.He))return O(176),em.Z.He;if(im(em.Z.Cm))return O(170),em.Z.He;var c=fq();if(!c)O(171);else if(c.opener){var d=function(g){if(!Gu.includes(g.origin))O(172);else if(!Hu(g)){var h={gadSource:g.data.gadSource};P(229)&&(h.gclid=g.data.gclid);hm(em.Z.He,h);a===200&&g.data.gclid&&Yt(String(g.data.gclid),6,b);var l;(l=g.stopImmediatePropagation)==null||l.call(g);oq(c,"message",d)}};if(nq(c,"message",d)){hm(em.Z.Cm,!0);for(var e=m(Gu),f=e.next();!f.done;f=e.next())c.opener.postMessage({action:"gcl_setup"}, +f.value);O(174);return em.Z.He}O(175)}}};var Su=RegExp("^UA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*(?:%3BUA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*)*$"),Tu=/^~?[\w-]+(?:\.~?[\w-]+)*$/,Uu=/^\d+\.fls\.doubleclick\.net$/,Vu=/;gac=([^;?]+)/,Wu=/;gacgb=([^;?]+)/; +function Xu(a,b){if(Uu.test(A.location.host)){var c=A.location.href.match(b);return c&&c.length===2&&c[1].match(Su)?jj(c[1])||"":""}for(var d=[],e=m(Object.keys(a)),f=e.next();!f.done;f=e.next()){for(var g=f.value,h=[],l=a[g],n=0;n0?d.join(";"):""} +function Yu(a,b,c){for(var d=st(rt())?Ns("_gac_gb",!0):{},e=[],f=!1,g=m(Object.keys(d)),h=g.next();!h.done;h=g.next()){var l=h.value,n=mu("_gac_gb_"+l,a,b,c);f=f||n.length!==0&&n.some(function(p){return p===1});e.push(l+":"+n.join(","))}return{Pq:f?e.join(";"):"",Oq:Xu(d,Wu)}}function Zu(a){var b=A.location.href.match(new RegExp(";"+a+"=([^;?]+)"));return b&&b.length===2&&b[1].match(Tu)?b[1]:void 0} +function $u(a){var b={},c,d,e;Uu.test(A.location.host)&&(c=Zu("gclgs"),d=Zu("gclst"),e=Zu("gcllp"));if(c&&d&&e)b.ng=c,b.Jh=d,b.Ih=e;else{var f=Gb(),g=Bt((a||"_gcl")+"_gs"),h=g.map(function(p){return p.gclid}),l=g.map(function(p){return f-p.timestamp}),n=g.map(function(p){return p.Zc});h.length>0&&l.length>0&&n.length>0&&(b.ng=h.join("."),b.Jh=l.join("."),b.Ih=n.join("."))}return b} +function av(a,b,c,d){d=d===void 0?!1:d;if(Uu.test(A.location.host)){var e=Zu(c);if(e){if(d){var f=new et;ft(f,2);ft(f,3);return e.split(".").map(function(h){return{gclid:h,za:f,Ya:[1]}})}return e.split(".").map(function(h){return{gclid:h,za:new et,Ya:[1]}})}}else{if(b==="gclid"){var g=(a||"_gcl")+"_aw";return d?Mt(g):vt(g)}if(b==="wbraid")return vt((a||"_gcl")+"_gb");if(b==="braids")return xt({prefix:a})}return[]}function bv(a){return Uu.test(A.location.host)?!(Zu("gclaw")||Zu("gac")):qu(a)} +function cv(a,b,c){var d;d=c?nu(a,b):mu((b&&b.prefix||"_gcl")+"_gb",a,b);return d.length===0||d.every(function(e){return e===0})?"":d.join(".")};function iv(){var a=[],b=Number('')||0,c=Number('')||0;c||(c=b/100);var d=function(){var ka=!1;ka=!0;return ka}();a.push({na:21,studyId:21,experimentId:105102050,controlId:105102051,controlId2:105102052,probability:c,active:d,la:0});var e= +Number('')||0,f=Number('')||0;f||(f=e/100);var g=function(){var ka=!1;ka=!0;return ka}();a.push({na:265,studyId:265,experimentId:115691063,controlId:115691064,controlId2:115691065, +probability:f,active:g,la:0});var h=Number('')||0,l=Number('')||0;l||(l=h/100);var n=function(){var ka=!1;return ka}();a.push({na:228,studyId:228,experimentId:105177154,controlId:105177155,controlId2:105255245,probability:l,active:n,la:0});var p=Number('')|| +0,q=Number('')||0;q||(q=p/100);var r=function(){var ka=!1;return ka}();a.push({na:287,studyId:287,experimentId:116133312,controlId:116133313,controlId2:116133314,probability:q,active:r,la:0});var u=Number('')|| +0,t=Number('')||0;t||(t=u/100);var v=function(){var ka=!1;return ka}();a.push({na:288,studyId:288,experimentId:116133315,controlId:116133316,controlId2:116133317,probability:t,active:v,la:0});var x= +Number('')||0,y=Number('0.1')||0;y||(y=x/100);var z=function(){var ka=!1;return ka}();a.push({na:285,studyId:285,experimentId:115495938,controlId:115495939, +controlId2:115495940,probability:y,active:z,la:0});var C=Number('')||0,E=Number('')||0;E||(E=C/100);var G=function(){var ka=!1;ka=!0; +return ka}();a.push({na:286,studyId:286,experimentId:115495941,controlId:115495942,controlId2:115495943,probability:E,active:G,la:0});var I=Number('')||0,N=Number('')||0;N||(N=I/100);var ba=function(){var ka=!1;ka=!0; +return ka}();a.push({na:219,studyId:219,experimentId:104948811,controlId:104948812,controlId2:0,probability:N,active:ba,la:0});var U=Number('')||0,M=Number('')||0;M||(M=U/100);var T=function(){var ka=!1; +ka=!0;return ka}();a.push({na:220,studyId:220,experimentId:104948813,controlId:104948814,controlId2:0,probability:M,active:T,la:0});var la=Number('')||0,ma=Number('0.5')||0;ma||(ma=la/100);var W=function(){var ka=!1;return ka}();a.push({na:255,studyId:255,experimentId:105391252,controlId:105391253,controlId2:105446120,probability:ma,active:W,la:0});var V=Number('')||0,ia=Number('')||0;ia||(ia=V/100);var ta=function(){var ka=!1; +return ka}();a.push({na:235,studyId:235,experimentId:105357150,controlId:105357151,controlId2:0,probability:ia,active:ta,la:1});var pa=Number('')||0,Na=Number('0')||0;Na||(Na=pa/100);var Sa=function(){var ka=!1;return ka}();a.push({na:170,studyId:170,experimentId:116024733, +controlId:116024734,controlId2:116024735,probability:Na,active:Sa,la:0});var nb=Number('')||0,bb=Number('')||0;bb||(bb=nb/100);var Za=function(){var ka=!1;ka=!0;return ka}();a.push({na:203,studyId:203,experimentId:115480710, +controlId:115480709,controlId2:115489982,probability:bb,active:Za,la:0});var Ob=Number('')||0,Pb=Number('')||0;Pb||(Pb=Ob/100);var je=function(){var ka=!1;return ka}();a.push({na:178,studyId:178,experimentId:115958700,controlId:115958701,controlId2:115958702,probability:Pb,active:je,la:0}); +var Bg=Number('')||0,ke=Number('')||0;ke||(ke=Bg/100);var Qe=function(){var ka=!1;ka=!0;return ka}();a.push({na:197,studyId:197,experimentId:105113532,controlId:105113531,controlId2:0,probability:ke,active:Qe,la:0});var Sk=Number('')|| +0,ri=Number('0.2')||0;ri||(ri=Sk/100);var Tk=function(){var ka=!1;return ka}();a.push({na:243,studyId:243,experimentId:115616985,controlId:115616986,controlId2:0,probability:ri,active:Tk,la:0});var So=Number('')||0,si=Number('')|| +0;si||(si=So/100);var Uk=function(){var ka=!1;ka=!0;return ka}();a.push({na:277,studyId:277,experimentId:116130039,controlId:116130040,controlId2:0,probability:si,active:Uk,la:0});var To=Number('')||0,ti=Number('0')|| +0;ti||(ti=To/100);var Uo=function(){var ka=!1;return ka}();a.push({na:254,studyId:254,experimentId:115583767,controlId:115583768,controlId2:115583769,probability:ti,active:Uo,la:0});var Vk=Number('')||0,ui=Number('')|| +0;ui||(ui=Vk/100);var Vo=function(){var ka=!1;return ka}();a.push({na:253,studyId:253,experimentId:115583770,controlId:115583771,controlId2:115583772,probability:ui,active:Vo,la:0});var wJ=Number('')||0,Wo=Number('')|| +0;Wo||(Wo=wJ/100);var xJ=function(){var ka=!1;return ka}();a.push({na:266,studyId:266,experimentId:115718529,controlId:115718530,controlId2:115718531,probability:Wo,active:xJ,la:0});var yJ=Number('')||0,Xo=Number('')|| +0;Xo||(Xo=yJ/100);var zJ=function(){var ka=!1;return ka}();a.push({na:267,studyId:267,experimentId:115718526,controlId:115718527,controlId2:115718528,probability:Xo,active:zJ,la:0});var AJ=Number('')||0,Yo=Number('')||0;Yo||(Yo=AJ/100);var BJ=function(){var ka= +!1;return ka}();a.push({na:249,studyId:249,experimentId:105440521,controlId:105440522,controlId2:0,focused:!0,probability:Yo,active:BJ,la:0});var CJ=Number('')||0,Zo=Number('0.5')||0;Zo||(Zo=CJ/100);var DJ=function(){var ka=!1; +return ka}();a.push({na:195,studyId:195,experimentId:104527906,controlId:104527907,controlId2:104898015,probability:Zo,active:DJ,la:1});var EJ=Number('')||0,$o=Number('0.5')||0;$o||($o=EJ/100);var FJ=function(){var ka=!1;return ka}();a.push({na:196,studyId:196,experimentId:104528500,controlId:104528501, +controlId2:104898016,probability:$o,active:FJ,la:0});var GJ=Number('')||0,ap=Number('')||0;ap||(ap=GJ/100);var HJ=function(){var ka=!1;ka=!0;return ka}();a.push({na:229,studyId:229,experimentId:105359938, +controlId:105359937,controlId2:105359936,probability:ap,active:HJ,la:0});return a};var jv={};function kv(a){var b=a,c=a=lv[b.studyId]?na(Object,"assign").call(Object,{},b,{active:!0}):b;c.controlId2&&c.probability<=.25||(c=na(Object,"assign").call(Object,{},c,{controlId2:0}));Ji[c.studyId]=c;a.focused&&(jv[a.studyId]=!0);if(a.la===1){var d=a.studyId;mv(nv(),d);ov(d)&&tk(d)}else if(a.la===0){var e=a.studyId;mv(pv,e);ov(e)&&tk(e)}} +function mv(a,b){if(Ji[b]){var c=Ji[b],d=c.experimentId,e=c.probability;if(!(a.studies||{})[b]){var f=a.studies||{};f[b]=!0;a.studies=f;Ji[b].active||(Ji[b].probability>.5?Ni(a,d,b):e<=0||e>1||Mi.Wr(a,b,void 0))}}if(!jv[b]){var g=Pi(a,b);g&&Si.C.H.add(g)}}function nv(){return jm(em.Z.Up,{})}var pv={};function qv(a,b){var c=ov(a);if(jv[a]){var d;if(d=Pi(nv(),a)||Pi(pv,a)){var e=R(b,Q.A.yi)||[];e.includes(d)||e.push(d);S(b,Q.A.yi,e)}}return c}function ov(a){return Oi(nv(),a)||Oi(pv,a)} +function rv(a){var b=R(a,Q.A.yi)||[];return qk(b)}var lv={}; +function sv(){var a=!1;if(a){var b,c,d=((b=w)==null?void 0:(c=b.location)==null?void 0:c.hash)||"";if(d[0]==="#"&&d[1]==="_"&&d[2]==="t"&&d[3]==="e"&&d[4]==="="){var e=d.substring(5);if(e)for(var f=m(e.split("~")),g=f.next();!g.done;g=f.next()){var h=Number(g.value);h&&(lv[h]=!0,tk(h))}}}for(var l=m(iv()),n=l.next();!n.done;n=l.next())kv(n.value);for(var p=[],q= +m(og(56)||[]),r=q.next();!r.done;r=q.next()){var u=r.value,t={studyId:u[1],active:!!u[2],probability:u[3]||0,experimentId:u[4]||0,controlId:u[5]||0,controlId2:u[6]||0},v=0;switch(u[7]){case 2:v=1;break;case 3:v=2;break;case 1:case 0:v=0}var x;a:switch(t.studyId){case 451:case 249:x=!0;break a;default:x=!1}var y=na(Object,"assign").call(Object,{},t,{la:v,focused:x});(y.active||y.experimentId&&y.controlId)&&p.push(y)}for(var z=m(p),C=z.next();!C.done;C=z.next())kv(C.value)};function tv(a,b){b&&zb(b,function(c,d){typeof d!=="object"&&d!==void 0&&(a["1p."+c]=String(d))})};function uv(a,b){var c=Mu(a,K.m.Fb);if(c&&typeof c==="object")for(var d=m(Object.keys(c)),e=d.next();!e.done;e=d.next()){var f=e.value,g=c[f];g!==void 0&&(g===null&&(g=""),b["gap."+f]=String(g))}};var Cv=function(a){this.C=1;this.C>0||(this.C=1);this.onSuccess=a.D.onSuccess},Dv=function(a,b){return Ub(function(){a.C--;if(rb(a.onSuccess)&&a.C===0)a.onSuccess()},b>0?b:1)};function Gv(a,b){var c=!!vj();switch(a){case 45:return"https://www.google.com/ccm/collect";case 46:return c?wj()+"/gs/ccm/collect":"https://pagead2.googlesyndication.com/ccm/collect";case 51:return"https://www.google.com/travel/flights/click/conversion";case 9:return"https://googleads.g.doubleclick.net/pagead/viewthroughconversion";case 17:return c?Qm()?Ev():""+wj()+"/ag/g/c":Ev();case 16:return c?Qm()?Fv():""+wj()+"/ga/g/c":Fv();case 67:return Qm()?"":"https://www.google.com/g/collect";case 1:return"https://ad.doubleclick.net/activity;"; +case 2:return c?wj()+"/ddm/activity/":"https://ade.googlesyndication.com/ddm/activity/";case 33:return"https://ad.doubleclick.net/activity;register_conversion=1;";case 11:return c?wj()+"/d/pagead/form-data":P(141)?"https://www.google.com/pagead/form-data":"https://google.com/pagead/form-data";case 3:return"https://"+b.mq+".fls.doubleclick.net/activityi;";case 5:return"https://www.googleadservices.com/pagead/conversion";case 6:return c?wj()+"/gs/pagead/conversion":"https://pagead2.googlesyndication.com/pagead/conversion"; +case 66:return"https://www.google.com/pagead/uconversion";case 8:return"https://www.google.com/pagead/1p-conversion";case 63:return"https://www.googleadservices.com/pagead/conversion";case 64:return c?wj()+"/gs/pagead/conversion":"https://pagead2.googlesyndication.com/pagead/conversion";case 65:return"https://www.google.com/pagead/1p-conversion";case 22:return c?wj()+"/as/d/ccm/conversion":"https://www.googleadservices.com/ccm/conversion";case 60:return c?wj()+"/gs/ccm/conversion":"https://pagead2.googlesyndication.com/ccm/conversion"; +case 23:return c?wj()+"/g/d/ccm/conversion":"https://www.google.com/ccm/conversion";case 55:return c?wj()+"/gs/measurement/conversion":"https://pagead2.googlesyndication.com/measurement/conversion";case 54:return P(205)?"https://www.google.com/measurement/conversion":c?wj()+"/g/measurement/conversion":"https://www.google.com/measurement/conversion";case 21:return c?wj()+"/d/ccm/form-data":P(141)?"https://www.google.com/ccm/form-data":"https://google.com/ccm/form-data";case 7:case 52:case 53:case 39:case 38:case 40:case 37:case 49:case 48:case 14:case 24:case 19:case 27:case 30:case 36:case 62:case 26:case 29:case 32:case 35:case 57:case 58:case 50:case 12:case 13:case 20:case 18:case 59:case 47:case 15:case 0:case 61:case 56:case 25:case 28:case 31:case 34:throw Error("Unsupported endpoint"); +default:tc(a,"Unknown endpoint")}};function Jv(a){switch(a){case 0:break;case 9:return"e4";case 6:return"e5";case 14:return"e6";default:return"e7"}};var Kv="email email_address sha256_email_address phone_number sha256_phone_number first_name last_name".split(" "),Lv="first_name sha256_first_name last_name sha256_last_name street sha256_street city region country postal_code".split(" ");function Mv(a,b){if(!b._tag_metadata){for(var c={},d=0,e=0;e0&&(b._tag_metadata=c)}} +function Nv(a,b,c){var d=b[a];if(d===void 0||d===null)return!1;c[a]=Array.isArray(d)?d.map(function(){return{mode:"c"}}):{mode:"c"};return!0}function Ov(a){if(P(178)&&a){Mv(Kv,a);for(var b=ub(a.address),c=0;c0){for(var d=Array(c),e=0;e>>7|g<<25)^(g>>>18|g<<14)^g>>>3)|0)+((c[f-7]|0)+((h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)|0)|0}for(var l=a.C[0]|0,n=a.C[1]|0,p=a.C[2]|0,q=a.C[3]|0,r=a.C[4]|0,u=a.C[5]|0,t=a.C[6]|0,v=a.C[7]|0,x=0;x<64;x++){var y=((l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10))+(l&n^l&p^n&p)|0,z=(v+((r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7))| +0)+(((r&u^~r&t)+(Sv[x]|0)|0)+(c[x]|0)|0)|0;v=t;t=u;u=r;r=q+z|0;q=p;p=n;n=l;l=z+y|0}a.C[0]=a.C[0]+l|0;a.C[1]=a.C[1]+n|0;a.C[2]=a.C[2]+p|0;a.C[3]=a.C[3]+q|0;a.C[4]=a.C[4]+r|0;a.C[5]=a.C[5]+u|0;a.C[6]=a.C[6]+t|0;a.C[7]=a.C[7]+v|0}; +Rv.prototype.update=function(a,b){b===void 0&&(b=a.length);var c=0,d=this.H;if(typeof a==="string")for(;c=g&&g==(g|0)))throw Error("message must be a byte array");this.P[d++]=g;d==this.blockSize&&(Xv(this),d=0)}else throw Error("message must be string or array"); +}this.H=d;this.T+=b};Rv.prototype.digest=function(){var a=[],b=this.T*8;this.H<56?this.update(Wv,56-this.H):this.update(Wv,this.blockSize-(this.H-56));for(var c=63;c>=56;c--)this.P[c]=b&255,b/=256;Xv(this);for(var d=0,e=0;e=0;f-=8)a[d++]=this.C[e]>>f&255;return a}; +var Tv=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804, +4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Sv;function Yv(){Rv.call(this,8,Zv)}Fa(Yv,Rv);var Zv=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var $v=/^[0-9A-Fa-f]{64}$/;function aw(a){try{return(new TextEncoder).encode(a)}catch(b){return Tb(a)}}function bw(a){var b=w;if(a===""||a==="e0")return Promise.resolve(a);var c;if((c=b.crypto)==null?0:c.subtle){if($v.test(a))return Promise.resolve(a);try{var d=aw(a);return b.crypto.subtle.digest("SHA-256",d).then(function(e){return cw(e,b)}).catch(function(){return"e2"})}catch(e){return Promise.resolve("e2")}}else return Promise.resolve("e1")} +function cw(a,b){var c=Array.from(new Uint8Array(a)).map(function(d){return String.fromCharCode(d)}).join("");return b.btoa(c).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")};function Lw(a,b,c,d){if(sn()){var e=b.D;zn({targetId:d||[b.target.destinationId],request:{url:a,parameterEncoding:2,endpoint:c},hb:{eventId:e.eventId,priorityId:e.priorityId},dj:{eventId:R(b,Q.A.Hg),priorityId:R(b,Q.A.Ig)}})}};var Zw={};Zw.O=tr.O;var $w={At:"L",Xp:"S",Nt:"Y",Cs:"B",Us:"E",vt:"I",Kt:"TC",Xs:"HTC"},ax={Xp:"S",Ts:"V",Js:"E",Jt:"tag"},bx={},cx=(bx[Zw.O.Vi]="6",bx[Zw.O.Wi]="5",bx[Zw.O.Ui]="7",bx);function dx(){function a(c,d){var e=pb(jb[d]||[]);e&&b.push([c,e])}var b=[];a("u","GTM");a("ut","TAGGING");a("h","HEALTH");return b};var ex=!1; +function xx(a){}function yx(a){} +function zx(){}function Ax(a){} +function Bx(a){}function Cx(a){} +function Dx(){}function Ex(a,b){} +function Fx(a,b,c){} +function Gx(){};var Hx=Object.freeze({cache:"no-store",credentials:"include",method:"GET",keepalive:!0,redirect:"follow"}); +function Ix(a,b,c,d,e,f,g){var h=na(Object,"assign").call(Object,{},Hx);b&&(h.body=b,h.method="POST");na(Object,"assign").call(Object,h,d);g==null||ul(g);w.fetch(a,h).then(function(l){g==null||vl(g);if(!l.ok)f==null||f();else if(l.body){var n=l.body.getReader(),p=new TextDecoder;return new Promise(function(q){function r(){n.read().then(function(u){var t;t=u.done;var v=p.decode(u.value,{stream:!t});Jx(c,v);t?(e==null||e(),q()):r()}).catch(function(){q()})}r()})}}).catch(function(){g==null||vl(g);f&& +f()})};var Kx=function(a){this.P=a;this.C=""},Lx=function(a,b){a.H=b;return a},Jx=function(a,b){b=a.C+b;for(var c=b.indexOf("\n\n");c!==-1;){var d=a,e;a:{var f=m(b.substring(0,c).split("\n")),g=f.next().value,h=f.next().value;if(g.indexOf("event: message")===0&&h.indexOf("data: ")===0)try{e=JSON.parse(h.substring(h.indexOf(":")+1));break a}catch(l){}e=void 0}Mx(d,e);b=b.substring(c+2);c=b.indexOf("\n\n")}a.C=b},Nx=function(a,b){return function(){if(b.fallback_url&&b.fallback_url_method){var c={};Mx(a,(c[b.fallback_url_method]= +[b.fallback_url],c.options={},c))}}},Mx=function(a,b){b&&(Ox(b.send_pixel,b.options,a.P),Ox(b.create_iframe,b.options,a.T),Ox(b.fetch,b.options,a.H))};function Px(a){var b=a.search;return a.protocol+"//"+a.hostname+a.pathname+(b?b+"&richsstsse":"?richsstsse")}function Ox(a,b,c){if(a&&c){var d=a||[];if(Array.isArray(d))for(var e=sd(b)?b:{},f=m(d),g=f.next();!g.done;g=f.next())c(g.value,e)}};var zg;function Qx(){var a=data.permissions||{};zg=new Gg(D(5),a)}function Rx(a,b){Ag(a,b)};var Sx=pg(57,5),Tx=pg(58,50),Ux=wb(); +var Wx=function(a,b){a&&(Vx("sid",a.targetId,b),Vx("cc",a.clientCount,b),Vx("tl",a.totalLifeMs,b),Vx("hc",a.heartbeatCount,b),Vx("cl",a.clientLifeMs,b))},Vx=function(a,b,c){b!=null&&c.push(a+"="+b)},Xx=function(){var a=A.referrer;if(a){var b;return kj(qj(a),"host")===((b=w.location)==null?void 0:b.host)?1:2}return 0},Yx="https://"+D(21)+"/a?",$x=function(){this.V=Zx;this.P=0};$x.prototype.H=function(a,b,c,d){var e=Xx(),f,g=[];f=w===w.top&&e!==0&&b? +(b==null?void 0:b.clientCount)>1?e===2?1:2:e===2?0:3:4;a&&Vx("si",a.vg,g);Vx("m",0,g);Vx("iss",f,g);Vx("if",c,g);Wx(b,g);d&&Vx("fm",encodeURIComponent(d.substring(0,Tx)),g);this.T(g);};$x.prototype.C=function(a,b,c,d,e){var f=[];Vx("m",1,f);Vx("s",a,f);Vx("po",Xx(),f);b&&(Vx("st",b.state,f),Vx("si",b.vg,f),Vx("sm",b.Dg,f));Wx(c,f);Vx("c",d,f);e&&Vx("fm",encodeURIComponent(e.substring(0,Tx)),f);this.T(f); +};$x.prototype.T=function(a){a=a===void 0?[]:a;!Dk||this.P>=Sx||(Vx("pid",Ux,a),Vx("bc",++this.P,a),a.unshift("ctid="+D(5)+"&t=s"),this.V(""+Yx+a.join("&")))};function ay(a){return a.performance&&a.performance.now()||Date.now()} +var cy=function(a,b){var c=w,d=by,e;var f=function(g,h,l){l=l===void 0?{An:function(){},Bn:function(){},zn:function(){},onFailure:function(){}}:l;this.hq=g;this.C=h;this.P=l;this.ka=this.wa=this.heartbeatCount=this.gq=0;this.Ah=!1;this.H={};this.id=String(Math.floor(Number.MAX_SAFE_INTEGER*Math.random()));this.state=0;this.vg=ay(this.C);this.Dg=ay(this.C);this.V=10};f.prototype.init=function(){this.T(1);this.xb()};f.prototype.getState=function(){return{state:this.state, +vg:Math.round(ay(this.C)-this.vg),Dg:Math.round(ay(this.C)-this.Dg)}};f.prototype.T=function(g){this.state!==g&&(this.state=g,this.Dg=ay(this.C))};f.prototype.Tm=function(){return String(this.gq++)};f.prototype.xb=function(){var g=this;this.heartbeatCount++;this.Cc({type:0,clientId:this.id,requestId:this.Tm(),maxDelay:this.Bh()},function(h){if(h.type===0){var l;if(((l=h.failure)==null?void 0:l.failureType)!=null)if(h.stats&&(g.stats=h.stats),g.ka++,h.isDead||g.ka>d.xm){var n=h.isDead&&h.failure.failureType; +g.V=n||10;g.T(4);g.fq();var p,q;(q=(p=g.P).zn)==null||q.call(p,{failureType:n||10,data:h.failure.data})}else g.T(3),g.Xm();else{if(g.heartbeatCount>h.stats.heartbeatCount+d.xm){g.heartbeatCount=h.stats.heartbeatCount;var r,u;(u=(r=g.P).onFailure)==null||u.call(r,{failureType:13})}g.stats=h.stats;var t=g.state;g.T(2);if(t!==2)if(g.Ah){var v,x;(x=(v=g.P).Bn)==null||x.call(v)}else{g.Ah=!0;var y,z;(z=(y=g.P).An)==null||z.call(y)}g.ka=0;g.iq();g.Xm()}}})};f.prototype.Bh=function(){return this.state=== +2?d.Gp:d.bq};f.prototype.Xm=function(){var g=this;this.C.setTimeout(function(){g.xb()},Math.max(0,this.Bh()-(ay(this.C)-this.wa)))};f.prototype.kq=function(g,h,l){var n=this;this.Cc({type:1,clientId:this.id,requestId:this.Tm(),command:g},function(p){if(p.type===1)if(p.result)h(p.result);else{var q,r,u,t={failureType:(u=(q=p.failure)==null?void 0:q.failureType)!=null?u:12,data:(r=p.failure)==null?void 0:r.data},v,x;(x=(v=n.P).onFailure)==null||x.call(v,t);l(t)}})};f.prototype.Cc=function(g,h){var l= +this;if(this.state===4)g.failure={failureType:this.V},h(g);else{var n=this.state!==2&&g.type!==0,p=g.requestId,q,r=this.C.setTimeout(function(){var t=l.H[p];t&&(Fm(6),l.Zf(t,7))},(q=g.maxDelay)!=null?q:d.po),u={request:g,On:h,In:n,Br:r};this.H[p]=u;n||this.sendRequest(u)}};f.prototype.sendRequest=function(g){this.wa=ay(this.C);g.In=!1;this.hq(g.request)};f.prototype.iq=function(){for(var g=m(Object.keys(this.H)),h=g.next();!h.done;h=g.next()){var l=this.H[h.value];l.In&&this.sendRequest(l)}};f.prototype.fq= +function(){for(var g=m(Object.keys(this.H)),h=g.next();!h.done;h=g.next())this.Zf(this.H[h.value],this.V)};f.prototype.Zf=function(g,h){this.Fe(g);var l=g.request;l.failure={failureType:h};g.On(l)};f.prototype.Fe=function(g){delete this.H[g.request.requestId];this.C.clearTimeout(g.Br)};f.prototype.ar=function(g){this.wa=ay(this.C);var h=this.H[g.requestId];if(h)this.Fe(h),h.On(g);else{var l,n;(n=(l=this.P).onFailure)==null||n.call(l,{failureType:14})}};e=new f(a,c,b); +return e};var dy; +var ey=function(){dy||(dy=new $x);return dy},Zx=function(a){bm(dm(El.aa.Dc),function(){Rc(a)})},fy=function(a){var b=a.substring(0,a.indexOf("/_/service_worker"));return"&1p=1"+(b?"&path="+encodeURIComponent(b):"")},gy=function(a){var b=a,c,d=ng(11);d=ng(10);c=d;b?(b.charAt(b.length-1)!=="/"&&(b+="/"),a=b+c):a="https://www.googletagmanager.com/static/service_worker/"+c+"/";var e;try{e=new URL(a)}catch(f){return null}return e.protocol!== +"https:"?null:e},hy=function(a){var b=w.location.origin;if(!b)return null;(P(432)?vj():vj()&&!a)&&(a=""+b+wj()+"/_/service_worker");return gy(a)},iy=function(a){var b=im(em.Z.Im);return b&&b[a]},by={bq:pg(53,500),Gp:pg(54,5E3),xm:pg(8,20),po:pg(55,5E3)},jy=function(a,b,c){var d=this;this.H=b;this.V=this.T=!1;this.ka=null;this.initTime=Math.round(Gb());this.C=15;this.P=this.Cq(a);w.setTimeout(function(){d.initialize()},1E3);Uc(function(){d.qr(a,c)})};k=jy.prototype;k.delegate=function(a,b,c){this.getState()!== +2?(this.H.C(this.C,{state:this.getState(),vg:this.initTime,Dg:Math.round(Gb())-this.initTime},void 0,a.commandType),c({failureType:this.C})):this.P.kq(a,b,c)};k.getState=function(){return this.P.getState().state};k.qr=function(a,b){var c=w.location.origin,d=this,e=Pc();try{var f=e.contentDocument.createElement("iframe"),g=a.pathname,h=g[g.length-1]==="/"?a.toString():a.toString()+"/",l=a.origin!=="https://www.googletagmanager.com"?fy(g):"",n;P(133)&&(n={sandbox:"allow-same-origin allow-scripts"}); +Pc(h+"sw_iframe.html?origin="+encodeURIComponent(c)+l+(b?"&e=1":""),void 0,n,void 0,f);var p=function(){e.contentDocument.body.appendChild(f);f.addEventListener("load",function(){d.ka=f.contentWindow;e.contentWindow.addEventListener("message",function(q){q.origin===a.origin&&d.P.ar(q.data)});d.initialize()})};e.contentDocument.readyState==="complete"?p():e.contentWindow.addEventListener("load",function(){p()})}catch(q){e.parentElement.removeChild(e),this.C=11,this.H.H(void 0,void 0,this.C,q.toString())}}; +k.Cq=function(a){var b=this,c=cy(function(d){var e;(e=b.ka)==null||e.postMessage(d,a.origin)},{An:function(){b.T=!0;b.H.H(c.getState(),c.stats)},Bn:function(){},zn:function(d){b.T?(b.C=(d==null?void 0:d.failureType)||10,b.H.C(b.C,c.getState(),c.stats,void 0,d==null?void 0:d.data)):(b.C=(d==null?void 0:d.failureType)||4,b.H.H(c.getState(),c.stats,b.C,d==null?void 0:d.data))},onFailure:function(d){b.C=d.failureType;b.H.C(b.C,c.getState(),c.stats,d.command,d.data)}});return c};k.initialize=function(){this.V|| +this.P.init();this.V=!0};function ky(){var a=Dg(zg.C,"",function(){return{}});try{return a("internal_sw_allowed"),!0}catch(b){return!1}} +function ly(a){var b,c,d=a===void 0?{}:a;b=d.Ur;c=d.ns===void 0?!1:d.ns;var e=hy(b);if(e===null||!ky()||P(168)||iy(e.origin))return;if(!Cc()){ey().H(void 0,void 0,6);return}var f=new jy(e,ey(),c);jm(em.Z.Im,{})[e.origin]=f;} +var my=function(a,b,c,d){var e;if((e=iy(a))==null||!e.delegate){var f=Cc()?16:6;ey().C(f,void 0,void 0,b.commandType);d({failureType:f});return}iy(a).delegate(b,c,d);}; +function ny(a,b,c,d,e){var f=P(277)?hy():gy();if(f===null){d(Cc()?16:6);return}var g,h=(g=iy(f.origin))==null?void 0:g.initTime,l=Math.round(Gb());my(f.origin,{commandType:0,params:{url:a,method:0,templates:b,body:"",processResponse:!1,sinceInit:h?l-h:void 0,encryptionKeyString:e,reportEarlySuccess:P(441)}},function(n){c(n)},function(n){d(n.failureType)});} +function oy(a,b,c,d){var e=hy(a);if(e===null){d("_is_sw=f"+(Cc()?16:6)+"te");return}var f=b?1:0,g=Math.round(Gb()),h,l=(h=iy(e.origin))==null?void 0:h.initTime,n=l?g-l:void 0,p=P(412),q;P(432)?q=vj()?void 0:w.location.href:q=w.location.href;my(e.origin,{commandType:0,params:{url:a,method:f,templates:c,body:b||"",processResponse:!0,reportEarlySuccess:p,sinceInit:n,attributionReporting:!0,referer:q}},function(){},function(r){var u="_is_sw=f"+r.failureType, +t,v=(t=iy(e.origin))==null?void 0:t.getState();v!==void 0&&(u+="s"+v);d(n?u+("t"+n):u+"te")});};var py=function(a,b){this.Fr=a;this.timeoutMs=b;this.Va=void 0},ul=function(a){a.Va||(a.Va=setTimeout(function(){a.Fr();a.Va=void 0},a.timeoutMs))},vl=function(a){a.Va&&(clearTimeout(a.Va),a.Va=void 0)};function Ly(){return Zn("dedupe_gclid",function(){return Ur()})};var Qy={Mi:{io:"1",vp:"2",Vp:"3"}};function Vy(a,b,c,d){var e=Oc(),f;if(e===1)a:{var g=D(3);g=g.toLowerCase();for(var h="https://"+g,l="http://"+g,n=1,p=A.getElementsByTagName("script"),q=0;q=0&&O(2);var d=c&&Kb(Db(c),dz),e={};return function(f){var g=f&&f[tf.Ta];if(!g||typeof g!=="string")return!0;g=g.replace(/^_*/,"");if(e[g]!==void 0)return e[g];var h=dj[g]||[],l=!0;if(a){var n;if(n=l)a:{if(b.indexOf(g)<0){if($i&&h.indexOf("cmpPartners")>=0){n=!0;break a}if(h&&h.length>0)for(var p=0;p=0;if(r)q=r;else{var u=xb(d,h||[]);u&& +O(10);q=u}}var t=!l||q;!t&&(h.indexOf("sandboxedScripts")===-1?0:$i&&h.indexOf("cmpPartners")>=0?!gz():b&&b.indexOf("sandboxedScripts")!==-1?0:xb(d,ez))&&(t=!0);return e[g]=t}}function gz(){var a=Dg(zg.C,D(5),function(){return{}});try{return a("inject_cmp_banner"),!0}catch(b){return!1}};var hz=function(){this.H=0;this.C={}};hz.prototype.addListener=function(a,b,c){var d=++this.H;this.C[a]=this.C[a]||{};this.C[a][String(d)]={listener:b,We:c};return d};hz.prototype.removeListener=function(a,b){var c=this.C[a],d=String(b);if(!c||!c[d])return!1;delete c[d];return!0};var jz=function(a,b){var c=[];zb(iz.C[a],function(d,e){c.indexOf(e.listener)<0&&(e.We===void 0||b.indexOf(e.We)>=0)&&c.push(e.listener)});return c};function kz(a,b,c){return{entityType:a,indexInOriginContainer:b,nameInOriginContainer:c,originContainerId:D(5),originCId:Rj()}};function lz(a,b){if(data.entities){var c=data.entities[a];if(c)return c[b]}};var nz=function(a,b){this.C=!1;this.T=[];this.eventData={tags:[]};this.V=!1;this.H=this.P=0;mz(this,a,b)},oz=function(a,b,c,d){if(Yi.hasOwnProperty(b)||b==="__zone")return-1;var e={};sd(d)&&(e=td(d,e));e.id=c;e.status="timeout";return a.eventData.tags.push(e)-1},pz=function(a,b,c,d){var e=a.eventData.tags[b];e&&(e.status=c,e.executionTime=d)},qz=function(a){if(!a.C){for(var b=a.T,c=0;c=a.P&&qz(a)})},sz=function(a){a.V=!0;a.H>=a.P&&qz(a)};var tz={};function uz(){return w[vz()]}var wz=function(a){if(Ql()){var b=uz();b(a+"require","linker");b(a+"linker:passthrough",!0)}},xz=function(a){var b=w;b.GoogleAnalyticsObject||(b.GoogleAnalyticsObject=a||"ga");var c=b.GoogleAnalyticsObject;if(b[c])b.hasOwnProperty(c);else{var d=function(){var e=Da.apply(0,arguments);d.q=d.q||[];d.q.push(e)};d.l=Number(Fb());b[c]=d}return b[c]}; +function vz(){return w.GoogleAnalyticsObject||"ga"}function yz(){var a=D(5);} +function zz(a,b){return function(){var c=uz(),d=c&&c.getByName&&c.getByName(a);if(d){var e=d.get("sendHitTask");d.set("sendHitTask",function(f){var g=f.get("hitPayload"),h=f.get("hitCallback"),l=g.indexOf("&tid="+b)<0;l&&(f.set("hitPayload",g.replace(/&tid=UA-[0-9]+-[0-9]+/,"&tid="+b),!0),f.set("hitCallback",void 0,!0));e(f);l&&(f.set("hitPayload",g,!0),f.set("hitCallback",h,!0),f.set("_x_19",void 0,!0),e(f))})}}};var Fz=["es","1"],Gz={},Hz={};function Iz(a,b){if(Dk){var c;c=b.match(/^(gtm|gtag)\./)?encodeURIComponent(b):"*";Gz[a]=[["e",c],["eid",a]];Jp(a)}}function Jz(a){var b=a.eventId,c=a.Zd;if(!Gz[b])return[];var d=[];Hz[b]||d.push(Fz);d.push.apply(d,za(Gz[b]));c&&(Hz[b]=!0);return d};var Kz={},Lz={},Mz={};function Nz(a,b,c,d){Dk&&P(120)&&((d===void 0?0:d)?(Mz[b]=Mz[b]||0,++Mz[b]):c!==void 0?(Lz[a]=Lz[a]||{},Lz[a][b]=Math.round(c)):(Kz[a]=Kz[a]||{},Kz[a][b]=(Kz[a][b]||0)+1))}function Oz(a){var b=a.eventId,c=a.Zd,d=Kz[b]||{},e=[],f;for(f in d)d.hasOwnProperty(f)&&e.push(""+f+d[f]);c&&delete Kz[b];return e.length?[["md",e.join(".")]]:[]} +function Pz(a){var b=a.eventId,c=a.Zd,d=Lz[b]||{},e=[],f;for(f in d)d.hasOwnProperty(f)&&e.push(""+f+d[f]);c&&delete Lz[b];return e.length?[["mtd",e.join(".")]]:[]}function Qz(){for(var a=[],b=m(Object.keys(Mz)),c=b.next();!c.done;c=b.next()){var d=c.value;a.push(""+d+Mz[d])}return a.length?[["mec",a.join(".")]]:[]};var Rz={};function Sz(a,b,c){Rz[a]!=null||(Rz[a]={});var d;(d=Rz[a])[c]!=null||(d[c]={});Rz[a][c][b]=(Rz[a][c][b]||0)+1};var Tz={},Uz={};function Vz(a,b,c){if(Dk&&b){var d=Ak(b);Tz[a]=Tz[a]||[];Tz[a].push(c+d);var e=b[tf.Ta];if(!e)throw Error("Error: No function name given for function call.");var f=(Vf[e]?"1":"2")+d;Uz[a]=Uz[a]||[];Uz[a].push(f);Jp(a)}}function Wz(a){var b=a.eventId,c=a.Zd,d=[],e=Tz[b]||[];e.length&&d.push(["tr",e.join(".")]);var f=Uz[b]||[];f.length&&d.push(["ti",f.join(".")]);c&&(delete Tz[b],delete Uz[b]);return d};function Xz(a,b,c){c=c===void 0?!1:c;Yz().addRestriction(0,a,b,c)}function Zz(a,b,c){c=c===void 0?!1:c;Yz().addRestriction(1,a,b,c)}function $z(){var a=Rj();return Yz().getRestrictions(1,a)}var aA=function(){this.container={};this.C={}},bA=function(a,b){var c=a.container[b];c||(c={_entity:{internal:[],external:[]},_event:{internal:[],external:[]}},a.container[b]=c);return c}; +aA.prototype.addRestriction=function(a,b,c,d){d=d===void 0?!1:d;if(!d||!this.C[b]){var e=bA(this,b);a===0?d?e._entity.external.push(c):e._entity.internal.push(c):a===1&&(d?e._event.external.push(c):e._event.internal.push(c))}}; +aA.prototype.getRestrictions=function(a,b){var c=bA(this,b);if(a===0){var d,e;return[].concat(za((c==null?void 0:(d=c._entity)==null?void 0:d.internal)||[]),za((c==null?void 0:(e=c._entity)==null?void 0:e.external)||[]))}if(a===1){var f,g;return[].concat(za((c==null?void 0:(f=c._event)==null?void 0:f.internal)||[]),za((c==null?void 0:(g=c._event)==null?void 0:g.external)||[]))}return[]}; +aA.prototype.getExternalRestrictions=function(a,b){var c=bA(this,b),d,e;return a===0?(c==null?void 0:(d=c._entity)==null?void 0:d.external)||[]:(c==null?void 0:(e=c._event)==null?void 0:e.external)||[]};aA.prototype.removeExternalRestrictions=function(a){var b=bA(this,a);b._event&&(b._event.external=[]);b._entity&&(b._entity.external=[]);this.C[a]=!0};function Yz(){return Zn("r",function(){return new aA})};function cA(a,b,c,d){var e=Tf[a],f=dA(a,b,c,d);if(!f)return null;var g=gg(e[tf.Jm],c,[]);if(g&&g.length){var h=g[0];f=cA(h.index,{onSuccess:f,onFailure:h.qn===1?b.terminate:f,terminate:b.terminate},c,d)}return f} +function dA(a,b,c,d){function e(){function x(){Fm(3);var N=Gb()-I;kz(1,a,Tf[a][tf.sh]);Vz(c.id,f,"7");pz(c.Xc,E,"exception",N);P(109)&&Fx(c,f,Zw.O.Ui);G||(G=!0,h())}if(f[tf.Pp])h();else{var y=fg(f,c,[]),z=y[tf.jo];if(z!=null)for(var C=0;C0};function lA(a,b){if(!iz)return!1;var c=a["gtm.triggers"]&&String(a["gtm.triggers"]),d=jz(a.event,c?String(c).split(","):[]);if(!d.length)return!1;for(var e=0;ee?1:dh?1:g=0){if(e.Jj=ko(g,b),e.Jj){var h=Pj();vb(h,function(r){return function(u){return r.Jj.destinationId===u}}(e))?c.push(g):d.push(g)}}else{var l=VA[g]||[];e.oj={};l.forEach(function(r){return function(u){r.oj[u]=!0}}(e));for(var n=Sj(),p=0;p=0&&c.splice(d,1)})}function ZA(a){zb(WA,function(b,c){var d=c.indexOf(a);d>=0&&c.splice(d,1)})};var $A=!1,aB=void 0,bB=void 0;function cB(a,b,c){var d=td(a,null);d.eventId=void 0;d.inheritParentConfig=void 0;Object.keys(b).some(function(f){return b[f]!==void 0})&&O(136);var e=td(b,null);td(c,e);OA(Io(Sj()[0],e),a.eventId,d)};function dB(a,b){var c={},d=(c.event=a,c);b&&(d.eventModel=td(b,null),b[K.m.xf]&&(d.eventCallback=b[K.m.xf]),b[K.m.Zg]&&(d.eventTimeout=b[K.m.Zg]));return d} +function eB(a,b){var c=a&&a[K.m.xd];c===void 0&&(c=op(K.m.xd,2),c===void 0&&(c="default"));if(sb(c)||Array.isArray(c)){var d;d=b.isGtmEvent?sb(c)?[c]:c:c.toString().replace(/\s+/g,"").split(",");var e=XA(d,b.isGtmEvent),f=e.Cj,g=e.Dr;if(g.length)for(var h=JA(a),l=0;l2){if(a[2]!==void 0&&!sd(a[2])||a.length>3)return;d=a[2]}var e=ko(a[1],b.isGtmEvent);if(e){var f,g,h;a:{if(!kg(7)){var l=Uj(Vj());if(gk(l)){var n=l.parent,p=n.isDestination;h={Hr:Uj(n),Ar:p};break a}}h=void 0}var q=h;q&&(f=q.Hr,g=q.Ar);Iz(c.eventId,"gtag.config");var r=e.destinationId,u=e.id!==r;if(u?Pj().indexOf(r)===-1:Sj().indexOf(r)===-1){if(!b.inheritParentConfig&&!d[K.m.Pc]){var t=JA(d);if(u)az(r, +t,{source:2,fromContainerExecution:b.fromContainerExecution});else if(f!==void 0&&f.containers.indexOf(r)!==-1){var v=d;aB?cB(b,v,aB):bB||(bB=td(v,null))}else Wy(r,t,!0,{source:2,fromContainerExecution:b.fromContainerExecution})}}else{if(f&&(O(128),g&&O(130),b.inheritParentConfig)){var x;var y=d;bB?(cB(b,bB,y),x=!1):(!y[K.m.Bd]&&kg(11)&&aB||(aB=td(y,null)),x=!0);x&&f.containers&&f.containers.join(",");return}Fk&&(LA===1&&(kk.mcc=!1),LA=2);if(kg(11)&&!u&&!d[K.m.Bd]){var z=$A;$A=!0;var C=d,E=Object.keys(C).length> +0?2:1,G,I,N=(b==null?void 0:(I=b.originatingEntity)==null?void 0:I.originContainerId)||"";G=N?Lb(N,"GTM-")?3:2:1;if(z){if(O(184),TA===G||TA!==3&&G!==3||O(185),SA!==2&&E!==2||O(186),SA===2&&E===2){var ba;a:{var U=UA,M=Object.keys(U),T=Object.keys(C);if(M.length!==T.length)ba=!0;else{for(var la=m(M),ma=la.next();!ma.done;ma=la.next()){var W=ma.value;if(!C.hasOwnProperty(W)||U[W]!==C[W]){ba=!0;break a}}ba=!1}}ba&&O(189)}}else SA=E,TA=G,UA=C;if(z)return}KA||O(43);if(!b.noTargetGroup)if(u){ZA(e.id);var V= +e.id,ia=d[K.m.gh]||"default";ia=String(ia).split(",");for(var ta=0;ta2){if(!sd(a[2])&&a[2]!==void 0||a.length>3)return;d=a[2]}var e=dB(c,d),f=IA(a,b),g=f.eventId,h=f.priorityId;e["gtm.uniqueEventId"]=g;h&&(e["gtm.priorityId"]=h);if(c==="optimize.callback")return e.eventModel=e.eventModel||{},e;var l=eB(d,b);if(l){for(var n=l.Cj,p=l.nq,q=p.map(function(N){return N.id}),r=p.map(function(N){return N.destinationId}),u=n.map(function(N){return N.id}), +t=m(Pj()),v=t.next();!v.done;v=t.next()){var x=v.value;r.indexOf(x)<0&&u.push(x)}Iz(g,c);for(var y=m(u),z=y.next();!z.done;z=y.next()){var C=z.value,E=td(b,null),G=td(d,null);delete G[K.m.xf];var I=E.eventMetadata||{};I.hasOwnProperty(Q.A.Ed)||(I[Q.A.Ed]=!E.fromContainerExecution);I[Q.A.Pi]=q.slice();I[Q.A.eg]=r.slice();E.eventMetadata=I;Rp(c,G,C,E)}e.eventModel=e.eventModel||{};q.length>0?e.eventModel[K.m.xd]=q.join(","):delete e.eventModel[K.m.xd];KA||O(43);b.noGtmEvent===void 0&&b.eventMetadata&& +b.eventMetadata[Q.A.Sm]&&(b.noGtmEvent=!0);e.eventModel[K.m.Oc]&&(b.noGtmEvent=!0);return b.noGtmEvent?void 0:e}}},fB.get=function(a,b){O(53);if(a.length===4&&sb(a[1])&&sb(a[2])&&rb(a[3])){var c=ko(a[1],b.isGtmEvent),d=String(a[2]),e=a[3];if(c){KA||O(43);var f=JA();if(vb(Pj(),function(h){return c.destinationId===h})){IA(a,b);var g={};td((g[K.m.Bf]=d,g[K.m.Af]=e,g),null);Tp(d,function(h){Uc(function(){e(h)})},c.id,b)}else az(c.destinationId,f,{source:4,fromContainerExecution:b.fromContainerExecution})}}}, +fB.js=function(a,b){if(a.length===2&&a[1].getTime){KA=!0;var c=IA(a,b),d=c.eventId,e=c.priorityId,f={};return f.event="gtm.js",f["gtm.start"]=a[1].getTime(),f["gtm.uniqueEventId"]=d,f["gtm.priorityId"]=e,f}},fB.policy=function(a){if(a.length===3&&sb(a[1])&&rb(a[2])){if(Ag(a[1],a[2]),O(74),a[1]==="all"){O(75);var b=!1;try{b=a[2](D(5),"unknown",{})}catch(c){}b||O(76)}}else O(73)},fB.set=function(a,b){var c=void 0;a.length===2&&sd(a[1])?c=td(a[1],null):a.length===3&&sb(a[1])&&(c={},sd(a[2])||Array.isArray(a[2])? +c[a[1]]=td(a[2],null):c[a[1]]=a[2]);if(c){var d=IA(a,b),e=d.eventId,f=d.priorityId;td(c,null);D(5);var g=td(c,null);Sp.push("set",[g],void 0,b);c["gtm.uniqueEventId"]=e;f&&(c["gtm.priorityId"]=f);delete c.event;b.overwriteModelFields=!0;return c}},fB),hB={},iB=(hB.policy=!0,hB);var kB=function(a){if(jB(a))return a;this.value=a};kB.prototype.getUntrustedMessageValue=function(){return this.value};var jB=function(a){return!a||qd(a)!=="object"||sd(a)?!1:"getUntrustedMessageValue"in a};kB.prototype.getUntrustedMessageValue=kB.prototype.getUntrustedMessageValue;var lB=!1,mB=[];function nB(){if(!lB){lB=!0;for(var a=0;apB&&(pB=z)}uB=!1}}}return!a} +function DB(){if(P(109)){var a=!kg(51);}var c=BB();if(P(109)){}try{var e=w[D(19)],f=D(5),g=e.hide;if(g&&g[f]!==void 0&& +g.end){g[f]=!1;var h=!0,l;for(l in g)if(g.hasOwnProperty(l)&&g[l]===!0){h=!1;break}h&&(g.end(),g.end=null)}}catch(n){D(5)}return c}function RA(a){if(pB0){f= +[];for(var g=0;gn)for(O(4),c.pruned=!0;this.length>n;)this.shift();var p=typeof l!=="boolean"||l;return BB()&&p};var e=b.slice(0).map(function(f){return a(f)});rB.push.apply(rB,e);if(!kg(51)){if(P(109)){}Uc(DB)}} +var xB=function(a){return w[D(19)].push(a)};function FB(a){xB(a)};function GB(){var a,b=qj(w.location.href);(a=b.hostname+b.pathname)&&nk("dl",encodeURIComponent(a));var c;var d=D(5);if(d){var e=kg(7)?1:0,f=bk(),g=f&&f.fromContainerExecution?1:0,h=f&&f.source||0,l=D(6);c=d+";"+l+";"+g+";"+h+";"+e}else c=void 0;var n=c;n&&nk("tdp",n);var p=kq(!0);p!==void 0&&nk("frm",String(p))};var HB=uk(),IB=void 0;function JB(a){return wk(a,function(b){return b.jb>0?String(b.jb):void 0})}function KB(){if(sn()||Fk)nk("csp",function(){var a=JB(HB);xk(HB);return a},!1),nk("mde",function(){var a=JB(zk);xk(zk);return a},!1),w.addEventListener("securitypolicyviolation",LB)} +function LB(a){if(a.disposition==="enforce"){O(179);var b=Mk(a.effectiveDirective);if(b){var c;a:{if(Fk){var d=Kk(b,a.blockedURI);if(d){c=Ik[b][d];break a}}c=void 0}var e=c;if(e){var f;a:{try{var g=new URL(a.blockedURI),h=g.pathname.indexOf(";");f=h>=0?g.origin+g.pathname.substring(0,h):g.origin+g.pathname;break a}catch(x){}f=void 0}var l=f;if(l){for(var n=m(e),p=n.next();!p.done;p=n.next()){var q=p.value;if(!q.Mn){q.Mn=!0;var r={eventId:q.eventId,priorityId:q.priorityId};if(sn()){var u=r,t={type:1, +blockedUrl:l,endpoint:q.endpoint,violation:a.effectiveDirective};if(sn()){var v=yn("TAG_DIAGNOSTICS",{eventId:u==null?void 0:u.eventId,priorityId:u==null?void 0:u.priorityId});v.tagDiagnostics=t;rn(v)}}MB(q.destinationId,q.endpoint)}}Lk(b,a.blockedURI)}}}}}function MB(a,b){yk(HB,a,b);ok("csp",!0);ok("mde",!0);b!==61&&b!==56&&IB===void 0&&(IB=w.setTimeout(function(){HB.jb>0&&qm(!1);IB=void 0},500))};var NB=void 0;function OB(){P(236)&&w.addEventListener("pageshow",function(a){a&&(nk("bfc",function(){return NB?"1":"0"}),a.persisted?(NB=!0,ok("bfc",!0),qm()):NB=!1)})};function PB(){var a;var b=Tj();if(b)if(b.canonicalContainerId)a=b.canonicalContainerId;else{var c,d=b.scriptContainerId||((c=b.destinations)==null?void 0:c[0]);a=d?"_"+d:void 0}else a=void 0;var e=a;e&&nk("pcid",e)};var QB={},RB=(QB[1]=function(){return w.fetch},QB[2]=function(){return Math.random},QB[3]=function(){return Bc.sendBeacon},QB[4]=function(){return w.XMLHttpRequest},QB);function SB(){if(P(409)){for(var a=[],b=m(Object.keys(RB)),c=b.next();!c.done;c=b.next()){var d=c.value,e=RB[d](),f;if(!(f=typeof e!=="function")){var g=Function.prototype.toString.call(e);f=Mb(g,"{ [native code] }")||Mb(g,"{\n [native code]\n}")}f||a.push(d)}a.length>0&&nk("jsp",a.join("~"))}};var TB=/^(https?:)?\/\//; +function UB(){var a=Wj();if(a){var b;a:{var c,d=(c=a.scriptElement)==null?void 0:c.src;if(d){var e;try{var f;e=(f=hd())==null?void 0:f.getEntriesByType("resource")}catch(q){}if(e){for(var g=-1,h=m(e),l=h.next();!l.done;l=h.next()){var n=l.value;if(n.initiatorType==="script"&&(g+=1,n.name.replace(TB,"")===d.replace(TB,""))){b=g;break a}}O(146)}else O(145)}b=void 0}var p=b;p!==void 0&&(a.canonicalContainerId&&nk("rtg",String(a.canonicalContainerId)),nk("slo",String(p)),nk("hlo",a.htmlLoadOrder||"-1"), +nk("lst",String(a.loadScriptType||"0")))}else O(144)}; +function oC(){};var pC=function(){};pC.prototype.toString=function(){return"undefined"};var qC=new pC; +var sC=function(){Zn("rm",function(){return{}})[Rj()]=function(a){if(rC.hasOwnProperty(a))return rC[a]}},vC=function(a,b,c){if(a instanceof tC){var d=a,e=d.resolve,f=b,g=String(eo());uC[g]=[f,c];a=e.call(d,g);b=qb}return{lr:a,onSuccess:b}},wC=function(a){var b=a?0:1;return function(c){O(a?134:135);var d=uC[c];if(d&&typeof d[b]==="function")d[b]();uC[c]=void 0}},tC=function(a){this.valueOf=this.toString;this.resolve=function(b){for(var c=[],d=0;d=0)){if(g.dataset[c]===d)return f;f++}}return 0},wD=function(a){if(a.form){var b;return((b=a.form)==null?0:b.tagName)?a.form:A.getElementById(a.form)}return Yc(a,["form"],100)},tD=["input","select","textarea"],uD=["button","hidden","image","reset","submit"]; +function AD(a){}AD.J="internal.addFormAbandonmentListener";function BD(a,b,c,d){} +BD.J="internal.addFormData";var CD={},DD=[],ED={},FD=0,GD=0; +function ND(a,b){}ND.J="internal.addFormInteractionListener"; +function UD(a,b){}UD.J="internal.addFormSubmitListener"; +function ZD(a){}ZD.J="internal.addGaSendListener";function $D(a){if(!a)return{};var b=a.Mq;return kz(b.type,b.index,b.name)}function aE(a){return a?{originatingEntity:$D(a)}:{}};function iE(a){var b=Yn.zones;return b?b.getIsAllowedFn(Sj(),a):function(){return!0}}function jE(){var a=Yn.zones;a&&a.unregisterChild(Sj())} +function kE(){Zz(Rj(),function(a){var b=a.originalEventData["gtm.uniqueEventId"],c=Yn.zones;return c?c.isActive(Sj(),b):!0});Xz(Rj(),function(a){var b,c;b=a.entityId;c=a.securityGroups;return iE(Number(a.originalEventData["gtm.uniqueEventId"]))(b,c)})};var lE=function(a,b){this.tagId=a;this.canonicalId=b}; +function mE(a,b){var c=this;return a}mE.J="internal.loadGoogleTag";function nE(a){return new Ad("",function(b){var c=this.evaluate(b);if(c instanceof Ad)return new Ad("",function(){var d=Da.apply(0,arguments),e=this,f=td(kD(this),null);f.eventId=a.eventId;f.priorityId=a.priorityId;f.originalEventData=a.originalEventData;var g=d.map(function(l){return e.evaluate(l)}),h=this.K.ob();h.Vd(f);return c.Ob.apply(c,[h].concat(za(g)))})})};function oE(a,b,c){var d=this;}oE.J="internal.addGoogleTagRestriction";var pE={},qE=[]; +function xE(a,b){} +xE.J="internal.addHistoryChangeListener";function yE(a,b,c){}yE.publicName="addWindowEventListener";function zE(a,b){return!0}zE.publicName="aliasInWindow";function AE(a,b,c){}AE.J="internal.appendRemoteConfigParameter";function BE(a){var b;return b} +BE.publicName="callInWindow";function CE(a){}CE.publicName="callLater";function DE(a){if(!zh(a))throw H(this.getName(),["function"],arguments);J(this,"process_dom_events","document","DOMContentLoaded");J(this,"process_dom_events","document","readystatechange");J(this,"process_dom_events","window","load");HA(B(a));}DE.J="callOnDomReady";function EE(a){}EE.J="callOnWindowLoad";function FE(a,b){var c;return c}FE.J="internal.computeGtmParameter";function GE(a,b){var c=this;}GE.J="internal.consentScheduleFirstTry";function HE(a,b){var c=this;}HE.J="internal.consentScheduleRetry";function IE(a){var b;return b}IE.J="internal.copyFromCrossContainerData";function JE(a,b){var c;if(!Dh(a)||!Ih(b)&&b!==null&&!yh(b))throw H(this.getName(),["string","number|undefined"],arguments);J(this,"read_data_layer",a);c=(b||2)!==2?op(a,1):qp(a,[w,A]);var d=Id(c,this.K,Sh(kD(this).Nb())?2:1);d===void 0&&c!==void 0&&O(45);return d}JE.publicName="copyFromDataLayer"; +function KE(a){var b=void 0;J(this,"read_data_layer",a);a=String(a);var c;a:{for(var d=kD(this).cachedModelValues,e=m(a.split(".")),f=e.next();!f.done;f=e.next()){if(d==null){c=void 0;break a}d=d[f.value]}c=d}b=Id(c,this.K,1);return b}KE.J="internal.copyFromDataLayerCache";function LE(a){var b;return b}LE.publicName="copyFromWindow";function ME(a){var b=void 0;return Id(b,this.K,1)}ME.J="internal.copyKeyFromWindow";var NE=function(a){return a===El.aa.Wa&&Wl[a]===Dl.Na.Ee&&!On(K.m.W)};var OE=function(){return"0"},PE=function(a){if(typeof a!=="string")return"";var b=["gclid","dclid","wbraid","_gl"];P(102)&&b.push("gbraid");return rj(a,b,"0")};var QE={},RE={},SE={},TE={},UE={},VE={},WE={},XE={},YE={},ZE={},$E={},aF={},bF={},cF={},dF={},eF={},fF={},gF={},hF={},iF={},jF={},kF={},lF={},mF={},nF={},oF={},pF=(oF[K.m.Oa]=(QE[2]=[NE],QE),oF[K.m.Hf]=(RE[2]=[NE],RE),oF[K.m.zf]=(SE[2]=[NE],SE),oF[K.m.yl]=(TE[2]=[NE],TE),oF[K.m.zl]=(UE[2]=[NE],UE),oF[K.m.Al]=(VE[2]=[NE],VE),oF[K.m.Bl]=(WE[2]=[NE],WE),oF[K.m.Cl]=(XE[2]=[NE],XE),oF[K.m.Jb]=(YE[2]=[NE],YE),oF[K.m.If]=(ZE[2]=[NE],ZE),oF[K.m.Jf]=($E[2]=[NE],$E),oF[K.m.Kf]=(aF[2]=[NE],aF),oF[K.m.Lf]=(bF[2]= +[NE],bF),oF[K.m.Mf]=(cF[2]=[NE],cF),oF[K.m.Nf]=(dF[2]=[NE],dF),oF[K.m.Of]=(eF[2]=[NE],eF),oF[K.m.Pf]=(fF[2]=[NE],fF),oF[K.m.tb]=(gF[1]=[NE],gF),oF[K.m.kd]=(hF[1]=[NE],hF),oF[K.m.pd]=(iF[1]=[NE],iF),oF[K.m.oe]=(jF[1]=[NE],jF),oF[K.m.df]=(kF[1]=[function(a){return P(102)&&NE(a)}],kF),oF[K.m.Kc]=(lF[1]=[NE],lF),oF[K.m.xa]=(mF[1]=[NE],mF),oF[K.m.Xa]=(nF[1]=[NE],nF),oF),qF={},rF=(qF[K.m.tb]=OE,qF[K.m.kd]=OE,qF[K.m.pd]=OE,qF[K.m.oe]=OE,qF[K.m.df]=OE,qF[K.m.Kc]=function(a){if(!sd(a))return{};var b=td(a, +null);delete b.match_id;return b},qF[K.m.xa]=PE,qF[K.m.Xa]=PE,qF),sF={},tF={},uF=(tF[Q.A.Qa]=(sF[2]=[NE],sF),tF),vF={};var wF=function(a,b,c,d){this.C=a;this.P=b;this.T=c;this.V=d};wF.prototype.getValue=function(a){a=a===void 0?El.aa.Vc:a;if(!this.P.some(function(b){return b(a)}))return this.T.some(function(b){return b(a)})?this.V(this.C):this.C};wF.prototype.H=function(){return qd(this.C)==="array"||sd(this.C)?td(this.C,null):this.C}; +var xF=function(){},yF=function(a,b){this.conditions=a;this.C=b},zF=function(a,b,c){var d,e=((d=a.conditions[b])==null?void 0:d[2])||[],f,g=((f=a.conditions[b])==null?void 0:f[1])||[];return new wF(c,e,g,a.C[b]||xF)},AF,BF;var CF,DF=!1;function EF(){DF=!0;kg(52)&&(CF=productSettings,productSettings=void 0);CF=CF||{}}function FF(a){DF||EF();return CF[a]};var GF=function(a,b,c){this.eventName=b;this.D=c;this.C={};this.isAborted=!1;this.target=a;this.metadata={};for(var d=c.eventMetadata||{},e=m(Object.keys(d)),f=e.next();!f.done;f=e.next()){var g=f.value;S(this,g,d[g])}},Mu=function(a,b){var c,d;return(c=a.C[b])==null?void 0:(d=c.getValue)==null?void 0:d.call(c,R(a,Q.A.fg))},X=function(a,b,c){var d=a.C,e;c===void 0?e=void 0:(AF!=null||(AF=new yF(pF,rF)),e=zF(AF,b,c));d[b]=e}; +GF.prototype.mergeHitDataForKey=function(a,b){var c,d,e;c=(d=this.C[a])==null?void 0:(e=d.H)==null?void 0:e.call(d);if(!c)return X(this,a,b),!0;if(!sd(c))return!1;X(this,a,na(Object,"assign").call(Object,c,b));return!0};var HF=function(a,b){b=b===void 0?{}:b;for(var c=m(Object.keys(a.C)),d=c.next();!d.done;d=c.next()){var e=d.value,f=void 0,g=void 0,h=void 0;b[e]=(f=a.C[e])==null?void 0:(h=(g=f).H)==null?void 0:h.call(g)}return b}; +GF.prototype.copyToHitData=function(a,b,c){var d=L(this.D,a);d===void 0&&(d=b);if(sb(d)&&c!==void 0)try{d=c(d)}catch(e){}d!==void 0&&X(this,a,d)}; +var R=function(a,b){var c=a.metadata[b];if(b===Q.A.fg){var d;return c==null?void 0:(d=c.H)==null?void 0:d.call(c)}var e;return c==null?void 0:(e=c.getValue)==null?void 0:e.call(c,R(a,Q.A.fg))},S=function(a,b,c){var d=a.metadata,e;c===void 0?e=c:(BF!=null||(BF=new yF(uF,vF)),e=zF(BF,b,c));d[b]=e},IF=function(a,b){b=b===void 0?{}:b;for(var c=m(Object.keys(a.metadata)),d=c.next();!d.done;d=c.next()){var e=d.value,f=void 0,g=void 0,h=void 0;b[e]=(f=a.metadata[e])==null?void 0:(h=(g=f).H)==null?void 0: +h.call(g)}return b},JF=function(a,b,c){var d=FF(a.target.destinationId);return d&&d[b]!==void 0?d[b]:c},KF=function(a){for(var b=new GF(a.target,a.eventName,a.D),c=HF(a),d=m(Object.keys(c)),e=d.next();!e.done;e=d.next()){var f=e.value;X(b,f,c[f])}for(var g=IF(a),h=m(Object.keys(g)),l=h.next();!l.done;l=h.next()){var n=l.value;S(b,n,g[n])}b.isAborted=a.isAborted;return b},LF=function(a){var b=a.D,c=b.eventId,d=b.priorityId;return d?c+"_"+d:String(c)}; +GF.prototype.accept=function(){var a=jm(em.Z.wi,{}),b=LF(this),c=this.target.destinationId;a[b]||(a[b]={});a[b][c]=Rj();var d=em.Z.wi;if(fm(d)){var e;(e=gm(d))==null||e.notify()}};GF.prototype.canBeAccepted=function(a){var b=im(em.Z.wi);if(!b)return!0;var c=b[LF(this)];if(!c)return!0;var d=c[a!=null?a:this.target.destinationId];return d===void 0||d===Rj()};function MF(a){return{getDestinationId:function(){return a.target.destinationId},getEventName:function(){return a.eventName},setEventName:function(b){a.eventName=b},getHitData:function(b){return Mu(a,b)},setHitData:function(b,c){X(a,b,c)},setHitDataIfNotDefined:function(b,c){Mu(a,b)===void 0&&X(a,b,c)},copyToHitData:function(b,c){a.copyToHitData(b,c)},getMetadata:function(b){return R(a,b)},setMetadata:function(b,c){S(a,b,c)},isAborted:function(){return a.isAborted},abort:function(){a.isAborted=!0}, +getFromEventContext:function(b){return L(a.D,b)},pb:function(){return a},getHitKeys:function(){return Object.keys(a.C)},getMergedValues:function(b){return a.D.getMergedValues(b,3)},mergeHitDataForKey:function(b,c){return sd(c)?a.mergeHitDataForKey(b,c):!1},accept:function(){a.accept()},canBeAccepted:function(b){return a.canBeAccepted(b)}}};function NF(a,b){var c;return c}NF.J="internal.copyPreHit";function OF(a,b){var c=null;return Id(c,this.K,2)}OF.publicName="createArgumentsQueue";function PF(a){return Id(function(c){var d=uz();if(typeof c==="function")d(function(){c(function(f,g,h){var l= +uz(),n=l&&l.getByName&&l.getByName(f);return(new w.gaplugins.Linker(n)).decorate(g,h)})});else if(Array.isArray(c)){var e=String(c[0]).split(".");b[e.length===1?e[0]:e[1]]&&d.apply(null,c)}else if(c==="isLoaded")return!!d.loaded},this.K,1)}PF.J="internal.createGaCommandQueue";function QF(a){return Id(function(){if(!rb(e.push))throw Error("Object at "+a+" in window is not an array.");e.push.apply(e,Array.prototype.slice.call(arguments,0))},this.K, +Sh(kD(this).Nb())?2:1)}QF.publicName="createQueue";function RF(a,b){var c=null;if(!Dh(a)||!Eh(b))throw H(this.getName(),["string","string|undefined"],arguments);try{var d=(b||"").split("").filter(function(e){return"ig".indexOf(e)>=0}).join("");c=new Fd(new RegExp(a,d))}catch(e){}return c}RF.J="internal.createRegex";function SF(a){}SF.J="internal.declareConsentState";function TF(a){var b="";return b}TF.J="internal.decodeUrlHtmlEntities";function UF(a,b,c){var d;return d}UF.J="internal.decorateUrlWithGaCookies";function VF(){}VF.J="internal.deferCustomEvents";function WF(a){return P(423)||XF?A.querySelector(a):null}function YF(a){return P(423)||XF?A.querySelectorAll(a):null} +function ZF(a,b){if(P(423))try{return a.closest(b)}catch(e){return null}else{if(!XF)return null;if(Element.prototype.closest)try{return a.closest(b)}catch(e){return null}var c=Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector,d=a;if(!A.documentElement.contains(d))return null;do{try{if(c.call(d,b))return d}catch(e){break}d=d.parentElement||d.parentNode}while(d!==null&&d.nodeType=== +1);return null}}var $F=!1;if(A.querySelectorAll)try{var aG=A.querySelectorAll(":root");aG&&aG.length==1&&aG[0]==A.documentElement&&($F=!0)}catch(a){}var XF=$F;function bG(){var a=w.screen;return{width:a?a.width:0,height:a?a.height:0}} +function cG(a){if(A.hidden)return!0;var b=a.getBoundingClientRect();if(b.top===b.bottom||b.left===b.right||!w.getComputedStyle)return!0;var c=w.getComputedStyle(a,null);if(c.visibility==="hidden")return!0;for(var d=a,e=c;d;){if(e.display==="none")return!0;var f=e.opacity,g=e.filter;if(g){var h=g.indexOf("opacity(");h>=0&&(g=g.substring(h+8,g.indexOf(")",h)),g.charAt(g.length-1)==="%"&&(g=g.substring(0,g.length-1)),f=String(Math.min(Number(g),Number(f))))}if(f!==void 0&&Number(f)<=0)return!0;(d=d.parentElement)&& +(e=w.getComputedStyle(d,null))}return!1} +var eG=function(a){var b=dG(),c=b.height,d=b.width,e=a.getBoundingClientRect(),f=e.bottom-e.top,g=e.right-e.left;return f&&g?(1-Math.min((Math.max(0-e.left,0)+Math.max(e.right-d,0))/g,1))*(1-Math.min((Math.max(0-e.top,0)+Math.max(e.bottom-c,0))/f,1)):0},dG=function(){var a=A.body,b=A.documentElement||a&&a.parentElement,c,d;if(A.compatMode&&A.compatMode!=="BackCompat")c=b?b.clientHeight:0,d=b?b.clientWidth:0;else{var e=function(f,g){return f&&g?Math.min(f,g):Math.max(f,g)};c=e(b?b.clientHeight:0,a? +a.clientHeight:0);d=e(b?b.clientWidth:0,a?a.clientWidth:0)}return{width:d,height:c}};var hG=function(a){if(fG){if(a>=0&&a1?c[d]=1:c[d]<0&&(c[d]=0);if(fG){var e=!1;Uc(function(){e||iG(a,b,c)()});return jG(function(f){e=!0;for(var g={rg:0};g.rg0,rootBounds:n,target:h,time:Gb()};Uc(function(){a(p)})}for(var e=[],f=[],g=0;ge[h])for(;f[h]=c[f[h]+1];)d(b[h],l), +f[h]++;else if(l=0&&l<=c[f[h]];)d(b[h],l),f[h]--;e[h]=l}}},jG=function(a,b,c){for(var d=new w.IntersectionObserver(a,{threshold:c}),e=0;e0){var f=sD(d,b,e);xB(f)}var g=!1,h=nD(a,"commonButtonIds",[]);if(h.length>0){var l=kH(d);if(l){var n=sD(l,b,h);xB(n);g=!0}}var p=nD(a,"selectorToTriggerIds", +{}),q;for(q in p)if(p.hasOwnProperty(q)){var r=g?p[q].filter(function(v){return h.indexOf(v)===-1}):p[q];if(r.length!==0){var u=ZF(d,q);if(u){var t=sD(u,b,r);xB(t)}}}}}; +function mH(a,b){if(!xh(a))throw H(this.getName(),["Object|undefined","any"],arguments);var c=a?B(a):{},d=Cb(c.matchCommonButtons),e=!!c.cssSelector,f=mD(b);J(this,"detect_click_events",c.matchCommonButtons,c.cssSelector);var g=c.useV2EventName?"gtm.click-v2":"gtm.click",h=c.useV2EventName?"ecl":"cl",l=function(p){p.push(f);return p};if(e||d){if(d&&rD(h,"commonButtonIds",l,[]),e){var n=Eb(String(c.cssSelector));rD(h,"selectorToTriggerIds", +function(p){p.hasOwnProperty(n)||(p[n]=[]);l(p[n]);return p},{})}}else rD(h,"individualElementIds",l,[]);pD(h,function(){Sc(A,"click",function(p){lH(h,g,p)},!0)});return f}mH.J="internal.enableAutoEventOnClick";var pH=function(a){if(!nH){var b=function(){var c=A.body;if(c)if(oH)(new MutationObserver(function(){for(var e=0;e=c){var h=sD(a.target,"gtm.elementVisibility",[b.uid]),l=eG(a.target);h["gtm.visibleRatio"]= +Math.round(l*1E3)/10;h["gtm.visibleTime"]=c;h["gtm.visibleFirstTime"]=Number(b.get("FirstOnScreen"));h["gtm.visibleLastTime"]=Number(b.get("RecentOnScreen"));xB(h);d()}}}if(!b.has("PollingId")&&(c===0&&e(),!b.has("HasFired"))){var f=w.setInterval(e,100);b.set("PollingId",String(f))}},rH=function(){var a=Number(op("gtm.start",2))||0;return Gb()-a},tH=function(a,b){this.element=a;this.uid=b};tH.prototype.has=function(a){return!!this.element.dataset["gtmVis"+a+this.uid]};tH.prototype.get=function(a){return this.element.dataset["gtmVis"+ +a+this.uid]};tH.prototype.set=function(a,b){this.element.dataset["gtmVis"+a+this.uid]=b};tH.prototype.remove=function(a){delete this.element.dataset["gtmVis"+a+this.uid]}; +function uH(a,b){var c=function(t){var v=new tH(t.target,p);t.intersectionRatio>=n?v.has("HasFired")||sH(t,v,l,q==="ONCE"?function(){for(var x=0;x0);if(t){for(var y=0;y=0&&hG(u);r.length>0&&(u=kG(c,r,[n]))}};if(!xh(a))throw H(this.getName(),["Object|undefined","any"],arguments);J(this,"detect_element_visibility_events");var e=a?B(a):{},f=e.selectorType, +g;switch(f){case "ID":g=String(e.id);break;case "CSS":g=String(e.selector);break;default:throw Error("Unrecognized element selector type "+f+". Must be one of 'ID' or 'CSS'.");}var h=!!e.useDomChangeListener,l=Number(e.onScreenDuration)||0,n=(Number(e.onScreenRatio)||50)/100,p=mD(b),q=e.firingFrequency,r=[],u=-1;d();h&&pH(d);return p}uH.J="internal.enableAutoEventOnElementVisibility";function vH(){}vH.J="internal.enableAutoEventOnError";var wH={},xH=[],yH={},zH=0,AH=0; +function GH(a,b){var c=this;return d}GH.J="internal.enableAutoEventOnFormInteraction"; +var HH=function(a,b,c,d,e){var f=nD("fsl",c?"nv.mwt":"mwt",0),g;g=c?nD("fsl","nv.ids",[]):nD("fsl","ids",[]);if(!g.length)return!0;var h=sD(a,"gtm.formSubmit",g),l=a.action;l&&l.tagName&&(l=a.cloneNode(!1).action);O(121);if(l==="https://www.facebook.com/tr/")return O(122),!0;h["gtm.elementUrl"]=l;h["gtm.formCanceled"]=c;a.getAttribute("name")!=null&&(h["gtm.interactedFormName"]=a.getAttribute("name"));e&&(h["gtm.formSubmitElement"]=e,h["gtm.formSubmitElementText"]=e.value);if(d&&f){if(!wB(h,yB(b, +f),f))return!1}else wB(h,function(){},f||2E3);return!0},IH=function(){var a=[],b=function(c){return vb(a,function(d){return d.form===c})};return{store:function(c,d){var e=b(c);e?e.button=d:a.push({form:c,button:d})},get:function(c){var d=b(c);if(d)return d.button}}},JH=function(a){var b=a.target;return b&&b!=="_self"&&b!=="_parent"&&b!=="_top"?!1:!0},KH=function(){var a=IH(),b=HTMLFormElement.prototype.submit;Sc(A,"click",function(c){var d=c.target;if(d){var e=Yc(d,["button","input"],100);if(e&&(e.type=== +"submit"||e.type==="image")&&e.name&&Vc(e,"value")){var f=wD(e);f&&a.store(f,e)}}},!1);Sc(A,"submit",function(c){var d=c.target;if(!d)return c.returnValue;var e=c.defaultPrevented||c.returnValue===!1,f=JH(d)&&!e,g=a.get(d),h=!0;if(HH(d,function(){if(h){var l=null,n={};g&&(l=A.createElement("input"),l.type="hidden",l.name=g.name,l.value=g.value,d.appendChild(l),g.hasAttribute("formaction")&&(n.action=d.getAttribute("action"),sc(d,g.getAttribute("formaction"))),g.hasAttribute("formenctype")&&(n.enctype= +d.getAttribute("enctype"),d.setAttribute("enctype",g.getAttribute("formenctype"))),g.hasAttribute("formmethod")&&(n.method=d.getAttribute("method"),d.setAttribute("method",g.getAttribute("formmethod"))),g.hasAttribute("formvalidate")&&(n.validate=d.getAttribute("validate"),d.setAttribute("validate",g.getAttribute("formvalidate"))),g.hasAttribute("formtarget")&&(n.target=d.getAttribute("target"),d.setAttribute("target",g.getAttribute("formtarget"))));b.call(d);l&&(d.removeChild(l),n.hasOwnProperty("action")&& +sc(d,n.action),n.hasOwnProperty("enctype")&&d.setAttribute("enctype",n.enctype),n.hasOwnProperty("method")&&d.setAttribute("method",n.method),n.hasOwnProperty("validate")&&d.setAttribute("validate",n.validate),n.hasOwnProperty("target")&&d.setAttribute("target",n.target))}},e,f,g))h=!1;else return e||(c.preventDefault&&c.preventDefault(),c.returnValue=!1),!1;return c.returnValue},!1);HTMLFormElement.prototype.submit=function(){var c=this,d=!0;HH(c,function(){d&&b.call(c)},!1,JH(c))&&(b.call(c),d= +!1)}}; +function LH(a,b){var c=this;if(!xh(a))throw H(this.getName(),["Object|undefined","any"],arguments);var d=a&&a.get("waitForTags");gD([function(){J(c,"detect_form_submit_events",{waitForTags:!!d})}]);var e=a&&a.get("checkValidation"),f=mD(b);if(d){var g=Number(a.get("waitForTagsTimeout"));g>0&&isFinite(g)||(g=2E3);var h=function(n){return Math.max(g,n)};rD("fsl","mwt",h,0);e||rD("fsl","nv.mwt",h,0)}var l=function(n){n.push(f); +return n};rD("fsl","ids",l,[]);e||rD("fsl","nv.ids",l,[]);nD("fsl","init",!1)||(KH(),oD("fsl","init",!0));return f}LH.J="internal.enableAutoEventOnFormSubmit"; +function QH(){var a=this;}QH.J="internal.enableAutoEventOnGaSend";var RH={},SH=[]; +var UH=function(a,b){var c=""+b;if(RH[c])RH[c].push(a);else{var d=[a];RH[c]=d;var e=TH("gtm.historyChange-v2"),f=-1;SH.push(function(g){f>=0&&w.clearTimeout(f);b?f=w.setTimeout(function(){e(g,d);f=-1},b):e(g,d)})}},TH=function(a){var b=w.location.href,c={source:null,state:w.history.state||null,url:nj(qj(b)),Za:kj(qj(b),"fragment")};return function(d,e){var f=c,g={};g[f.source]=!0;g[d.source]=!0;if(!g.popstate||!g.hashchange||f.Za!==d.Za){var h={event:a,"gtm.historyChangeSource":d.source,"gtm.oldUrlFragment":c.Za, +"gtm.newUrlFragment":d.Za,"gtm.oldHistoryState":c.state,"gtm.newHistoryState":d.state,"gtm.oldUrl":c.url,"gtm.newUrl":d.url};e&&(h["gtm.triggers"]=e.join(","));c=d;xB(h)}}},VH=function(a,b){var c=w.history,d=c[a];if(rb(d))try{c[a]=function(e,f,g){d.apply(c,[].slice.call(arguments,0));var h=w.location.href;b({source:a,state:e,url:nj(qj(h)),Za:kj(qj(h),"fragment")})}}catch(e){}},XH=function(a){w.addEventListener("popstate",function(b){var c=WH(b);a({source:"popstate",state:b.state,url:nj(qj(c)),Za:kj(qj(c), +"fragment")})})},YH=function(a){w.addEventListener("hashchange",function(b){var c=WH(b);a({source:"hashchange",state:null,url:nj(qj(c)),Za:kj(qj(c),"fragment")})})},WH=function(a){var b,c;return((b=a.target)==null?void 0:(c=b.location)==null?void 0:c.href)||w.location.href}; +function ZH(a,b){var c=this;if(!xh(a))throw H(this.getName(),["Object|undefined","any"],arguments);gD([function(){J(c,"detect_history_change_events")}]);var d=a&&a.get("useV2EventName")?"ehl":"hl",e=Number(a&&a.get("interval"));e>0&&isFinite(e)||(e=0);var f;if(!nD(d,"init",!1)){var g;d==="ehl"?(g=function(l){for(var n=0;n0){var f=nj(qj(c)),g=nj(qj(w.location.href));return f!==g}return!0},bI=function(a,b){for(var c=kj(qj((b.attributes&&b.attributes.formaction?b.formAction:"")||b.action||ed(b,"href")||b.src||b.code||b.codebase||""),"host"), +d=0;d0&&isFinite(l)||(l=2E3);var n=function(q){return Math.max(l,q)};rD("lcl","mwt",n,0);f||rD("lcl","nv.mwt",n,0)}var p=function(q){q.push(h); +return q};rD("lcl","ids",p,[]);f||rD("lcl","nv.ids",p,[]);g&&rD("lcl","aff.map",function(q){q[h]=g;return q},{});nD("lcl","init",!1)||(cI(),oD("lcl","init",!0));return h}dI.J="internal.enableAutoEventOnLinkClick";var eI,fI; +function qI(a,b){var c=this;return d}qI.J="internal.enableAutoEventOnScroll";function rI(a){return function(){if(a.limit&&a.Ej>=a.limit)a.Nh&&w.clearInterval(a.Nh);else{a.Ej++;var b=Gb();xB({event:a.eventName,"gtm.timerId":a.Nh,"gtm.timerEventNumber":a.Ej,"gtm.timerInterval":a.interval,"gtm.timerLimit":a.limit,"gtm.timerStartTime":a.Tn,"gtm.timerCurrentTime":b,"gtm.timerElapsedTime":b-a.Tn,"gtm.triggers":a.ys})}}} +function sI(a,b){ +return f}sI.J="internal.enableAutoEventOnTimer"; +var tI=function(a,b,c){function d(){var g=a();f+=e?(Gb()-e)*g.playbackRate/1E3:0;e=Gb()}var e=0,f=0;return{createEvent:function(g,h,l){var n=a(),p=n.on,q=l?Math.round(l):h?Math.round(n.on*h):Math.round(n.Eq),r=h!==void 0?Math.round(h*100):p<=0?0:Math.round(q/p*100),u=A.hidden?!1:eG(c)>=.5;d();var t=void 0;b!==void 0&&(t=[b]);var v=sD(c,"gtm.video",t);v["gtm.videoProvider"]="youtube";v["gtm.videoStatus"]=g;v["gtm.videoUrl"]=n.url;v["gtm.videoTitle"]=n.title;v["gtm.videoDuration"]=Math.round(p);v["gtm.videoCurrentTime"]= +Math.round(q);v["gtm.videoElapsedTime"]=Math.round(f);v["gtm.videoPercent"]=r;v["gtm.videoVisible"]=u;return v},Sr:function(){e=Gb()},Zi:function(){d()}}};var vc=Ba(["data-gtm-yt-inspected-"]),uI=["www.youtube.com","www.youtube-nocookie.com"],vI,wI=!1; +var xI=function(a,b,c){var d=a.map(function(g){return{Ud:g,Qn:g,En:void 0}});if(!b.length)return d;var e=b.map(function(g){return{Ud:g*c,Qn:void 0,En:g}});if(!d.length)return e;var f=d.concat(e);f.sort(function(g,h){return g.Ud-h.Ud});return f},yI=function(a){a=a===void 0?[]:a;for(var b=[],c=0;c100||a[c]<0||(b[c]=a[c]/100);b.sort(function(d,e){return d- +e});return b},AI=function(a,b){var c,d;function e(){u=tI(function(){return{url:x,title:y,on:v,Eq:a.getCurrentTime(),playbackRate:z}},b.We,a.getIframe());v=0;y=x="";z=1;return f}function f(I){switch(I){case 1:v=Math.round(a.getDuration());x=a.getVideoUrl();if(a.getVideoData){var N=a.getVideoData();y=N?N.title:""}z=a.getPlaybackRate();if(b.wq){var ba=u.createEvent("start");xB(ba)}else u.Zi();t=xI(b.Pr,b.Or,a.getDuration());return g(I);default:return f}}function g(){C=a.getCurrentTime();E=Fb().getTime(); +u.Sr();r();return h}function h(I){var N;switch(I){case 0:return n(I);case 2:N="pause";case 3:var ba=a.getCurrentTime()-C;N=Math.abs((Fb().getTime()-E)/1E3*z-ba)>1?"seek":N||"buffering";if(a.getCurrentTime())if(b.uq){var U=u.createEvent(N);xB(U)}else u.Zi();q();return l;case -1:return e(I);default:return h}}function l(I){switch(I){case 0:return n(I);case 1:return g(I);case -1:return e(I);default:return l}}function n(){for(;d;){var I=c;w.clearTimeout(d);I()}if(b.tq){var N=u.createEvent("complete",1); +xB(N)}return e(-1)}function p(){}function q(){d&&(w.clearTimeout(d),d=0,c=p)}function r(){if(t.length&&z!==0){var I=-1,N;do{N=t[0];if(N.Ud>a.getDuration())return;I=(N.Ud-a.getCurrentTime())/z;if(I<0&&(t.shift(),t.length===0))return}while(I<0);c=function(){d=0;c=p;if(t.length>0&&t[0].Ud===N.Ud){t.shift();var ba=u.createEvent("progress",N.En,N.Qn);xB(ba)}r()};d=w.setTimeout(c,I*1E3)}}var u,t=[],v,x,y,z,C,E,G=e(-1);d=0;c=p;return{onStateChange:function(I){G=G(I)},onPlaybackRateChange:function(I){C=a.getCurrentTime(); +E=Fb().getTime();u.Zi();z=I;q();r()}}},CI=function(a){Uc(function(){function b(){for(var d=c.getElementsByTagName("iframe"),e=d.length,f=0;f0)return!0;if(b){var d;var e=c.indexOf("?")!==-1?"&":"?";c.indexOf("origin=")>-1?d=c+e+"enablejsapi=1":(vI||(vI=A.location.protocol+"//"+A.location.hostname,A.location.port&&(vI+=":"+A.location.port)),d=c+e+"enablejsapi=1&origin="+encodeURIComponent(vI));var f;f=dc(d);a.src=ec(f).toString();return!0}}return!1},FI=function(a,b){if(!a)return!1;for(var c=0;c=0)return!0; +return!1},EI=function(){var a=""+Math.round(Math.random()*1E9);return A.getElementById(a)?EI():a}; +function GI(a,b){var c=this;var d=function(){CI(q)};if(!wh(a))throw H(this.getName(),["Object","any"],arguments);gD([function(){J(c,"detect_youtube_activity_events",{fixMissingApi:!!a.get("fixMissingApi")})}]);var e=mD(b),f=!!a.get("captureStart"),g=!!a.get("captureComplete"),h=!!a.get("capturePause"),l=zI(B(a.get("progressThresholdsPercent"))),n=yI(B(a.get("progressThresholdsTimeInSeconds"))),p=!!a.get("fixMissingApi"); +if(!(f||g||h||l.length||n.length))return;var q={wq:f,tq:g,uq:h,Or:l,Pr:n,rn:p,We:e},r=w.YT;if(r)return r.ready&&r.ready(d),e;var u=w,t=u.onYouTubeIframeAPIReady;u.onYouTubeIframeAPIReady=function(){t&&t();d()};Uc(function(){for(var v=A.getElementsByTagName("script"),x=v.length,y=0;y=2?(G.adData={ak:N.ids[mo[0]],cl:N.ids[mo[1]]},oJ(G.adData,C),nJ[N.id]=!0):N&&N.prefix==="UA"&&!G.gaData&&(G.gaData={gaWpid:N.destinationId},nJ[N.id]=!0))}(G.gaData||G.adData)&&pJ(qJ,E,void 0,C)(E.Qd,G,E.options)}}else if(a.prefix==="AW"&&a.ids[mo[1]])rJ(a.ids[mo[0]],a.ids[mo[1]],l[v],b,{Qd:u,options:q});else if(a.prefix==="UA"){var ba= +a.destinationId,U=l[v],M={Qd:u};O(23);if(U){M=M||{};var T=pJ(sJ,M,ba),la={};M.Qd!==void 0?la.receiver=M.Qd:la.replace=U;la.ga_wpid=ba;la.destination=U;T(2,Fb(),la)}}}}}},rJ=function(a,b,c,d,e){O(22);if(c){e=e||{};var f=pJ(uJ,e,a,d),g={ak:a,cl:b};e.Qd===void 0&&(g.autoreplace=c);oJ(g,d);f(2,e.Qd,g,c,0,Fb(),e.options)}},oJ=function(a,b){a.dma=$q();ar()&&(a.dmaCps=Zq());Sq(b)?a.npa="0":a.npa="1"},pJ=function(a,b,c,d){var e=w;if(e[a.functionName])return b.Gj&&Uc(b.Gj),e[a.functionName];var f=vJ();e[a.functionName]= +f;if(a.additionalQueues)for(var g=0;g=0,f=!0;R(a,Q.A.eb)&&(f=R(a,Q.A.Pa)===Rj());e&&f?S(a,Q.A.Uh,!0):(S(a,Q.A.Uh,!1),d||(a.isAborted=!0));if(a.canBeAccepted()){var g=Qj().indexOf(a.target.destinationId)>=0,h=!1;if(!g){var l,n=(l=Jj(a.target.destinationId))==null?void 0:l.canonicalContainerId;n&&(h=Rj()===n)}g||h?R(a,Q.A.Uh)&&a.accept():a.isAborted=!0}else a.isAborted=!0}};var fK=/^(www\.)?google(\.com?)?(\.[a-z]{2}t?)?$/,gK=/^www.googleadservices.com$/;function hK(a){a||(a=iK());return a.zs?!1:a.gr||a.hr||a.jr||a.ir||a.Ne||a.Hh||a.Qq||a.bc==="aw.ds"||P(235)&&a.bc==="aw.dv"||a.Uq?!0:!1} +function iK(){var a={},b=ns(!0);a.zs=!!b._up;var c=Rt(),d=tu();a.gr=c.aw!==void 0;a.hr=c.dc!==void 0;a.jr=c.wbraid!==void 0;a.ir=c.gbraid!==void 0;a.bc=typeof c.gclsrc==="string"?c.gclsrc:void 0;a.Ne=d.Ne;a.Hh=d.Hh;var e=A.referrer?kj(qj(A.referrer),"host"):"";a.Uq=fK.test(e);a.Qq=gK.test(e);return a};function jK(){var a=w.__uspapi;if(rb(a)){var b="";try{a("getUSPData",1,function(c,d){if(d&&c){var e=c.uspString;e&&RegExp("^[\\da-zA-Z-]{1,20}$").test(e)&&(b=e)}})}catch(c){}return b}};function mK(a){Fk&&(ym=!0,a.eventName===K.m.ma?Em(a.D,a.target.id):(R(a,Q.A.Hc)||(Bm[a.target.id]=!0),MA(R(a,Q.A.Pa))))};var sK={zp:{Es:"cd",ko:"ce",Fs:"cf",Gs:"cpf",Hs:"cu"}};function uK(a,b){b=b===void 0?!0:b;var c=pb(jb.GTAG_EVENT_FEATURE_CHANNEL||[]);c&&(X(a,K.m.Df,c),b&&mb())};function GK(a){}; +var kL=function(a,b){if(!b.isGtmEvent){var c=L(b,K.m.Bf),d=L(b,K.m.Af),e=L(b,c);if(e===void 0){var f=void 0;hL.hasOwnProperty(c)?f=hL[c]:iL.hasOwnProperty(c)&&(f=iL[c]);f===1&&(f=jL(c));sb(f)?uz()(function(){var g,h,l,n=(l=(g=uz())==null?void 0:(h=g.getByName)==null?void 0:h.call(g,a))==null?void 0:l.get(f);d(n)}):d(void 0)}else d(e)}},lL=function(a,b){var c=a[K.m.vd],d=b+".",e=a[K.m.sa]||"",f=c===void 0?!!a.use_anchor:c==="fragment",g=!!a[K.m.Qc];e=String(e).replace(/\s+/g,"").split(",");var h=uz(); +h(d+"require","linker");h(d+"linker:autoLink",e,f,g)},pL=function(a,b,c){if(!c.isGtmEvent||!mL[a]){var d=!On(K.m.ja),e=function(f){var g="gtm"+String(eo()),h,l=uz(),n=nL(b,"",c),p,q=n.createOnlyFields._useUp;if(c.isGtmEvent||oL(b,n.createOnlyFields)){c.isGtmEvent&&(h=n.createOnlyFields,n.gtmTrackerName&&(h.name=g));l(function(){var u,t=l==null?void 0:(u=l.getByName)==null?void 0:u.call(l,b);t&&(p=t.get("clientId"));if(!c.isGtmEvent){var v;l==null||(v=l.remove)==null||v.call(l,b)}});l("create",a,c.isGtmEvent? +h:n.createOnlyFields);d&&On(K.m.ja)&&(d=!1,l(function(){var u,t,v=(u=uz())==null?void 0:(t=u.getByName)==null?void 0:t.call(u,c.isGtmEvent?g:b);!v||v.get("clientId")==p&&q||(c.isGtmEvent?(n.fieldsToSet["&gcu"]="1",n.fieldsToSet["&sst.gcut"]=cn[f]):(n.fieldsToSend["&gcu"]="1",n.fieldsToSend["&sst.gcut"]=cn[f]),v.set(n.fieldsToSet), +c.isGtmEvent?v.send("pageview"):v.send("pageview",n.fieldsToSend))}));c.isGtmEvent&&l(function(){var u;l==null||(u=l.remove)==null||u.call(l,g)})}};Sn(function(){return void e(K.m.ja)},K.m.ja);Sn(function(){return void e(K.m.W)},K.m.W);Sn(function(){return void e(K.m.X)},K.m.X);c.isGtmEvent&&(mL[a]=!0)}},qL=function(a,b){Aj()&&b&&(a[K.m.xc]=b)},zL=function(a,b,c){function d(){var T=Da.apply(0,arguments);T[0]=x?x+"."+T[0]:""+T[0];t.apply(window,T)}function e(T){function la(pa,Na){for(var Sa=0;Na&& +Sa0&&ia==="promo_click"){ma?d("ec:setAction",ia,W.Zb):d("ec:setAction",ia);return}if(!ma)return}ia!=="promo_view"&&ia!=="impressions"&&(la("ec:addProduct",W.Td),d("ec:setAction", +ia,W.Zb))}}function f(T){if(T){var la={};if(sd(T))for(var ma in tL)tL.hasOwnProperty(ma)&&uL(tL[ma],ma,T[ma],la);qL(la,E);d("require","linkid",la)}}function g(){var T=L(c,K.m.hp);if(T){var la=D(19);d("require",T,{dataLayer:la});d("require","render")}}function h(){var T=L(c,K.m.se);t(function(){if(!c.isGtmEvent&&sd(T)){var la=y.fieldsToSend,ma,W,V=(ma=v())==null?void 0:(W=ma.getByName)==null?void 0:W.call(ma,x),ia;for(ia in T)if(T[ia]!=null&&/^(dimension|metric)\d+$/.test(ia)){var ta=void 0,pa=(ta= +V)==null?void 0:ta.get(jL(T[ia]));vL(la,ia,pa)}}})}function l(T,la,ma){ma&&(la=String(la));y.fieldsToSend[T]=la}function n(){if(y.displayfeatures){var T="_dc_gtm_"+p.replace(/[^A-Za-z0-9-]/g,"");d("require","displayfeatures",void 0,{cookieName:T})}}var p=a,q=ko(a),r=c.eventMetadata[Q.A.eg];if(!(q&&r&&r.indexOf(q.destinationId)<0)){Fk&&(ym=!0,b===K.m.ma?Em(c,a):(c.eventMetadata[Q.A.Hc]||(Bm[a]=!0),MA(c.eventMetadata[Q.A.Pa])));var u,t=c.isGtmEvent?xz(L(c,"gaFunctionName")):xz();if(rb(t)){var v=uz, +x;x=c.isGtmEvent?L(c,"name")||L(c,"gtmTrackerName"):"gtag_"+p.split("-").join("_");var y=nL(x,b,c);!c.isGtmEvent&&oL(x,y.createOnlyFields)&&(t(function(){var T,la;v()&&((T=v())==null||(la=T.remove)==null||la.call(T,x))}),wL[x]=!1);t("create",p,y.createOnlyFields);var z=c.isGtmEvent&&y.fieldsToSet[K.m.xc];if(!c.isGtmEvent&&y.createOnlyFields[K.m.xc]||z){var C=yj(c.isGtmEvent?y.fieldsToSet[K.m.xc]:y.createOnlyFields[K.m.xc],"/analytics.js");C&&(u=C)}var E=c.isGtmEvent?y.fieldsToSet[K.m.xc]:y.createOnlyFields[K.m.xc]; +if(E){var G=c.isGtmEvent?y.fieldsToSet[K.m.ah]:y.createOnlyFields[K.m.ah];G&&!wL[x]&&(wL[x]=!0,t(zz(x,G)))}c.isGtmEvent?y.enableRecaptcha&&d("require","recaptcha","recaptcha.js"):(h(),f(y.linkAttribution));var I=y[K.m.cb];I&&I[K.m.sa]&&lL(I,x);d("set",y.fieldsToSet);if(c.isGtmEvent){if(y.enableLinkId){var N={};qL(N,E);d("require","linkid","linkid.js",N)}pL(p,x,c)}if(b===K.m.sc)if(c.isGtmEvent){n();if(y.remarketingLists){var ba="_dc_gtm_"+p.replace(/[^A-Za-z0-9-]/g,"");d("require","adfeatures",{cookieName:ba})}e(E); +d("send","pageview");y.createOnlyFields._useUp&&wz(x+".")}else g(),d("send","pageview",y.fieldsToSend);else b===K.m.ma?(g(),tJ(p,c),L(c,K.m.Hb)&&(iu(["aw","dc"]),wz(x+".")),ku(["aw","dc"]),y.sendPageView!=0&&d("send","pageview",y.fieldsToSend),pL(p,x,c)):b===K.m.Cb?kL(x,c):b==="screen_view"?d("send","screenview",y.fieldsToSend):b==="timing_complete"?(y.fieldsToSend.hitType="timing",l("timingCategory",y.eventCategory,!0),c.isGtmEvent?l("timingVar",y.timingVar,!0):l("timingVar",y.name,!0),l("timingValue", +Bb(y.value)),y.eventLabel!==void 0&&l("timingLabel",y.eventLabel,!0),d("send",y.fieldsToSend)):b==="exception"?d("send","exception",y.fieldsToSend):b===""&&c.isGtmEvent||(b==="track_social"&&c.isGtmEvent?(y.fieldsToSend.hitType="social",l("socialNetwork",y.socialNetwork,!0),l("socialAction",y.socialAction,!0),l("socialTarget",y.socialTarget,!0)):((c.isGtmEvent||xL[b])&&e(E),c.isGtmEvent&&n(),y.fieldsToSend.hitType="event",l("eventCategory",y.eventCategory,!0),l("eventAction",y.eventAction||b,!0), +y.eventLabel!==void 0&&l("eventLabel",y.eventLabel,!0),y.value!==void 0&&l("eventValue",Bb(y.value))),d("send",y.fieldsToSend));var U=u&&!c.eventMetadata[Q.A.Rm];if(!yL&&(!c.isGtmEvent||U)){yL=!0;var M=function(){c.onFailure()};Nc(u||"https://www.google-analytics.com/analytics.js",function(){var T;((T=v())==null?0:T.loaded)||M()},M)}}else Uc(c.onFailure)}},AL=function(a,b,c,d){Tn(function(){zL(a,b,d)},[K.m.ja,K.m.W])},oL=function(a,b){var c=BL[a];BL[a]=td(b,null);if(!c)return!1;for(var d in b)if(b.hasOwnProperty(d)&& +b[d]!==c[d])return!0;for(var e in c)if(c.hasOwnProperty(e)&&c[e]!==b[e])return!0;return!1},sL=function(a,b){function c(t){return{id:d(K.m.Ba),affiliation:d(K.m.Pk),revenue:d(K.m.Ca),tax:d(K.m.Rk),shipping:d(K.m.rd),coupon:d(K.m.Qk),list:d(K.m.ji)||d(K.m.wf)||t}}for(var d=function(t){return L(b,t)},e=d(K.m.oa),f,g=0;e&&g0||a===K.m.Ic)q={action:"promo_click",Cg:CL(r)||CL(e)};else if(a==="select_content"|| +a===K.m.he)q={action:"click",Zb:{list:d(K.m.ji)||d(K.m.wf)||f},Td:CL(e)};else if(a===K.m.jd||a==="checkout_progress"){var u={step:a===K.m.jd?1:d(K.m.ii),option:d(K.m.Wg)};q={action:"checkout",Td:CL(e),Zb:td(c(),u)}}else a==="set_checkout_option"&&(q={action:"checkout_option",Zb:{step:d(K.m.ii),option:d(K.m.Wg)}});q&&(q.fj=d(K.m.kb));return q},rL=function(a){var b=a.gtmEcommerceData;if(!b)return null;var c={};b.currencyCode&&(c.fj=b.currencyCode);if(b.impressions){c.action="impressions";var d=b.impressions; +c.wn=b.translateIfKeyEquals==="impressions"?CL(d):d}if(b.promoView){c.action="promo_view";var e=b.promoView.promotions;c.Cg=b.translateIfKeyEquals==="promoView"?CL(e):e}if(b.promoClick){var f=b.promoClick;c.action="promo_click";var g=f.promotions;c.Cg=b.translateIfKeyEquals==="promoClick"?CL(g):g;c.Zb=f.actionField;return c}for(var h in b)if(b[h]!==void 0&&h!=="translateIfKeyEquals"&&h!=="impressions"&&h!=="promoView"&&h!=="promoClick"&&h!=="currencyCode"){c.action=h;var l=b[h].products;c.Td=b.translateIfKeyEquals=== +"products"?CL(l):l;c.Zb=b[h].actionField;break}return Object.keys(c).length?c:null},CL=function(a){function b(e){function f(h,l){for(var n=0;n0?b.join("!"):void 0}},vL=function(a,b,c){a.hasOwnProperty(b)||(a[b]=c)},LL=function(a){var b="general";NL[a]? +b="ecommerce":OL[a]?b="engagement":a==="exception"&&(b="error");return b},jL=function(a){return a&&sb(a)?a.replace(/(_[a-z])/g,function(b){return b[1].toUpperCase()}):a},uL=function(a,b,c,d){if(c!==void 0)if(PL[b]&&(c=Cb(c)),b!=="anonymize_ip"||c||(c=void 0),a===1)d[jL(b)]=c;else if(sb(a))d[a]=c;else for(var e in a)a.hasOwnProperty(e)&&c[e]!==void 0&&(d[a[e]]=c[e])},yL=!1,wL={},mL={},QL={},KL=(QL[K.m.Sb]=1,QL[K.m.vc]=1,QL[K.m.Eb]=1,QL[K.m.wb]=1,QL[K.m.Ub]=1,QL[K.m.nd]=1,QL[K.m.wc]=1,QL[K.m.ab]=1, +QL[K.m.od]=1,QL[K.m.nl]=1,QL[K.m.xa]=1,QL[K.m.Gf]=1,QL[K.m.Xa]=1,QL[K.m.Gb]=1,QL),RL={},hL=(RL.client_storage="storage",RL.sample_rate=1,RL.site_speed_sample_rate=1,RL.store_gac=1,RL.use_amp_client_id=1,RL[K.m.Tb]=1,RL[K.m.ub]="storeGac",RL[K.m.Eb]=1,RL[K.m.wb]=1,RL[K.m.Ub]=1,RL[K.m.nd]=1,RL[K.m.wc]=1,RL[K.m.od]=1,RL),SL={},HL=(SL._cs=1,SL._useUp=1,SL.allowAnchor=1,SL.allowLinker=1,SL.alwaysSendReferrer=1,SL.clientId=1,SL.cookieDomain=1,SL.cookieExpires=1,SL.cookieFlags=1,SL.cookieName=1,SL.cookiePath= +1,SL.cookieUpdate=1,SL.legacyCookieDomain=1,SL.legacyHistoryImport=1,SL.name=1,SL.sampleRate=1,SL.siteSpeedSampleRate=1,SL.storage=1,SL.storeGac=1,SL.useAmpClientId=1,SL._cd2l=1,SL),JL={anonymize_ip:1},TL={},iL=(TL.campaign={content:"campaignContent",id:"campaignId",medium:"campaignMedium",name:"campaignName",source:"campaignSource",term:"campaignKeyword"},TL.app_id=1,TL.app_installer_id=1,TL.app_name=1,TL.app_version=1,TL.description="exDescription",TL.fatal="exFatal",TL.language=1,TL.page_hostname= +"hostname",TL.transport_type="transport",TL[K.m.kb]="currencyCode",TL[K.m.ih]=1,TL[K.m.xa]="location",TL[K.m.Gf]="page",TL[K.m.Xa]="referrer",TL[K.m.Gb]="title",TL[K.m.oi]=1,TL[K.m.Oa]=1,TL),UL={},IL=(UL.content_id=1,UL.event_action=1,UL.event_category=1,UL.event_label=1,UL.link_attribution=1,UL.name=1,UL[K.m.cb]=1,UL[K.m.kl]=1,UL[K.m.wd]=1,UL[K.m.Ca]=1,UL),GL={displayfeatures:1,enableLinkId:1,enableRecaptcha:1,eventAction:1,eventCategory:1,eventLabel:1,gaFunctionName:1,gtmEcommerceData:1,gtmTrackerName:1, +linker:1,remarketingLists:1,socialAction:1,socialNetwork:1,socialTarget:1,timingVar:1,value:1},DL=["item_category","item_category2","item_category3","item_category4","item_category5"],VL={},tL=(VL.levels=1,VL[K.m.wb]="duration",VL[K.m.nd]=1,VL),WL={},PL=(WL.anonymize_ip=1,WL.fatal=1,WL.send_page_view=1,WL.store_gac=1,WL.use_amp_client_id=1,WL[K.m.ub]=1,WL[K.m.ih]=1,WL),XL={},xL=(XL.checkout_progress=1,XL.select_content=1,XL.set_checkout_option=1,XL[K.m.ee]=1,XL[K.m.fe]=1,XL[K.m.jd]=1,XL[K.m.he]=1, +XL[K.m.oc]=1,XL[K.m.Ic]=1,XL[K.m.qc]=1,XL[K.m.Bb]=1,XL[K.m.ie]=1,XL[K.m.rc]=1,XL),YL={},NL=(YL.checkout_progress=1,YL.set_checkout_option=1,YL[K.m.Ek]=1,YL[K.m.Fk]=1,YL[K.m.ee]=1,YL[K.m.fe]=1,YL[K.m.Gk]=1,YL[K.m.jd]=1,YL[K.m.Bb]=1,YL[K.m.ie]=1,YL[K.m.Hk]=1,YL),ZL={},OL=(ZL.generate_lead=1,ZL.login=1,ZL.search=1,ZL.select_content=1,ZL.share=1,ZL.sign_up=1,ZL.view_search_results=1,ZL[K.m.he]=1,ZL[K.m.oc]=1,ZL[K.m.Ic]=1,ZL[K.m.qc]=1,ZL[K.m.rc]=1,ZL),$L={},ML=($L.view_search_results=1,$L[K.m.oc]=1,$L[K.m.qc]= +1,$L[K.m.rc]=1,$L),BL={};function aM(a,b,c,d){}aM.J="internal.executeEventProcessor";function bM(a){var b;if(!Dh(a))throw H(this.getName(),["string"],arguments);J(this,"unsafe_run_arbitrary_javascript");try{var c=w.google_tag_manager;c&&typeof c.e==="function"&&(b=c.e(a))}catch(d){}return Id(b,this.K,1)}bM.J="internal.executeJavascriptString";function cM(a){var b;return b};function dM(a){var b="";return b}dM.J="internal.generateClientId";function eM(a){var b={};return Id(b)}eM.J="internal.getAdsCookieWritingOptions";function fM(a,b){var c=!1;return c}fM.J="internal.getAllowAdPersonalization";function gM(){var a;return a}gM.J="internal.getAndResetEventUsage";function hM(a,b){b=b===void 0?!0:b;var c;return c}hM.J="internal.getAuid";function iM(){var a=new cb;return a}iM.publicName="getContainerVersion";function jM(a,b){b=b===void 0?!0:b;var c;return c}jM.publicName="getCookieValues";function kM(){var a="";return a}kM.J="internal.getCorePlatformServicesParam";function lM(){return Mm()}lM.J="internal.getCountryCode";function mM(){var a=[];return Id(a)}mM.J="internal.getDestinationIds";function nM(a){var b=new cb;return b}nM.J="internal.getDeveloperIds";function oM(a){var b;return b}oM.J="internal.getEcsidCookieValue";function pM(a,b){var c=null;if(!Ch(a)||!Dh(b))throw H(this.getName(),["OpaqueValue","string"],arguments);var d=a.getValue();if(!(d instanceof HTMLElement))throw Error("getElementAttribute requires an HTML Element.");J(this,"get_element_attributes",d,b);c=Vc(d,b);return c}pM.J="internal.getElementAttribute";function qM(a){var b=null;return b}qM.J="internal.getElementById";function rM(a){var b="";if(!Ch(a))throw H(this.getName(),["OpaqueValue"],arguments);var c=a.getValue();if(!(c instanceof HTMLElement))throw Error("getElementInnerText requires an HTML Element.");J(this,"read_dom_element_text",c);b=Wc(c);return b}rM.J="internal.getElementInnerText";function sM(a){var b=null;return b}sM.J="internal.getElementParent";function tM(a){var b=null;return b}tM.J="internal.getElementPreviousSibling";function uM(a,b){var c=null;if(!Ch(a)||!Dh(b))throw H(this.getName(),["OpaqueValue","string"],arguments);var d=a.getValue();if(!(d instanceof HTMLElement))throw Error("getElementProperty requires an HTML element.");J(this,"access_dom_element_properties",d,"read",b);c=d[b];return Id(c)}uM.J="internal.getElementProperty";function vM(a){var b;if(!Ch(a))throw H(this.getName(),["OpaqueValue"],arguments);var c=a.getValue();if(!(c instanceof HTMLElement))throw Error("getElementValue requires an HTML Element.");J(this,"access_element_values",c,"read");b=c instanceof HTMLInputElement?c.value:Vc(c,"value")||"";return b}vM.J="internal.getElementValue";function wM(a){var b=0;return b}wM.J="internal.getElementVisibilityRatio";function xM(a){var b=null;return b}xM.J="internal.getElementsByCssSelector"; +function yM(a){var b;if(!Dh(a))throw H(this.getName(),["string"],arguments);J(this,"read_event_data",a);var c;a:{var d=a,e=kD(this).originalEventData;if(e){for(var f=e,g={},h={},l={},n=[],p=d.split("\\\\"),q=0;q-1&&(a[Q.A.eb]=!0)}function IP(a,b,c){var d=this;}IP.J="internal.gtagConfig";function JP(a,b,c){var d=this;}JP.J="internal.gtagDestinationConfig"; +function LP(a,b){} +LP.publicName="gtagSet";function MP(){var a={};return a};function NP(a){}NP.J="internal.initializeServiceWorker";function OP(a,b){}OP.publicName="injectHiddenIframe";var PP=function(){var a=0;return function(b){switch(b){case 1:a|=1;break;case 2:a|=2;break;case 3:a|=4}return a}}(); +function QP(a,b,c,d,e){if(!((Dh(a)||Ch(a))&&zh(b)&&zh(c)&&Hh(d)&&Hh(e)))throw H(this.getName(),["string|OpaqueValue","function","function","boolean|undefined","boolean|undefined"],arguments);var f=kD(this);d&&PP(3);e&&(PP(1),PP(2));var g=f.eventId,h=f.Nb(),l=PP(void 0);if(Dk){var n=String(l)+h;WC[g]=WC[g]||[];WC[g].push(n);XC[g]=XC[g]||[];XC[g].push("p"+h)}if(d&&e)throw Error("useIframe and supportDocumentWrite cannot both be true.");J(this, +"unsafe_inject_arbitrary_html",d,e);var p=B(b,this.K),q=B(c,this.K),r=B(a,this.K,1);RP(r,p,q,!!d,!!e,f);} +var SP=function(a,b,c,d){return function(){try{if(b.length>0){var e=b.shift(),f=SP(a,b,c,d),g=e;if(String(g.nodeName).toUpperCase()==="SCRIPT"&&g.type==="text/gtmscript"){var h=g.text||g.textContent||g.innerHTML||"",l=g.getAttribute("data-gtmsrc"),n=g.charset||"";l?Nc(l,f,d,{async:!1,id:e.id,text:h,charset:n},a):(g=A.createElement("script"),g.async=!1,g.type="text/javascript",g.id=e.id,g.text=h,g.charset=n,f&&(g.onload=f),a.insertBefore(g,null));l||f()}else if(e.innerHTML&&e.innerHTML.toLowerCase().indexOf("= +0){for(var p=[];e.firstChild;)p.push(e.removeChild(e.firstChild));a.insertBefore(e,null);SP(e,p,f,d)()}else a.insertBefore(e,null),f()}else c()}catch(q){d()}}},RP=function(a,b,c,d,e,f){if(A.body){var g=vC(a,b,c);a=g.lr;b=g.onSuccess;if(d){}else e? +TP(a,b,c):SP(A.body,Xc(a),b,c)()}else w.setTimeout(function(){RP(a,b,c,d,e,f)})};QP.J="internal.injectHtml";var UP={}; +function WP(a,b,c,d){}var XP={dl:1,id:1},YP={}; +function ZP(a,b,c,d){}P(160)?ZP.publicName="injectScript":WP.publicName="injectScript";ZP.J="internal.injectScript";function $P(){var a=!1;return a}$P.J="internal.isAutoPiiEligible";function aQ(a){var b=!0;return b}aQ.publicName="isConsentGranted";function bQ(a){var b=!1;return b}bQ.J="internal.isDebugMode";function cQ(){return Pm()}cQ.J="internal.isDmaRegion";function dQ(){return BA}dQ.J="internal.isDomReady";function eQ(a){var b=!1;return b}eQ.J="internal.isEntityInfrastructure";function fQ(a){var b=!1;return b}fQ.J="internal.isFeatureEnabled";function gQ(){var a=!1;return a}gQ.J="internal.isFpfe";function hQ(){var a=!1;return a}hQ.J="internal.isGcpConversion";function iQ(){var a=!1;return a}iQ.J="internal.isLandingPage";function jQ(){var a=!1;return a}jQ.J="internal.isOgt";function kQ(){var a;return a}kQ.J="internal.isSafariPcmEligibleBrowser";function lQ(){var a=gi(function(b){kD(this).log("error",b)});a.publicName="JSON";return a};function mQ(a){var b=void 0;if(!Dh(a))throw H(this.getName(),["string"],arguments);b=qj(a);return Id(b)}mQ.J="internal.legacyParseUrl";function nQ(){return!1} +var oQ={getItem:function(a){var b=null;return b},setItem:function(a,b){return!1},removeItem:function(a){}};function pQ(){}pQ.publicName="logToConsole";function qQ(a,b){}qQ.J="internal.mergeRemoteConfig";function rQ(a,b,c){c=c===void 0?!0:c;var d=[];return Id(d)}rQ.J="internal.parseCookieValuesFromString";function sQ(a){var b=void 0;if(typeof a!=="string")return;a&&Lb(a,"//")&&(a=A.location.protocol+a);if(typeof URL==="function"){var c;a:{var d;try{d=new URL(a)}catch(x){c=void 0;break a}for(var e={},f=Array.from(d.searchParams),g=0;g0&&e.charAt(0)!=="."&&(f--,e="."+e);if(f>=0&&c.indexOf(e,f)===f)return!0}}return!1}function yR(a,b,c){for(var d={},e=!1,f=0;a&&f-1)return}else if(q==="write"){if(f.indexOf(r)>-1)return}else throw d(n,{},'Operation must be either "read" or "write"');throw d(n,{},'"'+q+'" operation is not allowed.');},U:a}})}(); + +Z.securityGroups.read_dom_element_text=["google"],function(){function a(b,c){return{element:c}}(function(b){Z.__read_dom_element_text=b;Z.__read_dom_element_text.F="read_dom_element_text";Z.__read_dom_element_text.isVendorTemplate=!0;Z.__read_dom_element_text.priorityOverride=0;Z.__read_dom_element_text.isInfrastructure=!1;Z.__read_dom_element_text["5"]=!1})(function(b){var c=b.vtp_createPermissionError;return{assert:function(d,e){if(!(e instanceof HTMLElement))throw c(d,{},"Wrong element type. Must be HTMLElement."); +},U:a}})}(); +Z.securityGroups.get_referrer=["google"],function(){function a(b,c,d){return{component:c,queryKey:d}}(function(b){Z.__get_referrer=b;Z.__get_referrer.F="get_referrer";Z.__get_referrer.isVendorTemplate=!0;Z.__get_referrer.priorityOverride=0;Z.__get_referrer.isInfrastructure=!1;Z.__get_referrer["5"]=!1})(function(b){var c=b.vtp_urlParts==="any"?null:[];c&&(b.vtp_protocol&&c.push("protocol"),b.vtp_host&&c.push("host"),b.vtp_port&&c.push("port"),b.vtp_path&&c.push("path"),b.vtp_extension&&c.push("extension"), +b.vtp_query&&c.push("query"));var d=c&&b.vtp_queriesAllowed!=="any"?b.vtp_queryKeys||[]:null,e=b.vtp_createPermissionError;return{assert:function(f,g,h){if(g){if(!sb(g))throw e(f,{},"URL component must be a string.");if(c&&c.indexOf(g)<0)throw e(f,{},"Prohibited URL component: "+g);if(g==="query"&&d){if(!h)throw e(f,{},"Prohibited from getting entire URL query when query keys are specified.");if(!sb(h))throw e(f,{},"Query key must be a string.");if(d.indexOf(h)<0)throw e(f,{},"Prohibited query key: "+ +h);}}else if(c)throw e(f,{},"Prohibited from getting entire URL when components are specified.");},U:a}})}(); +Z.securityGroups.read_event_data=["google"],function(){function a(b,c){return{key:c}}(function(b){Z.__read_event_data=b;Z.__read_event_data.F="read_event_data";Z.__read_event_data.isVendorTemplate=!0;Z.__read_event_data.priorityOverride=0;Z.__read_event_data.isInfrastructure=!1;Z.__read_event_data["5"]=!1})(function(b){var c=b.vtp_eventDataAccess,d=b.vtp_keyPatterns||[],e=b.vtp_createPermissionError;return{assert:function(f,g){if(g!=null&&!sb(g))throw e(f,{key:g},"Key must be a string.");if(c!=="any"){try{if(c=== +"specific"&&g!=null&&ah(g,d))return}catch(h){throw e(f,{key:g},"Invalid key filter.");}throw e(f,{key:g},"Prohibited read from event data.");}},U:a}})}(); +Z.securityGroups.process_dom_events=["google"],function(){function a(b,c,d){return{targetType:c,eventName:d}}(function(b){Z.__process_dom_events=b;Z.__process_dom_events.F="process_dom_events";Z.__process_dom_events.isVendorTemplate=!0;Z.__process_dom_events.priorityOverride=0;Z.__process_dom_events.isInfrastructure=!1;Z.__process_dom_events["5"]=!1})(function(b){for(var c=b.vtp_targets||[],d=b.vtp_createPermissionError,e={},f=0;fo.MAX_REQUEST_LENGTH&&(i.push(r),r='',n=0,t=c(e)),r+=t},build:function(e){if(!e)return r.slice(1);i.push(r);for(var t=0;t=Math.pow(2,e)?(0,t.hat)(e,r):u};t.hat=n;var i=function(e){return e.replace(/^0+/,'')};t.trimLeadingZeros=i;var o=function(){var e=(0,t.hat)(53,10);return(0,t.trimLeadingZeros)(e)};t.generateId=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.truncateCSSClasses=t.truncateKeysToSingleCharacter=t.truncateKeysAndValuesOfObject=t.truncate=void 0;var n=r(1),i=r(3),o=function(e,t){return n.isString(e)&&n.isNumber(t)?e.slice(0,t):e};t.truncate=o;var a=function(e,r){var n={},o=(0,i.getPrimitiveValuedObject)(e),a;return Object.keys(o).forEach((function(i){var o=(0,t.truncate)(e[i],r),a=(0,t.truncate)(i,r);n[a]=o})),n};t.truncateKeysAndValuesOfObject=a;var u=function(e,t){var r={},n;return Object.keys(e).forEach((function(n){t.indexOf(n)>-1?r[n.charAt(0)]=e[n]:r[n]=e[n]})),r};t.truncateKeysToSingleCharacter=u;var s=function(e,t){var r,n,i,o;return e?e.length>t?e.slice(0,t).split(/\s+/).slice(0,-1).join(' ').trim():e:''};t.truncateCSSClasses=s},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r-1};t.isSafari=a;var u=function(){var e=(0,t.getUserAgent)(),r=e.match(/iPad/i)||e.match(/iPhone/i),n=e.match(/WebKit/i);return r&&n&&!e.match(/CriOS/i)};t.isIOSWebkitBrowser=u;var s=function(){var e=(0,t.getIEVersion)();return!(e&&9===e)};t.canUseConsole=s;var c=function(){var e=(0,t.getAppVersion)(),r=null;return e&&(e.indexOf('MSIE 6.')>-1?r=6:e.indexOf('MSIE 7.')>-1?r=7:e.indexOf('MSIE 8.')>-1?r=8:e.indexOf('MSIE 9.')>-1&&(r=9)),r};t.getIEVersion=c;var l=function(){var e;return!!(null===(e=navigator.userAgentData)||void 0===e?void 0:e.getHighEntropyValues)};t.isUACHClient=l;var f=function(){var e=(0,t.getIEVersion)();return!(e&&e<=8)&&(0,t._objectHasDefineProperty)()};t.isSupportedClient=f},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.truncateAndFormatArray=t.isValidArrayProperties=void 0;var i=r(1),o=r(0),a='||',u=function(e){return e.every((function(e){return(0,i.isString)(e)||(0,i.isNumber)(e)||(0,i.isBoolean)(e)}))};t.isValidArrayProperties=u;var s=function(e){var t=e.codePointAt(0);return t&&t>65535?2:1},c=function(e){var t,r,i=0;try{for(var o=n(e),a=o.next();!a.done;a=o.next()){var u=a.value;i+=s(u)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return i},l=function(e,t){void 0===t&&(t=o.MAX_SINGLE_REQUEST_VALUE_LENGTH);for(var r='',n=0,a=0,u=0;u0&&'/'===e[0]?e:'/'+e:e;var t};t.prefixSlashIfNeeded=u;var s=function(e){var r=document.createElement('a');if(r.href=e,''===r.host){var i=r.href;r.href=i}var o=r.pathname;return(0,n.isString)(o)?(0,t.prefixSlashIfNeeded)(o):null};t.getPathFromURL=s;var c=function(e){if(!e)return e;var t,r=new RegExp('^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)').exec(e);return r?r[1]:e};t.getHostname=c;var l=function(){var e=(0,t.getDocumentReferrer)(),r,n;return e&&(0,t.getHostname)(e)===(0,t.getLocation)().hostname?(0,t.getPathFromURL)(e):null};t.getPreviousPageIfHostnameMatches=l;var f=function(e){var r,n=(0,t.getHostname)(e);if(!n)return'';var i=e.slice(e.indexOf('?'));if(n.search('google.([^/?]*)$')>=0||n.search('bing.com$')>=0)r='q';else{if(!(n.search('yahoo.com$')>=0))return'';r='p'}return window.decodeURIComponent((0,t.getQueryParam)(r,i))};t.getSearchKeyword=f},function(e,t){var r=!1;e.exports=function(e,t){var r=function(e,t,r){Math.random()*e<1&&t.apply(null,r)},n=/(.+):nth-of-type\((\d+)\)$/,i=/^\w+(\.[-_\w][-_\w\d]+)*(#[-_\w][-_\w\d]+)?$/;return{isHTMLElementOnIE7:function(e){try{return'object'==typeof e&&void 0!==e.nodeType}catch(e){return!1}},isHTMLElement:function(e){try{return'object'==typeof Element||'function'==typeof Element?e instanceof Element:'object'==typeof HTMLDocument||'function'==typeof HTMLDocument?e instanceof HTMLDocument:'object'===e&&'nodeType'in e}catch(t){return this.isHTMLElementOnIE7(e)}},skipToFirstSibling:function(t){if(!t)return null;for(var r=t,n=0;r&&n0)for(var r=Array.from(e.classList),n=0;n0&&(a=this.siblingsMatchingSameSelector(o[0],s)),1===a.length)return r(10,t,['domUtil ancestor traversals',l]),a[0];if(a.length>=c)return r(10,t,['domUtil ancestor traversals',l]),a[c-1];if(null===(u=u.parentElement))return r(10,t,['domUtil ancestor traversals',l]),null;l+=1}},textInNearestElementMatching:function(e,t){var r=this.nearestElementMatching(e,t);return this.elementValue(r)},findParentElement:function(e,t){return e&&'BODY'!==e.tagName&&'HTML'!==e.tagName?t(e)?e:this.findParentElement(e.parentElement,t):null}}}},function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0)&&!(i=n.next()).done;)o.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o},o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n=0,i=t.length,o;n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.getNumNewUniqueKeys=t._getRedactedAndTruncatedPageTitle=t.makeHeapRedactedTitleSelector=t.isTitleRedacted=t.getSensitiveDataSafePageTitle=t._getTrimmedRedactedText=t._sortStringsByLength=t.makeHeapIgnoreSelector=t._isHeapRedactTextPresent=t.getSensitiveDataSafeTargetText=t.isElementEncryptedInCs=t._getRawAttributes=t._isFormInputElement=t._isSVGElement=t._isHTMLElement=t._shouldCaptureAttributes=t._escapeCSS=t.getValue=t.getClassName=t._getRedactedAttributes=t._convertDecomposedHierarchyToHeapInputSyntax=t._filterRedactedAttributesFromHierarchy=t._findAttributeIndexWithName=t._getValidAttributes=t._getClassNamesForElement=t._getIdForElement=t._getTopFirstDFSDecomposedHierarchy=t.getHref=t.shouldCaptureTargetText=t.getHierarchyForElement=t.GLOBALLY_BLOCKLISTED_ATTRIBUTES=t.HEAP_REDACT_ATTRIBUTES_ATTRIBUTE_NAME=t.HEAP_REDACT_TEXT_ATTRIBUTE_NAME=void 0;var u=r(12),s=r(0),c=r(6),l=r(29),f=r(0),d=r(4),p=r(1),v=r(7),h,g=u(s,(function(){for(var e=[],t=0;t-1,s;if(-1===n&&u&&(n=o),(i=a.heapRedactedAttributes.indexOf('href')>-1?o:-1)>-1)break}var c;return function(){if(-1!==n){if(i>=n)return"****";var e=r[n].attributes,o;return e[(0,t._findAttributeIndexWithName)(e,'href')].value}}()};t.getHref=T;var b=function(e){for(var r=e.maxAttributeLength,n,i=e.targetElement,o=[];i&&'BODY'!==i.tagName&&'HTML'!==i.tagName;){var a={tagName:i.tagName,id:(0,t._getIdForElement)(i),classes:(0,t._getClassNamesForElement)(i),attributes:(0,t._shouldCaptureAttributes)(i)?(0,t._getValidAttributes)(i,r):[],heapRedactedAttributes:(0,t._getRedactedAttributes)(i)};o.push(a),i=i.parentElement}return o.reverse()};t._getTopFirstDFSDecomposedHierarchy=b;var I=function(e){return(0,t.getValue)(e,'id')||null};t._getIdForElement=I;var C=function(e){return(0,t.getClassName)(e)?(0,t.getClassName)(e).split(/\s+/):[]};t._getClassNamesForElement=C;var O=function(e,r){return(0,t._isSVGElement)(e)?((0,t._getRawAttributes)(e)||[]).filter((function(e){return e.name.length0?".".concat(v.classes.map(t._escapeCSS).sort().join(';.'),";"):'';var g,_=L(v.attributes,o).map((function(e){return"[".concat(e.name,"=").concat(e.value,"]")})).sort();if(h+=_.length>0?"".concat(_.join(';'),";"):'',(h+='|').length+c.length>u){l=!0;break}c=h+c}}catch(e){r={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}return l&&(0,d.sample)(1e3,s,['hierarchy-truncated']),c};t._convertDecomposedHierarchyToHeapInputSyntax=k;var R=function(e){var t=M(e);return(0,v.isSideloadingWithCs)()?o(o([],i(t),!1),i(B(e)),!1):t};t._getRedactedAttributes=R;var M=function(e){var r=e.getAttribute(t.HEAP_REDACT_ATTRIBUTES_ATTRIBUTE_NAME);return r?r.split(','):[]},L=function(e,r){return e.map((function(e){return{name:(0,t._escapeCSS)(e.name),value:e.value&&e.value.length<=r?(0,t._escapeCSS)(e.value):''}}))},x=function(e){var r;return((r=(0,t._isSVGElement)(e)?e.className?e.className.baseVal:e.getAttribute('class'):e.className)||'').trim()};t.getClassName=x;var U=function(e,t){return'form'===e.tagName.toLowerCase()?e.getAttribute(t)||'':e[t]};t.getValue=U;var j=function(e){return e.replace(/[[\];|\n]/g,'')};t._escapeCSS=j;var H=function(e){return(0,t._isHTMLElement)(e)||(0,t._isSVGElement)(e)};t._shouldCaptureAttributes=H;var V=function(e){return!(0,t._isSVGElement)(e)};t._isHTMLElement=V;var D=function(e){return 1===e.nodeType&&'http://www.w3.org/2000/svg'===e.namespaceURI};t._isSVGElement=D;var F=function(e){return!!e.value};t._isFormInputElement=F;var G=function(e){for(var r=[],n=0;n=t.length?-1:1}))};t._sortStringsByLength=Z;var ee=function(e,t){return e=c.truncate(e.trim(),t)},te=function(e,r,n){var i=r.map((function(e){return e.trim()})),o=(0,t._sortStringsByLength)(i),a=e;return o.forEach((function(e){var t;e&&(a=l.replaceAllOccurrences({originalText:a,substringToReplace:e,replacementText:"****"}))})),a=ee(a,n)};t._getTrimmedRedactedText=te;var re=function(e){var r=(0,t.isTitleRedacted)(),n=document.title;return(0,t._getRedactedAndTruncatedPageTitle)(r,n,e)};t.getSensitiveDataSafePageTitle=re;var ne=function(){var e;return!!document.querySelector((0,t.makeHeapRedactedTitleSelector)())};t.isTitleRedacted=ne;var ie=function(){return'head title['+t.HEAP_REDACT_TEXT_ATTRIBUTE_NAME+']'};t.makeHeapRedactedTitleSelector=ie;var oe=function(e,t,r){return e?"****":c.truncate(t,r)};t._getRedactedAndTruncatedPageTitle=oe;var ae=function(e,t){var r=0;if(!e||!t)return r;for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||r++;return r};t.getNumNewUniqueKeys=ae;var ue=function(e,t){try{(0,d.sample)(1e5,e,['target-text-heap-redacted',1])}catch(e){t('failed-to-record-target-text-heap-redacted',e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapper=void 0;var n=r(8),i=r(5),o=r(32),a=r(0),u=r(15),s='_hp2_',c=3e5,l=function(){};(0,n.canUseConsole)()&&(l=console.table?console.table:console.log);var f=u.Logger.build({log:function(){for(var e=[],t=0;t0&&0===t.location.pathname.indexOf(e)},c=function(e,t){try{var r=JSON.parse(e);return r.cookiePath=t,JSON.stringify(r)}catch(t){return n('Error updating cookie path.',t),e}},l=function(e,t){for(var r=new RegExp('(^|;)[ ]*'+e+'=([^;]*)','g'),n=[],i=r.exec(t);i;)n.push(decodeURIComponent(i[2])),i=r.exec(t);return n},d=function(e){var t;try{var r;return null!==(t=JSON.parse(e).cookiePath)&&void 0!==t?t:'/'}catch(e){return n('Error extracting cookie path.',e),'/'}},p=function(e,t){var r=d(t);return h(e,'delete',-1,void 0,r)},v=function(e,t){p(e,t),h(e,t,a.USER_COOKIE_EXPIRATION_IN_MS)},h=function(e,n,i,a,u){var l,d=r().userConfig,p='/',v;u?p=u:s(null==d?void 0:d.cookiePath)&&(p=d.cookiePath,n=c(n,p));var h=[];i&&((v=new Date).setTime(v.getTime()+i),h.push('expires='+v.toUTCString())),(a=null!=a?a:_())&&h.push('domain=.'+a),h.push('path='+p);var g='https:'===t.location.protocol&&null!==(l=null==d?void 0:d.secureCookie)&&void 0!==l&&l;g&&h.push('secure');var m=(0,o.getOptimalSameSiteCookieValue)(g);m&&h.push('SameSite='+m),f.log((function(){var t='Setting cookie with name '+e+' to value: ';try{return[t,JSON.parse(n)]}catch(e){return[t,n]}})),t.cookie=e+'='+encodeURIComponent(n)+';'+h.join(';')},g=function(e){var r=l(e,t.cookie),n=r[0];if(r.length>1&&window.heap.loaded){h(e,'delete',-1);var i=l(e,t.cookie),o=r.filter((function(e){return!i.includes(e)}));o.length>0&&(n=o[0]),n&&h(e,n)}return null!=n?n:0},_=function(){var e=r().domainAlias;null!=e||(e=t.domain);for(var n='',o='hld'+(0,i.generateId)(),a=u(o),s=e.split('.'),c=s.length-1;c>=0;c--)g(a)!==o&&(n=s.slice(c,s.length).join('.'),h(a,o,3e5,n));h(a,o,-1,n);var l=!n.match(/[a-zA-Z]/),f=n.indexOf('.')<0;return(l||f)&&(n=null),n};return{cookiePathValid:s,findHighestLevelDomain:_,getCookie:g,getCookieName:u,resetCookie:v,setCookie:h}};t.wrapper=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=void 0;var n=r(8),i=window,o=function(){function e(e){void 0===e&&(e={log:function(){},logObject:function(){}});var t=this,r;this.shouldLog=function(){return t.isDebugModeEnabledForSession||!0===i.__heap_debug},this.log=function(e){if(t.shouldLog())switch(typeof e){case'function':try{var r=e(),n=Array.isArray(r)?r:[r];t.displayer.log.apply(t,n)}catch(e){t.displayer.log('Failed to generate message',e)}break;case'string':t.displayer.log(e)}},this.prettyPrintObject=function(e){if(t.shouldLog()){var r={};switch(typeof e){case'function':try{r=e()}catch(e){r={message:'Failed to generate object',error:e}}break;case'object':r=e}t.displayer.logObject(r)}},!e&&(0,n.canUseConsole)()&&(e={log:console.log,logObject:console.table}),this.displayer=e;try{this.isDebugModeEnabledForSession='true'===(null===(r=window.sessionStorage)||void 0===r?void 0:r.getItem('__heap_debug'))}catch(e){this.isDebugModeEnabledForSession=!1}}return e.getInstance=function(){return e.instance||((0,n.canUseConsole)()&&console.warn("Logger wasn't created at heap.js startup. Falling back to default configuration"),e.instance=new e),e.instance},e.build=function(t){return e.instance||(e.instance=new e(t)),e.instance},e}();t.Logger=o},function(e,t,r){var n=!1;r(17);var i=r(18),o=r(21),a=r(9),u=r(22)(i),s=r(24)(i,Ft),c=r(5),l=r(25)({_:i,recordData:Gt,recordError:Ft,getContainer:$e,updateIdParams:gt,setUserIdCookie:je,resetIdentity:Nt,sendRequest:nt,getConfig:se}),f=r(11),d=r(0),p=r(12)(d,Gt),v=r(26),h=r(27)(se,Gt),g=r(28),_=r(8),m=r(6),y=r(13),S=r(30).wrapper(Gt,se),E=r(31).wrapper(p.elementText),w=r(2),A=r(4),T=r(14).wrapper({documentAlias:document,getConfig:se,recordError:Ft}),b=r(33),I=r(15),C=r(7),O=r(34).wrapper({getConfig:se,recordError:Ft}),N=r(35),P=r(10),k=r(3),R=function(){};_.canUseConsole()&&(R=console.table?console.table:console.log);var M=I.Logger.build({log:function(){var e='[HeapJs]';_.canUseConsole()&&console.log.apply(null,[e].concat(Array.prototype.slice.call(arguments)))},logObject:R}),addPageviewProperties,HEAP_VERSION={"installedVersion":"4.23.11+6f0293d08c83b","heapJsVersion":"4.23.11","supportedUntil":"2026-04-16T22:29:39.872Z","revisionId":"6f0293d08c83b"},HEAP_EXPERIMENT={},SNAPSHOT_CONFIG={},INTEGRATIONS_STUB,registerAsyncSource,markAsyncSourceLoaded,getHeapUserConfig;Date.prototype.gt=Date.prototype.getTime;var L,x='https:'===document.location.protocol,U=Me(document.domain,window.location.href,document.referrer),j=U[0],docReferrerUrl=U[2],H=Le(),V=Re('/h'),D=Re('/api/add_user_properties_v3'),F=Re('/api/telemetry'),G=2e3,K,B={},X={},W={},q={},$={},z=!1,Q=!1,J=(new Date).gt(),Y,Z,ee,te,re=/^\d+$/,ne={},ie=f.getHostname(document.currentScript&&document.currentScript.src)||'Unknown',oe=!1,ae={pr:f.getPreviousPageIfHostnameMatches()},ue=i.throttle((function(e){var t;new Image(1,1).src=e}),500);function se(){var e=Re('/api/identify'),t=Re('/api/identify_v3'),r=Re('/api/identify_v4');return{appId:L,domainAlias:j,maxAttrLength:d.MAX_ATTRIBUTE_LENGTH,identifyV1Url:e,identifyV3Url:t,identifyV4Url:r,userConfig:a.getUserDefinedConfig()}}function ce(e,t){return e.hasAttribute?e.hasAttribute(t):!(!(r=e.getAttributeNode(t))||!r.specified&&!r.nodeValue);var r}function le(e){return e&&e.form||function(){for(var t=e;t&&(void 0===t.tagName||'form'!==t.tagName.toLowerCase());)t=t.parentNode;return t}()}function fe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function de(e){return e.defaultPrevented||void 0===e.defaultPrevented&&(!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault())}function pe(e){var t;return 1===(e.which||void 0===e.button?e.which:1&e.button?1:0)}function ve(e){var t=e,r,n=(t.target||t.srcElement).getBoundingClientRect(),i;if(0===t.screenX&&0===t.screenY)return[0,0];var o=Math.floor(t.clientX-n.left),a=Math.floor(t.clientY-n.top),u=!(void 0===t.offsetX&&void 0===t.offsetY||0===t.offsetX&&0===t.offsetY),s,c;return[u?t.offsetX:o,u?t.offsetY:a]}function he(e,t,r,n){document.addEventListener?e.addEventListener(t,r,n):document.attachEvent?e.attachEvent('on'+t,(function(){var t=window.event;t.currentTarget=e,t.target=t.srcElement,r.call(e,t)})):e['on'+t]=r}function ge(e,t,r,n){return e.removeEventListener?(e.removeEventListener(t,r,n),!0):e.detachEvent?e.detachEvent('on'+t,r):void(e['on'+t]==r&&delete e['on'+t])}function _e(){var e,t;if(ct(),t=d.MAX_REQUEST_TIMEOUT_IN_MS-d.MAX_REQUEST_UNLOAD_TIMEOUT_IN_MS,Z)do{e=new Date}while(e.gt()0}})).values().value()}),(function(e,t){return e+'.'+t})),Ae=function(e,t){var r;if(t=t||window.event,e){var n=function(e){return i.isString(e)?m.truncate(i.trim(e),d.MAX_ATTRIBUTE_LENGTH):e},a={f:function(e){var t=p.nearestElementMatching(e,event),r=E.getInputElementValue(t);return n(r)},t:function(e){var t=p.textInNearestElementMatching(e,event);return n(t)},s:function(e){var t=p.elementValue(i(o(e)).first());return n(t)},j:function(e){var r,i=new Function('event','return '+e).call(window,t);return n(i)}},u=i.flatten(Object.keys(a).map((function(t){var r=a[t];return e.map((function(e){return e[t]})).map((function(e){return i(e).chain().mapValues((function(e){try{return r(e)}catch(e){return}})).omit(i.isUndefined).value()}))})));return u.unshift({}),r=i.extend.apply(null,u),M.log((function(){return['Captured the following snapshot properties: ',r]})),r}},Te=i.once((function(){var e,t,r;Gt('initiateEv','firstLaunch: '+!T.getCookie(d.EV_COOKIE_NAME)),T.setCookie(d.EV_COOKIE_NAME,'on',18e5),r=L,heap.appid=L=d.HEAP_EV_ENV_ID,window.heapV=i.extend({},heap),ut.clear(),Rt=[],r?te&&te.indexOf('a='+r)>-1&&(Ft('Force overwrite appId'),te=te.replace('a='+r,'a='+L)):Ft('No appId configured, cannot overwrite for EV'),(e=document.createElement('script')).type='text/javascript',e.charset='UTF-8',e.src=d.EV_JS_URL,document.head.appendChild(e),(t=document.createElement('link')).rel='stylesheet',t.href=d.EV_CSS_URL,document.head.appendChild(t),(t=document.createElement('link')).rel='stylesheet',t.href=d.EV_CSS_FOR_JS_URL,document.head.appendChild(t),heap=i.mapValues(heap,(function(e){return i.isFunction(e)?function(){}:e}))}));function be(){if('interactive'===document.readyState||'complete'===document.readyState)return Ee();document.addEventListener?he(document,'DOMContentLoaded',(function e(){document.removeEventListener('DOMContentLoaded',e,!1),Ee()})):document.attachEvent&&document.attachEvent('onreadystatechange',(function e(){'complete'===document.readyState&&(document.detachEvent('onreadystatechange',e),Ee())})),he(window,'load',Ee,!1)}function Ie(e,t){var r=function(n){ge(window,n.type,r),n!==e||de(n)||t(n)};he(window,e.type,r)}function Ce(e,t){var r=i.once(t);ct(r),fe(e),setTimeout(r,d.MAX_REQUEST_TIMEOUT_IN_MS),K=r}var Oe=[];function Ne(e){var t;if(t=(e=e||window.event).target,(!_.getIEVersion()||t===e.currentTarget)&&t&&t.tagName&&'click'===e.type&&(Tt(e),pe(e))){var r=t,n=function(e){var t=e.tagName.toLowerCase(),r=i.isString(e.type)?e.type.toLowerCase():e.type;return null!==le(e)&&('input'===t&&i.contains(['submit','image'],r)||'button'===t&&!i.contains(['reset','button'],r))},o=p.findParentElement(r,n),a=null!==o,u=void 0!==e.__impl4cf1e782hg__;a?Oe.push([e,o]):u||e.metaKey||e.shiftKey||e.ctrlKey||e.altKey||Ie(e,(function(){for(;r&&(void 0===r.tagName||'a'!==r.tagName.toLowerCase()||!r.href);)r=r.parentNode;var t=function(e){return e&&e.animVal&&i.isString(e.animVal)?e.animVal:e},n=function(e){return ce(e,'data-turbo-frame')||ce(e,'data-heap-turbo')},o;if(function(e){if('3001039959'===L&&window.webkit&&window.webkit.messageHandlers)return!1;if(!e||!e.href)return!1;if(n(e))return!1;var r=t(e.href),i=ce(e,'download'),o=new RegExp('^\\s*('+window.location.href.split(window.location.hash||'#')[0].replace(/[-/\\^$*+?.()|[\]{}]/g,'\\$&')+')?#').test(r),a=/^\s*javascript:/.test(r),u=/^\s*(mailto|tel):/.test(r)&&_.isSafari(),s='ar'===e.rel&&/\.usdz/i.test(r)&&_.isSafari();return!(e.isContentEditable||i||o||a||u||s)}(r)){var a=t(r.href),u=r.target||(document.getElementsByTagName('base')[0]||{}).target,s=u&&t(u).toLowerCase();s&&'_self'!==s?s.match(/^_(parent|top)$/i)&&Ce(e,(function(){window.open(a,u)})):Ce(e,(function(){document.location.href=a}))}}))}}function Pe(e){if(Tt(e=e||window.event),!_.getIEVersion()){var t=e.target,r=i.findLast(Oe,(function(e){var r;return le(e[1])===t}));if(Oe=[],r)var n=r[0],a=r[1];Ie(e,(function(){var r=i(a||{}).chain().pick(['formAction','formEnctype','formMethod','formNoValidate','formTarget','name','type','value']).pick((function(e,t){return ce(a,t)})).value(),u=(a||{}).tagName;'_blank'!==t.target&&Ce(e,(function(){try{var e={};try{var s=(o('input',t)||[]).filter((function(e){if(!e.inputmask)return!1;var t=e.inputmask._valueSet&&e.inputmask._valueGet&&e.inputmask.unmaskedvalue,r=e.inputmask.userOptions&&e.inputmask.userOptions.removeMaskOnSubmit||e.inputmask.opts&&e.inputmask.opts.removeMaskOnSubmit;return t&&r})),c=s.map((function(e){return e.inputmask._valueGet()}));s.forEach((function(e){e.inputmask._valueSet(e.inputmask.unmaskedvalue())})),setTimeout((function(){s.forEach((function(e,t){e.inputmask._valueSet(c[t])}))}),0)}catch(e){Ft('Error extracting values from form submission.',e)}if(a){var l=r.type,f=i.isString(l)?l.toLowerCase():l;if('input'===u.toLowerCase()&&'image'===f){var d=r.name,v=ve(n),h=document.createElement('input');h.type='hidden',h.name=d?d+'.x':'x',h.value=v[0];var g=document.createElement('input');g.type='hidden',g.name=d?d+'.y':'y',g.value=v[1],t.appendChild(h),t.appendChild(g)}else{var _=document.createElement('input');_.type='hidden',i.has(r,'name')&&(_.name=r.name);var m=r.value;i.isUndefined(m)||i.isNull(m)||''===m||(_.value=r.value),t.appendChild(_)}['action','enctype','method','noValidate','target'].forEach((function(n){var o='form'+i.capitalize(n);i.has(r,o)&&(e[n]=t[n],t[n]=r[o])}))}if('dialog'===t.method)try{var y=function(e){var t;return'dialog'===e.tagName.toLowerCase()},S=p.findParentElement(t,y),E=n.target.value;S&&S.close&&E&&S.close(E)}catch(e){M.log('Failed to close dialog for a form submission with method=dialog')}var w=document.createElement('form');document.body.appendChild(w),w.submit.apply(t),document.body.removeChild(w),i.extend(t,e),_&&t.removeChild(_),h&&g&&(t.removeChild(h),t.removeChild(g))}catch(e){Ft('Error preventing form submission.',e)}}))}))}}function ke(e){if(!i.isString(e))return'';var t=new RegExp('#.*');return e.replace(t,'')}function Re(e){var t,r;return a.getUserDefinedConfig().trackingServer+e}function Me(e,t,r){if('translate.googleusercontent.com'===e)throw Gt('load aborted on translate.googleusercontent.com'),new Error('Heap does not work on Google Translate');return'cc.bingj.com'!==e&&'webcache.googleusercontent.com'!==e&&'74.6.'!==e.slice(0,5)||(t=document.links[0].href,e=f.getHostname(t)),[e,t,r]}function Le(){return window.location.pathname+window.location.hash+window.location.search}function xe(e){var t=a.getUserDefinedConfig();try{var r=JSON.parse(e);return!r.cookiePath||r.cookiePath!==t.cookiePath}catch(e){return Ft('Error parsing cookie value.',e),!0}}function Ue(){for(var e=[T.getCookieName('ses_props'),T.getCookieName('id'),T.getCookieName('props')],t=0;td.MAX_COOKIE_SIZE_FOR_LANDING_PAGE}function De(e,t){var r,n=(T.getCookie(T.getCookieName(t))||'').length,i,o;return e=e||{},JSON.stringify(e).length-n}function Fe(e){function t(e,t){return''===t?void 0:t}T.setCookie(T.getCookieName('ses_props'),JSON.stringify(e,t),d.SESSION_COOKIE_EXPIRATION_IN_MS)}function Ge(e){T.setCookie(T.getCookieName('props'),JSON.stringify(e),d.USER_COOKIE_EXPIRATION_IN_MS)}function Ke(e){var t,r;try{r=T.getCookie(T.getCookieName(e)),t=JSON.parse(r)}catch(e){Ft('Error parsing cookie properties.',e)}return t||{}}function Be(){return Ke('props')}function Xe(){return Ke('ses_props')}function We(e){return re.test(e)}function qe(e){var t,r;try{r=JSON.parse(e)}catch(n){Ft('Error parsing idCookie.',n);try{r={userId:(t=e.split('.'))[0],pageviewId:t[1],sessionId:t[2],identity:null}}catch(e){Ft('Error splitting idCookie.',e),r=l.generateNewContainer(c.generateId)}}if(!We(r.userId)&&!i.isNull(r.userId))try{r=JSON.parse(r.userId+'.0"}')}catch(e){Ft('Error parsing container.userId',e),r=l.generateNewContainer(c.generateId)}return r.trackerVersion=d.TRACKER_VERSION,r}function $e(){var e,t;return t=(e=T.getCookie(T.getCookieName('id')))?qe(e):ee}function ze(){var e,t,r;e=T.getCookie(T.getCookieName('id'));var n=O.isHeapHandledWebview(),i=O.getWvIdContents();return e?(Y=2,t=qe(e),r=n?i.userId:t.userId,t.pageviewId=c.generateId(),T.getCookie(T.getCookieName('ses_props'))||(Y=1,t.sessionId=n?i.sessionId:c.generateId())):(Y=0,t={userId:r=n?i.userId:c.generateId(),pageviewId:c.generateId(),sessionId:n?i.sessionId:c.generateId(),identity:null}),t.trackerVersion=d.TRACKER_VERSION,ee=t,He(),je(t),C.identifyAurycSessionWithUserId(r),t}function Qe(){var e=$e();e&&null===e.userId&&null!=e.identity&&null==e.oldIdentity&&(e.oldIdentity=e.identity,je(e),gt(e))}function Je(e,t,r){var n,i;t&&(t=t?'&'+t:'',window._hpjsonpcallback=r,i=document.head||document.getElementsByTagName('head')[0]||document.documentElement,(n=document.createElement('script')).async='async',n.src=e+'?'+te+t+'&callback=_hpjsonpcallback',n.onload=n.onreadystatechange=function(){n.readyState&&!/loaded|complete/.test(n.readyState)||(n.onload=n.onreadystatechange=null,i&&n.parentNode&&i.removeChild(n),n=void 0)},i.insertBefore(n,i.firstChild))}function Ye(){return HEAP_EXPERIMENT.id&&HEAP_EXPERIMENT.file_type_loaded?'&ei='+HEAP_EXPERIMENT.id+'&et='+HEAP_EXPERIMENT.file_type_loaded:''}function Ze(){return HEAP_VERSION.heapJsVersion?'&hv='+HEAP_VERSION.heapJsVersion:''}function et(){return'&lv='+tt()+'&ld='+ie}function tt(){return HEAP_EXPERIMENT.name?HEAP_EXPERIMENT.name+' (v4 experiment)':HEAP_VERSION.heapJsVersion?HEAP_VERSION.heapJsVersion:'Unknown version (v4)'}function rt(){function e(e){var t=['z','t'];return Ve(e)&&(t.push('g','q'),Dt()),t}var t=Xe(),r;t&&!i.isUndefined(t.z)&&((e(t)||[]).forEach((function(e){try{delete t[e],delete W[e]}catch(r){t[e]=void 0}})),Fe(t))}function nt(e,t,r,n,i){if(n&&O.isHeapHandledWebview())rt();else if(e&&window.heap.loaded){var o=r+'?'+t+'&'+e+'&st='+(new Date).gt()+Ye()+et(),a=new Image(1,1);a.onload=function(){Z=0,n&&rt(),i&&i()},a.src=o,Z=(new Date).gt()+d.MAX_REQUEST_TIMEOUT_IN_MS}}function it(e,t){var r=O.isHeapHandledWebview(),n=O.getWvIdContents();(e.identity||e.userId)&&(e.pageviewId=c.generateId(),e.sessionId=r?n.sessionId:c.generateId(),gt(e),T.setCookie(T.getCookieName('ses_props'),{},-1),je(e),At(t))}function ot(){if(window.auryc&&!window._uxa){var e;if(J+d.SESSION_COOKIE_EXPIRATION_IN_MS<(new Date).gt())return void M.log('Session has already expired - not updating the last seen time');M.log('Updating last seen time for session replay event'),J=(new Date).gt()}}function at(e,t,r){var n=T.getCookie(T.getCookieName('id'));if(e[0]&&n){var i=qe(n),o=t,a;J+d.SESSION_COOKIE_EXPIRATION_IN_MS<(new Date).gt()?(C.startNewCSSession(),it(i),o=te):C.extendCSSession(),J=(new Date).gt(),nt(e[0],o,V,!1,r);for(var u=1;u0;)t=(r=e[0])[0],n=r.slice(1),window.heap[t].apply(this,n),e.splice(0,1)}var ht=function(e){var t,r;return t={a:L,u:e.userId,v:e.pageviewId,s:e.sessionId,i:e.identity,if:e.identityField,oi:e.oldIdentity,b:'web',tv:e.trackerVersion},(r=w.requestStringBuilder(!1,Ft)).addSingleEventProps(t),r.build(!1)};function gt(e){return st.pushEventMessageSet(),window.heap.userId=e.userId,window.heap.identity=e.identity,ee=e,te=ht(e)}function _t(){var e,t;return e=ke(docReferrerUrl),t={z:Y,g:v.redactAuthTokens(m.truncate(window.location.hash,d.MAX_SINGLE_REQUEST_VALUE_LENGTH)),h:m.truncate(window.location.pathname,d.MAX_SINGLE_REQUEST_VALUE_LENGTH),q:v.redactAuthTokens(m.truncate(window.location.search,d.MAX_SINGLE_REQUEST_VALUE_LENGTH)),d:m.truncate(window.location.hostname,d.MAX_SINGLE_REQUEST_VALUE_LENGTH),t:y.getSensitiveDataSafePageTitle(d.MAX_ATTRIBUTE_LENGTH),r:m.truncate(e,d.MAX_SINGLE_REQUEST_VALUE_LENGTH),e:m.truncate(f.getSearchKeyword(e),d.MAX_SINGLE_REQUEST_VALUE_LENGTH),us:m.truncate(f.getQueryParam('utm_source'),d.MAX_SINGLE_REQUEST_VALUE_LENGTH),um:m.truncate(f.getQueryParam('utm_medium'),d.MAX_SINGLE_REQUEST_VALUE_LENGTH),ut:m.truncate(f.getQueryParam('utm_term'),d.MAX_SINGLE_REQUEST_VALUE_LENGTH),uc:m.truncate(f.getQueryParam('utm_content'),d.MAX_SINGLE_REQUEST_VALUE_LENGTH),ua:m.truncate(f.getQueryParam('utm_campaign'),d.MAX_SINGLE_REQUEST_VALUE_LENGTH),k:w.encodePrimitiveKeysAndValuesAsArrayOfStrings(i.extend({},B)),ts:(new Date).gt(),pr:ae.pr}}function mt(e,t){var r,n;if(''!==e)try{return r=encodeURIComponent(t),(n=new RegExp('^'+e.replace(/\*/g,'.*')+'$')).test(t)||n.test(r)}catch(e){Ft('Error encoding pageview path.',e)}return!1}function yt(){X={}}function St(){var e,t;return t=window.location.pathname,e=we('pageview',t),Ae(e)}function Et(e){function t(e){return Ve(e)&&(delete e.g,Dt()),e}if(null!=Y&&(q=i.pick(e,['d','q','h','g','t','ts','pr']),Y<2)){var r=i.extend({z:Y},i.pick(e,d.SESSION_PARAMS));Fe(r=t(r))}W=Xe()}function wt(e){var t=w.requestStringBuilder(!1,Ft);return t.addSingleEventProps(e),t.build(!1)}function At(e){gt(ze()),B=Be(),addPageviewProperties(St());var t=i.extend({},_t(),e||{});Et(t),2===t.z&&(t.sp=w.encodePrimitiveKeysAndValuesAsArrayOfStrings(W));try{var r={hrfs:void 0,hsh:void 0,hsd:void 0,hsp:void 0,hss:void 0,hpd:t.d,hpp:t.h,hps:t.q,hph:t.g};0!==t.z&&1!==t.z||(r.hrfs=W.r,r.hsh=W.g,r.hsd=W.d,r.hsp=W.h,r.hss=W.q),C.sendHeapContext(r),oe||C.startCsDataCollection()}catch(e){Ft('Failed to initialize cs',e)}var n={props:t,type:d.MessageType.Metadata,idParams:te};st.queueEventMessage(n),oe=!0,A.sample(1e4,Gt,['secure',x]);try{h.sendSampledInlineFrameTelemetry()}catch(e){Ft('Failed to record inline frame telemetry',e)}try{S.sendRewriteAndHeapIgnoreTelemetry()}catch(e){Ft('Failed to record sensitive data API telemetry',e)}}function Tt(e){st.queueAutotrackEvent(e)}function bt(e){if(e&&'object'==typeof e&&!Array.isArray(e)){B=Be();var t=y.getNumNewUniqueKeys(e,B);t>0&&Gt('eventPropertiesTelemetry - added new properties',t),i.extend(B,e),Ge(B)}else _.canUseConsole()&&console.warn('addEventProperties was called with an invalid argument')}function It(e){B=Be(),Object.prototype.hasOwnProperty.call(B,e)&&Gt('eventPropertiesTelemetry - removed properties',1),delete B[e],Ge(B)}function Ct(){var e=Be(),t=Object.keys(e).length;t&&Gt('eventPropertiesTelemetry - removed properties',t),Ge(B={})}function Ot(){var e=T.getCookie(T.getCookieName('id')),t;return e?qe(e).sessionId:null}function Nt(){if(!O.isHeapHandledWebview()){var e=$e();if(l.isIdentified(e)){ut.flush(),Gt('resetIdentityTelemetry - identified user');var t=c.generateId();e.userId=t,e.identity=null,e.oldIdentity=null,e.identityField=null,e.isIdentified=null,gt(e),je(e),C.createAndIdentifyNewAurycSession(t),C.createNewCSUser(),it(e,{z:0})}else Gt('resetIdentityTelemetry - anonymous user')}}if(addPageviewProperties=function(e){i.extend(X,e)},window.heap||(window.heap=[]),_.isSupportedClient()||(window.heap={identify:function(){},addUserProperties:function(){},track:function(){},addEventProperties:function(){},removeEventProperty:function(){},clearEventProperties:function(){},resetIdentity:function(){},getSessionId:function(){},setEventProperties:function(){},unsetEventProperty:function(){},config:window.heap.config}),!heap.loaded&&_.isSupportedClient()){var Pt=a.getUserDefinedConfig();L=window._heapid?heap.appid=window._heapid:heap.appid,Qe(),T.cookiePathValid(Pt.cookiePath)&&Ue();var kt=heap,Rt=[],Mt=function(e){var t,r,n,o,a;if(z)if(i.isObject(e)){for(t in i.isArray(e)&&Gt('addUserProperties - array props argument'),r={},e)if(k.keyHasValue(e[t])&&k.isValidPropertyType(e[t])){var u=e[t];if(i.isArray(u)){if(!P.isValidArrayProperties(u))return;u=P.truncateAndFormatArray(u)}''!==u&&(r['_'+t]=u)}if(n=w.requestStringBuilder(!1,Ft),o=m.truncateKeysAndValuesOfObject(r,[],d.MAX_ATTRIBUTE_LENGTH),i.size(o)){n.addSingleEventProps(o),a=n.build(!1);var s=D+'?'+te+(a=a?'&'+a:'')+'&st='+(new Date).gt()+Ye()+et(),c;new Image(1,1).src=s}else Gt('addUserProperties - no valid props')}else Gt('addUserProperties - non-object props argument');else Rt.push(['addUserProperties',e])},Lt;if(window.heap={appid:L,config:Pt,loaded:!0,identify:function(){if(!O.isHeapHandledWebview())if(z){var e=arguments[1],t=void 0,r=0,n=arguments.length;Array.isArray(e)?(r=e[0],n-=1):t=e;var i={propsOrIdentity:arguments[0],identityField:t,retryCount:r,numArgs:n,getJsonp:Je,idParams:te,isIDv4Enabled:!1,addUserProperties:Mt};l.handleIdentify(i)}else{var o=arguments;Rt.push(['identify'].concat(Object.keys(arguments||{}).map((function(e){return o[e]}))))}},addUserProperties:Mt,track:function(e,t,r){var n={recordError:Ft,Buffer:st,globalEventProperties:B};g.handleCustomTrack(n,e,t,r)},addEventProperties:bt,removeEventProperty:It,clearEventProperties:Ct,resetIdentity:Nt,getSessionId:Ot,version:i.extend({},HEAP_VERSION),setEventProperties:bt,unsetEventProperty:It,getReplayId:C.getReplayId},vt(kt),he(window,'beforeunload',_e,!0),he(window,'message',me,!0),['mousemove','mouseup','mousedown','keydown','keypress','keyup','mouseenter','scroll','resize','dblclick','touchstart','touchmove','touchend','touchcancel','pointerover','pointerenter','pointerdown','pointermove','pointerup','pointercancel','pointerout','pointerleave'].forEach((function(e){try{he(window,e,i.throttle(ot,3e4,{leading:!0,trailing:!1}),!0)}catch(t){M.log('Adding session replay event listener failed for '+e)}})),_.getIEVersion()){var xt=function(){for(var e=document.getElementsByTagName('*'),t=0;t500?t.stack.substring(0,500):t.stack).replace(/\n/g,' '):t.name&&(r=t.name)),Bt({type:'error',cm:e,str:r})}function Gt(e,t){Bt({type:'data',cm:e,val:t||0===t?t:''})}function Kt(e){return F+"?a="+L+'&'+e+'&st='+(new Date).gt()+Ze()+Ye()+et()}function Bt(e){try{if(!i.isObject(e))return;var t=w.requestStringBuilder(!1,Ft);t.addSingleEventProps({te:w.encodePrimitiveKeysAndValuesAsArrayOfStrings(e)});var r,n=Kt(t.build(!1));ue(n)}catch(e){}}_.isIOSWebkitBrowser()&&(he(window,'blur',_e,!0),he(window,'pagehide',_e,!0),Ht(document),he(window,'DOMNodeInserted',(function(e){Ht(e.target)}),!1)),Vt(),lt()?ct():setTimeout(ct,d.ASYNC_SOURCE_LOAD_TIMEOUT_IN_MS)},function(e,t){var r=!1,n,i,o,a,u;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||Object.defineProperty(Element.prototype,'closest',{value:function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null},writable:!0,configurable:!0,enumerable:!0}),'function'!=typeof Object.assign&&Object.defineProperty(Object,'assign',{value:function e(t,r){'use strict';if(null==t)throw new TypeError('Cannot convert undefined or null to object');for(var n=Object(t),i=1;i>>0;if('function'!=typeof e)throw new TypeError('predicate must be a function');for(var n=arguments[1],i=0;i0?1:-1)*Math.floor(Math.abs(t)):t},a=Math.pow(2,53)-1,u=function(e){var t=o(e);return Math.min(Math.max(t,0),a)},function e(t){var r=this,n=Object(t);if(null==t)throw new TypeError('Array.from requires an array-like object - not null or undefined');var o=arguments.length>1?arguments[1]:void 0,a;if(void 0!==o){if(!i(o))throw new TypeError('Array.from: when provided, the second argument must be a function');arguments.length>2&&(a=arguments[2])}for(var s=u(n.length),c=i(r)?Object(new r(s)):new Array(s),l=0,f;l>>0;if(0===n)return!1;var i=0|t,o=Math.max(i>=0?i:n-Math.abs(i),0);function a(e,t){return e===t||'number'==typeof e&&'number'==typeof t&&isNaN(e)&&isNaN(t)}for(;o-1;);return r}function fe(e,t){for(var r=e.length;r--&&t.indexOf(e.charAt(r))>-1;);return r}function de(e,t,r){for(var n=e.length,i=t+(r?0:-1);r?i--:++i=9&&e<=13||32==e||160==e||5760==e||6158==e||e>=8192&&(e<=8202||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function ge(e,t){for(var r=-1,n=e.length,i=-1,o=[];++r=200?dr(t):null,s=t.length;u&&(o=dt,a=!1,t=u);e:for(;++ii?0:i+t),(r=void 0===r||r>i?i:+r||0)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n>>1,a=e[o];(r?a<=t:a2?r[i-2]:void 0,a=i>2?r[2]:void 0,u=i>1?r[i-1]:void 0;for('function'==typeof o?(o=or(o,u,5),i-=2):i-=(o='function'==typeof u?u:void 0)?1:0,a&&xr(r[0],r[1],a)&&(o=i<3?void 0:o,i=1);++n-1?r[o]:void 0}return xt(r,n,e)}}function gr(e){return function(t,r,n){var i={};return r=wr(r,n,3),Dt(t,(function(t,n,o){var a=r(t,n,o);t=e?t:a,i[n=e?a:n]=t})),i}}function _r(e,t){return function(r,n,i,o){var a=arguments.length<3;return'function'==typeof n&&void 0===o&&Pn(r)?e(r,n,i,a):Jt(r,wr(n,o,4),i,a,t)}}function mr(e,t,r,n,i,o,a,u,s,c){var l=128&t,f=1&t,d=2&t,p=8&t,v=4&t,h=16&t,g=d?void 0:pr(e);function _(){for(var m=arguments.length,y=m,S=Array(m);y--;)S[y]=arguments[y];if(n&&(S=ur(S,n,i)),o&&(S=sr(S,o,a)),p||h){var E=_.placeholder,w=ge(S,E);if((m-=w.length)s))return!1;for(;++u-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Vr(e){return e==e&&!Mn(e)}function Dr(e,t){e=$r(e);for(var r=-1,n=t.length,i={};++r0){if(++Br>=150)return e}else Br=0;return Yt(e,t)}),Br,Xr;function Wr(e){for(var t=Gn(e),r=t.length,n=r&&e.length,i=!!n&&Hr(n)&&(Pn(e)||Nn(e)||Un(e)),o=-1,a=[];++o-1:!!i&&br(e,t,r)>-1}var yn=_r(Et,kt);function Sn(e){var t=e?Ir(e):0;return Hr(t)?t:Fn(e).length}var En=Fe||function(){return(new Date).getTime()};function wn(e,t){var r;if('function'!=typeof t){if('function'!=typeof e)throw new TypeError(m);var n=e;e=t,t=n}return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=void 0),r}}function An(e,t,r){var n,i,o,a,u,s,c,l=0,f=!1,d=!0;if('function'!=typeof e)throw new TypeError(m);if(t=t<0?0:+t||0,!0===r){var p=!0;d=!1}else Mn(r)&&(p=!!r.leading,f='maxWait'in r&&Ve(+r.maxWait||0,t),d='trailing'in r?!!r.trailing:d);function v(){s&&clearTimeout(s),i&&clearTimeout(i),l=0,i=s=c=void 0}function h(t,r){r&&clearTimeout(r),i=s=c=void 0,t&&(l=En(),o=e.apply(u,n),s||i||(n=u=void 0))}function g(){var e=t-(En()-a);e<=0||e>t?h(c,i):s=setTimeout(g,e)}function _(){h(d,s)}function y(){if(n=arguments,a=En(),u=this,c=d&&(s||!p),!1===f)var r=p&&!s;else{i||p||(l=a);var v=f-(a-l),h=v<=0||v>f;h?(i&&(i=clearTimeout(i)),l=a,o=e.apply(u,n)):i||(i=setTimeout(_,v))}return h&&s?s=clearTimeout(s):s||t===f||(s=setTimeout(g,t)),r&&(h=!0,o=e.apply(u,n)),!h||s||i||(n=u=void 0),o}return y.cancel=v,y}function Tn(e,t){if('function'!=typeof e||t&&'function'!=typeof t)throw new TypeError(m);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a),a};return r.cache=new Tn.Cache,r}function bn(e){return wn(2,e)}function In(e,t){if('function'!=typeof e)throw new TypeError(m);return t=Ve(void 0===t?e.length-1:+t||0,0),function(){for(var r=arguments,n=-1,i=Ve(r.length-t,0),o=Array(i);++nt}function Nn(e){return ve(e)&&Mr(e)&&Te.call(e,'callee')&&!Oe.call(e,'callee')}var Pn=Ue||function(e){return ve(e)&&Hr(e.length)&&be.call(e)==E};function kn(e){return'number'==typeof e&&je(e)}function Rn(e){return Mn(e)&&be.call(e)==b}function Mn(e){var t=typeof e;return!!e&&('object'==t||'function'==t)}function Ln(e){return null!=e&&(Rn(e)?Ie.test(Ae.call(e)):ve(e)&&(pe(e)?Ie:$).test(e))}function xn(e){return null===e}function Un(e){return'string'==typeof e||ve(e)&&be.call(e)==k}function jn(e){return ve(e)&&Hr(e.length)&&!!J[be.call(e)]}function Hn(e){return void 0===e}var Vn=cr((function(e,t,r){return r?Tt(e,t,r):bt(e,t)}));function Dn(e,t){if(null==e)return!1;var r=Te.call(e,t);if(!r&&!Ur(t)){if(null==(e=1==(t=zr(t)).length?e:Kt(e,Zt(t,0,-1))))return!1;t=nn(t),r=Te.call(e,t)}return r||Hr(e.length)&&Lr(t,e.length)&&(Pn(e)||Nn(e)||Un(e))}var Fn=He?function(e){var t=null==e?void 0:e.constructor;return'function'==typeof t&&t.prototype===e||('function'==typeof e?Ye.support.enumPrototypes:Mr(e))?Wr(e):Mn(e)?He(e):[]}:Wr;function Gn(e){if(null==e)return[];Mn(e)||(e=Object(e));var t=e.length,r=Ye.support;t=t&&Hr(t)&&(Pn(e)||Nn(e)||Un(e))&&t||0;for(var n=e.constructor,i=-1,o=Rn(n)&&n.prototype||Ee,a=o===e,u=Array(t),s=t>0,c=r.enumErrorProps&&(e===Se||e instanceof Error),l=r.enumPrototypes&&Rn(e);++i0||t<0)?new rt(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),void 0!==t&&(r=(t=+t||0)<0?r.dropRight(-t):r.take(t-e)),r)},rt.prototype.takeRightWhile=function(e,t){return this.reverse().takeWhile(e,t).reverse()},rt.prototype.toArray=function(){return this.take(Ke)},Dt(rt.prototype,(function(e,t){var r=/^(?:filter|map|reject)|While$/.test(t),n=/^(?:first|last)$/.test(t),i=Ye[n?'take'+('last'==t?'Right':''):t];i&&(Ye.prototype[t]=function(){var t=n?[1]:arguments,o=this.__chain__,a=this.__wrapped__,u=!!this.__actions__.length,s=a instanceof rt,c=t[0],l=s||Pn(a);l&&r&&'function'==typeof c&&1!=c.length&&(s=l=!1);var f=function(e){return n&&o?i(e,1)[0]:i.apply(void 0,St([e],t))},d={func:sn,args:[f],thisArg:void 0},p=s&&!u;if(n&&!o)return p?((a=a.clone()).__actions__.push(d),e.call(a)):i.call(void 0,this.value())[0];if(!n&&l){a=p?a:new rt(this);var v=e.apply(a,t);return v.__actions__.push(d),new et(v,o)}return this.thru(f)})})),gt(['join','pop','push','replace','shift','sort','splice','split','unshift'],(function(e){var t=(/^(?:replace|split)$/.test(e)?we:ye)[e],r=/^(?:push|sort|unshift)$/.test(e)?'tap':'thru',n=!tt.spliceObjects&&/^(?:pop|shift|splice)$/.test(e),i=/^(?:join|pop|replace|shift)$/.test(e),o=n?function(){var e=t.apply(this,arguments);return 0===this.length&&delete this[0],e}:t;Ye.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?o.apply(this.value(),e):this[r]((function(t){return o.apply(t,e)}))}})),Dt(rt.prototype,(function(e,t){var r=Ye[t];if(r){var n=r.name+'',i;(ze[n]||(ze[n]=[])).push({name:t,func:r})}})),ze[mr(void 0,2).name]=[{name:'wrapper',func:void 0}],rt.prototype.clone=nt,rt.prototype.reverse=it,rt.prototype.value=ot,Ye.prototype.chain=cn,Ye.prototype.commit=ln,Ye.prototype.concat=fn,Ye.prototype.plant=dn,Ye.prototype.reverse=pn,Ye.prototype.toString=vn,Ye.prototype.run=Ye.prototype.toJSON=Ye.prototype.valueOf=Ye.prototype.value=hn,Ye.prototype.collect=Ye.prototype.map,Ye.prototype.head=Ye.prototype.first,Ye.prototype.select=Ye.prototype.filter,Ye.prototype.tail=Ye.prototype.rest,ee&&te&&oe&&((te.exports=Ye)._=Ye)}).call(this)}).call(this,r(19)(e),r(20))},function(e,t){var r=!1;e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var r=!1,n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,r){var n=!1,i,o,a;i='qwery',o=this,a=function(){var e=document,t=e.documentElement,r='getElementsByClassName',n='getElementsByTagName',i='querySelectorAll',o='useNativeQSA',a='tagName',u='nodeType',s,c=/#([\w\-]+)/,l=/\.[\w\-]+/g,f=/^#([\w\-]+)$/,d,p,v=/^([\w]+)?\.([\w\-]+)$/,h=/(^|,)\s*[>~+]/,g=/^\s+|\s*([,\s\+\~>]|$)\s*/g,_=/[\s\>\+\~]/,m=/(?![\s\w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^'"]*\]|[\s\w\+\-]*\))/,y=/([.*+?\^=!:${}()|\[\]\/\\])/g,S=/^(\*|[a-z0-9]+)?(?:([\.\#]+[\w\-\.#]+)?)/,E=/\[([\w\-]+)(?:([\|\^\$\*\~]?\=)['"]?([ \w\-\/\?\&\=\:\.\(\)\!,@#%<>\{\}\$\*\^]+)["']?)?\]/,w=/:([\w\-]+)(\(['"]?([^()]+)['"]?\))?/,A=new RegExp(f.source+'|'+/^([\w\-]+)$/.source+'|'+/^\.([\w\-]+)$/.source),T=new RegExp('('+_.source+')'+m.source,'g'),b=new RegExp(_.source+m.source),I=new RegExp(S.source+'('+E.source+")?("+w.source+')?'),C={' ':function(e){return e&&e!==t&&e.parentNode},'>':function(e,t){return e&&e.parentNode==t.parentNode&&e.parentNode},'~':function(e){return e&&e.previousSibling},'+':function(e,t,r,n){return!!e&&(r=j(e))&&(n=j(t))&&r==n&&r}};function O(){this.c={}}O.prototype={g:function(e){return this.c[e]||void 0},s:function(e,t,r){return t=r?new RegExp(t):t,this.c[e]=t}};var N=new O,P=new O,k=new O,R=new O;function M(e){return N.g(e)||N.s(e,'(^|\\s+)'+e+'(\\s+|$)',1)}function L(e,t){for(var r=0,n=e.length;rx')&&'#x'!=oe.firstChild.getAttribute('href')?function(e,t){return'class'===t?e.className:'href'===t||'src'===t?e.getAttribute(t,2):e.getAttribute(t)}:function(e,t){return e.getAttribute(t)},ee=!!e[r],te=e.querySelector&&e[i],re=function(e,t){var r=[],n,o;try{return 9!==t[u]&&h.test(e)?(L(n=e.split(','),J(t,(function(e,t){1==(o=e[i](t)).length?r[r.length]=o.item(0):o.length&&(r=r.concat(U(o)))}))),n.length>1&&r.length>1?W(r):r):U(t[i](e))}catch(e){}return ne(e,t)},ne=function(e,t){var r=[],i,o,a,s,c,l;if(o=(e=e.replace(g,'$1')).match(v)){for(c=M(o[2]),i=t[n](o[1]||'*'),a=0,s=i.length;a1&&r.length>1?W(r):r},ie=function(e){void 0!==e[o]&&(s=e[o]&&te?re:ne)},oe;return ie({useNativeQSA:!0}),Q.configure=ie,Q.uniq=W,Q.is=K,Q.pseudos={},Q},e.exports?e.exports=a():o[i]=a()},function(e,t,r){var n=!1,i=r(23),o,a,u,s;a=/^([^#.[].*?)?(#.+?)?((?:\..+?)*)((?:\[.*?\])*)$/,u=/\s+(?=(?:(?:[^[\]]*[[\]]){2})*[^[\]]*$)/,o=/,+(?=(?:(?:[^[\]]*[[\]]){2})*[^[\]]*$)/,s=/.*@.*;.*/,e.exports=function(e){return{_isSubsetOfSuperset:function(t,r){if(!e.isArray(t)||!e.isArray(r))return!1;for(var n=0;n1e4&&(this._parsedCssParts={})),null==(c=this._parsedHiers[r])&&(c=this._parsedHiers[r]=r.split('|').map((function(e){return e.split(';').join('').slice(1)})).map(this.cssToObj),e.size(this._parsedHiers)>1e4&&(this._parsedHiers={})),p=0,f=0,d=c.length;f2)n('handleIdentify retry count exceeded');else{var f={identityObject:i,getJsonp:u},d={identity:i,idParams:s},p={identity:i,identityField:o,idParams:s};if(1===a&&t.isObject(i))this.handleIdentifyV1(f);else if(1!==a||!t.isString(i)&&!t.isFinite(i)||''===i)if(2===a&&this.validIdentifyV4Args(i,o)){if(isIDv4Enabled)r('IDv4 called - App is whitelisted. Using IDv4'),this.handleIdentifyV4(p);else if(r('IDv4 called - App is not whitelisted. Using IDv3'),this.handleIdentifyV3(d),o){var v={};v[o]=i,c(v)}}else;else this.handleIdentifyV3(d,l)}},handleIdentifyV1:function(e){var r=e.identityObject,o=e.getJsonp,l=d(),f=a.requestStringBuilder(!1,n);try{if(this._isIdentifyV1CallObviouslyWrong(r)){var p=t.isUndefined(r.email)?r.handle:r.email;return void this._handleObviouslyWrongIdentifyCall(p)}}catch(e){this._recordObviouslyWrongIdentifyFailure(e)}var v=i.truncateKeysAndValuesOfObject(r,l.maxAttrLength);v=i.truncateKeysToSingleCharacter(v,['handle','email']),f.addSingleEventProps(v);var h=f.build(!1),g=this;o(l.identifyV1Url,h,(function(e){if(e&&e.uid){var t=u();t.userId=e.uid,s(t),c(t),g._setIdentity(null,null,t)}}))},handleIdentifyV3:function(e,t){var r=e.identity,o=e.idParams,s=t||0,c=d(),p=r+'';try{if(this._isObviouslyWrongIdentifyCall(p))return void this._handleObviouslyWrongIdentifyCall(p)}catch(e){this._recordObviouslyWrongIdentifyFailure(e)}var v=i.truncate(p,c.maxAttrLength),h=u();if(this.isIdentified(h)&&h.identity!=v&&''!=v)l(),window.heap.identify(v,[s+1]);else if(''!=v){o=this._setIdentity(v,null,h);var g=a.requestStringBuilder(!1,n);g.addSingleEventProps({z:'0'});var _=g.build(!1);f(_,o,c.identifyV3Url)}},handleIdentifyV4:function(e){var t=e.identity,r=e.identityField,o=e.idParams,s=d(),c=t+'';try{if(this._isObviouslyWrongIdentifyCall(c))return void this._handleObviouslyWrongIdentifyCall(c)}catch(e){this._recordObviouslyWrongIdentifyFailure(e)}r=null==r?'':r+'';var l=i.truncate(c,s.maxAttrLength),p=i.truncate(r,s.maxAttrLength),v=u();o=this._setIdentity(l,p,v);var h=a.requestStringBuilder(!1,n);h.addSingleEventProps({z:'0'}),e=h.build(!1),f(e,o,s.identifyV4Url)},_recordObviouslyWrongIdentifyFailure:function(e){n('Failed to check for obviously wrong identify call',e)},_isObviouslyWrongIdentifyCall:function(e,r){var n=e+'',i;t.isUndefined(r)&&(r=this.BLACKLISTED_IDENTIFY_TOKENS);for(var o=0;o-1};t._isSupportedSource=y;var S=function(e,t){return-1!==e.toLocaleLowerCase().indexOf(f)?f:t};t._getTrackEventSource=S;var E=function(e,r,n,i){var o=e.recordError,a=e.Buffer,u=e.globalEventProperties,s;try{s=(0,t._receiveTrackState)(r,n,i)}catch(e){return void o(e.message,e)}var c=s.validatedTrackEventName,l=s.validatedTrackEventProps,f=(0,t._getTrackEventSource)(c,s.validatedTrackEventSource),d=m(u,c),p=(0,t._isSupportedSource)(f)?_(d,l,f):g(d,l);a.queueEventMessage(p)};t.handleCustomTrack=E},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceAllOccurrences=t._escapeRegExp=void 0;var n=function(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,'\\$&')};t._escapeRegExp=n;var i=function(e){return e.originalText.replace(new RegExp((0,t._escapeRegExp)(e.substringToReplace),'g'),e.replacementText)};t.replaceAllOccurrences=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapper=void 0;var n=r(4),i=r(13),o=r(1),a=1e5,u=function(e,t){var r=function(){var e=(0,i.makeHeapIgnoreSelector)(),t;return!!document.querySelector(e)},a=function(){var e,r=t();return(0,o.isFunction)(null===(e=null==r?void 0:r.userConfig)||void 0===e?void 0:e.rewrite)},u=function(){var e,r=t();return!!(null===(e=null==r?void 0:r.userConfig)||void 0===e?void 0:e.disableTextCapture)},s=function(){r()&&(0,n.sample)(1e5,e,['heap-ignore-present',1])},c=function(){a()&&(0,n.sample)(1e5,e,['rewrite-implemented',1])},l=function(){(0,i.isTitleRedacted)()&&(0,n.sample)(1e5,e,['page-title-redacted',1])},f=function(){var t=u().toString();(0,n.sample)(1e5,e,['disable-text-capture',t])},d;return{sendRewriteAndHeapIgnoreTelemetry:function(){c(),s(),l(),f()}}};t.wrapper=u},function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.wrapper=t.getDocument=void 0;var i=function(){return document};t.getDocument=i;var o=function(e){var r=function(e){return e.validity.valid?e.value:null},i=function(e){var r,i,o="input[type=checkbox][name=".concat(e.name,"]"),a=(0,t.getDocument)().querySelectorAll(o),u=Array.from(a);if(u.length>1){var s=[];try{for(var c=n(u),l=c.next();!l.done;l=c.next()){var f=l.value;f instanceof HTMLInputElement&&f.checked&&s.push(f.value)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return s.join(',')}return e.checked?'true':'false'},o=function(e){if(''!==e.id){var r=(0,t.getDocument)().querySelector("label#".concat(e.id)),n=null==r?void 0:r.textContent;if(n)return n}return e.value},a=function(e){for(var r=(0,t.getDocument)().querySelectorAll("input[type=radio][name=".concat(e.name,"]")),n=0;n64?t.slice(0,64):t},s=function(e){var t=e.options[e.selectedIndex],r;return t.value?new RegExp(/^[^\w]/).test(t.value)&&t.value===t.innerHTML?null:t.value:null},c=function(e){return e.value},l=function(e){switch(e.tagName.toLowerCase()){case'input':var t=e;switch(t.type){case'date':case'email':return r(t);case'password':return'****';case'checkbox':return i(t);case'radio':return a(t);default:return c(t)}case'textarea':var n;return u(e);case'select':var o;return s(e);default:return'N/A'}};return{getValidatedInputValue:r,getCheckboxInputValue:i,getRadioInputValue:a,getTextAreaValue:u,getSelectElementValue:s,getDefaultInputValue:c,getInputElementValue:l}};t.wrapper=o},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.isSameSiteNoneIncompatible=t.shouldSendSameSiteNone=t.getOptimalSameSiteCookieValue=t.getUserAgent=t.SameSiteValue=void 0,function(e){e.None="None",e.Lax="Lax"}(n=t.SameSiteValue||(t.SameSiteValue={}));var i=function(){return navigator.userAgent};t.getUserAgent=i;var o=function(e){return(0,t.isSameSiteNoneIncompatible)()?null:e?n.None:n.Lax};t.getOptimalSameSiteCookieValue=o;var a=function(){return!(0,t.isSameSiteNoneIncompatible)()};t.shouldSendSameSiteNone=a;var u=function(){return s()||c()};t.isSameSiteNoneIncompatible=u;var s=function(){return l(12)||f(10,14)&&(d()||p())},c=function(){return g()?!_(12,13,2):v()&&h(51)&&!h(67)},l=function(e){var r=/\(iP.+; CPU .*OS (\d+)[_\d]*.*\) AppleWebKit\//,n=(0,t.getUserAgent)().match(r),i;return!!n&&parseInt(n[0],10)===e},f=function(e,r){var n=/\(Macintosh;.*Mac OS X (\d+)_(\d+)[_\d]*.*\) AppleWebKit\//,i=(0,t.getUserAgent)().match(n);if(!i)return!1;var o=parseInt(i[0],10),a=parseInt(i[1],10);return o===e&&a===r},d=function(){var e;return/Version\/.* Safari/.test((0,t.getUserAgent)())&&!v()},p=function(){var e;return/^Mozilla\/[.\d]+ \(Macintosh;.*Mac OS X [_\d]+\) AppleWebKit\/[.\d]+ \(KHTML, like Gecko\)$/.test((0,t.getUserAgent)())},v=function(){var e;return/Chrom(e|ium)/.test((0,t.getUserAgent)())},h=function(e){var r=/Chrom[^ /]+\/(\d+)[.\d]* /,n=(0,t.getUserAgent)().match(r),i=0;return n&&(i=parseInt(n[0],10)),i>=e},g=function(){var e;return/UCBrowser\//.test((0,t.getUserAgent)())},_=function(e,r,n){var i=/UCBrowser\/(\d+)\.(\d+)\.(\d+)[.\d]* /,o=(0,t.getUserAgent)().match(i);if(!o)return!1;if(0===o.length)return!1;var a=parseInt(o[0],10),u=parseInt(o[1],10),s=parseInt(o[2],10);return a!==e?a>e:u!==r?u>r:s>=n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHighEntropyValuesAsParams=void 0;var n=function(){var e,t=['fullVersionList','platformVersion','model'];return null===(e=navigator.userAgentData)||void 0===e?void 0:e.getHighEntropyValues(t).then((function(e){var t,r=e.model,n=e.platformVersion,i='',o=/Chromium/.test(navigator.userAgent)?'Chromium':'Chrome';return null===(t=e.fullVersionList)||void 0===t||t.forEach((function(e){e.brand.indexOf(o)>-1&&(i=e.version)})),{ubv:i,upv:n,umo:r}}))};t.getHighEntropyValuesAsParams=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapper=void 0;var n=r(14),i=function(e){var t=e.getConfig,r=e.recordError,i=(0,n.wrapper)({documentAlias:document,getConfig:t,recordError:r}),o=function(){var e;return!!a()},a=function(){var e=i.getCookieName('wv_id'),t=i.getCookie(e);if(!t)return null;try{var r=JSON.parse(t);return u(r)?r:null}catch(e){return null}},u=function(e){var t,r;return'sessionId'in e&&'userId'in e&&('string'==typeof e.sessionId&&!isNaN(+e.sessionId)&&'string'==typeof e.userId&&!isNaN(+e.userId))},s;return{isHeapHandledWebview:o,getWvIdContents:a,extendSessionHandler:function(e,t){var r,n,i,o,a={type:'heapjs-extend-session',sessionId:t,expirationDate:e};null===(r=window.HeapAndroidBridge)||void 0===r||r.postMessage(JSON.stringify(a)),null===(o=null===(i=null===(n=window.webkit)||void 0===n?void 0:n.messageHandlers)||void 0===i?void 0:i.HeapSwiftBridge)||void 0===o||o.postMessage(a)}}};t.wrapper=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isRageClick=t.resetRageClicks=void 0;var n=5,i=100,o=5,a=3,u=[],s=function(e,t){var r=u.length-1,n;if((u[r].time.getTime()-u[r-e+1].time.getTime())/1e3>t)return!1;for(var i=0,o=r-e+1;oi&&(i=s),s>100)return!1}return!0},c=function(){u.shift()},l=function(){u=[]};t.resetRageClicks=l;var f=function(e){if(u.push({coordinates:e,time:new Date}),u.length>5&&u.splice(0,u.length-5),u.length>=5){var t=s(5,3);return c(),t}return!1};t.isRageClick=f}]); \ No newline at end of file diff --git a/Instructions/day 1_files/heap.dynamic.js.gz b/Instructions/day 1_files/heap.dynamic.js.gz new file mode 100644 index 0000000..6373c75 --- /dev/null +++ b/Instructions/day 1_files/heap.dynamic.js.gz @@ -0,0 +1,3 @@ +window['heapDeps'] = ["/integrations/vendor/commons.59560acdd69ed701c941.js"];window['heapLoader'] = function() { return window.heapIntegration=function(e){function t(t){for(var r,a,p=t[0],c=t[1],u=t[2],l=0,s=[];l');function f(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(null==r)continue;if(i.date(r)){t[n]=p(r);continue}if(i.bool(r)){t[n]=r;continue}if(i.number(r)){t[n]=r;continue}if("[object Array]"===c.call(r)){t=a(t,o(n,r));continue}if("[object Object]"!==c.call(r)){t[n]=r.toString();continue}t=a(t,o(n,r))}function o(e,t){var n={};n[e]=t;var r=function(e,t){var n=t||{},r=n.delimiter||".",o=n.maxDepth,i=1,a={};function p(e,t){Object.keys(e).forEach((function(c){var u=e[c],f=n.safe&&Array.isArray(u),l=Object.prototype.toString.call(u),s="[object Object]"===l||"[object Array]"===l,d=t?t+r+c:c;if(n.maxDepth||(o=i+1),!f&&s&&Object.keys(u).length&&ii.map(i=>d[i]); +function _mergeNamespaces(e,V){for(var J=0;J$[ee]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const V=document.createElement("link").relList;if(V&&V.supports&&V.supports("modulepreload"))return;for(const ee of document.querySelectorAll('link[rel="modulepreload"]'))$(ee);new MutationObserver(ee=>{for(const te of ee)if(te.type==="childList")for(const re of te.addedNodes)re.tagName==="LINK"&&re.rel==="modulepreload"&&$(re)}).observe(document,{childList:!0,subtree:!0});function J(ee){const te={};return ee.integrity&&(te.integrity=ee.integrity),ee.referrerPolicy&&(te.referrerPolicy=ee.referrerPolicy),ee.crossOrigin==="use-credentials"?te.credentials="include":ee.crossOrigin==="anonymous"?te.credentials="omit":te.credentials="same-origin",te}function $(ee){if(ee.ep)return;ee.ep=!0;const te=J(ee);fetch(ee.href,te)}})();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var V=e.default;if(typeof V=="function"){var J=function $(){return this instanceof $?Reflect.construct(V,arguments,this.constructor):V.apply(this,arguments)};J.prototype=V.prototype}else J={};return Object.defineProperty(J,"__esModule",{value:!0}),Object.keys(e).forEach(function($){var ee=Object.getOwnPropertyDescriptor(e,$);Object.defineProperty(J,$,ee.get?ee:{enumerable:!0,get:function(){return e[$]}})}),J}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var hasRequiredReact_production_min;function requireReact_production_min(){if(hasRequiredReact_production_min)return react_production_min;hasRequiredReact_production_min=1;var e=Symbol.for("react.element"),V=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),te=Symbol.for("react.provider"),re=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),ae=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),ce=Symbol.iterator;function de(He){return He===null||typeof He!="object"?null:(He=ce&&He[ce]||He["@@iterator"],typeof He=="function"?He:null)}var me={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},he=Object.assign,ge={};function _e(He,pt,Tt){this.props=He,this.context=pt,this.refs=ge,this.updater=Tt||me}_e.prototype.isReactComponent={},_e.prototype.setState=function(He,pt){if(typeof He!="object"&&typeof He!="function"&&He!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,He,pt,"setState")},_e.prototype.forceUpdate=function(He){this.updater.enqueueForceUpdate(this,He,"forceUpdate")};function be(){}be.prototype=_e.prototype;function Ee(He,pt,Tt){this.props=He,this.context=pt,this.refs=ge,this.updater=Tt||me}var Pe=Ee.prototype=new be;Pe.constructor=Ee,he(Pe,_e.prototype),Pe.isPureReactComponent=!0;var $e=Array.isArray,Re=Object.prototype.hasOwnProperty,Le={current:null},Ie={key:!0,ref:!0,__self:!0,__source:!0};function Be(He,pt,Tt){var jt,Bt={},zt=null,Wt=null;if(pt!=null)for(jt in pt.ref!==void 0&&(Wt=pt.ref),pt.key!==void 0&&(zt=""+pt.key),pt)Re.call(pt,jt)&&!Ie.hasOwnProperty(jt)&&(Bt[jt]=pt[jt]);var qt=arguments.length-2;if(qt===1)Bt.children=Tt;else if(1>>1,pt=Ze[He];if(0>>1;Heee(Bt,_t))ztee(Wt,Bt)?(Ze[He]=Wt,Ze[zt]=_t,He=zt):(Ze[He]=Bt,Ze[jt]=_t,He=jt);else if(ztee(Wt,_t))Ze[He]=Wt,Ze[zt]=_t,He=zt;else break e}}return ot}function ee(Ze,ot){var _t=Ze.sortIndex-ot.sortIndex;return _t!==0?_t:Ze.id-ot.id}if(typeof performance=="object"&&typeof performance.now=="function"){var te=performance;e.unstable_now=function(){return te.now()}}else{var re=Date,ne=re.now();e.unstable_now=function(){return re.now()-ne}}var ie=[],ae=[],ue=1,ce=null,de=3,me=!1,he=!1,ge=!1,_e=typeof setTimeout=="function"?setTimeout:null,be=typeof clearTimeout=="function"?clearTimeout:null,Ee=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Pe(Ze){for(var ot=J(ae);ot!==null;){if(ot.callback===null)$(ae);else if(ot.startTime<=Ze)$(ae),ot.sortIndex=ot.expirationTime,V(ie,ot);else break;ot=J(ae)}}function $e(Ze){if(ge=!1,Pe(Ze),!he)if(J(ie)!==null)he=!0,Xe(Re);else{var ot=J(ae);ot!==null&&dt($e,ot.startTime-Ze)}}function Re(Ze,ot){he=!1,ge&&(ge=!1,be(Be),Be=-1),me=!0;var _t=de;try{for(Pe(ot),ce=J(ie);ce!==null&&(!(ce.expirationTime>ot)||Ze&&!Je());){var He=ce.callback;if(typeof He=="function"){ce.callback=null,de=ce.priorityLevel;var pt=He(ce.expirationTime<=ot);ot=e.unstable_now(),typeof pt=="function"?ce.callback=pt:ce===J(ie)&&$(ie),Pe(ot)}else $(ie);ce=J(ie)}if(ce!==null)var Tt=!0;else{var jt=J(ae);jt!==null&&dt($e,jt.startTime-ot),Tt=!1}return Tt}finally{ce=null,de=_t,me=!1}}var Le=!1,Ie=null,Be=-1,qe=5,Ge=-1;function Je(){return!(e.unstable_now()-GeZe||125He?(Ze.sortIndex=_t,V(ae,Ze),J(ie)===null&&Ze===J(ae)&&(ge?(be(Be),Be=-1):ge=!0,dt($e,_t-He))):(Ze.sortIndex=pt,V(ie,Ze),he||me||(he=!0,Xe(Re))),Ze},e.unstable_shouldYield=Je,e.unstable_wrapCallback=function(Ze){var ot=de;return function(){var _t=de;de=ot;try{return Ze.apply(this,arguments)}finally{de=_t}}}}(scheduler_production_min)),scheduler_production_min}var hasRequiredScheduler;function requireScheduler(){return hasRequiredScheduler||(hasRequiredScheduler=1,scheduler$1.exports=requireScheduler_production_min()),scheduler$1.exports}/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var hasRequiredReactDom_production_min;function requireReactDom_production_min(){if(hasRequiredReactDom_production_min)return reactDom_production_min;hasRequiredReactDom_production_min=1;var e=requireReact(),V=requireScheduler();function J(oe){for(var se="https://reactjs.org/docs/error-decoder.html?invariant="+oe,fe=1;fe"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ie=Object.prototype.hasOwnProperty,ae=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ue={},ce={};function de(oe){return ie.call(ce,oe)?!0:ie.call(ue,oe)?!1:ae.test(oe)?ce[oe]=!0:(ue[oe]=!0,!1)}function me(oe,se,fe,ye){if(fe!==null&&fe.type===0)return!1;switch(typeof se){case"function":case"symbol":return!0;case"boolean":return ye?!1:fe!==null?!fe.acceptsBooleans:(oe=oe.toLowerCase().slice(0,5),oe!=="data-"&&oe!=="aria-");default:return!1}}function he(oe,se,fe,ye){if(se===null||typeof se>"u"||me(oe,se,fe,ye))return!0;if(ye)return!1;if(fe!==null)switch(fe.type){case 3:return!se;case 4:return se===!1;case 5:return isNaN(se);case 6:return isNaN(se)||1>se}return!1}function ge(oe,se,fe,ye,Se,Oe,Fe){this.acceptsBooleans=se===2||se===3||se===4,this.attributeName=ye,this.attributeNamespace=Se,this.mustUseProperty=fe,this.propertyName=oe,this.type=se,this.sanitizeURL=Oe,this.removeEmptyString=Fe}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(oe){_e[oe]=new ge(oe,0,!1,oe,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(oe){var se=oe[0];_e[se]=new ge(se,1,!1,oe[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(oe){_e[oe]=new ge(oe,2,!1,oe.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(oe){_e[oe]=new ge(oe,2,!1,oe,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(oe){_e[oe]=new ge(oe,3,!1,oe.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(oe){_e[oe]=new ge(oe,3,!0,oe,null,!1,!1)}),["capture","download"].forEach(function(oe){_e[oe]=new ge(oe,4,!1,oe,null,!1,!1)}),["cols","rows","size","span"].forEach(function(oe){_e[oe]=new ge(oe,6,!1,oe,null,!1,!1)}),["rowSpan","start"].forEach(function(oe){_e[oe]=new ge(oe,5,!1,oe.toLowerCase(),null,!1,!1)});var be=/[\-:]([a-z])/g;function Ee(oe){return oe[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(oe){var se=oe.replace(be,Ee);_e[se]=new ge(se,1,!1,oe,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(oe){var se=oe.replace(be,Ee);_e[se]=new ge(se,1,!1,oe,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(oe){var se=oe.replace(be,Ee);_e[se]=new ge(se,1,!1,oe,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(oe){_e[oe]=new ge(oe,1,!1,oe.toLowerCase(),null,!1,!1)}),_e.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(oe){_e[oe]=new ge(oe,1,!1,oe.toLowerCase(),null,!0,!0)});function Pe(oe,se,fe,ye){var Se=_e.hasOwnProperty(se)?_e[se]:null;(Se!==null?Se.type!==0:ye||!(2We||Se[Fe]!==Oe[We]){var tt=` +`+Se[Fe].replace(" at new "," at ");return oe.displayName&&tt.includes("")&&(tt=tt.replace("",oe.displayName)),tt}while(1<=Fe&&0<=We);break}}}finally{Tt=!1,Error.prepareStackTrace=fe}return(oe=oe?oe.displayName||oe.name:"")?pt(oe):""}function Bt(oe){switch(oe.tag){case 5:return pt(oe.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return oe=jt(oe.type,!1),oe;case 11:return oe=jt(oe.type.render,!1),oe;case 1:return oe=jt(oe.type,!0),oe;default:return""}}function zt(oe){if(oe==null)return null;if(typeof oe=="function")return oe.displayName||oe.name||null;if(typeof oe=="string")return oe;switch(oe){case Ie:return"Fragment";case Le:return"Portal";case qe:return"Profiler";case Be:return"StrictMode";case Ne:return"Suspense";case Ye:return"SuspenseList"}if(typeof oe=="object")switch(oe.$$typeof){case Je:return(oe.displayName||"Context")+".Consumer";case Ge:return(oe._context.displayName||"Context")+".Provider";case Qe:var se=oe.render;return oe=oe.displayName,oe||(oe=se.displayName||se.name||"",oe=oe!==""?"ForwardRef("+oe+")":"ForwardRef"),oe;case et:return se=oe.displayName||null,se!==null?se:zt(oe.type)||"Memo";case Xe:se=oe._payload,oe=oe._init;try{return zt(oe(se))}catch{}}return null}function Wt(oe){var se=oe.type;switch(oe.tag){case 24:return"Cache";case 9:return(se.displayName||"Context")+".Consumer";case 10:return(se._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return oe=se.render,oe=oe.displayName||oe.name||"",se.displayName||(oe!==""?"ForwardRef("+oe+")":"ForwardRef");case 7:return"Fragment";case 5:return se;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return zt(se);case 8:return se===Be?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof se=="function")return se.displayName||se.name||null;if(typeof se=="string")return se}return null}function qt(oe){switch(typeof oe){case"boolean":case"number":case"string":case"undefined":return oe;case"object":return oe;default:return""}}function ar(oe){var se=oe.type;return(oe=oe.nodeName)&&oe.toLowerCase()==="input"&&(se==="checkbox"||se==="radio")}function vr(oe){var se=ar(oe)?"checked":"value",fe=Object.getOwnPropertyDescriptor(oe.constructor.prototype,se),ye=""+oe[se];if(!oe.hasOwnProperty(se)&&typeof fe<"u"&&typeof fe.get=="function"&&typeof fe.set=="function"){var Se=fe.get,Oe=fe.set;return Object.defineProperty(oe,se,{configurable:!0,get:function(){return Se.call(this)},set:function(Fe){ye=""+Fe,Oe.call(this,Fe)}}),Object.defineProperty(oe,se,{enumerable:fe.enumerable}),{getValue:function(){return ye},setValue:function(Fe){ye=""+Fe},stopTracking:function(){oe._valueTracker=null,delete oe[se]}}}}function Tr(oe){oe._valueTracker||(oe._valueTracker=vr(oe))}function _r(oe){if(!oe)return!1;var se=oe._valueTracker;if(!se)return!0;var fe=se.getValue(),ye="";return oe&&(ye=ar(oe)?oe.checked?"true":"false":oe.value),oe=ye,oe!==fe?(se.setValue(oe),!0):!1}function Yt(oe){if(oe=oe||(typeof document<"u"?document:void 0),typeof oe>"u")return null;try{return oe.activeElement||oe.body}catch{return oe.body}}function ir(oe,se){var fe=se.checked;return _t({},se,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:fe??oe._wrapperState.initialChecked})}function cr(oe,se){var fe=se.defaultValue==null?"":se.defaultValue,ye=se.checked!=null?se.checked:se.defaultChecked;fe=qt(se.value!=null?se.value:fe),oe._wrapperState={initialChecked:ye,initialValue:fe,controlled:se.type==="checkbox"||se.type==="radio"?se.checked!=null:se.value!=null}}function Rr(oe,se){se=se.checked,se!=null&&Pe(oe,"checked",se,!1)}function xr(oe,se){Rr(oe,se);var fe=qt(se.value),ye=se.type;if(fe!=null)ye==="number"?(fe===0&&oe.value===""||oe.value!=fe)&&(oe.value=""+fe):oe.value!==""+fe&&(oe.value=""+fe);else if(ye==="submit"||ye==="reset"){oe.removeAttribute("value");return}se.hasOwnProperty("value")?pr(oe,se.type,fe):se.hasOwnProperty("defaultValue")&&pr(oe,se.type,qt(se.defaultValue)),se.checked==null&&se.defaultChecked!=null&&(oe.defaultChecked=!!se.defaultChecked)}function or(oe,se,fe){if(se.hasOwnProperty("value")||se.hasOwnProperty("defaultValue")){var ye=se.type;if(!(ye!=="submit"&&ye!=="reset"||se.value!==void 0&&se.value!==null))return;se=""+oe._wrapperState.initialValue,fe||se===oe.value||(oe.value=se),oe.defaultValue=se}fe=oe.name,fe!==""&&(oe.name=""),oe.defaultChecked=!!oe._wrapperState.initialChecked,fe!==""&&(oe.name=fe)}function pr(oe,se,fe){(se!=="number"||Yt(oe.ownerDocument)!==oe)&&(fe==null?oe.defaultValue=""+oe._wrapperState.initialValue:oe.defaultValue!==""+fe&&(oe.defaultValue=""+fe))}var wr=Array.isArray;function Mr(oe,se,fe,ye){if(oe=oe.options,se){se={};for(var Se=0;Se"+se.valueOf().toString()+"",se=Pr.firstChild;oe.firstChild;)oe.removeChild(oe.firstChild);for(;se.firstChild;)oe.appendChild(se.firstChild)}});function Dr(oe,se){if(se){var fe=oe.firstChild;if(fe&&fe===oe.lastChild&&fe.nodeType===3){fe.nodeValue=se;return}}oe.textContent=se}var yn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ci=["Webkit","ms","Moz","O"];Object.keys(yn).forEach(function(oe){Ci.forEach(function(se){se=se+oe.charAt(0).toUpperCase()+oe.substring(1),yn[se]=yn[oe]})});function oi(oe,se,fe){return se==null||typeof se=="boolean"||se===""?"":fe||typeof se!="number"||se===0||yn.hasOwnProperty(oe)&&yn[oe]?(""+se).trim():se+"px"}function gt(oe,se){oe=oe.style;for(var fe in se)if(se.hasOwnProperty(fe)){var ye=fe.indexOf("--")===0,Se=oi(fe,se[fe],ye);fe==="float"&&(fe="cssFloat"),ye?oe.setProperty(fe,Se):oe[fe]=Se}}var bt=_t({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ot(oe,se){if(se){if(bt[oe]&&(se.children!=null||se.dangerouslySetInnerHTML!=null))throw Error(J(137,oe));if(se.dangerouslySetInnerHTML!=null){if(se.children!=null)throw Error(J(60));if(typeof se.dangerouslySetInnerHTML!="object"||!("__html"in se.dangerouslySetInnerHTML))throw Error(J(61))}if(se.style!=null&&typeof se.style!="object")throw Error(J(62))}}function Vt(oe,se){if(oe.indexOf("-")===-1)return typeof se.is=="string";switch(oe){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mr=null;function nr(oe){return oe=oe.target||oe.srcElement||window,oe.correspondingUseElement&&(oe=oe.correspondingUseElement),oe.nodeType===3?oe.parentNode:oe}var dr=null,Zt=null,kt=null;function Br(oe){if(oe=ui(oe)){if(typeof dr!="function")throw Error(J(280));var se=oe.stateNode;se&&(se=Fu(se),dr(oe.stateNode,oe.type,se))}}function Ar(oe){Zt?kt?kt.push(oe):kt=[oe]:Zt=oe}function En(){if(Zt){var oe=Zt,se=kt;if(kt=Zt=null,Br(oe),se)for(oe=0;oe>>=0,oe===0?32:31-(Ma(oe)/Ba|0)|0}var Hi=64,ha=4194304;function $o(oe){switch(oe&-oe){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return oe&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return oe&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return oe}}function Wi(oe,se){var fe=oe.pendingLanes;if(fe===0)return 0;var ye=0,Se=oe.suspendedLanes,Oe=oe.pingedLanes,Fe=fe&268435455;if(Fe!==0){var We=Fe&~Se;We!==0?ye=$o(We):(Oe&=Fe,Oe!==0&&(ye=$o(Oe)))}else Fe=fe&~Se,Fe!==0?ye=$o(Fe):Oe!==0&&(ye=$o(Oe));if(ye===0)return 0;if(se!==0&&se!==ye&&!(se&Se)&&(Se=ye&-ye,Oe=se&-se,Se>=Oe||Se===16&&(Oe&4194240)!==0))return se;if(ye&4&&(ye|=fe&16),se=oe.entangledLanes,se!==0)for(oe=oe.entanglements,se&=ye;0fe;fe++)se.push(oe);return se}function lt(oe,se,fe){oe.pendingLanes|=se,se!==536870912&&(oe.suspendedLanes=0,oe.pingedLanes=0),oe=oe.eventTimes,se=31-Mn(se),oe[se]=fe}function Et(oe,se){var fe=oe.pendingLanes&~se;oe.pendingLanes=se,oe.suspendedLanes=0,oe.pingedLanes=0,oe.expiredLanes&=se,oe.mutableReadLanes&=se,oe.entangledLanes&=se,se=oe.entanglements;var ye=oe.eventTimes;for(oe=oe.expirationTimes;0=yr),ki=" ",Li=!1;function Ss(oe,se){switch(oe){case"keyup":return Qt.indexOf(se.keyCode)!==-1;case"keydown":return se.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ll(oe){return oe=oe.detail,typeof oe=="object"&&"data"in oe?oe.data:null}var Wo=!1;function el(oe,se){switch(oe){case"compositionend":return Ll(se);case"keypress":return se.which!==32?null:(Li=!0,ki);case"textInput":return oe=se.data,oe===ki&&Li?null:oe;default:return null}}function Lp(oe,se){if(Wo)return oe==="compositionend"||!$r&&Ss(oe,se)?(oe=Al(),lo=Ha=hn=null,Wo=!1,oe):null;switch(oe){case"paste":return null;case"keypress":if(!(se.ctrlKey||se.altKey||se.metaKey)||se.ctrlKey&&se.altKey){if(se.char&&1=se)return{node:fe,offset:se-oe};oe=ye}e:{for(;fe;){if(fe.nextSibling){fe=fe.nextSibling;break e}fe=fe.parentNode}fe=void 0}fe=Cr(fe)}}function Fn(oe,se){return oe&&se?oe===se?!0:oe&&oe.nodeType===3?!1:se&&se.nodeType===3?Fn(oe,se.parentNode):"contains"in oe?oe.contains(se):oe.compareDocumentPosition?!!(oe.compareDocumentPosition(se)&16):!1:!1}function dn(){for(var oe=window,se=Yt();se instanceof oe.HTMLIFrameElement;){try{var fe=typeof se.contentWindow.location.href=="string"}catch{fe=!1}if(fe)oe=se.contentWindow;else break;se=Yt(oe.document)}return se}function Fl(oe){var se=oe&&oe.nodeName&&oe.nodeName.toLowerCase();return se&&(se==="input"&&(oe.type==="text"||oe.type==="search"||oe.type==="tel"||oe.type==="url"||oe.type==="password")||se==="textarea"||oe.contentEditable==="true")}function Bp(oe){var se=dn(),fe=oe.focusedElem,ye=oe.selectionRange;if(se!==fe&&fe&&fe.ownerDocument&&Fn(fe.ownerDocument.documentElement,fe)){if(ye!==null&&Fl(fe)){if(se=ye.start,oe=ye.end,oe===void 0&&(oe=se),"selectionStart"in fe)fe.selectionStart=se,fe.selectionEnd=Math.min(oe,fe.value.length);else if(oe=(se=fe.ownerDocument||document)&&se.defaultView||window,oe.getSelection){oe=oe.getSelection();var Se=fe.textContent.length,Oe=Math.min(ye.start,Se);ye=ye.end===void 0?Oe:Math.min(ye.end,Se),!oe.extend&&Oe>ye&&(Se=ye,ye=Oe,Oe=Se),Se=Gr(fe,Oe);var Fe=Gr(fe,ye);Se&&Fe&&(oe.rangeCount!==1||oe.anchorNode!==Se.node||oe.anchorOffset!==Se.offset||oe.focusNode!==Fe.node||oe.focusOffset!==Fe.offset)&&(se=se.createRange(),se.setStart(Se.node,Se.offset),oe.removeAllRanges(),Oe>ye?(oe.addRange(se),oe.extend(Fe.node,Fe.offset)):(se.setEnd(Fe.node,Fe.offset),oe.addRange(se)))}}for(se=[],oe=fe;oe=oe.parentNode;)oe.nodeType===1&&se.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof fe.focus=="function"&&fe.focus(),fe=0;fe=document.documentMode,Ea=null,Fc=null,Go=null,rl=!1;function Nl(oe,se,fe){var ye=fe.window===fe?fe.document:fe.nodeType===9?fe:fe.ownerDocument;rl||Ea==null||Ea!==Yt(ye)||(ye=Ea,"selectionStart"in ye&&Fl(ye)?ye={start:ye.selectionStart,end:ye.selectionEnd}:(ye=(ye.ownerDocument&&ye.ownerDocument.defaultView||window).getSelection(),ye={anchorNode:ye.anchorNode,anchorOffset:ye.anchorOffset,focusNode:ye.focusNode,focusOffset:ye.focusOffset}),Go&&Gt(Go,ye)||(Go=ye,ye=Tu(Fc,"onSelect"),0cl||(oe.current=Bc[cl],Bc[cl]=null,cl--)}function mn(oe,se){cl++,Bc[cl]=oe.current,oe.current=se}var ts={},ci=Fi(ts),Ni=Fi(!1),Si=ts;function dl(oe,se){var fe=oe.type.contextTypes;if(!fe)return ts;var ye=oe.stateNode;if(ye&&ye.__reactInternalMemoizedUnmaskedChildContext===se)return ye.__reactInternalMemoizedMaskedChildContext;var Se={},Oe;for(Oe in fe)Se[Oe]=se[Oe];return ye&&(oe=oe.stateNode,oe.__reactInternalMemoizedUnmaskedChildContext=se,oe.__reactInternalMemoizedMaskedChildContext=Se),Se}function Di(oe){return oe=oe.childContextTypes,oe!=null}function Nu(){_n(Ni),_n(ci)}function Vd(oe,se,fe){if(ci.current!==ts)throw Error(J(168));mn(ci,se),mn(Ni,fe)}function Hd(oe,se,fe){var ye=oe.stateNode;if(se=se.childContextTypes,typeof ye.getChildContext!="function")return fe;ye=ye.getChildContext();for(var Se in ye)if(!(Se in se))throw Error(J(108,Wt(oe)||"Unknown",Se));return _t({},fe,ye)}function fo(oe){return oe=(oe=oe.stateNode)&&oe.__reactInternalMemoizedMergedChildContext||ts,Si=ci.current,mn(ci,oe),mn(Ni,Ni.current),!0}function Wd(oe,se,fe){var ye=oe.stateNode;if(!ye)throw Error(J(169));fe?(oe=Hd(oe,se,Si),ye.__reactInternalMemoizedMergedChildContext=oe,_n(Ni),_n(ci),mn(ci,oe)):_n(Ni),mn(Ni,fe)}var wa=null,Du=!1,Uc=!1;function Gd(oe){wa===null?wa=[oe]:wa.push(oe)}function $s(oe){Du=!0,Gd(oe)}function rs(){if(!Uc&&wa!==null){Uc=!0;var oe=0,se=Ut;try{var fe=wa;for(Ut=1;oe>=Fe,Se-=Fe,Jo=1<<32-Mn(se)+Se|fe<br?(qn=hr,hr=null):qn=hr.sibling;var Yr=Ct(ct,hr,mt[br],Ft);if(Yr===null){hr===null&&(hr=qn);break}oe&&hr&&Yr.alternate===null&&se(ct,hr),nt=Oe(Yr,nt,br),fr===null?tr=Yr:fr.sibling=Yr,fr=Yr,hr=qn}if(br===mt.length)return fe(ct,hr),bn&&Rs(ct,br),tr;if(hr===null){for(;brbr?(qn=hr,hr=null):qn=hr.sibling;var hs=Ct(ct,hr,Yr.value,Ft);if(hs===null){hr===null&&(hr=qn);break}oe&&hr&&hs.alternate===null&&se(ct,hr),nt=Oe(hs,nt,br),fr===null?tr=hs:fr.sibling=hs,fr=hs,hr=qn}if(Yr.done)return fe(ct,hr),bn&&Rs(ct,br),tr;if(hr===null){for(;!Yr.done;br++,Yr=mt.next())Yr=It(ct,Yr.value,Ft),Yr!==null&&(nt=Oe(Yr,nt,br),fr===null?tr=Yr:fr.sibling=Yr,fr=Yr);return bn&&Rs(ct,br),tr}for(hr=ye(ct,hr);!Yr.done;br++,Yr=mt.next())Yr=Kt(hr,ct,br,Yr.value,Ft),Yr!==null&&(oe&&Yr.alternate!==null&&hr.delete(Yr.key===null?br:Yr.key),nt=Oe(Yr,nt,br),fr===null?tr=Yr:fr.sibling=Yr,fr=Yr);return oe&&hr.forEach(function(sf){return se(ct,sf)}),bn&&Rs(ct,br),tr}function Cn(ct,nt,mt,Ft){if(typeof mt=="object"&&mt!==null&&mt.type===Ie&&mt.key===null&&(mt=mt.props.children),typeof mt=="object"&&mt!==null){switch(mt.$$typeof){case Re:e:{for(var tr=mt.key,fr=nt;fr!==null;){if(fr.key===tr){if(tr=mt.type,tr===Ie){if(fr.tag===7){fe(ct,fr.sibling),nt=Se(fr,mt.props.children),nt.return=ct,ct=nt;break e}}else if(fr.elementType===tr||typeof tr=="object"&&tr!==null&&tr.$$typeof===Xe&&Zd(tr)===fr.type){fe(ct,fr.sibling),nt=Se(fr,mt.props),nt.ref=Gl(ct,fr,mt),nt.return=ct,ct=nt;break e}fe(ct,fr);break}else se(ct,fr);fr=fr.sibling}mt.type===Ie?(nt=qs(mt.props.children,ct.mode,Ft,mt.key),nt.return=ct,ct=nt):(Ft=Ec(mt.type,mt.key,mt.props,null,ct.mode,Ft),Ft.ref=Gl(ct,nt,mt),Ft.return=ct,ct=Ft)}return Fe(ct);case Le:e:{for(fr=mt.key;nt!==null;){if(nt.key===fr)if(nt.tag===4&&nt.stateNode.containerInfo===mt.containerInfo&&nt.stateNode.implementation===mt.implementation){fe(ct,nt.sibling),nt=Se(nt,mt.children||[]),nt.return=ct,ct=nt;break e}else{fe(ct,nt);break}else se(ct,nt);nt=nt.sibling}nt=Ad(mt,ct.mode,Ft),nt.return=ct,ct=nt}return Fe(ct);case Xe:return fr=mt._init,Cn(ct,nt,fr(mt._payload),Ft)}if(wr(mt))return Xt(ct,nt,mt,Ft);if(ot(mt))return er(ct,nt,mt,Ft);Ts(ct,mt)}return typeof mt=="string"&&mt!==""||typeof mt=="number"?(mt=""+mt,nt!==null&&nt.tag===6?(fe(ct,nt.sibling),nt=Se(nt,mt),nt.return=ct,ct=nt):(fe(ct,nt),nt=Rd(mt,ct.mode,Ft),nt.return=ct,ct=nt),Fe(ct)):fe(ct,nt)}return Cn}var $n=zc(!0),Uu=zc(!1),Kl=Fi(null),Xi=null,ns=null,fl=null;function Oa(){fl=ns=Xi=null}function qu(oe){var se=Kl.current;_n(Kl),oe._currentValue=se}function ei(oe,se,fe){for(;oe!==null;){var ye=oe.alternate;if((oe.childLanes&se)!==se?(oe.childLanes|=se,ye!==null&&(ye.childLanes|=se)):ye!==null&&(ye.childLanes&se)!==se&&(ye.childLanes|=se),oe===fe)break;oe=oe.return}}function is(oe,se){Xi=oe,fl=ns=null,oe=oe.dependencies,oe!==null&&oe.firstContext!==null&&(oe.lanes&se&&(wi=!0),oe.firstContext=null)}function yo(oe){var se=oe._currentValue;if(fl!==oe)if(oe={context:oe,memoizedValue:se,next:null},ns===null){if(Xi===null)throw Error(J(308));ns=oe,Xi.dependencies={lanes:0,firstContext:oe}}else ns=ns.next=oe;return se}var Is=null;function Vc(oe){Is===null?Is=[oe]:Is.push(oe)}function zu(oe,se,fe,ye){var Se=se.interleaved;return Se===null?(fe.next=fe,Vc(se)):(fe.next=Se.next,Se.next=fe),se.interleaved=fe,$a(oe,ye)}function $a(oe,se){oe.lanes|=se;var fe=oe.alternate;for(fe!==null&&(fe.lanes|=se),fe=oe,oe=oe.return;oe!==null;)oe.childLanes|=se,fe=oe.alternate,fe!==null&&(fe.childLanes|=se),fe=oe,oe=oe.return;return fe.tag===3?fe.stateNode:null}var go=!1;function Vu(oe){oe.updateQueue={baseState:oe.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xd(oe,se){oe=oe.updateQueue,se.updateQueue===oe&&(se.updateQueue={baseState:oe.baseState,firstBaseUpdate:oe.firstBaseUpdate,lastBaseUpdate:oe.lastBaseUpdate,shared:oe.shared,effects:oe.effects})}function Ca(oe,se){return{eventTime:oe,lane:se,tag:0,payload:null,callback:null,next:null}}function vo(oe,se,fe){var ye=oe.updateQueue;if(ye===null)return null;if(ye=ye.shared,Vr&2){var Se=ye.pending;return Se===null?se.next=se:(se.next=Se.next,Se.next=se),ye.pending=se,$a(oe,fe)}return Se=ye.interleaved,Se===null?(se.next=se,Vc(ye)):(se.next=Se.next,Se.next=se),ye.interleaved=se,$a(oe,fe)}function Hu(oe,se,fe){if(se=se.updateQueue,se!==null&&(se=se.shared,(fe&4194240)!==0)){var ye=se.lanes;ye&=oe.pendingLanes,fe|=ye,se.lanes=fe,Dt(oe,fe)}}function Qd(oe,se){var fe=oe.updateQueue,ye=oe.alternate;if(ye!==null&&(ye=ye.updateQueue,fe===ye)){var Se=null,Oe=null;if(fe=fe.firstBaseUpdate,fe!==null){do{var Fe={eventTime:fe.eventTime,lane:fe.lane,tag:fe.tag,payload:fe.payload,callback:fe.callback,next:null};Oe===null?Se=Oe=Fe:Oe=Oe.next=Fe,fe=fe.next}while(fe!==null);Oe===null?Se=Oe=se:Oe=Oe.next=se}else Se=Oe=se;fe={baseState:ye.baseState,firstBaseUpdate:Se,lastBaseUpdate:Oe,shared:ye.shared,effects:ye.effects},oe.updateQueue=fe;return}oe=fe.lastBaseUpdate,oe===null?fe.firstBaseUpdate=se:oe.next=se,fe.lastBaseUpdate=se}function hl(oe,se,fe,ye){var Se=oe.updateQueue;go=!1;var Oe=Se.firstBaseUpdate,Fe=Se.lastBaseUpdate,We=Se.shared.pending;if(We!==null){Se.shared.pending=null;var tt=We,vt=tt.next;tt.next=null,Fe===null?Oe=vt:Fe.next=vt,Fe=tt;var Rt=oe.alternate;Rt!==null&&(Rt=Rt.updateQueue,We=Rt.lastBaseUpdate,We!==Fe&&(We===null?Rt.firstBaseUpdate=vt:We.next=vt,Rt.lastBaseUpdate=tt))}if(Oe!==null){var It=Se.baseState;Fe=0,Rt=vt=tt=null,We=Oe;do{var Ct=We.lane,Kt=We.eventTime;if((ye&Ct)===Ct){Rt!==null&&(Rt=Rt.next={eventTime:Kt,lane:0,tag:We.tag,payload:We.payload,callback:We.callback,next:null});e:{var Xt=oe,er=We;switch(Ct=se,Kt=fe,er.tag){case 1:if(Xt=er.payload,typeof Xt=="function"){It=Xt.call(Kt,It,Ct);break e}It=Xt;break e;case 3:Xt.flags=Xt.flags&-65537|128;case 0:if(Xt=er.payload,Ct=typeof Xt=="function"?Xt.call(Kt,It,Ct):Xt,Ct==null)break e;It=_t({},It,Ct);break e;case 2:go=!0}}We.callback!==null&&We.lane!==0&&(oe.flags|=64,Ct=Se.effects,Ct===null?Se.effects=[We]:Ct.push(We))}else Kt={eventTime:Kt,lane:Ct,tag:We.tag,payload:We.payload,callback:We.callback,next:null},Rt===null?(vt=Rt=Kt,tt=It):Rt=Rt.next=Kt,Fe|=Ct;if(We=We.next,We===null){if(We=Se.shared.pending,We===null)break;Ct=We,We=Ct.next,Ct.next=null,Se.lastBaseUpdate=Ct,Se.shared.pending=null}}while(!0);if(Rt===null&&(tt=It),Se.baseState=tt,Se.firstBaseUpdate=vt,Se.lastBaseUpdate=Rt,se=Se.shared.interleaved,se!==null){Se=se;do Fe|=Se.lane,Se=Se.next;while(Se!==se)}else Oe===null&&(Se.shared.lanes=0);us|=Fe,oe.lanes=Fe,oe.memoizedState=It}}function Hc(oe,se,fe){if(oe=se.effects,se.effects=null,oe!==null)for(se=0;sefe?fe:4,oe(!0);var ye=Yc.transition;Yc.transition={};try{oe(!1),se()}finally{Ut=fe,Yc.transition=ye}}function nd(){return _o().memoizedState}function qp(oe,se,fe){var ye=ps(oe);if(fe={lane:ye,action:fe,hasEagerState:!1,eagerState:null,next:null},id(oe))xi(se,fe);else if(fe=zu(oe,se,fe,ye),fe!==null){var Se=$i();Do(fe,oe,ye,Se),Io(fe,se,ye)}}function op(oe,se,fe){var ye=ps(oe),Se={lane:ye,action:fe,hasEagerState:!1,eagerState:null,next:null};if(id(oe))xi(se,Se);else{var Oe=oe.alternate;if(oe.lanes===0&&(Oe===null||Oe.lanes===0)&&(Oe=se.lastRenderedReducer,Oe!==null))try{var Fe=se.lastRenderedState,We=Oe(Fe,fe);if(Se.hasEagerState=!0,Se.eagerState=We,yt(We,Fe)){var tt=se.interleaved;tt===null?(Se.next=Se,Vc(se)):(Se.next=tt.next,tt.next=Se),se.interleaved=Se;return}}catch{}finally{}fe=zu(oe,se,Se,ye),fe!==null&&(Se=$i(),Do(fe,oe,ye,Se),Io(fe,se,ye))}}function id(oe){var se=oe.alternate;return oe===Pn||se!==null&&se===Pn}function xi(oe,se){Xl=yl=!0;var fe=oe.pending;fe===null?se.next=se:(se.next=fe.next,fe.next=se),oe.pending=se}function Io(oe,se,fe){if(fe&4194240){var ye=se.lanes;ye&=oe.pendingLanes,fe|=ye,se.lanes=fe,Dt(oe,fe)}}var Qu={readContext:yo,useCallback:fi,useContext:fi,useEffect:fi,useImperativeHandle:fi,useInsertionEffect:fi,useLayoutEffect:fi,useMemo:fi,useReducer:fi,useRef:fi,useState:fi,useDebugValue:fi,useDeferredValue:fi,useTransition:fi,useMutableSource:fi,useSyncExternalStore:fi,useId:fi,unstable_isNewReconciler:!1},zp={readContext:yo,useCallback:function(oe,se){return ra().memoizedState=[oe,se===void 0?null:se],oe},useContext:yo,useEffect:Xu,useImperativeHandle:function(oe,se,fe){return fe=fe!=null?fe.concat([oe]):null,eu(4194308,4,td.bind(null,se,oe),fe)},useLayoutEffect:function(oe,se){return eu(4194308,4,oe,se)},useInsertionEffect:function(oe,se){return eu(4,2,oe,se)},useMemo:function(oe,se){var fe=ra();return se=se===void 0?null:se,oe=oe(),fe.memoizedState=[oe,se],oe},useReducer:function(oe,se,fe){var ye=ra();return se=fe!==void 0?fe(se):se,ye.memoizedState=ye.baseState=se,oe={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:oe,lastRenderedState:se},ye.queue=oe,oe=oe.dispatch=qp.bind(null,Pn,oe),[ye.memoizedState,oe]},useRef:function(oe){var se=ra();return oe={current:oe},se.memoizedState=oe},useState:Ql,useDebugValue:tu,useDeferredValue:function(oe){return ra().memoizedState=oe},useTransition:function(){var oe=Ql(!1),se=oe[0];return oe=ip.bind(null,oe[1]),ra().memoizedState=oe,[se,oe]},useMutableSource:function(){},useSyncExternalStore:function(oe,se,fe){var ye=Pn,Se=ra();if(bn){if(fe===void 0)throw Error(J(407));fe=fe()}else{if(fe=se(),Kn===null)throw Error(J(349));as&30||Qc(ye,se,fe)}Se.memoizedState=fe;var Oe={value:fe,getSnapshot:se};return Se.queue=Oe,Xu(Aa.bind(null,ye,Oe,oe),[oe]),ye.flags|=2048,vl(9,Mi.bind(null,ye,Oe,fe,se),void 0,null),fe},useId:function(){var oe=ra(),se=Kn.identifierPrefix;if(bn){var fe=Zo,ye=Jo;fe=(ye&~(1<<32-Mn(ye)-1)).toString(32)+fe,se=":"+se+"R"+fe,fe=Ls++,0<\/script>",oe=oe.removeChild(oe.firstChild)):typeof ye.is=="string"?oe=Fe.createElement(fe,{is:ye.is}):(oe=Fe.createElement(fe),fe==="select"&&(Fe=oe,ye.multiple?Fe.multiple=!0:ye.size&&(Fe.size=ye.size))):oe=Fe.createElementNS(oe,fe),oe[Ko]=se,oe[es]=ye,ri(oe,se,!1,!1),se.stateNode=oe;e:{switch(Fe=Vt(fe,ye),fe){case"dialog":vn("cancel",oe),vn("close",oe),Se=ye;break;case"iframe":case"object":case"embed":vn("load",oe),Se=ye;break;case"video":case"audio":for(Se=0;Sejs&&(se.flags|=128,ye=!0,lu(Oe,!1),se.lanes=4194304)}else{if(!ye)if(oe=ks(Fe),oe!==null){if(se.flags|=128,ye=!0,fe=oe.updateQueue,fe!==null&&(se.updateQueue=fe,se.flags|=4),lu(Oe,!0),Oe.tail===null&&Oe.tailMode==="hidden"&&!Fe.alternate&&!bn)return ni(se),null}else 2*Zr()-Oe.renderingStartTime>js&&fe!==1073741824&&(se.flags|=128,ye=!0,lu(Oe,!1),se.lanes=4194304);Oe.isBackwards?(Fe.sibling=se.child,se.child=Fe):(fe=Oe.last,fe!==null?fe.sibling=Fe:se.child=Fe,Oe.last=Fe)}return Oe.tail!==null?(se=Oe.tail,Oe.rendering=se,Oe.tail=se.sibling,Oe.renderingStartTime=Zr(),se.sibling=null,fe=xn.current,mn(xn,ye?fe&1|2:fe&1),se):(ni(se),null);case 22:case 23:return $d(),ye=se.memoizedState!==null,oe!==null&&oe.memoizedState!==null!==ye&&(se.flags|=8192),ye&&se.mode&1?eo&1073741824&&(ni(se),se.subtreeFlags&6&&(se.flags|=8192)):ni(se),null;case 24:return null;case 25:return null}throw Error(J(156,se.tag))}function Hp(oe,se){switch(As(se),se.tag){case 1:return Di(se.type)&&Nu(),oe=se.flags,oe&65536?(se.flags=oe&-65537|128,se):null;case 3:return os(),_n(Ni),_n(ci),Gu(),oe=se.flags,oe&65536&&!(oe&128)?(se.flags=oe&-65537|128,se):null;case 5:return Wu(se),null;case 13:if(_n(xn),oe=se.memoizedState,oe!==null&&oe.dehydrated!==null){if(se.alternate===null)throw Error(J(340));Qo()}return oe=se.flags,oe&65536?(se.flags=oe&-65537|128,se):null;case 19:return _n(xn),null;case 4:return os(),null;case 10:return qu(se.type._context),null;case 22:case 23:return $d(),null;case 24:return null;default:return null}}var lc=!1,wn=!1,Pi=typeof WeakSet=="function"?WeakSet:Set,Jt=null;function wl(oe,se){var fe=oe.ref;if(fe!==null)if(typeof fe=="function")try{fe(null)}catch(ye){On(oe,se,ye)}else fe.current=null}function uu(oe,se,fe){try{fe()}catch(ye){On(oe,se,ye)}}var pp=!1;function Wp(oe,se){if(ql=Ki,oe=dn(),Fl(oe)){if("selectionStart"in oe)var fe={start:oe.selectionStart,end:oe.selectionEnd};else e:{fe=(fe=oe.ownerDocument)&&fe.defaultView||window;var ye=fe.getSelection&&fe.getSelection();if(ye&&ye.rangeCount!==0){fe=ye.anchorNode;var Se=ye.anchorOffset,Oe=ye.focusNode;ye=ye.focusOffset;try{fe.nodeType,Oe.nodeType}catch{fe=null;break e}var Fe=0,We=-1,tt=-1,vt=0,Rt=0,It=oe,Ct=null;t:for(;;){for(var Kt;It!==fe||Se!==0&&It.nodeType!==3||(We=Fe+Se),It!==Oe||ye!==0&&It.nodeType!==3||(tt=Fe+ye),It.nodeType===3&&(Fe+=It.nodeValue.length),(Kt=It.firstChild)!==null;)Ct=It,It=Kt;for(;;){if(It===oe)break t;if(Ct===fe&&++vt===Se&&(We=Fe),Ct===Oe&&++Rt===ye&&(tt=Fe),(Kt=It.nextSibling)!==null)break;It=Ct,Ct=It.parentNode}It=Kt}fe=We===-1||tt===-1?null:{start:We,end:tt}}else fe=null}fe=fe||{start:0,end:0}}else fe=null;for(Os={focusedElem:oe,selectionRange:fe},Ki=!1,Jt=se;Jt!==null;)if(se=Jt,oe=se.child,(se.subtreeFlags&1028)!==0&&oe!==null)oe.return=se,Jt=oe;else for(;Jt!==null;){se=Jt;try{var Xt=se.alternate;if(se.flags&1024)switch(se.tag){case 0:case 11:case 15:break;case 1:if(Xt!==null){var er=Xt.memoizedProps,Cn=Xt.memoizedState,ct=se.stateNode,nt=ct.getSnapshotBeforeUpdate(se.elementType===se.type?er:bo(se.type,er),Cn);ct.__reactInternalSnapshotBeforeUpdate=nt}break;case 3:var mt=se.stateNode.containerInfo;mt.nodeType===1?mt.textContent="":mt.nodeType===9&&mt.documentElement&&mt.removeChild(mt.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(J(163))}}catch(Ft){On(se,se.return,Ft)}if(oe=se.sibling,oe!==null){oe.return=se.return,Jt=oe;break}Jt=se.return}return Xt=pp,pp=!1,Xt}function ka(oe,se,fe){var ye=se.updateQueue;if(ye=ye!==null?ye.lastEffect:null,ye!==null){var Se=ye=ye.next;do{if((Se.tag&oe)===oe){var Oe=Se.destroy;Se.destroy=void 0,Oe!==void 0&&uu(se,fe,Oe)}Se=Se.next}while(Se!==ye)}}function cu(oe,se){if(se=se.updateQueue,se=se!==null?se.lastEffect:null,se!==null){var fe=se=se.next;do{if((fe.tag&oe)===oe){var ye=fe.create;fe.destroy=ye()}fe=fe.next}while(fe!==se)}}function uc(oe){var se=oe.ref;if(se!==null){var fe=oe.stateNode;switch(oe.tag){case 5:oe=fe;break;default:oe=fe}typeof se=="function"?se(oe):se.current=oe}}function fp(oe){var se=oe.alternate;se!==null&&(oe.alternate=null,fp(se)),oe.child=null,oe.deletions=null,oe.sibling=null,oe.tag===5&&(se=oe.stateNode,se!==null&&(delete se[Ko],delete se[es],delete se[Lu],delete se[je],delete se[ul])),oe.stateNode=null,oe.return=null,oe.dependencies=null,oe.memoizedProps=null,oe.memoizedState=null,oe.pendingProps=null,oe.stateNode=null,oe.updateQueue=null}function hp(oe){return oe.tag===5||oe.tag===3||oe.tag===4}function mp(oe){e:for(;;){for(;oe.sibling===null;){if(oe.return===null||hp(oe.return))return null;oe=oe.return}for(oe.sibling.return=oe.return,oe=oe.sibling;oe.tag!==5&&oe.tag!==6&&oe.tag!==18;){if(oe.flags&2||oe.child===null||oe.tag===4)continue e;oe.child.return=oe,oe=oe.child}if(!(oe.flags&2))return oe.stateNode}}function yd(oe,se,fe){var ye=oe.tag;if(ye===5||ye===6)oe=oe.stateNode,se?fe.nodeType===8?fe.parentNode.insertBefore(oe,se):fe.insertBefore(oe,se):(fe.nodeType===8?(se=fe.parentNode,se.insertBefore(oe,fe)):(se=fe,se.appendChild(oe)),fe=fe._reactRootContainer,fe!=null||se.onclick!==null||(se.onclick=Iu));else if(ye!==4&&(oe=oe.child,oe!==null))for(yd(oe,se,fe),oe=oe.sibling;oe!==null;)yd(oe,se,fe),oe=oe.sibling}function cc(oe,se,fe){var ye=oe.tag;if(ye===5||ye===6)oe=oe.stateNode,se?fe.insertBefore(oe,se):fe.appendChild(oe);else if(ye!==4&&(oe=oe.child,oe!==null))for(cc(oe,se,fe),oe=oe.sibling;oe!==null;)cc(oe,se,fe),oe=oe.sibling}var Gn=null,Lo=!1;function aa(oe,se,fe){for(fe=fe.child;fe!==null;)gd(oe,se,fe),fe=fe.sibling}function gd(oe,se,fe){if(vi&&typeof vi.onCommitFiberUnmount=="function")try{vi.onCommitFiberUnmount(Vi,fe)}catch{}switch(fe.tag){case 5:wn||wl(fe,se);case 6:var ye=Gn,Se=Lo;Gn=null,aa(oe,se,fe),Gn=ye,Lo=Se,Gn!==null&&(Lo?(oe=Gn,fe=fe.stateNode,oe.nodeType===8?oe.parentNode.removeChild(fe):oe.removeChild(fe)):Gn.removeChild(fe.stateNode));break;case 18:Gn!==null&&(Lo?(oe=Gn,fe=fe.stateNode,oe.nodeType===8?Mc(oe.parentNode,fe):oe.nodeType===1&&Mc(oe,fe),qr(oe)):Mc(Gn,fe.stateNode));break;case 4:ye=Gn,Se=Lo,Gn=fe.stateNode.containerInfo,Lo=!0,aa(oe,se,fe),Gn=ye,Lo=Se;break;case 0:case 11:case 14:case 15:if(!wn&&(ye=fe.updateQueue,ye!==null&&(ye=ye.lastEffect,ye!==null))){Se=ye=ye.next;do{var Oe=Se,Fe=Oe.destroy;Oe=Oe.tag,Fe!==void 0&&(Oe&2||Oe&4)&&uu(fe,se,Fe),Se=Se.next}while(Se!==ye)}aa(oe,se,fe);break;case 1:if(!wn&&(wl(fe,se),ye=fe.stateNode,typeof ye.componentWillUnmount=="function"))try{ye.props=fe.memoizedProps,ye.state=fe.memoizedState,ye.componentWillUnmount()}catch(We){On(fe,se,We)}aa(oe,se,fe);break;case 21:aa(oe,se,fe);break;case 22:fe.mode&1?(wn=(ye=wn)||fe.memoizedState!==null,aa(oe,se,fe),wn=ye):aa(oe,se,fe);break;default:aa(oe,se,fe)}}function Pl(oe){var se=oe.updateQueue;if(se!==null){oe.updateQueue=null;var fe=oe.stateNode;fe===null&&(fe=oe.stateNode=new Pi),se.forEach(function(ye){var Se=Qp.bind(null,oe,ye);fe.has(ye)||(fe.add(ye),ye.then(Se,Se))})}}function Qi(oe,se){var fe=se.deletions;if(fe!==null)for(var ye=0;yeSe&&(Se=Fe),ye&=~Oe}if(ye=Se,ye=Zr()-ye,ye=(120>ye?120:480>ye?480:1080>ye?1080:1920>ye?1920:3e3>ye?3e3:4320>ye?4320:1960*gp(ye/1960))-ye,10oe?16:oe,ds===null)var ye=!1;else{if(oe=ds,ds=null,Oi=0,Vr&6)throw Error(J(331));var Se=Vr;for(Vr|=4,Jt=oe.current;Jt!==null;){var Oe=Jt,Fe=Oe.child;if(Jt.flags&16){var We=Oe.deletions;if(We!==null){for(var tt=0;ttZr()-Ed?Bs(oe,0):fc|=fe),Ui(oe,se)}function xp(oe,se){se===0&&(oe.mode&1?(se=ha,ha<<=1,!(ha&130023424)&&(ha=4194304)):se=1);var fe=$i();oe=$a(oe,se),oe!==null&&(lt(oe,se,fe),Ui(oe,fe))}function Xp(oe){var se=oe.memoizedState,fe=0;se!==null&&(fe=se.retryLane),xp(oe,fe)}function Qp(oe,se){var fe=0;switch(oe.tag){case 13:var ye=oe.stateNode,Se=oe.memoizedState;Se!==null&&(fe=Se.retryLane);break;case 19:ye=oe.stateNode;break;default:throw Error(J(314))}ye!==null&&ye.delete(se),xp(oe,fe)}var wp;wp=function(oe,se,fe){if(oe!==null)if(oe.memoizedProps!==se.pendingProps||Ni.current)wi=!0;else{if(!(oe.lanes&fe)&&!(se.flags&128))return wi=!1,cp(oe,se,fe);wi=!!(oe.flags&131072)}else wi=!1,bn&&se.flags&1048576&&Kd(se,Mu,se.index);switch(se.lanes=0,se.tag){case 2:var ye=se.type;sc(oe,se),oe=se.pendingProps;var Se=dl(se,ci.current);is(se,fe),Se=Fs(null,se,ye,oe,Se,fe);var Oe=Ku();return se.flags|=1,typeof Se=="object"&&Se!==null&&typeof Se.render=="function"&&Se.$$typeof===void 0?(se.tag=1,se.memoizedState=null,se.updateQueue=null,Di(ye)?(Oe=!0,fo(se)):Oe=!1,se.memoizedState=Se.state!==null&&Se.state!==void 0?Se.state:null,Vu(se),Se.updater=rc,se.stateNode=Se,Se._reactInternals=se,ad(se,ye,oe,fe),se=fd(null,se,ye,!0,Oe,fe)):(se.tag=0,bn&&Oe&&Hl(se),ti(null,se,Se,fe),se=se.child),se;case 16:ye=se.elementType;e:{switch(sc(oe,se),oe=se.pendingProps,Se=ye._init,ye=Se(ye._payload),se.type=ye,Se=se.tag=tf(ye),oe=bo(ye,oe),Se){case 0:se=dd(null,se,ye,oe,fe);break e;case 1:se=pd(null,se,ye,oe,fe);break e;case 11:se=lp(null,se,ye,oe,fe);break e;case 14:se=ld(null,se,ye,bo(ye.type,oe),fe);break e}throw Error(J(306,ye,""))}return se;case 0:return ye=se.type,Se=se.pendingProps,Se=se.elementType===ye?Se:bo(ye,Se),dd(oe,se,ye,Se,fe);case 1:return ye=se.type,Se=se.pendingProps,Se=se.elementType===ye?Se:bo(ye,Se),pd(oe,se,ye,Se,fe);case 3:e:{if(up(se),oe===null)throw Error(J(387));ye=se.pendingProps,Oe=se.memoizedState,Se=Oe.element,Xd(oe,se),hl(se,ye,null,fe);var Fe=se.memoizedState;if(ye=Fe.element,Oe.isDehydrated)if(Oe={element:ye,isDehydrated:!1,cache:Fe.cache,pendingSuspenseBoundaries:Fe.pendingSuspenseBoundaries,transitions:Fe.transitions},se.updateQueue.baseState=Oe,se.memoizedState=Oe,se.flags&256){Se=Ds(Error(J(423)),se),se=oa(oe,se,ye,fe,Se);break e}else if(ye!==Se){Se=Ds(Error(J(424)),se),se=oa(oe,se,ye,fe,Se);break e}else for(Zi=Qa(se.stateNode.containerInfo.firstChild),pi=se,bn=!0,To=null,fe=Uu(se,null,ye,fe),se.child=fe;fe;)fe.flags=fe.flags&-3|4096,fe=fe.sibling;else{if(Qo(),ye===Se){se=ko(oe,se,fe);break e}ti(oe,se,ye,fe)}se=se.child}return se;case 5:return Gc(se),oe===null&&ji(se),ye=se.type,Se=se.pendingProps,Oe=oe!==null?oe.memoizedProps:null,Fe=Se.children,zl(ye,Se)?Fe=null:Oe!==null&&zl(ye,Oe)&&(se.flags|=32),cd(oe,se),ti(oe,se,Fe,fe),se.child;case 6:return oe===null&&ji(se),null;case 13:return ac(oe,se,fe);case 4:return Wc(se,se.stateNode.containerInfo),ye=se.pendingProps,oe===null?se.child=$n(se,null,ye,fe):ti(oe,se,ye,fe),se.child;case 11:return ye=se.type,Se=se.pendingProps,Se=se.elementType===ye?Se:bo(ye,Se),lp(oe,se,ye,Se,fe);case 7:return ti(oe,se,se.pendingProps,fe),se.child;case 8:return ti(oe,se,se.pendingProps.children,fe),se.child;case 12:return ti(oe,se,se.pendingProps.children,fe),se.child;case 10:e:{if(ye=se.type._context,Se=se.pendingProps,Oe=se.memoizedProps,Fe=Se.value,mn(Kl,ye._currentValue),ye._currentValue=Fe,Oe!==null)if(yt(Oe.value,Fe)){if(Oe.children===Se.children&&!Ni.current){se=ko(oe,se,fe);break e}}else for(Oe=se.child,Oe!==null&&(Oe.return=se);Oe!==null;){var We=Oe.dependencies;if(We!==null){Fe=Oe.child;for(var tt=We.firstContext;tt!==null;){if(tt.context===ye){if(Oe.tag===1){tt=Ca(-1,fe&-fe),tt.tag=2;var vt=Oe.updateQueue;if(vt!==null){vt=vt.shared;var Rt=vt.pending;Rt===null?tt.next=tt:(tt.next=Rt.next,Rt.next=tt),vt.pending=tt}}Oe.lanes|=fe,tt=Oe.alternate,tt!==null&&(tt.lanes|=fe),ei(Oe.return,fe,se),We.lanes|=fe;break}tt=tt.next}}else if(Oe.tag===10)Fe=Oe.type===se.type?null:Oe.child;else if(Oe.tag===18){if(Fe=Oe.return,Fe===null)throw Error(J(341));Fe.lanes|=fe,We=Fe.alternate,We!==null&&(We.lanes|=fe),ei(Fe,fe,se),Fe=Oe.sibling}else Fe=Oe.child;if(Fe!==null)Fe.return=Oe;else for(Fe=Oe;Fe!==null;){if(Fe===se){Fe=null;break}if(Oe=Fe.sibling,Oe!==null){Oe.return=Fe.return,Fe=Oe;break}Fe=Fe.return}Oe=Fe}ti(oe,se,Se.children,fe),se=se.child}return se;case 9:return Se=se.type,ye=se.pendingProps.children,is(se,fe),Se=yo(Se),ye=ye(Se),se.flags|=1,ti(oe,se,ye,fe),se.child;case 14:return ye=se.type,Se=bo(ye,se.pendingProps),Se=bo(ye.type,Se),ld(oe,se,ye,Se,fe);case 15:return ia(oe,se,se.type,se.pendingProps,fe);case 17:return ye=se.type,Se=se.pendingProps,Se=se.elementType===ye?Se:bo(ye,Se),sc(oe,se),se.tag=1,Di(ye)?(oe=!0,fo(se)):oe=!1,is(se,fe),Ns(se,ye,Se),ad(se,ye,Se,fe),fd(null,se,ye,!0,oe,fe);case 19:return ss(oe,se,fe);case 22:return ud(oe,se,fe)}throw Error(J(156,se.tag))};function Pp(oe,se){return da(oe,se)}function ef(oe,se,fe,ye){this.tag=oe,this.key=fe,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=se,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ye,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function So(oe,se,fe,ye){return new ef(oe,se,fe,ye)}function bc(oe){return oe=oe.prototype,!(!oe||!oe.isReactComponent)}function tf(oe){if(typeof oe=="function")return bc(oe)?1:0;if(oe!=null){if(oe=oe.$$typeof,oe===Qe)return 11;if(oe===et)return 14}return 2}function jo(oe,se){var fe=oe.alternate;return fe===null?(fe=So(oe.tag,se,oe.key,oe.mode),fe.elementType=oe.elementType,fe.type=oe.type,fe.stateNode=oe.stateNode,fe.alternate=oe,oe.alternate=fe):(fe.pendingProps=se,fe.type=oe.type,fe.flags=0,fe.subtreeFlags=0,fe.deletions=null),fe.flags=oe.flags&14680064,fe.childLanes=oe.childLanes,fe.lanes=oe.lanes,fe.child=oe.child,fe.memoizedProps=oe.memoizedProps,fe.memoizedState=oe.memoizedState,fe.updateQueue=oe.updateQueue,se=oe.dependencies,fe.dependencies=se===null?null:{lanes:se.lanes,firstContext:se.firstContext},fe.sibling=oe.sibling,fe.index=oe.index,fe.ref=oe.ref,fe}function Ec(oe,se,fe,ye,Se,Oe){var Fe=2;if(ye=oe,typeof oe=="function")bc(oe)&&(Fe=1);else if(typeof oe=="string")Fe=5;else e:switch(oe){case Ie:return qs(fe.children,Se,Oe,se);case Be:Fe=8,Se|=8;break;case qe:return oe=So(12,fe,se,Se|2),oe.elementType=qe,oe.lanes=Oe,oe;case Ne:return oe=So(13,fe,se,Se),oe.elementType=Ne,oe.lanes=Oe,oe;case Ye:return oe=So(19,fe,se,Se),oe.elementType=Ye,oe.lanes=Oe,oe;case dt:return Sc(fe,Se,Oe,se);default:if(typeof oe=="object"&&oe!==null)switch(oe.$$typeof){case Ge:Fe=10;break e;case Je:Fe=9;break e;case Qe:Fe=11;break e;case et:Fe=14;break e;case Xe:Fe=16,ye=null;break e}throw Error(J(130,oe==null?oe:typeof oe,""))}return se=So(Fe,fe,se,Se),se.elementType=oe,se.type=ye,se.lanes=Oe,se}function qs(oe,se,fe,ye){return oe=So(7,oe,ye,se),oe.lanes=fe,oe}function Sc(oe,se,fe,ye){return oe=So(22,oe,ye,se),oe.elementType=dt,oe.lanes=fe,oe.stateNode={isHidden:!1},oe}function Rd(oe,se,fe){return oe=So(6,oe,null,se),oe.lanes=fe,oe}function Ad(oe,se,fe){return se=So(4,oe.children!==null?oe.children:[],oe.key,se),se.lanes=fe,se.stateNode={containerInfo:oe.containerInfo,pendingChildren:null,implementation:oe.implementation},se}function rf(oe,se,fe,ye,Se){this.tag=se,this.containerInfo=oe,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ft(0),this.expirationTimes=ft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ft(0),this.identifierPrefix=ye,this.onRecoverableError=Se,this.mutableSourceEagerHydrationData=null}function Td(oe,se,fe,ye,Se,Oe,Fe,We,tt){return oe=new rf(oe,se,fe,We,tt),se===1?(se=1,Oe===!0&&(se|=8)):se=0,Oe=So(3,null,null,se),oe.current=Oe,Oe.stateNode=oe,Oe.memoizedState={element:ye,isDehydrated:fe,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vu(Oe),oe}function nf(oe,se,fe){var ye=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(V){console.error(V)}}return e(),reactDom.exports=requireReactDom_production_min(),reactDom.exports}var hasRequiredClient;function requireClient(){if(hasRequiredClient)return client;hasRequiredClient=1;var e=requireReactDom();return client.createRoot=e.createRoot,client.hydrateRoot=e.hydrateRoot,client}var clientExports=requireClient();const scriptRel="modulepreload",assetsURL=function(e){return"/-/build/"+e},seen={},__vitePreload=function(V,J,$){let ee=Promise.resolve();if(J&&J.length>0){document.getElementsByTagName("link");const re=document.querySelector("meta[property=csp-nonce]"),ne=re?.nonce||re?.getAttribute("nonce");ee=Promise.allSettled(J.map(ie=>{if(ie=assetsURL(ie),ie in seen)return;seen[ie]=!0;const ae=ie.endsWith(".css"),ue=ae?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${ie}"]${ue}`))return;const ce=document.createElement("link");if(ce.rel=ae?"stylesheet":scriptRel,ae||(ce.as="script"),ce.crossOrigin="",ce.href=ie,ne&&ce.setAttribute("nonce",ne),document.head.appendChild(ce),ae)return new Promise((de,me)=>{ce.addEventListener("load",de),ce.addEventListener("error",()=>me(new Error(`Unable to preload CSS for ${ie}`)))})}))}function te(re){const ne=new Event("vite:preloadError",{cancelable:!0});if(ne.payload=re,window.dispatchEvent(ne),!ne.defaultPrevented)throw re}return ee.then(re=>{for(const ne of re||[])ne.status==="rejected"&&te(ne.reason);return V().catch(te)})};var reactExports=requireReact();const React=getDefaultExportFromCjs(reactExports),React$1=_mergeNamespaces({__proto__:null,default:React},[reactExports]);var shim={exports:{}},useSyncExternalStoreShim_production_min={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var hasRequiredUseSyncExternalStoreShim_production_min;function requireUseSyncExternalStoreShim_production_min(){if(hasRequiredUseSyncExternalStoreShim_production_min)return useSyncExternalStoreShim_production_min;hasRequiredUseSyncExternalStoreShim_production_min=1;var e=requireReact();function V(ce,de){return ce===de&&(ce!==0||1/ce===1/de)||ce!==ce&&de!==de}var J=typeof Object.is=="function"?Object.is:V,$=e.useState,ee=e.useEffect,te=e.useLayoutEffect,re=e.useDebugValue;function ne(ce,de){var me=de(),he=$({inst:{value:me,getSnapshot:de}}),ge=he[0].inst,_e=he[1];return te(function(){ge.value=me,ge.getSnapshot=de,ie(ge)&&_e({inst:ge})},[ce,me,de]),ee(function(){return ie(ge)&&_e({inst:ge}),ce(function(){ie(ge)&&_e({inst:ge})})},[ce]),re(me),me}function ie(ce){var de=ce.getSnapshot;ce=ce.value;try{var me=de();return!J(ce,me)}catch{return!0}}function ae(ce,de){return de()}var ue=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?ae:ne;return useSyncExternalStoreShim_production_min.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:ue,useSyncExternalStoreShim_production_min}var hasRequiredShim;function requireShim(){return hasRequiredShim||(hasRequiredShim=1,shim.exports=requireUseSyncExternalStoreShim_production_min()),shim.exports}var shimExports=requireShim();const noop$4=()=>{},UNDEFINED=noop$4(),OBJECT=Object,isUndefined$1=e=>e===UNDEFINED,isFunction$5=e=>typeof e=="function",mergeObjects=(e,V)=>({...e,...V}),isPromiseLike$1=e=>isFunction$5(e.then),table=new WeakMap;let counter$1=0;const stableHash=e=>{const V=typeof e,J=e&&e.constructor,$=J==Date;let ee,te;if(OBJECT(e)===e&&!$&&J!=RegExp){if(ee=table.get(e),ee)return ee;if(ee=++counter$1+"~",table.set(e,ee),J==Array){for(ee="@",te=0;teisWindowDefined&&typeof window.requestAnimationFrame!=STR_UNDEFINED,createCacheHelper=(e,V)=>{const J=SWRGlobalState.get(e);return[()=>!isUndefined$1(V)&&e.get(V)||EMPTY_CACHE,$=>{if(!isUndefined$1(V)){const ee=e.get(V);V in INITIAL_CACHE||(INITIAL_CACHE[V]=ee),J[5](V,mergeObjects(ee,$),ee||EMPTY_CACHE)}},J[6],()=>!isUndefined$1(V)&&V in INITIAL_CACHE?INITIAL_CACHE[V]:!isUndefined$1(V)&&e.get(V)||EMPTY_CACHE]};let online=!0;const isOnline=()=>online,[onWindowEvent,offWindowEvent]=isWindowDefined&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[noop$4,noop$4],isVisible=()=>{const e=isDocumentDefined&&document.visibilityState;return isUndefined$1(e)||e!=="hidden"},initFocus=e=>(isDocumentDefined&&document.addEventListener("visibilitychange",e),onWindowEvent("focus",e),()=>{isDocumentDefined&&document.removeEventListener("visibilitychange",e),offWindowEvent("focus",e)}),initReconnect=e=>{const V=()=>{online=!0,e()},J=()=>{online=!1};return onWindowEvent("online",V),onWindowEvent("offline",J),()=>{offWindowEvent("online",V),offWindowEvent("offline",J)}},preset={isOnline,isVisible},defaultConfigOptions={initFocus,initReconnect},IS_REACT_LEGACY=!React.useId,IS_SERVER=!isWindowDefined||"Deno"in window,rAF=e=>hasRequestAnimationFrame()?window.requestAnimationFrame(e):setTimeout(e,1),useIsomorphicLayoutEffect$4=IS_SERVER?reactExports.useEffect:reactExports.useLayoutEffect,navigatorConnection=typeof navigator<"u"&&navigator.connection,slowConnection=!IS_SERVER&&navigatorConnection&&(["slow-2g","2g"].includes(navigatorConnection.effectiveType)||navigatorConnection.saveData),serialize=e=>{if(isFunction$5(e))try{e=e()}catch{e=""}const V=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?stableHash(e):"",[e,V]};let __timestamp=0;const getTimestamp=()=>++__timestamp,FOCUS_EVENT=0,RECONNECT_EVENT=1,MUTATE_EVENT=2,ERROR_REVALIDATE_EVENT=3;var constants$1={__proto__:null,ERROR_REVALIDATE_EVENT,FOCUS_EVENT,MUTATE_EVENT,RECONNECT_EVENT};async function internalMutate(...e){const[V,J,$,ee]=e,te=mergeObjects({populateCache:!0,throwOnError:!0},typeof ee=="boolean"?{revalidate:ee}:ee||{});let re=te.populateCache;const ne=te.rollbackOnError;let ie=te.optimisticData;const ae=te.revalidate!==!1,ue=me=>typeof ne=="function"?ne(me):ne!==!1,ce=te.throwOnError;if(isFunction$5(J)){const me=J,he=[],ge=V.keys();for(const _e of ge)!/^\$(inf|sub)\$/.test(_e)&&me(V.get(_e)._k)&&he.push(_e);return Promise.all(he.map(de))}return de(J);async function de(me){const[he]=serialize(me);if(!he)return;const[ge,_e]=createCacheHelper(V,he),[be,Ee,Pe,$e]=SWRGlobalState.get(V),Re=be[he],Le=()=>ae&&(delete Pe[he],delete $e[he],Re&&Re[0])?Re[0](MUTATE_EVENT).then(()=>ge().data):ge().data;if(e.length<3)return Le();let Ie=$,Be;const qe=getTimestamp();Ee[he]=[qe,0];const Ge=!isUndefined$1(ie),Je=ge(),Qe=Je.data,Ne=Je._c,Ye=isUndefined$1(Ne)?Qe:Ne;if(Ge&&(ie=isFunction$5(ie)?ie(Ye,Qe):ie,_e({data:ie,_c:Ye})),isFunction$5(Ie))try{Ie=Ie(Ye)}catch(Xe){Be=Xe}if(Ie&&isPromiseLike$1(Ie))if(Ie=await Ie.catch(Xe=>{Be=Xe}),qe!==Ee[he][0]){if(Be)throw Be;return Ie}else Be&&Ge&&ue(Be)&&(re=!0,Ie=Ye,_e({data:Ie,_c:UNDEFINED}));re&&(Be||(isFunction$5(re)&&(Ie=re(Ie,Ye)),_e({data:Ie,error:UNDEFINED,_c:UNDEFINED}))),Ee[he][1]=getTimestamp();const et=await Le();if(_e({_c:UNDEFINED}),Be){if(ce)throw Be;return}return re?et:Ie}}const revalidateAllKeys=(e,V)=>{for(const J in e)e[J][0]&&e[J][0](V)},initCache=(e,V)=>{if(!SWRGlobalState.has(e)){const J=mergeObjects(defaultConfigOptions,V),$={},ee=internalMutate.bind(UNDEFINED,e);let te=noop$4;const re={},ne=(ue,ce)=>{const de=re[ue]||[];return re[ue]=de,de.push(ce),()=>de.splice(de.indexOf(ce),1)},ie=(ue,ce,de)=>{e.set(ue,ce);const me=re[ue];if(me)for(const he of me)he(ce,de)},ae=()=>{if(!SWRGlobalState.has(e)&&(SWRGlobalState.set(e,[$,{},{},{},ee,ie,ne]),!IS_SERVER)){const ue=J.initFocus(setTimeout.bind(UNDEFINED,revalidateAllKeys.bind(UNDEFINED,$,FOCUS_EVENT))),ce=J.initReconnect(setTimeout.bind(UNDEFINED,revalidateAllKeys.bind(UNDEFINED,$,RECONNECT_EVENT)));te=()=>{ue&&ue(),ce&&ce(),SWRGlobalState.delete(e)}}};return ae(),[e,ee,ae,te]}return[e,SWRGlobalState.get(e)[4]]},onErrorRetry=(e,V,J,$,ee)=>{const te=J.errorRetryCount,re=ee.retryCount,ne=~~((Math.random()+.5)*(1<<(re<8?re:8)))*J.errorRetryInterval;!isUndefined$1(te)&&re>te||setTimeout($,ne,ee)},compare$2=(e,V)=>stableHash(e)==stableHash(V),[cache$3,mutate]=initCache(new Map),defaultConfig=mergeObjects({onLoadingSlow:noop$4,onSuccess:noop$4,onError:noop$4,onErrorRetry,onDiscarded:noop$4,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:slowConnection?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:slowConnection?5e3:3e3,compare:compare$2,isPaused:()=>!1,cache:cache$3,mutate,fallback:{}},preset),mergeConfigs=(e,V)=>{const J=mergeObjects(e,V);if(V){const{use:$,fallback:ee}=e,{use:te,fallback:re}=V;$&&te&&(J.use=$.concat(te)),ee&&re&&(J.fallback=mergeObjects(ee,re))}return J},SWRConfigContext=reactExports.createContext({}),SWRConfig$1=e=>{const{value:V}=e,J=reactExports.useContext(SWRConfigContext),$=isFunction$5(V),ee=reactExports.useMemo(()=>$?V(J):V,[$,J,V]),te=reactExports.useMemo(()=>$?ee:mergeConfigs(J,ee),[$,J,ee]),re=ee&&ee.provider,ne=reactExports.useRef(UNDEFINED);re&&!ne.current&&(ne.current=initCache(re(te.cache||cache$3),ee));const ie=ne.current;return ie&&(te.cache=ie[0],te.mutate=ie[1]),useIsomorphicLayoutEffect$4(()=>{if(ie)return ie[2]&&ie[2](),ie[3]},[]),reactExports.createElement(SWRConfigContext.Provider,mergeObjects(e,{value:te}))},enableDevtools=isWindowDefined&&window.__SWR_DEVTOOLS_USE__,use$1=enableDevtools?window.__SWR_DEVTOOLS_USE__:[],setupDevTools=()=>{enableDevtools&&(window.__SWR_DEVTOOLS_REACT__=React)},normalize=e=>isFunction$5(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],useSWRConfig=()=>mergeObjects(defaultConfig,reactExports.useContext(SWRConfigContext)),middleware=e=>(V,J,$)=>e(V,J&&((...te)=>{const[re]=serialize(V),[,,,ne]=SWRGlobalState.get(cache$3),ie=ne[re];return isUndefined$1(ie)?J(...te):(delete ne[re],ie)}),$),BUILT_IN_MIDDLEWARE=use$1.concat(middleware),withArgs=e=>function(...J){const $=useSWRConfig(),[ee,te,re]=normalize(J),ne=mergeConfigs($,re);let ie=e;const{use:ae}=ne,ue=(ae||[]).concat(BUILT_IN_MIDDLEWARE);for(let ce=ue.length;ce--;)ie=ue[ce](ie);return ie(ee,te||ne.fetcher||null,ne)},useStateWithDeps=e=>{const V=reactExports.useState({})[1],J=reactExports.useRef(!1),$=reactExports.useRef(e),ee=reactExports.useRef({data:!1,error:!1,isValidating:!1}),te=reactExports.useCallback(re=>{let ne=!1;const ie=$.current;for(const ae in re){const ue=ae;ie[ue]!==re[ue]&&(ie[ue]=re[ue],ee.current[ue]&&(ne=!0))}ne&&!J.current&&(IS_REACT_LEGACY?V({}):React.startTransition(()=>V({})))},[V]);return useIsomorphicLayoutEffect$4(()=>(J.current=!1,()=>{J.current=!0})),[$,ee.current,te]},subscribeCallback=(e,V,J)=>{const $=V[e]||(V[e]=[]);return $.push(J),()=>{const ee=$.indexOf(J);ee>=0&&($[ee]=$[$.length-1],$.pop())}},withMiddleware=(e,V)=>(...J)=>{const[$,ee,te]=normalize(J),re=(te.use||[]).concat(V);return e($,ee,{...te,use:re})};setupDevTools();const use=React.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(V=>{e.status="fulfilled",e.value=V},V=>{e.status="rejected",e.reason=V}),e)}),WITH_DEDUPE={dedupe:!0},useSWRHandler=(e,V,J)=>{const{cache:$,compare:ee,suspense:te,fallbackData:re,revalidateOnMount:ne,revalidateIfStale:ie,refreshInterval:ae,refreshWhenHidden:ue,refreshWhenOffline:ce,keepPreviousData:de}=J,[me,he,ge,_e]=SWRGlobalState.get($),[be,Ee]=serialize(e),Pe=reactExports.useRef(!1),$e=reactExports.useRef(!1),Re=reactExports.useRef(be),Le=reactExports.useRef(V),Ie=reactExports.useRef(J),Be=()=>Ie.current,qe=()=>Be().isVisible()&&Be().isOnline(),[Ge,Je,Qe,Ne]=createCacheHelper($,be),Ye=reactExports.useRef({}).current,et=isUndefined$1(re)?J.fallback[be]:re,Xe=(_r,Yt)=>{for(const ir in Ye){const cr=ir;if(cr==="data"){if(!ee(_r[cr],Yt[cr])&&(!isUndefined$1(_r[cr])||!ee(Bt,Yt[cr])))return!1}else if(Yt[cr]!==_r[cr])return!1}return!0},dt=reactExports.useMemo(()=>{const _r=!be||!V?!1:isUndefined$1(ne)?Be().isPaused()||te?!1:isUndefined$1(ie)?!0:ie:ne,Yt=pr=>{const wr=mergeObjects(pr);return delete wr._k,_r?{isValidating:!0,isLoading:!0,...wr}:wr},ir=Ge(),cr=Ne(),Rr=Yt(ir),xr=ir===cr?Rr:Yt(cr);let or=Rr;return[()=>{const pr=Yt(Ge());return Xe(pr,or)?(or.data=pr.data,or.isLoading=pr.isLoading,or.isValidating=pr.isValidating,or.error=pr.error,or):(or=pr,pr)},()=>xr]},[$,be]),Ze=shimExports.useSyncExternalStore(reactExports.useCallback(_r=>Qe(be,(Yt,ir)=>{Xe(ir,Yt)||_r()}),[$,be]),dt[0],dt[1]),ot=!Pe.current,_t=me[be]&&me[be].length>0,He=Ze.data,pt=isUndefined$1(He)?et:He,Tt=Ze.error,jt=reactExports.useRef(pt),Bt=de?isUndefined$1(He)?jt.current:He:pt,zt=_t&&!isUndefined$1(Tt)?!1:ot&&!isUndefined$1(ne)?ne:Be().isPaused()?!1:te?isUndefined$1(pt)?!1:ie:isUndefined$1(pt)||ie,Wt=!!(be&&V&&ot&&zt),qt=isUndefined$1(Ze.isValidating)?Wt:Ze.isValidating,ar=isUndefined$1(Ze.isLoading)?Wt:Ze.isLoading,vr=reactExports.useCallback(async _r=>{const Yt=Le.current;if(!be||!Yt||$e.current||Be().isPaused())return!1;let ir,cr,Rr=!0;const xr=_r||{},or=!ge[be]||!xr.dedupe,pr=()=>IS_REACT_LEGACY?!$e.current&&be===Re.current&&Pe.current:be===Re.current,wr={isValidating:!1,isLoading:!1},Mr=()=>{Je(wr)},st=()=>{const Nt=ge[be];Nt&&Nt[1]===cr&&delete ge[be]},$t={isValidating:!0};isUndefined$1(Ge().data)&&($t.isLoading=!0);try{if(or&&(Je($t),J.loadingTimeout&&isUndefined$1(Ge().data)&&setTimeout(()=>{Rr&&pr()&&Be().onLoadingSlow(be,J)},J.loadingTimeout),ge[be]=[Yt(Ee),getTimestamp()]),[ir,cr]=ge[be],ir=await ir,or&&setTimeout(st,J.dedupingInterval),!ge[be]||ge[be][1]!==cr)return or&&pr()&&Be().onDiscarded(be),!1;wr.error=UNDEFINED;const Nt=he[be];if(!isUndefined$1(Nt)&&(cr<=Nt[0]||cr<=Nt[1]||Nt[1]===0))return Mr(),or&&pr()&&Be().onDiscarded(be),!1;const Mt=Ge().data;wr.data=ee(Mt,ir)?Mt:ir,or&&pr()&&Be().onSuccess(ir,be,J)}catch(Nt){st();const Mt=Be(),{shouldRetryOnError:rr}=Mt;Mt.isPaused()||(wr.error=Nt,or&&pr()&&(Mt.onError(Nt,be,Mt),(rr===!0||isFunction$5(rr)&&rr(Nt))&&qe()&&Mt.onErrorRetry(Nt,be,Mt,sr=>{const Pr=me[be];Pr&&Pr[0]&&Pr[0](constants$1.ERROR_REVALIDATE_EVENT,sr)},{retryCount:(xr.retryCount||0)+1,dedupe:!0})))}return Rr=!1,Mr(),!0},[be,$]),Tr=reactExports.useCallback((..._r)=>internalMutate($,Re.current,..._r),[]);if(useIsomorphicLayoutEffect$4(()=>{Le.current=V,Ie.current=J,isUndefined$1(He)||(jt.current=He)}),useIsomorphicLayoutEffect$4(()=>{if(!be)return;const _r=vr.bind(UNDEFINED,WITH_DEDUPE);let Yt=0;const cr=subscribeCallback(be,me,(Rr,xr={})=>{if(Rr==constants$1.FOCUS_EVENT){const or=Date.now();Be().revalidateOnFocus&&or>Yt&&qe()&&(Yt=or+Be().focusThrottleInterval,_r())}else if(Rr==constants$1.RECONNECT_EVENT)Be().revalidateOnReconnect&&qe()&&_r();else{if(Rr==constants$1.MUTATE_EVENT)return vr();if(Rr==constants$1.ERROR_REVALIDATE_EVENT)return vr(xr)}});return $e.current=!1,Re.current=be,Pe.current=!0,Je({_k:Ee}),zt&&(isUndefined$1(pt)||IS_SERVER?_r():rAF(_r)),()=>{$e.current=!0,cr()}},[be]),useIsomorphicLayoutEffect$4(()=>{let _r;function Yt(){const cr=isFunction$5(ae)?ae(Ge().data):ae;cr&&_r!==-1&&(_r=setTimeout(ir,cr))}function ir(){!Ge().error&&(ue||Be().isVisible())&&(ce||Be().isOnline())?vr(WITH_DEDUPE).then(Yt):Yt()}return Yt(),()=>{_r&&(clearTimeout(_r),_r=-1)}},[ae,ue,ce,be]),reactExports.useDebugValue(Bt),te&&isUndefined$1(pt)&&be){if(!IS_REACT_LEGACY&&IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");Le.current=V,Ie.current=J,$e.current=!1;const _r=_e[be];if(!isUndefined$1(_r)){const Yt=Tr(_r);use(Yt)}if(isUndefined$1(Tt)){const Yt=vr(WITH_DEDUPE);isUndefined$1(Bt)||(Yt.status="fulfilled",Yt.value=!0),use(Yt)}else throw Tt}return{mutate:Tr,get data(){return Ye.data=!0,Bt},get error(){return Ye.error=!0,Tt},get isValidating(){return Ye.isValidating=!0,qt},get isLoading(){return Ye.isLoading=!0,ar}}},SWRConfig=OBJECT.defineProperty(SWRConfig$1,"defaultValue",{value:defaultConfig}),useSWR=withArgs(useSWRHandler);function bind(e,V){return function(){return e.apply(V,arguments)}}const{toString:toString$2}=Object.prototype,{getPrototypeOf}=Object,kindOf=(e=>V=>{const J=toString$2.call(V);return e[J]||(e[J]=J.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=e=>(e=e.toLowerCase(),V=>kindOf(V)===e),typeOfTest=e=>V=>typeof V===e,{isArray:isArray$2}=Array,isUndefined=typeOfTest("undefined");function isBuffer$2(e){return e!==null&&!isUndefined(e)&&e.constructor!==null&&!isUndefined(e.constructor)&&isFunction$4(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(e){let V;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?V=ArrayBuffer.isView(e):V=e&&e.buffer&&isArrayBuffer(e.buffer),V}const isString$3=typeOfTest("string"),isFunction$4=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$5=e=>e!==null&&typeof e=="object",isBoolean$1=e=>e===!0||e===!1,isPlainObject$4=e=>{if(kindOf(e)!=="object")return!1;const V=getPrototypeOf(e);return(V===null||V===Object.prototype||Object.getPrototypeOf(V)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},isDate$1=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=e=>isObject$5(e)&&isFunction$4(e.pipe),isFormData=e=>{let V;return e&&(typeof FormData=="function"&&e instanceof FormData||isFunction$4(e.append)&&((V=kindOf(e))==="formdata"||V==="object"&&isFunction$4(e.toString)&&e.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse$1,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim$2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(e,V,{allOwnKeys:J=!1}={}){if(e===null||typeof e>"u")return;let $,ee;if(typeof e!="object"&&(e=[e]),isArray$2(e))for($=0,ee=e.length;$0;)if(ee=J[$],V===ee.toLowerCase())return ee;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,isContextDefined=e=>!isUndefined(e)&&e!==_global;function merge(){const{caseless:e}=isContextDefined(this)&&this||{},V={},J=($,ee)=>{const te=e&&findKey$2(V,ee)||ee;isPlainObject$4(V[te])&&isPlainObject$4($)?V[te]=merge(V[te],$):isPlainObject$4($)?V[te]=merge({},$):isArray$2($)?V[te]=$.slice():V[te]=$};for(let $=0,ee=arguments.length;$(forEach(V,(ee,te)=>{J&&isFunction$4(ee)?e[te]=bind(ee,J):e[te]=ee},{allOwnKeys:$}),e),stripBOM=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),inherits=(e,V,J,$)=>{e.prototype=Object.create(V.prototype,$),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:V.prototype}),J&&Object.assign(e.prototype,J)},toFlatObject=(e,V,J,$)=>{let ee,te,re;const ne={};if(V=V||{},e==null)return V;do{for(ee=Object.getOwnPropertyNames(e),te=ee.length;te-- >0;)re=ee[te],(!$||$(re,e,V))&&!ne[re]&&(V[re]=e[re],ne[re]=!0);e=J!==!1&&getPrototypeOf(e)}while(e&&(!J||J(e,V))&&e!==Object.prototype);return V},endsWith=(e,V,J)=>{e=String(e),(J===void 0||J>e.length)&&(J=e.length),J-=V.length;const $=e.indexOf(V,J);return $!==-1&&$===J},toArray$3=e=>{if(!e)return null;if(isArray$2(e))return e;let V=e.length;if(!isNumber$1(V))return null;const J=new Array(V);for(;V-- >0;)J[V]=e[V];return J},isTypedArray$1=(e=>V=>e&&V instanceof e)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(e,V)=>{const $=(e&&e[Symbol.iterator]).call(e);let ee;for(;(ee=$.next())&&!ee.done;){const te=ee.value;V.call(e,te[0],te[1])}},matchAll=(e,V)=>{let J;const $=[];for(;(J=e.exec(V))!==null;)$.push(J);return $},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(J,$,ee){return $.toUpperCase()+ee}),hasOwnProperty$b=(({hasOwnProperty:e})=>(V,J)=>e.call(V,J))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(e,V)=>{const J=Object.getOwnPropertyDescriptors(e),$={};forEach(J,(ee,te)=>{let re;(re=V(ee,te,e))!==!1&&($[te]=re||ee)}),Object.defineProperties(e,$)},freezeMethods=e=>{reduceDescriptors(e,(V,J)=>{if(isFunction$4(e)&&["arguments","caller","callee"].indexOf(J)!==-1)return!1;const $=e[J];if(isFunction$4($)){if(V.enumerable=!1,"writable"in V){V.writable=!1;return}V.set||(V.set=()=>{throw Error("Can not rewrite read-only method '"+J+"'")})}})},toObjectSet=(e,V)=>{const J={},$=ee=>{ee.forEach(te=>{J[te]=!0})};return isArray$2(e)?$(e):$(String(e).split(V)),J},noop$3=()=>{},toFiniteNumber=(e,V)=>e!=null&&Number.isFinite(e=+e)?e:V;function isSpecCompliantForm(e){return!!(e&&isFunction$4(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const toJSONObject=e=>{const V=new Array(10),J=($,ee)=>{if(isObject$5($)){if(V.indexOf($)>=0)return;if(!("toJSON"in $)){V[ee]=$;const te=isArray$2($)?[]:{};return forEach($,(re,ne)=>{const ie=J(re,ee+1);!isUndefined(ie)&&(te[ne]=ie)}),V[ee]=void 0,te}}return $};return J(e,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=e=>e&&(isObject$5(e)||isFunction$4(e))&&isFunction$4(e.then)&&isFunction$4(e.catch),_setImmediate=((e,V)=>e?setImmediate:V?((J,$)=>(_global.addEventListener("message",({source:ee,data:te})=>{ee===_global&&te===J&&$.length&&$.shift()()},!1),ee=>{$.push(ee),_global.postMessage(J,"*")}))(`axios@${Math.random()}`,[]):J=>setTimeout(J))(typeof setImmediate=="function",isFunction$4(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof process<"u"&&process.nextTick||_setImmediate,utils$1={isArray:isArray$2,isArrayBuffer,isBuffer:isBuffer$2,isFormData,isArrayBufferView,isString:isString$3,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$5,isPlainObject:isPlainObject$4,isReadableStream,isRequest,isResponse:isResponse$1,isHeaders,isUndefined,isDate:isDate$1,isFile,isBlob,isRegExp,isFunction:isFunction$4,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach,merge,extend,trim:trim$2,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray:toArray$3,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$b,hasOwnProp:hasOwnProperty$b,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$3,toFiniteNumber,findKey:findKey$2,global:_global,isContextDefined,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError$1(e,V,J,$,ee){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",V&&(this.code=V),J&&(this.config=J),$&&(this.request=$),ee&&(this.response=ee,this.status=ee.status?ee.status:null)}utils$1.inherits(AxiosError$1,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError$1.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{descriptors[e]={value:e}});Object.defineProperties(AxiosError$1,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError$1.from=(e,V,J,$,ee,te)=>{const re=Object.create(prototype$1);return utils$1.toFlatObject(e,re,function(ie){return ie!==Error.prototype},ne=>ne!=="isAxiosError"),AxiosError$1.call(re,e.message,V,J,$,ee),re.cause=e,re.name=e.name,te&&Object.assign(re,te),re};const httpAdapter=null;function isVisitable(e){return utils$1.isPlainObject(e)||utils$1.isArray(e)}function removeBrackets(e){return utils$1.endsWith(e,"[]")?e.slice(0,-2):e}function renderKey(e,V,J){return e?e.concat(V).map(function(ee,te){return ee=removeBrackets(ee),!J&&te?"["+ee+"]":ee}).join(J?".":""):V}function isFlatArray(e){return utils$1.isArray(e)&&!e.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function(V){return/^is[A-Z]/.test(V)});function toFormData$1(e,V,J){if(!utils$1.isObject(e))throw new TypeError("target must be an object");V=V||new FormData,J=utils$1.toFlatObject(J,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ge,_e){return!utils$1.isUndefined(_e[ge])});const $=J.metaTokens,ee=J.visitor||ue,te=J.dots,re=J.indexes,ie=(J.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm(V);if(!utils$1.isFunction(ee))throw new TypeError("visitor must be a function");function ae(he){if(he===null)return"";if(utils$1.isDate(he))return he.toISOString();if(!ie&&utils$1.isBlob(he))throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(he)||utils$1.isTypedArray(he)?ie&&typeof Blob=="function"?new Blob([he]):Buffer.from(he):he}function ue(he,ge,_e){let be=he;if(he&&!_e&&typeof he=="object"){if(utils$1.endsWith(ge,"{}"))ge=$?ge:ge.slice(0,-2),he=JSON.stringify(he);else if(utils$1.isArray(he)&&isFlatArray(he)||(utils$1.isFileList(he)||utils$1.endsWith(ge,"[]"))&&(be=utils$1.toArray(he)))return ge=removeBrackets(ge),be.forEach(function(Pe,$e){!(utils$1.isUndefined(Pe)||Pe===null)&&V.append(re===!0?renderKey([ge],$e,te):re===null?ge:ge+"[]",ae(Pe))}),!1}return isVisitable(he)?!0:(V.append(renderKey(_e,ge,te),ae(he)),!1)}const ce=[],de=Object.assign(predicates,{defaultVisitor:ue,convertValue:ae,isVisitable});function me(he,ge){if(!utils$1.isUndefined(he)){if(ce.indexOf(he)!==-1)throw Error("Circular reference detected in "+ge.join("."));ce.push(he),utils$1.forEach(he,function(be,Ee){(!(utils$1.isUndefined(be)||be===null)&&ee.call(V,be,utils$1.isString(Ee)?Ee.trim():Ee,ge,de))===!0&&me(be,ge?ge.concat(Ee):[Ee])}),ce.pop()}}if(!utils$1.isObject(e))throw new TypeError("data must be an object");return me(e),V}function encode$2(e){const V={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function($){return V[$]})}function AxiosURLSearchParams(e,V){this._pairs=[],e&&toFormData$1(e,this,V)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(V,J){this._pairs.push([V,J])};prototype.toString=function(V){const J=V?function($){return V.call(this,$,encode$2)}:encode$2;return this._pairs.map(function(ee){return J(ee[0])+"="+J(ee[1])},"").join("&")};function encode$1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(e,V,J){if(!V)return e;const $=J&&J.encode||encode$1;utils$1.isFunction(J)&&(J={serialize:J});const ee=J&&J.serialize;let te;if(ee?te=ee(V,J):te=utils$1.isURLSearchParams(V)?V.toString():new AxiosURLSearchParams(V,J).toString($),te){const re=e.indexOf("#");re!==-1&&(e=e.slice(0,re)),e+=(e.indexOf("?")===-1?"?":"&")+te}return e}class InterceptorManager{constructor(){this.handlers=[]}use(V,J,$){return this.handlers.push({fulfilled:V,rejected:J,synchronous:$?$.synchronous:!1,runWhen:$?$.runWhen:null}),this.handlers.length-1}eject(V){this.handlers[V]&&(this.handlers[V]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(V){utils$1.forEach(this.handlers,function($){$!==null&&V($)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils,...platform$1};function toURLEncodedForm(e,V){return toFormData$1(e,new platform.classes.URLSearchParams,Object.assign({visitor:function(J,$,ee,te){return platform.isNode&&utils$1.isBuffer(J)?(this.append($,J.toString("base64")),!1):te.defaultVisitor.apply(this,arguments)}},V))}function parsePropPath(e){return utils$1.matchAll(/\w+|\[(\w*)]/g,e).map(V=>V[0]==="[]"?"":V[1]||V[0])}function arrayToObject(e){const V={},J=Object.keys(e);let $;const ee=J.length;let te;for($=0;$=J.length;return re=!re&&utils$1.isArray(ee)?ee.length:re,ie?(utils$1.hasOwnProp(ee,re)?ee[re]=[ee[re],$]:ee[re]=$,!ne):((!ee[re]||!utils$1.isObject(ee[re]))&&(ee[re]=[]),V(J,$,ee[re],te)&&utils$1.isArray(ee[re])&&(ee[re]=arrayToObject(ee[re])),!ne)}if(utils$1.isFormData(e)&&utils$1.isFunction(e.entries)){const J={};return utils$1.forEachEntry(e,($,ee)=>{V(parsePropPath($),ee,J,0)}),J}return null}function stringifySafely(e,V,J){if(utils$1.isString(e))try{return(V||JSON.parse)(e),utils$1.trim(e)}catch($){if($.name!=="SyntaxError")throw $}return(0,JSON.stringify)(e)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(V,J){const $=J.getContentType()||"",ee=$.indexOf("application/json")>-1,te=utils$1.isObject(V);if(te&&utils$1.isHTMLForm(V)&&(V=new FormData(V)),utils$1.isFormData(V))return ee?JSON.stringify(formDataToJSON(V)):V;if(utils$1.isArrayBuffer(V)||utils$1.isBuffer(V)||utils$1.isStream(V)||utils$1.isFile(V)||utils$1.isBlob(V)||utils$1.isReadableStream(V))return V;if(utils$1.isArrayBufferView(V))return V.buffer;if(utils$1.isURLSearchParams(V))return J.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),V.toString();let ne;if(te){if($.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(V,this.formSerializer).toString();if((ne=utils$1.isFileList(V))||$.indexOf("multipart/form-data")>-1){const ie=this.env&&this.env.FormData;return toFormData$1(ne?{"files[]":V}:V,ie&&new ie,this.formSerializer)}}return te||ee?(J.setContentType("application/json",!1),stringifySafely(V)):V}],transformResponse:[function(V){const J=this.transitional||defaults$1.transitional,$=J&&J.forcedJSONParsing,ee=this.responseType==="json";if(utils$1.isResponse(V)||utils$1.isReadableStream(V))return V;if(V&&utils$1.isString(V)&&($&&!this.responseType||ee)){const re=!(J&&J.silentJSONParsing)&ⅇtry{return JSON.parse(V)}catch(ne){if(re)throw ne.name==="SyntaxError"?AxiosError$1.from(ne,AxiosError$1.ERR_BAD_RESPONSE,this,null,this.response):ne}}return V}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(V){return V>=200&&V<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],e=>{defaults$1.headers[e]={}});const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=e=>{const V={};let J,$,ee;return e&&e.split(` +`).forEach(function(re){ee=re.indexOf(":"),J=re.substring(0,ee).trim().toLowerCase(),$=re.substring(ee+1).trim(),!(!J||V[J]&&ignoreDuplicateOf[J])&&(J==="set-cookie"?V[J]?V[J].push($):V[J]=[$]:V[J]=V[J]?V[J]+", "+$:$)}),V},$internals=Symbol("internals");function normalizeHeader(e){return e&&String(e).trim().toLowerCase()}function normalizeValue(e){return e===!1||e==null?e:utils$1.isArray(e)?e.map(normalizeValue):String(e)}function parseTokens(e){const V=Object.create(null),J=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let $;for(;$=J.exec(e);)V[$[1]]=$[2];return V}const isValidHeaderName=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function matchHeaderValue(e,V,J,$,ee){if(utils$1.isFunction($))return $.call(this,V,J);if(ee&&(V=J),!!utils$1.isString(V)){if(utils$1.isString($))return V.indexOf($)!==-1;if(utils$1.isRegExp($))return $.test(V)}}function formatHeader(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(V,J,$)=>J.toUpperCase()+$)}function buildAccessors(e,V){const J=utils$1.toCamelCase(" "+V);["get","set","has"].forEach($=>{Object.defineProperty(e,$+J,{value:function(ee,te,re){return this[$].call(this,V,ee,te,re)},configurable:!0})})}let AxiosHeaders$1=class{constructor(V){V&&this.set(V)}set(V,J,$){const ee=this;function te(ne,ie,ae){const ue=normalizeHeader(ie);if(!ue)throw new Error("header name must be a non-empty string");const ce=utils$1.findKey(ee,ue);(!ce||ee[ce]===void 0||ae===!0||ae===void 0&&ee[ce]!==!1)&&(ee[ce||ie]=normalizeValue(ne))}const re=(ne,ie)=>utils$1.forEach(ne,(ae,ue)=>te(ae,ue,ie));if(utils$1.isPlainObject(V)||V instanceof this.constructor)re(V,J);else if(utils$1.isString(V)&&(V=V.trim())&&!isValidHeaderName(V))re(parseHeaders(V),J);else if(utils$1.isHeaders(V))for(const[ne,ie]of V.entries())te(ie,ne,$);else V!=null&&te(J,V,$);return this}get(V,J){if(V=normalizeHeader(V),V){const $=utils$1.findKey(this,V);if($){const ee=this[$];if(!J)return ee;if(J===!0)return parseTokens(ee);if(utils$1.isFunction(J))return J.call(this,ee,$);if(utils$1.isRegExp(J))return J.exec(ee);throw new TypeError("parser must be boolean|regexp|function")}}}has(V,J){if(V=normalizeHeader(V),V){const $=utils$1.findKey(this,V);return!!($&&this[$]!==void 0&&(!J||matchHeaderValue(this,this[$],$,J)))}return!1}delete(V,J){const $=this;let ee=!1;function te(re){if(re=normalizeHeader(re),re){const ne=utils$1.findKey($,re);ne&&(!J||matchHeaderValue($,$[ne],ne,J))&&(delete $[ne],ee=!0)}}return utils$1.isArray(V)?V.forEach(te):te(V),ee}clear(V){const J=Object.keys(this);let $=J.length,ee=!1;for(;$--;){const te=J[$];(!V||matchHeaderValue(this,this[te],te,V,!0))&&(delete this[te],ee=!0)}return ee}normalize(V){const J=this,$={};return utils$1.forEach(this,(ee,te)=>{const re=utils$1.findKey($,te);if(re){J[re]=normalizeValue(ee),delete J[te];return}const ne=V?formatHeader(te):String(te).trim();ne!==te&&delete J[te],J[ne]=normalizeValue(ee),$[ne]=!0}),this}concat(...V){return this.constructor.concat(this,...V)}toJSON(V){const J=Object.create(null);return utils$1.forEach(this,($,ee)=>{$!=null&&$!==!1&&(J[ee]=V&&utils$1.isArray($)?$.join(", "):$)}),J}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([V,J])=>V+": "+J).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(V){return V instanceof this?V:new this(V)}static concat(V,...J){const $=new this(V);return J.forEach(ee=>$.set(ee)),$}static accessor(V){const $=(this[$internals]=this[$internals]={accessors:{}}).accessors,ee=this.prototype;function te(re){const ne=normalizeHeader(re);$[ne]||(buildAccessors(ee,re),$[ne]=!0)}return utils$1.isArray(V)?V.forEach(te):te(V),this}};AxiosHeaders$1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders$1.prototype,({value:e},V)=>{let J=V[0].toUpperCase()+V.slice(1);return{get:()=>e,set($){this[J]=$}}});utils$1.freezeMethods(AxiosHeaders$1);function transformData(e,V){const J=this||defaults$1,$=V||J,ee=AxiosHeaders$1.from($.headers);let te=$.data;return utils$1.forEach(e,function(ne){te=ne.call(J,te,ee.normalize(),V?V.status:void 0)}),ee.normalize(),te}function isCancel$1(e){return!!(e&&e.__CANCEL__)}function CanceledError$1(e,V,J){AxiosError$1.call(this,e??"canceled",AxiosError$1.ERR_CANCELED,V,J),this.name="CanceledError"}utils$1.inherits(CanceledError$1,AxiosError$1,{__CANCEL__:!0});function settle(e,V,J){const $=J.config.validateStatus;!J.status||!$||$(J.status)?e(J):V(new AxiosError$1("Request failed with status code "+J.status,[AxiosError$1.ERR_BAD_REQUEST,AxiosError$1.ERR_BAD_RESPONSE][Math.floor(J.status/100)-4],J.config,J.request,J))}function parseProtocol(e){const V=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return V&&V[1]||""}function speedometer(e,V){e=e||10;const J=new Array(e),$=new Array(e);let ee=0,te=0,re;return V=V!==void 0?V:1e3,function(ie){const ae=Date.now(),ue=$[te];re||(re=ae),J[ee]=ie,$[ee]=ae;let ce=te,de=0;for(;ce!==ee;)de+=J[ce++],ce=ce%e;if(ee=(ee+1)%e,ee===te&&(te=(te+1)%e),ae-re{J=ue,ee=null,te&&(clearTimeout(te),te=null),e.apply(null,ae)};return[(...ae)=>{const ue=Date.now(),ce=ue-J;ce>=$?re(ae,ue):(ee=ae,te||(te=setTimeout(()=>{te=null,re(ee)},$-ce)))},()=>ee&&re(ee)]}const progressEventReducer=(e,V,J=3)=>{let $=0;const ee=speedometer(50,250);return throttle$1(te=>{const re=te.loaded,ne=te.lengthComputable?te.total:void 0,ie=re-$,ae=ee(ie),ue=re<=ne;$=re;const ce={loaded:re,total:ne,progress:ne?re/ne:void 0,bytes:ie,rate:ae||void 0,estimated:ae&&ne&&ue?(ne-re)/ae:void 0,event:te,lengthComputable:ne!=null,[V?"download":"upload"]:!0};e(ce)},J)},progressEventDecorator=(e,V)=>{const J=e!=null;return[$=>V[0]({lengthComputable:J,total:e,loaded:$}),V[1]]},asyncDecorator=e=>(...V)=>utils$1.asap(()=>e(...V)),isURLSameOrigin=platform.hasStandardBrowserEnv?((e,V)=>J=>(J=new URL(J,platform.origin),e.protocol===J.protocol&&e.host===J.host&&(V||e.port===J.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0,cookies=platform.hasStandardBrowserEnv?{write(e,V,J,$,ee,te){const re=[e+"="+encodeURIComponent(V)];utils$1.isNumber(J)&&re.push("expires="+new Date(J).toGMTString()),utils$1.isString($)&&re.push("path="+$),utils$1.isString(ee)&&re.push("domain="+ee),te===!0&&re.push("secure"),document.cookie=re.join("; ")},read(e){const V=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return V?decodeURIComponent(V[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function combineURLs(e,V){return V?e.replace(/\/?\/$/,"")+"/"+V.replace(/^\/+/,""):e}function buildFullPath(e,V,J){let $=!isAbsoluteURL(V);return e&&$||J==!1?combineURLs(e,V):V}const headersToObject=e=>e instanceof AxiosHeaders$1?{...e}:e;function mergeConfig$1(e,V){V=V||{};const J={};function $(ae,ue,ce,de){return utils$1.isPlainObject(ae)&&utils$1.isPlainObject(ue)?utils$1.merge.call({caseless:de},ae,ue):utils$1.isPlainObject(ue)?utils$1.merge({},ue):utils$1.isArray(ue)?ue.slice():ue}function ee(ae,ue,ce,de){if(utils$1.isUndefined(ue)){if(!utils$1.isUndefined(ae))return $(void 0,ae,ce,de)}else return $(ae,ue,ce,de)}function te(ae,ue){if(!utils$1.isUndefined(ue))return $(void 0,ue)}function re(ae,ue){if(utils$1.isUndefined(ue)){if(!utils$1.isUndefined(ae))return $(void 0,ae)}else return $(void 0,ue)}function ne(ae,ue,ce){if(ce in V)return $(ae,ue);if(ce in e)return $(void 0,ae)}const ie={url:te,method:te,data:te,baseURL:re,transformRequest:re,transformResponse:re,paramsSerializer:re,timeout:re,timeoutMessage:re,withCredentials:re,withXSRFToken:re,adapter:re,responseType:re,xsrfCookieName:re,xsrfHeaderName:re,onUploadProgress:re,onDownloadProgress:re,decompress:re,maxContentLength:re,maxBodyLength:re,beforeRedirect:re,transport:re,httpAgent:re,httpsAgent:re,cancelToken:re,socketPath:re,responseEncoding:re,validateStatus:ne,headers:(ae,ue,ce)=>ee(headersToObject(ae),headersToObject(ue),ce,!0)};return utils$1.forEach(Object.keys(Object.assign({},e,V)),function(ue){const ce=ie[ue]||ee,de=ce(e[ue],V[ue],ue);utils$1.isUndefined(de)&&ce!==ne||(J[ue]=de)}),J}const resolveConfig$3=e=>{const V=mergeConfig$1({},e);let{data:J,withXSRFToken:$,xsrfHeaderName:ee,xsrfCookieName:te,headers:re,auth:ne}=V;V.headers=re=AxiosHeaders$1.from(re),V.url=buildURL(buildFullPath(V.baseURL,V.url),e.params,e.paramsSerializer),ne&&re.set("Authorization","Basic "+btoa((ne.username||"")+":"+(ne.password?unescape(encodeURIComponent(ne.password)):"")));let ie;if(utils$1.isFormData(J)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)re.setContentType(void 0);else if((ie=re.getContentType())!==!1){const[ae,...ue]=ie?ie.split(";").map(ce=>ce.trim()).filter(Boolean):[];re.setContentType([ae||"multipart/form-data",...ue].join("; "))}}if(platform.hasStandardBrowserEnv&&($&&utils$1.isFunction($)&&($=$(V)),$||$!==!1&&isURLSameOrigin(V.url))){const ae=ee&&te&&cookies.read(te);ae&&re.set(ee,ae)}return V},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(e){return new Promise(function(J,$){const ee=resolveConfig$3(e);let te=ee.data;const re=AxiosHeaders$1.from(ee.headers).normalize();let{responseType:ne,onUploadProgress:ie,onDownloadProgress:ae}=ee,ue,ce,de,me,he;function ge(){me&&me(),he&&he(),ee.cancelToken&&ee.cancelToken.unsubscribe(ue),ee.signal&&ee.signal.removeEventListener("abort",ue)}let _e=new XMLHttpRequest;_e.open(ee.method.toUpperCase(),ee.url,!0),_e.timeout=ee.timeout;function be(){if(!_e)return;const Pe=AxiosHeaders$1.from("getAllResponseHeaders"in _e&&_e.getAllResponseHeaders()),Re={data:!ne||ne==="text"||ne==="json"?_e.responseText:_e.response,status:_e.status,statusText:_e.statusText,headers:Pe,config:e,request:_e};settle(function(Ie){J(Ie),ge()},function(Ie){$(Ie),ge()},Re),_e=null}"onloadend"in _e?_e.onloadend=be:_e.onreadystatechange=function(){!_e||_e.readyState!==4||_e.status===0&&!(_e.responseURL&&_e.responseURL.indexOf("file:")===0)||setTimeout(be)},_e.onabort=function(){_e&&($(new AxiosError$1("Request aborted",AxiosError$1.ECONNABORTED,e,_e)),_e=null)},_e.onerror=function(){$(new AxiosError$1("Network Error",AxiosError$1.ERR_NETWORK,e,_e)),_e=null},_e.ontimeout=function(){let $e=ee.timeout?"timeout of "+ee.timeout+"ms exceeded":"timeout exceeded";const Re=ee.transitional||transitionalDefaults;ee.timeoutErrorMessage&&($e=ee.timeoutErrorMessage),$(new AxiosError$1($e,Re.clarifyTimeoutError?AxiosError$1.ETIMEDOUT:AxiosError$1.ECONNABORTED,e,_e)),_e=null},te===void 0&&re.setContentType(null),"setRequestHeader"in _e&&utils$1.forEach(re.toJSON(),function($e,Re){_e.setRequestHeader(Re,$e)}),utils$1.isUndefined(ee.withCredentials)||(_e.withCredentials=!!ee.withCredentials),ne&&ne!=="json"&&(_e.responseType=ee.responseType),ae&&([de,he]=progressEventReducer(ae,!0),_e.addEventListener("progress",de)),ie&&_e.upload&&([ce,me]=progressEventReducer(ie),_e.upload.addEventListener("progress",ce),_e.upload.addEventListener("loadend",me)),(ee.cancelToken||ee.signal)&&(ue=Pe=>{_e&&($(!Pe||Pe.type?new CanceledError$1(null,e,_e):Pe),_e.abort(),_e=null)},ee.cancelToken&&ee.cancelToken.subscribe(ue),ee.signal&&(ee.signal.aborted?ue():ee.signal.addEventListener("abort",ue)));const Ee=parseProtocol(ee.url);if(Ee&&platform.protocols.indexOf(Ee)===-1){$(new AxiosError$1("Unsupported protocol "+Ee+":",AxiosError$1.ERR_BAD_REQUEST,e));return}_e.send(te||null)})},composeSignals=(e,V)=>{const{length:J}=e=e?e.filter(Boolean):[];if(V||J){let $=new AbortController,ee;const te=function(ae){if(!ee){ee=!0,ne();const ue=ae instanceof Error?ae:this.reason;$.abort(ue instanceof AxiosError$1?ue:new CanceledError$1(ue instanceof Error?ue.message:ue))}};let re=V&&setTimeout(()=>{re=null,te(new AxiosError$1(`timeout ${V} of ms exceeded`,AxiosError$1.ETIMEDOUT))},V);const ne=()=>{e&&(re&&clearTimeout(re),re=null,e.forEach(ae=>{ae.unsubscribe?ae.unsubscribe(te):ae.removeEventListener("abort",te)}),e=null)};e.forEach(ae=>ae.addEventListener("abort",te));const{signal:ie}=$;return ie.unsubscribe=()=>utils$1.asap(ne),ie}},streamChunk=function*(e,V){let J=e.byteLength;if(J{const ee=readBytes(e,V);let te=0,re,ne=ie=>{re||(re=!0,$&&$(ie))};return new ReadableStream({async pull(ie){try{const{done:ae,value:ue}=await ee.next();if(ae){ne(),ie.close();return}let ce=ue.byteLength;if(J){let de=te+=ce;J(de)}ie.enqueue(new Uint8Array(ue))}catch(ae){throw ne(ae),ae}},cancel(ie){return ne(ie),ee.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(e=>V=>e.encode(V))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),test=(e,...V)=>{try{return!!e(...V)}catch{return!1}},supportsRequestStream=isReadableStreamSupported&&test(()=>{let e=!1;const V=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!V}),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&test(()=>utils$1.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(e=>e.body)};isFetchSupported&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(V=>{!resolvers[V]&&(resolvers[V]=utils$1.isFunction(e[V])?J=>J[V]():(J,$)=>{throw new AxiosError$1(`Response type '${V}' is not supported`,AxiosError$1.ERR_NOT_SUPPORT,$)})})})(new Response);const getBodyLength=async e=>{if(e==null)return 0;if(utils$1.isBlob(e))return e.size;if(utils$1.isSpecCompliantForm(e))return(await new Request(platform.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(e)||utils$1.isArrayBuffer(e))return e.byteLength;if(utils$1.isURLSearchParams(e)&&(e=e+""),utils$1.isString(e))return(await encodeText(e)).byteLength},resolveBodyLength=async(e,V)=>{const J=utils$1.toFiniteNumber(e.getContentLength());return J??getBodyLength(V)},fetchAdapter=isFetchSupported&&(async e=>{let{url:V,method:J,data:$,signal:ee,cancelToken:te,timeout:re,onDownloadProgress:ne,onUploadProgress:ie,responseType:ae,headers:ue,withCredentials:ce="same-origin",fetchOptions:de}=resolveConfig$3(e);ae=ae?(ae+"").toLowerCase():"text";let me=composeSignals([ee,te&&te.toAbortSignal()],re),he;const ge=me&&me.unsubscribe&&(()=>{me.unsubscribe()});let _e;try{if(ie&&supportsRequestStream&&J!=="get"&&J!=="head"&&(_e=await resolveBodyLength(ue,$))!==0){let Re=new Request(V,{method:"POST",body:$,duplex:"half"}),Le;if(utils$1.isFormData($)&&(Le=Re.headers.get("content-type"))&&ue.setContentType(Le),Re.body){const[Ie,Be]=progressEventDecorator(_e,progressEventReducer(asyncDecorator(ie)));$=trackStream(Re.body,DEFAULT_CHUNK_SIZE,Ie,Be)}}utils$1.isString(ce)||(ce=ce?"include":"omit");const be="credentials"in Request.prototype;he=new Request(V,{...de,signal:me,method:J.toUpperCase(),headers:ue.normalize().toJSON(),body:$,duplex:"half",credentials:be?ce:void 0});let Ee=await fetch(he);const Pe=supportsResponseStream&&(ae==="stream"||ae==="response");if(supportsResponseStream&&(ne||Pe&&ge)){const Re={};["status","statusText","headers"].forEach(qe=>{Re[qe]=Ee[qe]});const Le=utils$1.toFiniteNumber(Ee.headers.get("content-length")),[Ie,Be]=ne&&progressEventDecorator(Le,progressEventReducer(asyncDecorator(ne),!0))||[];Ee=new Response(trackStream(Ee.body,DEFAULT_CHUNK_SIZE,Ie,()=>{Be&&Be(),ge&&ge()}),Re)}ae=ae||"text";let $e=await resolvers[utils$1.findKey(resolvers,ae)||"text"](Ee,e);return!Pe&&ge&&ge(),await new Promise((Re,Le)=>{settle(Re,Le,{data:$e,headers:AxiosHeaders$1.from(Ee.headers),status:Ee.status,statusText:Ee.statusText,config:e,request:he})})}catch(be){throw ge&&ge(),be&&be.name==="TypeError"&&/fetch/i.test(be.message)?Object.assign(new AxiosError$1("Network Error",AxiosError$1.ERR_NETWORK,e,he),{cause:be.cause||be}):AxiosError$1.from(be,be&&be.code,e,he)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,(e,V)=>{if(e){try{Object.defineProperty(e,"name",{value:V})}catch{}Object.defineProperty(e,"adapterName",{value:V})}});const renderReason=e=>`- ${e}`,isResolvedHandle=e=>utils$1.isFunction(e)||e===null||e===!1,adapters={getAdapter:e=>{e=utils$1.isArray(e)?e:[e];const{length:V}=e;let J,$;const ee={};for(let te=0;te`adapter ${ne} `+(ie===!1?"is not supported by the environment":"is not available in the build"));let re=V?te.length>1?`since : +`+te.map(renderReason).join(` +`):" "+renderReason(te[0]):"as no adapter specified";throw new AxiosError$1("There is no suitable adapter to dispatch the request "+re,"ERR_NOT_SUPPORT")}return $},adapters:knownAdapters};function throwIfCancellationRequested(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new CanceledError$1(null,e)}function dispatchRequest(e){return throwIfCancellationRequested(e),e.headers=AxiosHeaders$1.from(e.headers),e.data=transformData.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(e.adapter||defaults$1.adapter)(e).then(function($){return throwIfCancellationRequested(e),$.data=transformData.call(e,e.transformResponse,$),$.headers=AxiosHeaders$1.from($.headers),$},function($){return isCancel$1($)||(throwIfCancellationRequested(e),$&&$.response&&($.response.data=transformData.call(e,e.transformResponse,$.response),$.response.headers=AxiosHeaders$1.from($.response.headers))),Promise.reject($)})}const VERSION$2="1.8.2",validators$1={};["object","boolean","number","function","string","symbol"].forEach((e,V)=>{validators$1[e]=function($){return typeof $===e||"a"+(V<1?"n ":" ")+e}});const deprecatedWarnings={};validators$1.transitional=function(V,J,$){function ee(te,re){return"[Axios v"+VERSION$2+"] Transitional option '"+te+"'"+re+($?". "+$:"")}return(te,re,ne)=>{if(V===!1)throw new AxiosError$1(ee(re," has been removed"+(J?" in "+J:"")),AxiosError$1.ERR_DEPRECATED);return J&&!deprecatedWarnings[re]&&(deprecatedWarnings[re]=!0,console.warn(ee(re," has been deprecated since v"+J+" and will be removed in the near future"))),V?V(te,re,ne):!0}};validators$1.spelling=function(V){return(J,$)=>(console.warn(`${$} is likely a misspelling of ${V}`),!0)};function assertOptions(e,V,J){if(typeof e!="object")throw new AxiosError$1("options must be an object",AxiosError$1.ERR_BAD_OPTION_VALUE);const $=Object.keys(e);let ee=$.length;for(;ee-- >0;){const te=$[ee],re=V[te];if(re){const ne=e[te],ie=ne===void 0||re(ne,te,e);if(ie!==!0)throw new AxiosError$1("option "+te+" must be "+ie,AxiosError$1.ERR_BAD_OPTION_VALUE);continue}if(J!==!0)throw new AxiosError$1("Unknown option "+te,AxiosError$1.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;let Axios$1=class{constructor(V){this.defaults=V,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(V,J){try{return await this._request(V,J)}catch($){if($ instanceof Error){let ee={};Error.captureStackTrace?Error.captureStackTrace(ee):ee=new Error;const te=ee.stack?ee.stack.replace(/^.+\n/,""):"";try{$.stack?te&&!String($.stack).endsWith(te.replace(/^.+\n.+\n/,""))&&($.stack+=` +`+te):$.stack=te}catch{}}throw $}}_request(V,J){typeof V=="string"?(J=J||{},J.url=V):J=V||{},J=mergeConfig$1(this.defaults,J);const{transitional:$,paramsSerializer:ee,headers:te}=J;$!==void 0&&validator.assertOptions($,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),ee!=null&&(utils$1.isFunction(ee)?J.paramsSerializer={serialize:ee}:validator.assertOptions(ee,{encode:validators.function,serialize:validators.function},!0)),J.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?J.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:J.allowAbsoluteUrls=!0),validator.assertOptions(J,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),J.method=(J.method||this.defaults.method||"get").toLowerCase();let re=te&&utils$1.merge(te.common,te[J.method]);te&&utils$1.forEach(["delete","get","head","post","put","patch","common"],he=>{delete te[he]}),J.headers=AxiosHeaders$1.concat(re,te);const ne=[];let ie=!0;this.interceptors.request.forEach(function(ge){typeof ge.runWhen=="function"&&ge.runWhen(J)===!1||(ie=ie&&ge.synchronous,ne.unshift(ge.fulfilled,ge.rejected))});const ae=[];this.interceptors.response.forEach(function(ge){ae.push(ge.fulfilled,ge.rejected)});let ue,ce=0,de;if(!ie){const he=[dispatchRequest.bind(this),void 0];for(he.unshift.apply(he,ne),he.push.apply(he,ae),de=he.length,ue=Promise.resolve(J);ce{if(!$._listeners)return;let te=$._listeners.length;for(;te-- >0;)$._listeners[te](ee);$._listeners=null}),this.promise.then=ee=>{let te;const re=new Promise(ne=>{$.subscribe(ne),te=ne}).then(ee);return re.cancel=function(){$.unsubscribe(te)},re},V(function(te,re,ne){$.reason||($.reason=new CanceledError$1(te,re,ne),J($.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(V){if(this.reason){V(this.reason);return}this._listeners?this._listeners.push(V):this._listeners=[V]}unsubscribe(V){if(!this._listeners)return;const J=this._listeners.indexOf(V);J!==-1&&this._listeners.splice(J,1)}toAbortSignal(){const V=new AbortController,J=$=>{V.abort($)};return this.subscribe(J),V.signal.unsubscribe=()=>this.unsubscribe(J),V.signal}static source(){let V;return{token:new Df(function(ee){V=ee}),cancel:V}}};function spread$1(e){return function(J){return e.apply(null,J)}}function isAxiosError$1(e){return utils$1.isObject(e)&&e.isAxiosError===!0}const HttpStatusCode$1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode$1).forEach(([e,V])=>{HttpStatusCode$1[V]=e});function createInstance(e){const V=new Axios$1(e),J=bind(Axios$1.prototype.request,V);return utils$1.extend(J,Axios$1.prototype,V,{allOwnKeys:!0}),utils$1.extend(J,V,null,{allOwnKeys:!0}),J.create=function(ee){return createInstance(mergeConfig$1(e,ee))},J}const axios=createInstance(defaults$1);axios.Axios=Axios$1;axios.CanceledError=CanceledError$1;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel$1;axios.VERSION=VERSION$2;axios.toFormData=toFormData$1;axios.AxiosError=AxiosError$1;axios.Cancel=axios.CanceledError;axios.all=function(V){return Promise.all(V)};axios.spread=spread$1;axios.isAxiosError=isAxiosError$1;axios.mergeConfig=mergeConfig$1;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=e=>formDataToJSON(utils$1.isHTMLForm(e)?new FormData(e):e);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;const{Axios,AxiosError,CanceledError,isCancel,CancelToken,VERSION:VERSION$1,all,Cancel,isAxiosError,spread,toFormData,AxiosHeaders,HttpStatusCode,formToJSON,getAdapter,mergeConfig}=axios,fetcher=async e=>await axios(e).then(({data:V})=>V);function APIProvider({children:e}){return jsxRuntimeExports.jsx(SWRConfig,{value:{fetcher},children:e})}var colors$2={white:"#FFFFFF",gray50:"#F6F6F6",gray100:"#EEEEEE",gray200:"#E2E2E2",gray300:"#CBCBCB",gray400:"#AFAFAF",gray500:"#6B6B6B",gray600:"#545454",gray700:"#333333",gray800:"#1F1F1F",gray900:"#141414",black:"#000000",platinum50:"#F4FAFB",platinum100:"#EBF5F7",platinum200:"#CCDFE5",platinum300:"#A1BDCA",platinum400:"#8EA3AD",platinum500:"#6C7C83",platinum600:"#556268",platinum700:"#394145",platinum800:"#142328",red50:"#FFEFED",red100:"#FED7D2",red200:"#F1998E",red300:"#E85C4A",red400:"#E11900",red500:"#AB1300",red600:"#870F00",red700:"#5A0A00",orange50:"#FFF3EF",orange100:"#FFE1D6",orange200:"#FABDA5",orange300:"#FA9269",orange400:"#FF6937",orange500:"#C14F29",orange600:"#9A3F21",orange700:"#672A16",yellow50:"#FFFAF0",yellow100:"#FFF2D9",yellow200:"#FFE3AC",yellow300:"#FFCF70",yellow400:"#FFC043",yellow500:"#BC8B2C",yellow600:"#996F00",yellow700:"#674D1B",lime50:"#F2F7ED",lime100:"#E0ECD2",lime200:"#BCD69D",lime300:"#8BB956",lime400:"#67A421",lime500:"#4E7C19",lime600:"#3D6213",lime700:"#29410d",green50:"#E6F2ED",green100:"#ADDEC9",green200:"#66D19E",green300:"#06C167",green400:"#048848",green500:"#03703C",green600:"#03582F",green700:"#10462D",teal50:"#EDF5F7",teal100:"#D2E8EC",teal200:"#9DCDD6",teal300:"#56A9B9",teal400:"#218EA4",teal500:"#196B7C",teal600:"#135562",teal700:"#0D3841",blue50:"#EFF3FE",blue100:"#D4E2FC",blue200:"#A0BFF8",blue300:"#5B91F5",blue400:"#276EF1",blue500:"#1E54B7",blue600:"#174291",blue700:"#102C60",cobalt50:"#EBEDFA",cobalt100:"#D2D7F0",cobalt200:"#949CE3",cobalt300:"#535FCF",cobalt400:"#0E1FC1",cobalt500:"#0A1899",cobalt600:"#081270",cobalt700:"#050C4D",purple50:"#F3F1F9",purple100:"#E3DDF2",purple200:"#C1B4E2",purple300:"#957FCE",purple400:"#7356BF",purple500:"#574191",purple600:"#453473",purple700:"#2E224C",magenta50:"#F9F1F7",magenta100:"#F2DDEB",magenta200:"#E2B4D3",magenta300:"#CE7EB3",magenta400:"#BF569C",magenta500:"#914176",magenta600:"#72335D",magenta700:"#4C223E",brown50:"#F6F0EA",brown100:"#EBE0DB",brown200:"#D2BBB0",brown300:"#B18977",brown400:"#99644C",brown500:"#744C3A",brown600:"#5C3C2E",brown700:"#3D281E"},lightColorTokens={primaryA:colors$2.black,primaryB:colors$2.white,primary:colors$2.black,primary50:colors$2.gray50,primary100:colors$2.gray100,primary200:colors$2.gray200,primary300:colors$2.gray300,primary400:colors$2.gray400,primary500:colors$2.gray500,primary600:colors$2.gray600,primary700:colors$2.gray700,accent:colors$2.blue400,accent50:colors$2.blue50,accent100:colors$2.blue100,accent200:colors$2.blue200,accent300:colors$2.blue300,accent400:colors$2.blue400,accent500:colors$2.blue500,accent600:colors$2.blue600,accent700:colors$2.blue700,negative:colors$2.red400,negative50:colors$2.red50,negative100:colors$2.red100,negative200:colors$2.red200,negative300:colors$2.red300,negative400:colors$2.red400,negative500:colors$2.red500,negative600:colors$2.red600,negative700:colors$2.red700,warning:colors$2.yellow400,warning50:colors$2.yellow50,warning100:colors$2.yellow100,warning200:colors$2.yellow200,warning300:colors$2.yellow300,warning400:colors$2.yellow400,warning500:colors$2.yellow500,warning600:colors$2.yellow600,warning700:colors$2.yellow700,positive:colors$2.green500,positive50:colors$2.green50,positive100:colors$2.green100,positive200:colors$2.green200,positive300:colors$2.green300,positive400:colors$2.green400,positive500:colors$2.green500,positive600:colors$2.green600,positive700:colors$2.green700,white:colors$2.white,black:colors$2.black,mono100:colors$2.white,mono200:colors$2.gray50,mono300:colors$2.gray100,mono400:colors$2.gray200,mono500:colors$2.gray300,mono600:colors$2.gray400,mono700:colors$2.gray500,mono800:colors$2.gray600,mono900:colors$2.gray700,mono1000:colors$2.black,ratingInactiveFill:colors$2.gray100,ratingStroke:colors$2.gray300};function hexToRgb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"1",J=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;e=e.replace(J,function(ee,te,re,ne){return te+te+re+re+ne+ne});var $=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return $?"rgba(".concat(parseInt($[1],16),", ").concat(parseInt($[2],16),", ").concat(parseInt($[3],16),", ").concat(V,")"):null}var ellipsisText={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",wordWrap:"normal"};function ownKeys$A(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$z(e){for(var V=1;V0&&arguments[0]!==void 0?arguments[0]:lightColorTokens,V={backgroundPrimary:e.primaryB,backgroundSecondary:colors$2.gray50,backgroundTertiary:colors$2.gray100,backgroundInversePrimary:e.primaryA,backgroundInverseSecondary:colors$2.gray800,contentPrimary:e.primaryA,contentSecondary:colors$2.gray600,contentTertiary:colors$2.gray500,contentInversePrimary:e.primaryB,contentInverseSecondary:colors$2.gray300,contentInverseTertiary:colors$2.gray400,borderOpaque:colors$2.gray200,borderTransparent:hexToRgb(e.primaryA,"0.08"),borderSelected:e.primaryA,borderInverseOpaque:colors$2.gray700,borderInverseTransparent:hexToRgb(e.primaryB,"0.2"),borderInverseSelected:e.primaryB},J={backgroundStateDisabled:colors$2.gray50,backgroundOverlayDark:hexToRgb(colors$2.black,"0.3"),backgroundOverlayLight:hexToRgb(colors$2.black,"0.08"),backgroundOverlayArt:hexToRgb(colors$2.black,"0.00"),backgroundAccent:e.accent,backgroundNegative:e.negative,backgroundWarning:e.warning,backgroundPositive:colors$2.green400,backgroundAccentLight:colors$2.blue50,backgroundNegativeLight:colors$2.red50,backgroundWarningLight:colors$2.yellow50,backgroundPositiveLight:colors$2.green50,backgroundAlwaysDark:colors$2.black,backgroundAlwaysLight:colors$2.white,contentStateDisabled:colors$2.gray400,contentAccent:e.accent,contentOnColor:colors$2.white,contentOnColorInverse:colors$2.black,contentNegative:e.negative,contentWarning:colors$2.yellow600,contentPositive:colors$2.green400,borderStateDisabled:colors$2.gray50,borderAccent:colors$2.blue400,borderAccentLight:colors$2.blue200,borderNegative:colors$2.red200,borderWarning:colors$2.yellow200,borderPositive:colors$2.green200,borderNegativeLight:colors$2.red200,borderWarningLight:colors$2.yellow200,borderPositiveLight:colors$2.green200,safety:colors$2.blue400,eatsGreen400:colors$2.green400,freightBlue400:colors$2.cobalt400,jumpRed400:colors$2.red400,rewardsTier1:colors$2.blue400,rewardsTier2:colors$2.yellow400,rewardsTier3:colors$2.platinum400,rewardsTier4:colors$2.black,membership:colors$2.yellow600};return _objectSpread$z(_objectSpread$z({},V),J)};var tagHoverBackground="rgba(0, 0, 0, 0.08)";const getComponentColorTokens=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lightColorTokens;return{bannerActionLowInfo:e.accent100,bannerActionLowNegative:e.negative100,bannerActionLowPositive:e.positive100,bannerActionLowWarning:e.warning200,bannerActionHighInfo:e.accent500,bannerActionHighNegative:e.negative500,bannerActionHighPositive:e.positive500,bannerActionHighWarning:e.warning200,buttonPrimaryFill:e.primary,buttonPrimaryText:e.white,buttonPrimaryHover:e.primary700,buttonPrimaryActive:e.primary600,buttonPrimarySelectedFill:e.primary600,buttonPrimarySelectedText:e.white,buttonPrimarySpinnerForeground:e.accent,buttonPrimarySpinnerBackground:e.primaryB,buttonSecondaryFill:e.primary100,buttonSecondaryText:e.primary,buttonSecondaryHover:e.primary200,buttonSecondaryActive:e.primary300,buttonSecondarySelectedFill:e.primary300,buttonSecondarySelectedText:e.primary,buttonSecondarySpinnerForeground:e.accent,buttonSecondarySpinnerBackground:e.primaryB,buttonTertiaryFill:"transparent",buttonTertiaryText:e.primary,buttonTertiaryHover:e.primary50,buttonTertiaryActive:e.primary100,buttonTertiarySelectedFill:e.primary100,buttonTertiarySelectedText:e.primary,buttonTertiaryDisabledActiveFill:e.primary50,buttonTertiaryDisabledActiveText:e.mono600,buttonTertiarySpinnerForeground:e.accent,buttonTertiarySpinnerBackground:e.primary100,buttonDisabledFill:e.mono200,buttonDisabledText:e.mono600,buttonDisabledActiveFill:e.mono700,buttonDisabledActiveText:e.mono100,buttonDisabledSpinnerForeground:e.mono600,buttonDisabledSpinnerBackground:e.mono400,breadcrumbsText:e.black,breadcrumbsSeparatorFill:e.mono700,calendarBackground:e.mono100,calendarForeground:e.mono1000,calendarForegroundDisabled:e.mono500,calendarHeaderBackground:e.white,calendarHeaderForeground:e.primary,calendarHeaderBackgroundActive:e.primary700,calendarHeaderForegroundDisabled:e.primary500,calendarDayForegroundPseudoSelected:e.mono1000,calendarDayBackgroundPseudoSelectedHighlighted:e.primary200,calendarDayForegroundPseudoSelectedHighlighted:e.mono1000,calendarDayBackgroundSelected:e.primary,calendarDayForegroundSelected:e.white,calendarDayBackgroundSelectedHighlighted:e.primary,calendarDayForegroundSelectedHighlighted:e.white,comboboxListItemFocus:e.mono200,comboboxListItemHover:e.mono300,fileUploaderBackgroundColor:e.mono200,fileUploaderBackgroundColorActive:e.primary50,fileUploaderBorderColorActive:e.primary,fileUploaderBorderColorDefault:e.mono500,fileUploaderMessageColor:e.mono800,linkText:e.primary,linkVisited:e.primary700,linkHover:e.primary600,linkActive:e.primary500,listHeaderFill:e.white,listBodyFill:e.white,progressStepsCompletedText:e.white,progressStepsCompletedFill:e.primary,progressStepsActiveText:e.white,progressStepsActiveFill:e.primary,toggleFill:e.white,toggleFillChecked:e.primary,toggleFillDisabled:e.mono600,toggleTrackFill:e.mono400,toggleTrackFillDisabled:e.mono300,tickFill:e.mono100,tickFillHover:e.mono200,tickFillActive:e.mono300,tickFillSelected:e.primary,tickFillSelectedHover:e.primary700,tickFillSelectedHoverActive:e.primary600,tickFillError:e.negative50,tickFillErrorHover:e.negative100,tickFillErrorHoverActive:e.negative200,tickFillErrorSelected:e.negative400,tickFillErrorSelectedHover:e.negative500,tickFillErrorSelectedHoverActive:e.negative600,tickFillDisabled:e.mono600,tickBorder:e.mono700,tickBorderError:e.negative400,tickMarkFill:e.white,tickMarkFillError:e.white,tickMarkFillDisabled:e.mono100,sliderTrackFill:"transparent",sliderHandleFill:e.primaryA,sliderHandleFillDisabled:e.primary400,sliderHandleInnerFill:e.primaryA,sliderTrackFillHover:e.mono500,sliderTrackFillActive:e.mono600,sliderTrackFillDisabled:e.mono300,sliderHandleInnerFillDisabled:e.mono400,sliderHandleInnerFillSelectedHover:e.primary,sliderHandleInnerFillSelectedActive:e.primary500,inputBorder:e.mono300,inputFill:e.mono300,inputFillError:e.negative50,inputFillDisabled:e.mono200,inputFillActive:e.mono200,inputFillPositive:e.positive50,inputTextDisabled:e.mono600,inputBorderError:e.negative200,inputBorderPositive:e.positive200,inputEnhancerFill:e.mono300,inputEnhancerFillDisabled:e.mono300,inputEnhancerTextDisabled:e.mono600,inputPlaceholder:e.mono700,inputPlaceholderDisabled:e.mono600,menuFill:e.mono100,menuFillHover:e.mono200,menuFontDefault:e.mono800,menuFontDisabled:e.mono500,menuFontHighlighted:e.mono1000,menuFontSelected:e.mono1000,modalCloseColor:e.mono1000,modalCloseColorHover:e.mono800,modalCloseColorFocus:e.mono800,tabBarFill:e.mono200,tabColor:e.mono800,notificationInfoBackground:e.accent50,notificationInfoText:e.primaryA,notificationPositiveBackground:e.positive50,notificationPositiveText:e.primaryA,notificationWarningBackground:e.warning50,notificationWarningText:e.primaryA,notificationNegativeBackground:e.negative50,notificationNegativeText:e.primaryA,tagFontDisabledRampUnit:"100",tagSolidFontRampUnit:"0",tagSolidRampUnit:"400",tagOutlinedFontRampUnit:"400",tagOutlinedRampUnit:"200",tagSolidHoverRampUnit:"50",tagSolidActiveRampUnit:"100",tagSolidDisabledRampUnit:"50",tagSolidFontHoverRampUnit:"500",tagLightRampUnit:"50",tagLightHoverRampUnit:"100",tagLightActiveRampUnit:"100",tagLightFontRampUnit:"500",tagLightFontHoverRampUnit:"500",tagOutlinedHoverRampUnit:"50",tagOutlinedActiveRampUnit:"0",tagOutlinedFontHoverRampUnit:"400",tagNeutralFontDisabled:e.mono600,tagNeutralOutlinedDisabled:e.mono400,tagNeutralSolidFont:e.white,tagNeutralSolidBackground:e.black,tagNeutralOutlinedBackground:e.mono600,tagNeutralOutlinedFont:e.black,tagNeutralSolidHover:e.mono300,tagNeutralSolidActive:e.mono400,tagNeutralSolidDisabled:e.mono200,tagNeutralSolidFontHover:e.mono900,tagNeutralLightBackground:e.mono300,tagNeutralLightHover:e.mono300,tagNeutralLightActive:e.mono400,tagNeutralLightDisabled:e.mono200,tagNeutralLightFont:e.mono900,tagNeutralLightFontHover:e.mono900,tagNeutralOutlinedActive:e.mono900,tagNeutralOutlinedFontHover:e.mono800,tagNeutralOutlinedHover:tagHoverBackground,tagPrimaryFontDisabled:e.primary400,tagPrimaryOutlinedDisabled:e.primary200,tagPrimarySolidFont:e.white,tagPrimarySolidBackground:e.primary,tagPrimaryOutlinedFontHover:e.primary,tagPrimaryOutlinedFont:e.primary,tagPrimarySolidHover:e.primary100,tagPrimarySolidActive:e.primary200,tagPrimarySolidDisabled:e.primary50,tagPrimarySolidFontHover:e.primary700,tagPrimaryLightBackground:e.primary50,tagPrimaryLightHover:e.primary100,tagPrimaryLightActive:e.primary100,tagPrimaryLightDisabled:e.primary50,tagPrimaryLightFont:e.primary500,tagPrimaryLightFontHover:e.primary500,tagPrimaryOutlinedActive:e.primary600,tagPrimaryOutlinedHover:tagHoverBackground,tagPrimaryOutlinedBackground:e.primary400,tagAccentFontDisabled:e.accent200,tagAccentOutlinedDisabled:e.accent200,tagAccentSolidFont:e.white,tagAccentSolidBackground:e.accent400,tagAccentOutlinedBackground:e.accent200,tagAccentOutlinedFont:e.accent400,tagAccentSolidHover:e.accent50,tagAccentSolidActive:e.accent100,tagAccentSolidDisabled:e.accent50,tagAccentSolidFontHover:e.accent500,tagAccentLightBackground:e.accent50,tagAccentLightHover:e.accent100,tagAccentLightActive:e.accent100,tagAccentLightDisabled:e.accent50,tagAccentLightFont:e.accent500,tagAccentLightFontHover:e.accent500,tagAccentOutlinedActive:e.accent600,tagAccentOutlinedFontHover:e.accent400,tagAccentOutlinedHover:tagHoverBackground,tagPositiveFontDisabled:e.positive200,tagPositiveOutlinedDisabled:e.positive200,tagPositiveSolidFont:e.white,tagPositiveSolidBackground:e.positive400,tagPositiveOutlinedBackground:e.positive200,tagPositiveOutlinedFont:e.positive400,tagPositiveSolidHover:e.positive50,tagPositiveSolidActive:e.positive100,tagPositiveSolidDisabled:e.positive50,tagPositiveSolidFontHover:e.positive500,tagPositiveLightBackground:e.positive50,tagPositiveLightHover:e.positive100,tagPositiveLightActive:e.positive100,tagPositiveLightDisabled:e.positive50,tagPositiveLightFont:e.positive500,tagPositiveLightFontHover:e.positive500,tagPositiveOutlinedActive:e.positive600,tagPositiveOutlinedFontHover:e.positive400,tagPositiveOutlinedHover:tagHoverBackground,tagWarningFontDisabled:e.warning300,tagWarningOutlinedDisabled:e.warning300,tagWarningSolidFont:e.warning700,tagWarningSolidBackground:e.warning400,tagWarningOutlinedBackground:e.warning300,tagWarningOutlinedFont:e.warning600,tagWarningSolidHover:e.warning50,tagWarningSolidActive:e.warning100,tagWarningSolidDisabled:e.warning50,tagWarningSolidFontHover:e.warning500,tagWarningLightBackground:e.warning50,tagWarningLightHover:e.warning100,tagWarningLightActive:e.warning100,tagWarningLightDisabled:e.warning50,tagWarningLightFont:e.warning500,tagWarningLightFontHover:e.warning500,tagWarningOutlinedActive:e.warning600,tagWarningOutlinedFontHover:e.warning600,tagWarningOutlinedHover:tagHoverBackground,tagNegativeFontDisabled:e.negative200,tagNegativeOutlinedDisabled:e.negative200,tagNegativeSolidFont:e.white,tagNegativeSolidBackground:e.negative400,tagNegativeOutlinedBackground:e.negative200,tagNegativeOutlinedFont:e.negative400,tagNegativeSolidHover:e.negative50,tagNegativeSolidActive:e.negative100,tagNegativeSolidDisabled:e.negative50,tagNegativeSolidFontHover:e.negative500,tagNegativeLightBackground:e.negative50,tagNegativeLightHover:e.negative100,tagNegativeLightActive:e.negative100,tagNegativeLightDisabled:e.negative50,tagNegativeLightFont:e.negative500,tagNegativeLightFontHover:e.negative500,tagNegativeOutlinedActive:e.negative600,tagNegativeOutlinedFontHover:e.negative400,tagNegativeOutlinedHover:tagHoverBackground,tableHeadBackgroundColor:e.mono100,tableBackground:e.mono100,tableStripedBackground:e.mono200,tableFilter:e.mono600,tableFilterHeading:e.mono700,tableFilterBackground:e.mono100,tableFilterFooterBackground:e.mono200,toastText:e.white,toastPrimaryText:e.white,toastInfoBackground:e.accent400,toastInfoText:e.white,toastPositiveBackground:e.positive400,toastPositiveText:e.white,toastWarningBackground:e.warning400,toastWarningText:e.black,toastNegativeBackground:e.negative400,toastNegativeText:e.white,spinnerTrackFill:e.mono900,progressbarTrackFill:e.mono900,tooltipBackground:e.mono900,tooltipText:e.mono100}};var borders={border100:{borderColor:"hsla(0, 0%, 0%, 0.04)",borderStyle:"solid",borderWidth:"1px"},border200:{borderColor:"hsla(0, 0%, 0%, 0.08)",borderStyle:"solid",borderWidth:"1px"},border300:{borderColor:"hsla(0, 0%, 0%, 0.12)",borderStyle:"solid",borderWidth:"1px"},border400:{borderColor:"hsla(0, 0%, 0%, 0.16)",borderStyle:"solid",borderWidth:"1px"},border500:{borderColor:"hsla(0, 0%, 0%, 0.2)",borderStyle:"solid",borderWidth:"1px"},border600:{borderColor:"hsla(0, 0%, 0%, 0.24)",borderStyle:"solid",borderWidth:"1px"},radius100:"2px",radius200:"4px",radius300:"8px",radius400:"12px",radius500:"16px",useRoundedCorners:!0,buttonBorderRadiusMini:"4px",buttonBorderRadius:"8px",checkboxBorderRadius:"0px",inputBorderRadiusMini:"4px",inputBorderRadius:"8px",popoverBorderRadius:"8px",surfaceBorderRadius:"0px",tagBorderRadius:"24px"},lighting={shadow400:"0 1px 4px hsla(0, 0%, 0%, 0.16)",shadow500:"0 2px 8px hsla(0, 0%, 0%, 0.16)",shadow600:"0 4px 16px hsla(0, 0%, 0%, 0.16)",shadow700:"0 8px 24px hsla(0, 0%, 0%, 0.16)",overlay0:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0)",overlay100:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.04)",overlay200:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.08)",overlay300:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.12)",overlay400:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)",overlay500:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)",overlay600:"inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)",shallowAbove:"0px -4px 16px rgba(0, 0, 0, 0.12)",shallowBelow:"0px 4px 16px rgba(0, 0, 0, 0.12)",deepAbove:"0px -16px 48px rgba(0, 0, 0, 0.22)",deepBelow:"0px 16px 48px rgba(0, 0, 0, 0.22)"};function ownKeys$z(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$y(e){for(var V=1;V0&&arguments[0]!==void 0?arguments[0]:defaultFontTokens,V={fontFamily:e.primaryFontFamily,fontSize:"12px",fontWeight:"normal",lineHeight:"20px"},J={fontFamily:e.primaryFontFamily,fontSize:"12px",fontWeight:500,lineHeight:"16px"},$={fontFamily:e.primaryFontFamily,fontSize:"14px",fontWeight:"normal",lineHeight:"20px"},ee={fontFamily:e.primaryFontFamily,fontSize:"14px",fontWeight:500,lineHeight:"16px"},te={fontFamily:e.primaryFontFamily,fontSize:"16px",fontWeight:"normal",lineHeight:"24px"},re={fontFamily:e.primaryFontFamily,fontSize:"16px",fontWeight:500,lineHeight:"20px"},ne={fontFamily:e.primaryFontFamily,fontSize:"18px",fontWeight:"normal",lineHeight:"28px"},ie={fontFamily:e.primaryFontFamily,fontSize:"18px",fontWeight:500,lineHeight:"24px"},ae={fontFamily:e.primaryFontFamily,fontSize:"20px",fontWeight:700,lineHeight:"28px"},ue={fontFamily:e.primaryFontFamily,fontSize:"24px",fontWeight:700,lineHeight:"32px"},ce={fontFamily:e.primaryFontFamily,fontSize:"28px",fontWeight:700,lineHeight:"36px"},de={fontFamily:e.primaryFontFamily,fontSize:"32px",fontWeight:700,lineHeight:"40px"},me={fontFamily:e.primaryFontFamily,fontSize:"36px",fontWeight:700,lineHeight:"44px"},he={fontFamily:e.primaryFontFamily,fontSize:"40px",fontWeight:700,lineHeight:"52px"},ge={fontFamily:e.primaryFontFamily,fontSize:"36px",fontWeight:700,lineHeight:"44px"},_e={fontFamily:e.primaryFontFamily,fontSize:"44px",fontWeight:700,lineHeight:"52px"},be={fontFamily:e.primaryFontFamily,fontSize:"52px",fontWeight:700,lineHeight:"64px"},Ee={fontFamily:e.primaryFontFamily,fontSize:"96px",fontWeight:700,lineHeight:"112px"};return{font100:V,font150:J,font200:$,font250:ee,font300:te,font350:re,font400:ne,font450:ie,font550:ae,font650:ue,font750:ce,font850:de,font950:me,font1050:he,font1150:ge,font1250:_e,font1350:be,font1450:Ee,ParagraphXSmall:V,ParagraphSmall:$,ParagraphMedium:te,ParagraphLarge:ne,LabelXSmall:J,LabelSmall:ee,LabelMedium:re,LabelLarge:ie,HeadingXSmall:ae,HeadingSmall:ue,HeadingMedium:ce,HeadingLarge:de,HeadingXLarge:me,HeadingXXLarge:he,DisplayXSmall:ge,DisplaySmall:_e,DisplayMedium:be,DisplayLarge:Ee,MonoParagraphXSmall:_objectSpread$y(_objectSpread$y({},V),{},{fontFamily:monoFontFamily}),MonoParagraphSmall:_objectSpread$y(_objectSpread$y({},$),{},{fontFamily:monoFontFamily}),MonoParagraphMedium:_objectSpread$y(_objectSpread$y({},te),{},{fontFamily:monoFontFamily}),MonoParagraphLarge:_objectSpread$y(_objectSpread$y({},ne),{},{fontFamily:monoFontFamily}),MonoLabelXSmall:_objectSpread$y(_objectSpread$y({},J),{},{fontFamily:monoFontFamily}),MonoLabelSmall:_objectSpread$y(_objectSpread$y({},ee),{},{fontFamily:monoFontFamily}),MonoLabelMedium:_objectSpread$y(_objectSpread$y({},re),{},{fontFamily:monoFontFamily}),MonoLabelLarge:_objectSpread$y(_objectSpread$y({},ie),{},{fontFamily:monoFontFamily}),MonoHeadingXSmall:_objectSpread$y(_objectSpread$y({},ae),{},{fontFamily:monoFontFamily}),MonoHeadingSmall:_objectSpread$y(_objectSpread$y({},ue),{},{fontFamily:monoFontFamily}),MonoHeadingMedium:_objectSpread$y(_objectSpread$y({},ce),{},{fontFamily:monoFontFamily}),MonoHeadingLarge:_objectSpread$y(_objectSpread$y({},de),{},{fontFamily:monoFontFamily}),MonoHeadingXLarge:_objectSpread$y(_objectSpread$y({},me),{},{fontFamily:monoFontFamily}),MonoHeadingXXLarge:_objectSpread$y(_objectSpread$y({},he),{},{fontFamily:monoFontFamily}),MonoDisplayXSmall:_objectSpread$y(_objectSpread$y({},ge),{},{fontFamily:monoFontFamily}),MonoDisplaySmall:_objectSpread$y(_objectSpread$y({},_e),{},{fontFamily:monoFontFamily}),MonoDisplayMedium:_objectSpread$y(_objectSpread$y({},be),{},{fontFamily:monoFontFamily}),MonoDisplayLarge:_objectSpread$y(_objectSpread$y({},Ee),{},{fontFamily:monoFontFamily})}};var animation={timing100:"100ms",timing200:"200ms",timing300:"300ms",timing400:"400ms",timing500:"500ms",timing600:"600ms",timing700:"700ms",timing800:"800ms",timing900:"900ms",timing1000:"1000ms",easeInCurve:"cubic-bezier(.8, .2, .6, 1)",easeOutCurve:"cubic-bezier(.2, .8, .4, 1)",easeInOutCurve:"cubic-bezier(0.4, 0, 0.2, 1)",easeInQuinticCurve:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",easeOutQuinticCurve:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutQuinticCurve:"cubic-bezier(0.86, 0, 0.07, 1)",linearCurve:"cubic-bezier(0, 0, 1, 1)"},breakpoints={small:320,medium:600,large:1136},grid$1={columns:[4,8,12],gutters:[16,36,36],margins:[16,36,64],gaps:0,unit:"px",maxWidth:1280},getMediaQuery=function(V){return"@media screen and (min-width: ".concat(V,"px)")},mediaQuery={small:getMediaQuery(breakpoints.small),medium:getMediaQuery(breakpoints.medium),large:getMediaQuery(breakpoints.large)},sizing$1={scale0:"2px",scale100:"4px",scale200:"6px",scale300:"8px",scale400:"10px",scale500:"12px",scale550:"14px",scale600:"16px",scale650:"18px",scale700:"20px",scale750:"22px",scale800:"24px",scale850:"28px",scale900:"32px",scale950:"36px",scale1000:"40px",scale1200:"48px",scale1400:"56px",scale1600:"64px",scale2400:"96px",scale3200:"128px",scale4800:"192px"};function ownKeys$y(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$x(e){for(var V=1;V=0)&&Object.prototype.propertyIsEnumerable.call(e,$)&&(J[$]=e[$])}return J}function _objectWithoutPropertiesLoose$v(e,V){if(e==null)return{};var J={},$=Object.keys(e),ee,te;for(te=0;te<$.length;te++)ee=$[te],!(V.indexOf(ee)>=0)&&(J[ee]=e[ee]);return J}function createLightTheme(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},V=arguments.length>1?arguments[1]:void 0,J=e.primaryFontFamily,$=_objectWithoutProperties$r(e,_excluded$s),ee=_objectSpread$w(_objectSpread$w({},lightColorTokens),$),te={animation,borders,breakpoints,colors:_objectSpread$w(_objectSpread$w(_objectSpread$w({},ee),getComponentColorTokens(ee)),getSemanticColorTokens(ee)),direction:"auto",grid:grid$1,lighting,mediaQuery,sizing:sizing$1,typography:J?getTypography({primaryFontFamily:J}):getTypography(),zIndex:{modal:2e3}};return deepMerge$1(te,V)}var ThemeContext=reactExports.createContext(LightTheme),ThemeProvider=function(V){var J=V.theme,$=V.children;return reactExports.createElement(ThemeContext.Provider,{value:J},$)};function driver(e,V){const J=renderDeclarativeRules(e,V);return V.renderStyle(J)}function getInitialStyle(){return{}}function renderDeclarativeRules(e,V){for(const J in e){const $=e[J];if(J==="animationName"&&typeof $!="string"){e.animationName=V.renderKeyframes($);continue}if(J==="fontFamily"&&typeof $!="string")if(Array.isArray($)){let ee="";for(const te of $)typeof te=="object"?ee+=`${V.renderFontFace(te)},`:typeof te=="string"&&(ee+=`${te},`);e.fontFamily=ee.slice(0,-1);continue}else{if($===void 0)continue;e.fontFamily=V.renderFontFace($);continue}typeof $=="object"&&$!==null&&renderDeclarativeRules($,V)}return e}function _extends$N(){return _extends$N=Object.assign?Object.assign.bind():function(e){for(var V=1;V"",renderKeyframes:()=>"",renderFontFace:()=>""},StyletronContext=reactExports.createContext(noopEngine),HydrationContext=reactExports.createContext(!1),DebugEngineContext=reactExports.createContext(void 0),Provider$2=StyletronContext.Provider;function checkNoopEngine(e){e===noopEngine&&console.warn("Styletron Provider is not set up. Defaulting to no-op.")}function useStyletron$1(){const e=reactExports.useContext(StyletronContext);return reactExports.useContext(DebugEngineContext),reactExports.useContext(HydrationContext),checkNoopEngine(e),reactExports.useRef(""),reactExports.useRef([]),[function(J){return driver(J,e)}]}function createStyled({getInitialStyle:e,driver:V,wrapper:J}){function $(ee,te){return createStyledElementComponent(autoComposeShallow({reducers:[],base:ee,driver:V,getInitialStyle:e,wrapper:J},te))}return $}const withStyleDeep=(e,V)=>{const J=e.__STYLETRON__;return createStyledElementComponent(autoComposeDeep(J,V))},withStyle$1=withStyleDeep,withWrapper$1=(e,V)=>{const J=e.__STYLETRON__,$={getInitialStyle:J.getInitialStyle,base:J.base,driver:J.driver,wrapper:V,reducers:J.reducers};return createStyledElementComponent($)};function autoComposeShallow(e,V){return typeof V=="function"?dynamicComposeShallow(e,V):staticComposeShallow(e,V)}function autoComposeDeep(e,V){return typeof V=="function"?dynamicComposeDeep(e,V):staticComposeDeep(e,V)}function staticComposeShallow(e,V){return composeStatic(e,createShallowMergeReducer(V))}function staticComposeDeep(e,V){return composeStatic(e,createDeepMergeReducer(V))}function dynamicComposeShallow(e,V){return composeDynamic(e,(J,$)=>shallowMerge(J,V($)))}function dynamicComposeDeep(e,V){return composeDynamic(e,(J,$)=>deepMerge(J,V($)))}function createShallowMergeReducer(e){return{reducer:V=>shallowMerge(V,e),assignmentCommutative:!0,factory:createShallowMergeReducer,style:e}}function createDeepMergeReducer(e){return{reducer:V=>deepMerge(V,e),assignmentCommutative:!0,factory:createDeepMergeReducer,style:e}}function composeStatic(e,V){if(e.reducers.length===0){const J=V.reducer(e.getInitialStyle());return{reducers:e.reducers,base:e.base,driver:e.driver,wrapper:e.wrapper,getInitialStyle:()=>J}}else{const J=e.reducers[0];if(J.assignmentCommutative===!0&&V.assignmentCommutative===!0){const $=V.reducer(J.style);return{getInitialStyle:e.getInitialStyle,base:e.base,driver:e.driver,wrapper:e.wrapper,reducers:[J.factory($)].concat(e.reducers.slice(1))}}return composeDynamic(e,V.reducer)}}function composeDynamic(e,V){return{getInitialStyle:e.getInitialStyle,base:e.base,driver:e.driver,wrapper:e.wrapper,reducers:[{assignmentCommutative:!1,reducer:V}].concat(e.reducers)}}function createStyledElementComponent(e){const{reducers:V,base:J,driver:$,wrapper:ee,getInitialStyle:te,ext:re}=e,ie=ee(reactExports.forwardRef((ae,ue)=>{const ce=reactExports.useContext(StyletronContext);reactExports.useContext(DebugEngineContext),reactExports.useContext(HydrationContext),checkNoopEngine(ce);const de=omitPrefixedKeys(ae);let me=resolveStyle(te,V,ae);ae.$style&&(typeof ae.$style=="function"?me=deepMerge(me,ae.$style(ae)):me=deepMerge(me,ae.$style));const he=$(me,ce),ge=ae.$as?ae.$as:J;return de.className=ae.className?`${ae.className} ${he}`:he,ae.$ref&&console.warn("The prop `$ref` has been deprecated. Use `ref` instead. Refs are now forwarded with React.forwardRef."),reactExports.createElement(ge,_extends$N({},de,{ref:ue||ae.$ref}))}));return ie.__STYLETRON__={base:J,reducers:V,driver:$,wrapper:ee,getInitialStyle:te},ie}function resolveStyle(e,V,J){let $=e(),ee=V.length;for(;ee--;){const te=V[ee].reducer;$=te($,J)}return $}function isObject$4(e){return typeof e=="object"&&e!==null}function omitPrefixedKeys(e){const V={};for(const J in e)J[0]!=="$"&&(V[J]=e[J]);return V}function deepMerge(e,V){const J=assign$2({},e);for(const $ in V){const ee=V[$];isObject$4(ee)&&isObject$4(e[$])?J[$]=deepMerge(e[$],ee):J[$]=ee}return J}function shallowMerge(e,V){return assign$2(assign$2({},e),V)}function assign$2(e,V){for(const J in V)e[J]=V[J];return e}function ownKeys$w(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$v(e){for(var V=1;Ve.length)&&(V=e.length);for(var J=0,$=new Array(V);J0&&arguments[0]!==void 0?arguments[0]:{},V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},J=Object.assign({},e,V),$=Object.keys(J);return $.reduce(function(ee,te){return ee[te]=mergeOverride(toObjectOverride(e[te]),toObjectOverride(V[te])),ee},{})}function mergeOverride(e,V){var J=_objectSpread$u(_objectSpread$u({},e),V);return e.props&&V.props&&(J.props=mergeConfigurationOverrides(e.props,V.props)),e.style&&V.style&&(J.style=mergeConfigurationOverrides(e.style,V.style)),J}function mergeConfigurationOverrides(e,V){return _typeof$p(e)==="object"&&_typeof$p(V)==="object"?deepMerge$1({},e,V):function(){return deepMerge$1({},typeof e=="function"?e.apply(void 0,arguments):e,typeof V=="function"?V.apply(void 0,arguments):V)}}var initialized=!1,hadKeyboardEvent=!0,inputTypesWhitelist={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function focusTriggersKeyboardModality(e){var V=e.type,J=e.tagName;return!!(J==="INPUT"&&inputTypesWhitelist[V]&&!e.readOnly||J==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function handleKeyDown(e){e.metaKey||e.altKey||e.ctrlKey||(hadKeyboardEvent=!0)}function handlePointerDown(){hadKeyboardEvent=!1}function handleVisibilityChange(){this.visibilityState}function prepare(e){e.addEventListener("keydown",handleKeyDown,!0),e.addEventListener("mousedown",handlePointerDown,!0),e.addEventListener("pointerdown",handlePointerDown,!0),e.addEventListener("touchstart",handlePointerDown,!0),e.addEventListener("visibilitychange",handleVisibilityChange,!0)}function isFocusVisible(e){try{return e.target.matches(":focus-visible")}catch{}return hadKeyboardEvent||focusTriggersKeyboardModality(e.target)}function initFocusVisible(e){!initialized&&e!=null&&(initialized=!0,prepare(e.ownerDocument))}var forkFocus=function(V,J){return function($){typeof V.onFocus=="function"&&V.onFocus($),J($)}},forkBlur=function(V,J){return function($){typeof V.onBlur=="function"&&V.onBlur($),J($)}};function _typeof$o(e){"@babel/helpers - typeof";return _typeof$o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},_typeof$o(e)}function _extends$K(){return _extends$K=Object.assign?Object.assign.bind():function(e){for(var V=1;Ve.length)&&(V=e.length);for(var J=0,$=new Array(V);J"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$m(e){return _getPrototypeOf$m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},_getPrototypeOf$m(e)}function _defineProperty$I(e,V,J){return V in e?Object.defineProperty(e,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):e[V]=J,e}var StyledAppContainer=styled("div",{});StyledAppContainer.displayName="StyledAppContainer";var StyledLayersContainer=styled("div",{});StyledLayersContainer.displayName="StyledLayersContainer";function defaultEventHandlerFn(){}var LayersContext=reactExports.createContext({addEscapeHandler:defaultEventHandlerFn,removeEscapeHandler:defaultEventHandlerFn,addKeyDownHandler:defaultEventHandlerFn,removeKeyDownHandler:defaultEventHandlerFn,addKeyUpHandler:defaultEventHandlerFn,removeKeyUpHandler:defaultEventHandlerFn,addKeyPressHandler:defaultEventHandlerFn,removeKeyPressHandler:defaultEventHandlerFn,addDocClickHandler:defaultEventHandlerFn,removeDocClickHandler:defaultEventHandlerFn,host:void 0,zIndex:void 0}),Provider$1=LayersContext.Provider,Consumer=LayersContext.Consumer,LayersManager=function(e){_inherits$m(J,e);var V=_createSuper$m(J);function J($){var ee;return _classCallCheck$m(this,J),ee=V.call(this,$),_defineProperty$I(_assertThisInitialized$m(ee),"host",reactExports.createRef()),_defineProperty$I(_assertThisInitialized$m(ee),"containerRef",reactExports.createRef()),_defineProperty$I(_assertThisInitialized$m(ee),"onDocumentClick",function(te){var re=ee.state.docClickHandlers[ee.state.docClickHandlers.length-1];re&&re(te)}),_defineProperty$I(_assertThisInitialized$m(ee),"onKeyDown",function(te){var re=ee.state.keyDownHandlers[ee.state.keyDownHandlers.length-1];re&&re(te)}),_defineProperty$I(_assertThisInitialized$m(ee),"onKeyUp",function(te){if(te.key==="Escape"){var re=ee.state.escapeKeyHandlers[ee.state.escapeKeyHandlers.length-1];re&&re()}var ne=ee.state.keyUpHandlers[ee.state.keyUpHandlers.length-1];ne&&ne(te)}),_defineProperty$I(_assertThisInitialized$m(ee),"onKeyPress",function(te){var re=ee.state.keyPressHandlers[ee.state.keyPressHandlers.length-1];re&&re(te)}),_defineProperty$I(_assertThisInitialized$m(ee),"onAddEscapeHandler",function(te){ee.setState(function(re){return{escapeKeyHandlers:[].concat(_toConsumableArray$3(re.escapeKeyHandlers),[te])}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onRemoveEscapeHandler",function(te){ee.setState(function(re){return{escapeKeyHandlers:re.escapeKeyHandlers.filter(function(ne){return ne!==te})}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onAddKeyDownHandler",function(te){ee.setState(function(re){return{keyDownHandlers:[].concat(_toConsumableArray$3(re.keyDownHandlers),[te])}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onRemoveKeyDownHandler",function(te){ee.setState(function(re){return{keyDownHandlers:re.keyDownHandlers.filter(function(ne){return ne!==te})}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onAddKeyUpHandler",function(te){ee.setState(function(re){return{keyUpHandlers:[].concat(_toConsumableArray$3(re.keyUpHandlers),[te])}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onRemoveKeyUpHandler",function(te){ee.setState(function(re){return{keyUpHandlers:re.keyUpHandlers.filter(function(ne){return ne!==te})}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onAddKeyPressHandler",function(te){ee.setState(function(re){return{keyPressHandlers:[].concat(_toConsumableArray$3(re.keyPressHandlers),[te])}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onRemoveKeyPressHandler",function(te){ee.setState(function(re){return{keyPressHandlers:re.keyPressHandlers.filter(function(ne){return ne!==te})}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onAddDocClickHandler",function(te){ee.setState(function(re){return{docClickHandlers:[].concat(_toConsumableArray$3(re.docClickHandlers),[te])}})}),_defineProperty$I(_assertThisInitialized$m(ee),"onRemoveDocClickHandler",function(te){ee.setState(function(re){return{docClickHandlers:re.docClickHandlers.filter(function(ne){return ne!==te})}})}),ee.state={escapeKeyHandlers:[],keyDownHandlers:[],keyUpHandlers:[],keyPressHandlers:[],docClickHandlers:[]},ee}return _createClass$m(J,[{key:"componentDidMount",value:function(){this.forceUpdate(),initFocusVisible(this.containerRef.current),typeof document<"u"&&(document.addEventListener("keydown",this.onKeyDown),document.addEventListener("keyup",this.onKeyUp),document.addEventListener("keypress",this.onKeyPress),document.addEventListener("mousedown",this.onDocumentClick))}},{key:"componentWillUnmount",value:function(){typeof document<"u"&&(document.removeEventListener("keydown",this.onKeyDown),document.removeEventListener("keyup",this.onKeyUp),document.removeEventListener("keypress",this.onKeyPress),document.removeEventListener("mousedown",this.onDocumentClick))}},{key:"render",value:function(){var ee=this,te=this.props.overrides,re=te===void 0?{}:te,ne=getOverrides(re.AppContainer,StyledAppContainer),ie=_slicedToArray$t(ne,2),ae=ie[0],ue=ie[1],ce=getOverrides(re.LayersContainer,StyledLayersContainer),de=_slicedToArray$t(ce,2),me=de[0],he=de[1];return reactExports.createElement(Consumer,null,function(ge){var _e=ge.host;return reactExports.createElement(Provider$1,{value:{host:_e||ee.host.current,zIndex:ee.props.zIndex,addEscapeHandler:ee.onAddEscapeHandler,removeEscapeHandler:ee.onRemoveEscapeHandler,addKeyDownHandler:ee.onAddKeyDownHandler,removeKeyDownHandler:ee.onRemoveKeyDownHandler,addKeyUpHandler:ee.onAddKeyUpHandler,removeKeyUpHandler:ee.onRemoveKeyUpHandler,addKeyPressHandler:ee.onAddKeyPressHandler,removeKeyPressHandler:ee.onRemoveKeyPressHandler,addDocClickHandler:ee.onAddDocClickHandler,removeDocClickHandler:ee.onRemoveDocClickHandler}},reactExports.createElement(ae,_extends$K({},ue,{ref:ee.containerRef}),ee.props.children),reactExports.createElement(me,_extends$K({},he,{ref:ee.host})))})}}]),J}(reactExports.Component),reactDomExports=requireReactDom();const ReactDOM=getDefaultExportFromCjs(reactDomExports);function _typeof$n(e){"@babel/helpers - typeof";return _typeof$n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},_typeof$n(e)}function _extends$J(){return _extends$J=Object.assign?Object.assign.bind():function(e){for(var V=1;V"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$l(e){return _getPrototypeOf$l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},_getPrototypeOf$l(e)}function _defineProperty$H(e,V,J){return V in e?Object.defineProperty(e,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):e[V]=J,e}var Container=styled("div",function(e){var V=e.$zIndex;return{position:"absolute",top:0,left:0,right:0,zIndex:V||null}});Container.displayName="Container";var LayerComponent=function(e){_inherits$l(J,e);var V=_createSuper$l(J);function J(){var $;_classCallCheck$l(this,J);for(var ee=arguments.length,te=new Array(ee),re=0;re=0)return 1;return 0}();function microtaskDebounce(e){var V=!1;return function(){V||(V=!0,window.Promise.resolve().then(function(){V=!1,e()}))}}function taskDebounce(e){var V=!1;return function(){V||(V=!0,setTimeout(function(){V=!1,e()},timeoutDuration))}}var supportsMicroTasks=isBrowser$2&&window.Promise,debounce$1=supportsMicroTasks?microtaskDebounce:taskDebounce;function isFunction$3(e){var V={};return e&&V.toString.call(e)==="[object Function]"}function getStyleComputedProperty(e,V){if(e.nodeType!==1)return[];var J=e.ownerDocument.defaultView,$=J.getComputedStyle(e,null);return V?$[V]:$}function getParentNode$2(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function getScrollParent(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var V=getStyleComputedProperty(e),J=V.overflow,$=V.overflowX,ee=V.overflowY;return/(auto|scroll|overlay)/.test(J+ee+$)?e:getScrollParent(getParentNode$2(e))}function getReferenceNode(e){return e&&e.referenceNode?e.referenceNode:e}var isIE11=isBrowser$2&&!!(window.MSInputMethodContext&&document.documentMode),isIE10=isBrowser$2&&/MSIE 10/.test(navigator.userAgent);function isIE(e){return e===11?isIE11:e===10?isIE10:isIE11||isIE10}function getOffsetParent(e){if(!e)return document.documentElement;for(var V=isIE(10)?document.body:null,J=e.offsetParent||null;J===V&&e.nextElementSibling;)J=(e=e.nextElementSibling).offsetParent;var $=J&&J.nodeName;return!$||$==="BODY"||$==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(J.nodeName)!==-1&&getStyleComputedProperty(J,"position")==="static"?getOffsetParent(J):J}function isOffsetContainer(e){var V=e.nodeName;return V==="BODY"?!1:V==="HTML"||getOffsetParent(e.firstElementChild)===e}function getRoot(e){return e.parentNode!==null?getRoot(e.parentNode):e}function findCommonOffsetParent(e,V){if(!e||!e.nodeType||!V||!V.nodeType)return document.documentElement;var J=e.compareDocumentPosition(V)&Node.DOCUMENT_POSITION_FOLLOWING,$=J?e:V,ee=J?V:e,te=document.createRange();te.setStart($,0),te.setEnd(ee,0);var re=te.commonAncestorContainer;if(e!==re&&V!==re||$.contains(ee))return isOffsetContainer(re)?re:getOffsetParent(re);var ne=getRoot(e);return ne.host?findCommonOffsetParent(ne.host,V):findCommonOffsetParent(e,getRoot(V).host)}function getScroll(e){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",J=V==="top"?"scrollTop":"scrollLeft",$=e.nodeName;if($==="BODY"||$==="HTML"){var ee=e.ownerDocument.documentElement,te=e.ownerDocument.scrollingElement||ee;return te[J]}return e[J]}function includeScroll(e,V){var J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$=getScroll(V,"top"),ee=getScroll(V,"left"),te=J?-1:1;return e.top+=$*te,e.bottom+=$*te,e.left+=ee*te,e.right+=ee*te,e}function getBordersSize(e,V){var J=V==="x"?"Left":"Top",$=J==="Left"?"Right":"Bottom";return parseFloat(e["border"+J+"Width"])+parseFloat(e["border"+$+"Width"])}function getSize(e,V,J,$){return Math.max(V["offset"+e],V["scroll"+e],J["client"+e],J["offset"+e],J["scroll"+e],isIE(10)?parseInt(J["offset"+e])+parseInt($["margin"+(e==="Height"?"Top":"Left")])+parseInt($["margin"+(e==="Height"?"Bottom":"Right")]):0)}function getWindowSizes(e){var V=e.body,J=e.documentElement,$=isIE(10)&&getComputedStyle(J);return{height:getSize("Height",V,J,$),width:getSize("Width",V,J,$)}}var classCallCheck=function(e,V){if(!(e instanceof V))throw new TypeError("Cannot call a class as a function")},createClass=function(){function e(V,J){for(var $=0;$2&&arguments[2]!==void 0?arguments[2]:!1,$=isIE(10),ee=V.nodeName==="HTML",te=getBoundingClientRect(e),re=getBoundingClientRect(V),ne=getScrollParent(e),ie=getStyleComputedProperty(V),ae=parseFloat(ie.borderTopWidth),ue=parseFloat(ie.borderLeftWidth);J&&ee&&(re.top=Math.max(re.top,0),re.left=Math.max(re.left,0));var ce=getClientRect({top:te.top-re.top-ae,left:te.left-re.left-ue,width:te.width,height:te.height});if(ce.marginTop=0,ce.marginLeft=0,!$&&ee){var de=parseFloat(ie.marginTop),me=parseFloat(ie.marginLeft);ce.top-=ae-de,ce.bottom-=ae-de,ce.left-=ue-me,ce.right-=ue-me,ce.marginTop=de,ce.marginLeft=me}return($&&!J?V.contains(ne):V===ne&&ne.nodeName!=="BODY")&&(ce=includeScroll(ce,V)),ce}function getViewportOffsetRectRelativeToArtbitraryNode(e){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,J=e.ownerDocument.documentElement,$=getOffsetRectRelativeToArbitraryNode(e,J),ee=Math.max(J.clientWidth,window.innerWidth||0),te=Math.max(J.clientHeight,window.innerHeight||0),re=V?0:getScroll(J),ne=V?0:getScroll(J,"left"),ie={top:re-$.top+$.marginTop,left:ne-$.left+$.marginLeft,width:ee,height:te};return getClientRect(ie)}function isFixed$1(e){var V=e.nodeName;if(V==="BODY"||V==="HTML")return!1;if(getStyleComputedProperty(e,"position")==="fixed")return!0;var J=getParentNode$2(e);return J?isFixed$1(J):!1}function getFixedPositionOffsetParent(e){if(!e||!e.parentElement||isIE())return document.documentElement;for(var V=e.parentElement;V&&getStyleComputedProperty(V,"transform")==="none";)V=V.parentElement;return V||document.documentElement}function getBoundaries(e,V,J,$){var ee=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,te={top:0,left:0},re=ee?getFixedPositionOffsetParent(e):findCommonOffsetParent(e,getReferenceNode(V));if($==="viewport")te=getViewportOffsetRectRelativeToArtbitraryNode(re,ee);else{var ne=void 0;$==="scrollParent"?(ne=getScrollParent(getParentNode$2(V)),ne.nodeName==="BODY"&&(ne=e.ownerDocument.documentElement)):$==="window"?ne=e.ownerDocument.documentElement:ne=$;var ie=getOffsetRectRelativeToArbitraryNode(ne,re,ee);if(ne.nodeName==="HTML"&&!isFixed$1(re)){var ae=getWindowSizes(e.ownerDocument),ue=ae.height,ce=ae.width;te.top+=ie.top-ie.marginTop,te.bottom=ue+ie.top,te.left+=ie.left-ie.marginLeft,te.right=ce+ie.left}else te=ie}J=J||0;var de=typeof J=="number";return te.left+=de?J:J.left||0,te.top+=de?J:J.top||0,te.right-=de?J:J.right||0,te.bottom-=de?J:J.bottom||0,te}function getArea(e){var V=e.width,J=e.height;return V*J}function computeAutoPlacement(e,V,J,$,ee){var te=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var re=getBoundaries(J,$,te,ee),ne={top:{width:re.width,height:V.top-re.top},right:{width:re.right-V.right,height:re.height},bottom:{width:re.width,height:re.bottom-V.bottom},left:{width:V.left-re.left,height:re.height}},ie=Object.keys(ne).map(function(de){return _extends$I({key:de},ne[de],{area:getArea(ne[de])})}).sort(function(de,me){return me.area-de.area}),ae=ie.filter(function(de){var me=de.width,he=de.height;return me>=J.clientWidth&&he>=J.clientHeight}),ue=ae.length>0?ae[0].key:ie[0].key,ce=e.split("-")[1];return ue+(ce?"-"+ce:"")}function getReferenceOffsets(e,V,J){var $=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,ee=$?getFixedPositionOffsetParent(V):findCommonOffsetParent(V,getReferenceNode(J));return getOffsetRectRelativeToArbitraryNode(J,ee,$)}function getOuterSizes(e){var V=e.ownerDocument.defaultView,J=V.getComputedStyle(e),$=parseFloat(J.marginTop||0)+parseFloat(J.marginBottom||0),ee=parseFloat(J.marginLeft||0)+parseFloat(J.marginRight||0),te={width:e.offsetWidth+ee,height:e.offsetHeight+$};return te}function getOppositePlacement(e){var V={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(J){return V[J]})}function getPopperOffsets(e,V,J){J=J.split("-")[0];var $=getOuterSizes(e),ee={width:$.width,height:$.height},te=["right","left"].indexOf(J)!==-1,re=te?"top":"left",ne=te?"left":"top",ie=te?"height":"width",ae=te?"width":"height";return ee[re]=V[re]+V[ie]/2-$[ie]/2,J===ne?ee[ne]=V[ne]-$[ae]:ee[ne]=V[getOppositePlacement(ne)],ee}function find(e,V){return Array.prototype.find?e.find(V):e.filter(V)[0]}function findIndex$2(e,V,J){if(Array.prototype.findIndex)return e.findIndex(function(ee){return ee[V]===J});var $=find(e,function(ee){return ee[V]===J});return e.indexOf($)}function runModifiers(e,V,J){var $=J===void 0?e:e.slice(0,findIndex$2(e,"name",J));return $.forEach(function(ee){ee.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var te=ee.function||ee.fn;ee.enabled&&isFunction$3(te)&&(V.offsets.popper=getClientRect(V.offsets.popper),V.offsets.reference=getClientRect(V.offsets.reference),V=te(V,ee))}),V}function update$1(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=computeAutoPlacement(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function isModifierEnabled(e,V){return e.some(function(J){var $=J.name,ee=J.enabled;return ee&&$===V})}function getSupportedPropertyName(e){for(var V=[!1,"ms","Webkit","Moz","O"],J=e.charAt(0).toUpperCase()+e.slice(1),$=0;$re[me]&&(e.offsets.popper[ce]+=ne[ce]+he-re[me]),e.offsets.popper=getClientRect(e.offsets.popper);var ge=ne[ce]+ne[ae]/2-he/2,_e=getStyleComputedProperty(e.instance.popper),be=parseFloat(_e["margin"+ue]),Ee=parseFloat(_e["border"+ue+"Width"]),Pe=ge-e.offsets.popper[ce]-be-Ee;return Pe=Math.max(Math.min(re[ae]-he,Pe),0),e.arrowElement=$,e.offsets.arrow=(J={},defineProperty$1(J,ce,Math.round(Pe)),defineProperty$1(J,de,""),J),e}function getOppositeVariation(e){return e==="end"?"start":e==="start"?"end":e}var placements=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],validPlacements=placements.slice(3);function clockwise(e){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,J=validPlacements.indexOf(e),$=validPlacements.slice(J+1).concat(validPlacements.slice(0,J));return V?$.reverse():$}var BEHAVIORS={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function flip(e,V){if(isModifierEnabled(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var J=getBoundaries(e.instance.popper,e.instance.reference,V.padding,V.boundariesElement,e.positionFixed),$=e.placement.split("-")[0],ee=getOppositePlacement($),te=e.placement.split("-")[1]||"",re=[];switch(V.behavior){case BEHAVIORS.FLIP:re=[$,ee];break;case BEHAVIORS.CLOCKWISE:re=clockwise($);break;case BEHAVIORS.COUNTERCLOCKWISE:re=clockwise($,!0);break;default:re=V.behavior}return re.forEach(function(ne,ie){if($!==ne||re.length===ie+1)return e;$=e.placement.split("-")[0],ee=getOppositePlacement($);var ae=e.offsets.popper,ue=e.offsets.reference,ce=Math.floor,de=$==="left"&&ce(ae.right)>ce(ue.left)||$==="right"&&ce(ae.left)ce(ue.top)||$==="bottom"&&ce(ae.top)ce(J.right),ge=ce(ae.top)ce(J.bottom),be=$==="left"&&me||$==="right"&&he||$==="top"&&ge||$==="bottom"&&_e,Ee=["top","bottom"].indexOf($)!==-1,Pe=!!V.flipVariations&&(Ee&&te==="start"&&me||Ee&&te==="end"&&he||!Ee&&te==="start"&&ge||!Ee&&te==="end"&&_e),$e=!!V.flipVariationsByContent&&(Ee&&te==="start"&&he||Ee&&te==="end"&&me||!Ee&&te==="start"&&_e||!Ee&&te==="end"&&ge),Re=Pe||$e;(de||be||Re)&&(e.flipped=!0,(de||be)&&($=re[ie+1]),Re&&(te=getOppositeVariation(te)),e.placement=$+(te?"-"+te:""),e.offsets.popper=_extends$I({},e.offsets.popper,getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement)),e=runModifiers(e.instance.modifiers,e,"flip"))}),e}function keepTogether(e){var V=e.offsets,J=V.popper,$=V.reference,ee=e.placement.split("-")[0],te=Math.floor,re=["top","bottom"].indexOf(ee)!==-1,ne=re?"right":"bottom",ie=re?"left":"top",ae=re?"width":"height";return J[ne]te($[ne])&&(e.offsets.popper[ie]=te($[ne])),e}function toValue(e,V,J,$){var ee=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),te=+ee[1],re=ee[2];if(!te)return e;if(re.indexOf("%")===0){var ne=void 0;switch(re){case"%p":ne=J;break;case"%":case"%r":default:ne=$}var ie=getClientRect(ne);return ie[V]/100*te}else if(re==="vh"||re==="vw"){var ae=void 0;return re==="vh"?ae=Math.max(document.documentElement.clientHeight,window.innerHeight||0):ae=Math.max(document.documentElement.clientWidth,window.innerWidth||0),ae/100*te}else return te}function parseOffset(e,V,J,$){var ee=[0,0],te=["right","left"].indexOf($)!==-1,re=e.split(/(\+|\-)/).map(function(ue){return ue.trim()}),ne=re.indexOf(find(re,function(ue){return ue.search(/,|\s/)!==-1}));re[ne]&&re[ne].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var ie=/\s*,\s*|\s+/,ae=ne!==-1?[re.slice(0,ne).concat([re[ne].split(ie)[0]]),[re[ne].split(ie)[1]].concat(re.slice(ne+1))]:[re];return ae=ae.map(function(ue,ce){var de=(ce===1?!te:te)?"height":"width",me=!1;return ue.reduce(function(he,ge){return he[he.length-1]===""&&["+","-"].indexOf(ge)!==-1?(he[he.length-1]=ge,me=!0,he):me?(he[he.length-1]+=ge,me=!1,he):he.concat(ge)},[]).map(function(he){return toValue(he,de,V,J)})}),ae.forEach(function(ue,ce){ue.forEach(function(de,me){isNumeric(de)&&(ee[ce]+=de*(ue[me-1]==="-"?-1:1))})}),ee}function offset(e,V){var J=V.offset,$=e.placement,ee=e.offsets,te=ee.popper,re=ee.reference,ne=$.split("-")[0],ie=void 0;return isNumeric(+J)?ie=[+J,0]:ie=parseOffset(J,te,re,ne),ne==="left"?(te.top+=ie[0],te.left-=ie[1]):ne==="right"?(te.top+=ie[0],te.left+=ie[1]):ne==="top"?(te.left+=ie[0],te.top-=ie[1]):ne==="bottom"&&(te.left+=ie[0],te.top+=ie[1]),e.popper=te,e}function preventOverflow(e,V){var J=V.boundariesElement||getOffsetParent(e.instance.popper);e.instance.reference===J&&(J=getOffsetParent(J));var $=getSupportedPropertyName("transform"),ee=e.instance.popper.style,te=ee.top,re=ee.left,ne=ee[$];ee.top="",ee.left="",ee[$]="";var ie=getBoundaries(e.instance.popper,e.instance.reference,V.padding,J,e.positionFixed);ee.top=te,ee.left=re,ee[$]=ne,V.boundaries=ie;var ae=V.priority,ue=e.offsets.popper,ce={primary:function(me){var he=ue[me];return ue[me]ie[me]&&!V.escapeWithReference&&(ge=Math.min(ue[he],ie[me]-(me==="right"?ue.width:ue.height))),defineProperty$1({},he,ge)}};return ae.forEach(function(de){var me=["left","top"].indexOf(de)!==-1?"primary":"secondary";ue=_extends$I({},ue,ce[me](de))}),e.offsets.popper=ue,e}function shift(e){var V=e.placement,J=V.split("-")[0],$=V.split("-")[1];if($){var ee=e.offsets,te=ee.reference,re=ee.popper,ne=["bottom","top"].indexOf(J)!==-1,ie=ne?"left":"top",ae=ne?"width":"height",ue={start:defineProperty$1({},ie,te[ie]),end:defineProperty$1({},ie,te[ie]+te[ae]-re[ae])};e.offsets.popper=_extends$I({},re,ue[$])}return e}function hide(e){if(!isModifierRequired(e.instance.modifiers,"hide","preventOverflow"))return e;var V=e.offsets.reference,J=find(e.instance.modifiers,function($){return $.name==="preventOverflow"}).boundaries;if(V.bottomJ.right||V.top>J.bottom||V.right2&&arguments[2]!==void 0?arguments[2]:{};classCallCheck(this,e),this.scheduleUpdate=function(){return requestAnimationFrame($.update)},this.update=debounce$1(this.update.bind(this)),this.options=_extends$I({},e.Defaults,ee),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=V&&V.jquery?V[0]:V,this.popper=J&&J.jquery?J[0]:J,this.options.modifiers={},Object.keys(_extends$I({},e.Defaults.modifiers,ee.modifiers)).forEach(function(re){$.options.modifiers[re]=_extends$I({},e.Defaults.modifiers[re]||{},ee.modifiers?ee.modifiers[re]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(re){return _extends$I({name:re},$.options.modifiers[re])}).sort(function(re,ne){return re.order-ne.order}),this.modifiers.forEach(function(re){re.enabled&&isFunction$3(re.onLoad)&&re.onLoad($.reference,$.popper,$.options,re,$.state)}),this.update();var te=this.options.eventsEnabled;te&&this.enableEventListeners(),this.state.eventsEnabled=te}return createClass(e,[{key:"update",value:function(){return update$1.call(this)}},{key:"destroy",value:function(){return destroy.call(this)}},{key:"enableEventListeners",value:function(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function(){return disableEventListeners.call(this)}}]),e}();Popper.Utils=(typeof window<"u"?window:global).PopperUtils;Popper.placements=placements;Popper.Defaults=Defaults;function toPopperPlacement(e){return e.replace(/(Top|Left)$/,"-start").replace(/(Right|Bottom)$/,"-end")}function parsePopperOffset(e){return{top:Math.floor(e.top||0),left:Math.floor(e.left||0)}}var TETHER_PLACEMENT={auto:"auto",topLeft:"topLeft",top:"top",topRight:"topRight",rightTop:"rightTop",right:"right",rightBottom:"rightBottom",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft",leftBottom:"leftBottom",left:"left",leftTop:"leftTop"};function _typeof$m(e){"@babel/helpers - typeof";return _typeof$m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},_typeof$m(e)}var _excluded$r=["modifiers"];function ownKeys$u(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$t(e){for(var V=1;V=0)&&Object.prototype.propertyIsEnumerable.call(e,$)&&(J[$]=e[$])}return J}function _objectWithoutPropertiesLoose$u(e,V){if(e==null)return{};var J={},$=Object.keys(e),ee,te;for(te=0;te<$.length;te++)ee=$[te],!(V.indexOf(ee)>=0)&&(J[ee]=e[ee]);return J}function _classCallCheck$k(e,V){if(!(e instanceof V))throw new TypeError("Cannot call a class as a function")}function _defineProperties$k(e,V){for(var J=0;J"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$k(e){return _getPrototypeOf$k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},_getPrototypeOf$k(e)}function _defineProperty$G(e,V,J){return V in e?Object.defineProperty(e,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):e[V]=J,e}var Tether=function(e){_inherits$k(J,e);var V=_createSuper$k(J);function J(){var $;_classCallCheck$k(this,J);for(var ee=arguments.length,te=new Array(ee),re=0;re"u")throw new Error(V)}function warning$1(e,V){if(!e){typeof console<"u"&&console.warn(V);try{throw new Error(V)}catch{}}}function createKey(){return Math.random().toString(36).substr(2,8)}function getHistoryState(e,V){return{usr:e.state,key:e.key,idx:V}}function createLocation(e,V,J,$){return J===void 0&&(J=null),_extends$G({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof V=="string"?parsePath(V):V,{state:J,key:V&&V.key||$||createKey()})}function createPath(e){let{pathname:V="/",search:J="",hash:$=""}=e;return J&&J!=="?"&&(V+=J.charAt(0)==="?"?J:"?"+J),$&&$!=="#"&&(V+=$.charAt(0)==="#"?$:"#"+$),V}function parsePath(e){let V={};if(e){let J=e.indexOf("#");J>=0&&(V.hash=e.substr(J),e=e.substr(0,J));let $=e.indexOf("?");$>=0&&(V.search=e.substr($),e=e.substr(0,$)),e&&(V.pathname=e)}return V}function getUrlBasedHistory(e,V,J,$){$===void 0&&($={});let{window:ee=document.defaultView,v5Compat:te=!1}=$,re=ee.history,ne=Action$1.Pop,ie=null,ae=ue();ae==null&&(ae=0,re.replaceState(_extends$G({},re.state,{idx:ae}),""));function ue(){return(re.state||{idx:null}).idx}function ce(){ne=Action$1.Pop;let _e=ue(),be=_e==null?null:_e-ae;ae=_e,ie&&ie({action:ne,location:ge.location,delta:be})}function de(_e,be){ne=Action$1.Push;let Ee=createLocation(ge.location,_e,be);ae=ue()+1;let Pe=getHistoryState(Ee,ae),$e=ge.createHref(Ee);try{re.pushState(Pe,"",$e)}catch(Re){if(Re instanceof DOMException&&Re.name==="DataCloneError")throw Re;ee.location.assign($e)}te&&ie&&ie({action:ne,location:ge.location,delta:1})}function me(_e,be){ne=Action$1.Replace;let Ee=createLocation(ge.location,_e,be);ae=ue();let Pe=getHistoryState(Ee,ae),$e=ge.createHref(Ee);re.replaceState(Pe,"",$e),te&&ie&&ie({action:ne,location:ge.location,delta:0})}function he(_e){let be=ee.location.origin!=="null"?ee.location.origin:ee.location.href,Ee=typeof _e=="string"?_e:createPath(_e);return invariant(be,"No window.location.(origin|href) available to create URL for href: "+Ee),new URL(Ee,be)}let ge={get action(){return ne},get location(){return e(ee,re)},listen(_e){if(ie)throw new Error("A history only accepts one active listener");return ee.addEventListener(PopStateEventType,ce),ie=_e,()=>{ee.removeEventListener(PopStateEventType,ce),ie=null}},createHref(_e){return V(ee,_e)},createURL:he,encodeLocation(_e){let be=he(_e);return{pathname:be.pathname,search:be.search,hash:be.hash}},push:de,replace:me,go(_e){return re.go(_e)}};return ge}var ResultType;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ResultType||(ResultType={}));const immutableRouteKeys=new Set(["lazy","caseSensitive","path","id","index","children"]);function isIndexRoute(e){return e.index===!0}function convertRoutesToDataRoutes(e,V,J,$){return J===void 0&&(J=[]),$===void 0&&($={}),e.map((ee,te)=>{let re=[...J,te],ne=typeof ee.id=="string"?ee.id:re.join("-");if(invariant(ee.index!==!0||!ee.children,"Cannot specify children on an index route"),invariant(!$[ne],'Found a route id collision on id "'+ne+`". Route id's must be globally unique within Data Router usages`),isIndexRoute(ee)){let ie=_extends$G({},ee,V(ee),{id:ne});return $[ne]=ie,ie}else{let ie=_extends$G({},ee,V(ee),{id:ne,children:void 0});return $[ne]=ie,ee.children&&(ie.children=convertRoutesToDataRoutes(ee.children,V,re,$)),ie}})}function matchRoutes(e,V,J){J===void 0&&(J="/");let $=typeof V=="string"?parsePath(V):V,ee=stripBasename($.pathname||"/",J);if(ee==null)return null;let te=flattenRoutes(e);rankRouteBranches(te);let re=null;for(let ne=0;re==null&&ne{let ie={relativePath:ne===void 0?te.path||"":ne,caseSensitive:te.caseSensitive===!0,childrenIndex:re,route:te};ie.relativePath.startsWith("/")&&(invariant(ie.relativePath.startsWith($),'Absolute route path "'+ie.relativePath+'" nested under path '+('"'+$+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),ie.relativePath=ie.relativePath.slice($.length));let ae=joinPaths([$,ie.relativePath]),ue=J.concat(ie);te.children&&te.children.length>0&&(invariant(te.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+ae+'".')),flattenRoutes(te.children,V,ue,ae)),!(te.path==null&&!te.index)&&V.push({path:ae,score:computeScore(ae,te.index),routesMeta:ue})};return e.forEach((te,re)=>{var ne;if(te.path===""||!((ne=te.path)!=null&&ne.includes("?")))ee(te,re);else for(let ie of explodeOptionalSegments(te.path))ee(te,re,ie)}),V}function explodeOptionalSegments(e){let V=e.split("/");if(V.length===0)return[];let[J,...$]=V,ee=J.endsWith("?"),te=J.replace(/\?$/,"");if($.length===0)return ee?[te,""]:[te];let re=explodeOptionalSegments($.join("/")),ne=[];return ne.push(...re.map(ie=>ie===""?te:[te,ie].join("/"))),ee&&ne.push(...re),ne.map(ie=>e.startsWith("/")&&ie===""?"/":ie)}function rankRouteBranches(e){e.sort((V,J)=>V.score!==J.score?J.score-V.score:compareIndexes(V.routesMeta.map($=>$.childrenIndex),J.routesMeta.map($=>$.childrenIndex)))}const paramRe=/^:\w+$/,dynamicSegmentValue=3,indexRouteValue=2,emptySegmentValue=1,staticSegmentValue=10,splatPenalty=-2,isSplat=e=>e==="*";function computeScore(e,V){let J=e.split("/"),$=J.length;return J.some(isSplat)&&($+=splatPenalty),V&&($+=indexRouteValue),J.filter(ee=>!isSplat(ee)).reduce((ee,te)=>ee+(paramRe.test(te)?dynamicSegmentValue:te===""?emptySegmentValue:staticSegmentValue),$)}function compareIndexes(e,V){return e.length===V.length&&e.slice(0,-1).every(($,ee)=>$===V[ee])?e[e.length-1]-V[V.length-1]:0}function matchRouteBranch(e,V){let{routesMeta:J}=e,$={},ee="/",te=[];for(let re=0;re{if(ue==="*"){let de=ne[ce]||"";re=te.slice(0,te.length-de.length).replace(/(.)\/+$/,"$1")}return ae[ue]=safelyDecodeURIComponent(ne[ce]||"",ue),ae},{}),pathname:te,pathnameBase:re,pattern:e}}function compilePath(e,V,J){V===void 0&&(V=!1),J===void 0&&(J=!0),warning$1(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let $=[],ee="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(re,ne)=>($.push(ne),"/([^\\/]+)"));return e.endsWith("*")?($.push("*"),ee+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):J?ee+="\\/*$":e!==""&&e!=="/"&&(ee+="(?:(?=\\/|$))"),[new RegExp(ee,V?void 0:"i"),$]}function safelyDecodeURI(e){try{return decodeURI(e)}catch(V){return warning$1(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+V+").")),e}}function safelyDecodeURIComponent(e,V){try{return decodeURIComponent(e)}catch(J){return warning$1(!1,'The value for the URL param "'+V+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+J+").")),e}}function stripBasename(e,V){if(V==="/")return e;if(!e.toLowerCase().startsWith(V.toLowerCase()))return null;let J=V.endsWith("/")?V.length-1:V.length,$=e.charAt(J);return $&&$!=="/"?null:e.slice(J)||"/"}function resolvePath(e,V){V===void 0&&(V="/");let{pathname:J,search:$="",hash:ee=""}=typeof e=="string"?parsePath(e):e;return{pathname:J?J.startsWith("/")?J:resolvePathname(J,V):V,search:normalizeSearch($),hash:normalizeHash(ee)}}function resolvePathname(e,V){let J=V.replace(/\/+$/,"").split("/");return e.split("/").forEach(ee=>{ee===".."?J.length>1&&J.pop():ee!=="."&&J.push(ee)}),J.length>1?J.join("/"):"/"}function getInvalidPathError(e,V,J,$){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+V+"` field ["+JSON.stringify($)+"]. Please separate it out to the ")+("`to."+J+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function getPathContributingMatches(e){return e.filter((V,J)=>J===0||V.route.path&&V.route.path.length>0)}function resolveTo(e,V,J,$){$===void 0&&($=!1);let ee;typeof e=="string"?ee=parsePath(e):(ee=_extends$G({},e),invariant(!ee.pathname||!ee.pathname.includes("?"),getInvalidPathError("?","pathname","search",ee)),invariant(!ee.pathname||!ee.pathname.includes("#"),getInvalidPathError("#","pathname","hash",ee)),invariant(!ee.search||!ee.search.includes("#"),getInvalidPathError("#","search","hash",ee)));let te=e===""||ee.pathname==="",re=te?"/":ee.pathname,ne;if($||re==null)ne=J;else{let ce=V.length-1;if(re.startsWith("..")){let de=re.split("/");for(;de[0]==="..";)de.shift(),ce-=1;ee.pathname=de.join("/")}ne=ce>=0?V[ce]:"/"}let ie=resolvePath(ee,ne),ae=re&&re!=="/"&&re.endsWith("/"),ue=(te||re===".")&&J.endsWith("/");return!ie.pathname.endsWith("/")&&(ae||ue)&&(ie.pathname+="/"),ie}const joinPaths=e=>e.join("/").replace(/\/\/+/g,"/"),normalizePathname=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),normalizeSearch=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,normalizeHash=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class ErrorResponse{constructor(V,J,$,ee){ee===void 0&&(ee=!1),this.status=V,this.statusText=J||"",this.internal=ee,$ instanceof Error?(this.data=$.toString(),this.error=$):this.data=$}}function isRouteErrorResponse(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const validMutationMethodsArr=["post","put","patch","delete"],validMutationMethods=new Set(validMutationMethodsArr),validRequestMethodsArr=["get",...validMutationMethodsArr],validRequestMethods=new Set(validRequestMethodsArr),redirectStatusCodes=new Set([301,302,303,307,308]),redirectPreserveMethodStatusCodes=new Set([307,308]),IDLE_NAVIGATION={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},IDLE_FETCHER={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},IDLE_BLOCKER={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ABSOLUTE_URL_REGEX$1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,defaultMapRouteProperties=e=>({hasErrorBoundary:!!e.hasErrorBoundary});function createRouter(e){const V=e.window?e.window:typeof window<"u"?window:void 0,J=typeof V<"u"&&typeof V.document<"u"&&typeof V.document.createElement<"u",$=!J;invariant(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let ee;if(e.mapRouteProperties)ee=e.mapRouteProperties;else if(e.detectErrorBoundary){let gt=e.detectErrorBoundary;ee=bt=>({hasErrorBoundary:gt(bt)})}else ee=defaultMapRouteProperties;let te={},re=convertRoutesToDataRoutes(e.routes,ee,void 0,te),ne,ie=e.basename||"/",ae=_extends$G({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),ue=null,ce=new Set,de=null,me=null,he=null,ge=e.hydrationData!=null,_e=matchRoutes(re,e.history.location,ie),be=null;if(_e==null){let gt=getInternalRouterError(404,{pathname:e.history.location.pathname}),{matches:bt,route:Ot}=getShortCircuitMatches(re);_e=bt,be={[Ot.id]:gt}}let Ee=!_e.some(gt=>gt.route.lazy)&&(!_e.some(gt=>gt.route.loader)||e.hydrationData!=null),Pe,$e={historyAction:e.history.action,location:e.history.location,matches:_e,initialized:Ee,navigation:IDLE_NAVIGATION,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||be,fetchers:new Map,blockers:new Map},Re=Action$1.Pop,Le=!1,Ie,Be=!1,qe=!1,Ge=[],Je=[],Qe=new Map,Ne=0,Ye=-1,et=new Map,Xe=new Set,dt=new Map,Ze=new Map,ot=new Map,_t=!1;function He(){return ue=e.history.listen(gt=>{let{action:bt,location:Ot,delta:Vt}=gt;if(_t){_t=!1;return}warning$1(ot.size===0||Vt!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let mr=sr({currentLocation:$e.location,nextLocation:Ot,historyAction:bt});if(mr&&Vt!=null){_t=!0,e.history.go(Vt*-1),rr(mr,{state:"blocked",location:Ot,proceed(){rr(mr,{state:"proceeding",proceed:void 0,reset:void 0,location:Ot}),e.history.go(Vt)},reset(){let nr=new Map($e.blockers);nr.set(mr,IDLE_BLOCKER),jt({blockers:nr})}});return}return qt(bt,Ot)}),$e.initialized||qt(Action$1.Pop,$e.location),Pe}function pt(){ue&&ue(),ce.clear(),Ie&&Ie.abort(),$e.fetchers.forEach((gt,bt)=>pr(bt)),$e.blockers.forEach((gt,bt)=>Mt(bt))}function Tt(gt){return ce.add(gt),()=>ce.delete(gt)}function jt(gt){$e=_extends$G({},$e,gt),ce.forEach(bt=>bt($e))}function Bt(gt,bt){var Ot,Vt;let mr=$e.actionData!=null&&$e.navigation.formMethod!=null&&isMutationMethod($e.navigation.formMethod)&&$e.navigation.state==="loading"&&((Ot=gt.state)==null?void 0:Ot._isRedirect)!==!0,nr;bt.actionData?Object.keys(bt.actionData).length>0?nr=bt.actionData:nr=null:mr?nr=$e.actionData:nr=null;let dr=bt.loaderData?mergeLoaderData($e.loaderData,bt.loaderData,bt.matches||[],bt.errors):$e.loaderData,Zt=$e.blockers;Zt.size>0&&(Zt=new Map(Zt),Zt.forEach((Br,Ar)=>Zt.set(Ar,IDLE_BLOCKER)));let kt=Le===!0||$e.navigation.formMethod!=null&&isMutationMethod($e.navigation.formMethod)&&((Vt=gt.state)==null?void 0:Vt._isRedirect)!==!0;ne&&(re=ne,ne=void 0),Be||Re===Action$1.Pop||(Re===Action$1.Push?e.history.push(gt,gt.state):Re===Action$1.Replace&&e.history.replace(gt,gt.state)),jt(_extends$G({},bt,{actionData:nr,loaderData:dr,historyAction:Re,location:gt,initialized:!0,navigation:IDLE_NAVIGATION,revalidation:"idle",restoreScrollPosition:Ci(gt,bt.matches||$e.matches),preventScrollReset:kt,blockers:Zt})),Re=Action$1.Pop,Le=!1,Be=!1,qe=!1,Ge=[],Je=[]}async function zt(gt,bt){if(typeof gt=="number"){e.history.go(gt);return}let Ot=normalizeTo($e.location,$e.matches,ie,ae.v7_prependBasename,gt,bt?.fromRouteId,bt?.relative),{path:Vt,submission:mr,error:nr}=normalizeNavigateOptions(ae.v7_normalizeFormMethod,!1,Ot,bt),dr=$e.location,Zt=createLocation($e.location,Vt,bt&&bt.state);Zt=_extends$G({},Zt,e.history.encodeLocation(Zt));let kt=bt&&bt.replace!=null?bt.replace:void 0,Br=Action$1.Push;kt===!0?Br=Action$1.Replace:kt===!1||mr!=null&&isMutationMethod(mr.formMethod)&&mr.formAction===$e.location.pathname+$e.location.search&&(Br=Action$1.Replace);let Ar=bt&&"preventScrollReset"in bt?bt.preventScrollReset===!0:void 0,En=sr({currentLocation:dr,nextLocation:Zt,historyAction:Br});if(En){rr(En,{state:"blocked",location:Zt,proceed(){rr(En,{state:"proceeding",proceed:void 0,reset:void 0,location:Zt}),zt(gt,bt)},reset(){let Wr=new Map($e.blockers);Wr.set(En,IDLE_BLOCKER),jt({blockers:Wr})}});return}return await qt(Br,Zt,{submission:mr,pendingError:nr,preventScrollReset:Ar,replace:bt&&bt.replace})}function Wt(){if(xr(),jt({revalidation:"loading"}),$e.navigation.state!=="submitting"){if($e.navigation.state==="idle"){qt($e.historyAction,$e.location,{startUninterruptedRevalidation:!0});return}qt(Re||$e.historyAction,$e.navigation.location,{overrideNavigation:$e.navigation})}}async function qt(gt,bt,Ot){Ie&&Ie.abort(),Ie=null,Re=gt,Be=(Ot&&Ot.startUninterruptedRevalidation)===!0,yn($e.location,$e.matches),Le=(Ot&&Ot.preventScrollReset)===!0;let Vt=ne||re,mr=Ot&&Ot.overrideNavigation,nr=matchRoutes(Vt,bt,ie);if(!nr){let Wr=getInternalRouterError(404,{pathname:bt.pathname}),{matches:gn,route:Sn}=getShortCircuitMatches(Vt);Pr(),Bt(bt,{matches:gn,loaderData:{},errors:{[Sn.id]:Wr}});return}if($e.initialized&&!qe&&isHashChangeOnly($e.location,bt)&&!(Ot&&Ot.submission&&isMutationMethod(Ot.submission.formMethod))){Bt(bt,{matches:nr});return}Ie=new AbortController;let dr=createClientSideRequest(e.history,bt,Ie.signal,Ot&&Ot.submission),Zt,kt;if(Ot&&Ot.pendingError)kt={[findNearestBoundary(nr).route.id]:Ot.pendingError};else if(Ot&&Ot.submission&&isMutationMethod(Ot.submission.formMethod)){let Wr=await ar(dr,bt,Ot.submission,nr,{replace:Ot.replace});if(Wr.shortCircuited)return;Zt=Wr.pendingActionData,kt=Wr.pendingActionError,mr=getLoadingNavigation(bt,Ot.submission),dr=new Request(dr.url,{signal:dr.signal})}let{shortCircuited:Br,loaderData:Ar,errors:En}=await vr(dr,bt,nr,mr,Ot&&Ot.submission,Ot&&Ot.fetcherSubmission,Ot&&Ot.replace,Zt,kt);Br||(Ie=null,Bt(bt,_extends$G({matches:nr},Zt?{actionData:Zt}:{},{loaderData:Ar,errors:En})))}async function ar(gt,bt,Ot,Vt,mr){mr===void 0&&(mr={}),xr();let nr=getSubmittingNavigation(bt,Ot);jt({navigation:nr});let dr,Zt=getTargetMatch(Vt,bt);if(!Zt.route.action&&!Zt.route.lazy)dr={type:ResultType.error,error:getInternalRouterError(405,{method:gt.method,pathname:bt.pathname,routeId:Zt.route.id})};else if(dr=await callLoaderOrAction("action",gt,Zt,Vt,te,ee,ie),gt.signal.aborted)return{shortCircuited:!0};if(isRedirectResult(dr)){let kt;return mr&&mr.replace!=null?kt=mr.replace:kt=dr.location===$e.location.pathname+$e.location.search,await cr($e,dr,{submission:Ot,replace:kt}),{shortCircuited:!0}}if(isErrorResult(dr)){let kt=findNearestBoundary(Vt,Zt.route.id);return(mr&&mr.replace)!==!0&&(Re=Action$1.Push),{pendingActionData:{},pendingActionError:{[kt.route.id]:dr.error}}}if(isDeferredResult(dr))throw getInternalRouterError(400,{type:"defer-action"});return{pendingActionData:{[Zt.route.id]:dr.data}}}async function vr(gt,bt,Ot,Vt,mr,nr,dr,Zt,kt){let Br=Vt||getLoadingNavigation(bt,mr),Ar=mr||nr||getSubmissionFromNavigation(Br),En=ne||re,[Wr,gn]=getMatchesToLoad(e.history,$e,Ot,Ar,bt,qe,Ge,Je,dt,Xe,En,ie,Zt,kt);if(Pr(Jr=>!(Ot&&Ot.some(Rn=>Rn.route.id===Jr))||Wr&&Wr.some(Rn=>Rn.route.id===Jr)),Wr.length===0&&gn.length===0){let Jr=st();return Bt(bt,_extends$G({matches:Ot,loaderData:{},errors:kt||null},Zt?{actionData:Zt}:{},Jr?{fetchers:new Map($e.fetchers)}:{})),{shortCircuited:!0}}if(!Be){gn.forEach(Rn=>{let Ai=$e.fetchers.get(Rn.key),Xr=getLoadingFetcher(void 0,Ai?Ai.data:void 0);$e.fetchers.set(Rn.key,Xr)});let Jr=Zt||$e.actionData;jt(_extends$G({navigation:Br},Jr?Object.keys(Jr).length===0?{actionData:null}:{actionData:Jr}:{},gn.length>0?{fetchers:new Map($e.fetchers)}:{}))}Ye=++Ne,gn.forEach(Jr=>{Qe.has(Jr.key)&&wr(Jr.key),Jr.controller&&Qe.set(Jr.key,Jr.controller)});let Sn=()=>gn.forEach(Jr=>wr(Jr.key));Ie&&Ie.signal.addEventListener("abort",Sn);let{results:qi,loaderResults:yi,fetcherResults:ai}=await Rr($e.matches,Ot,Wr,gn,gt);if(gt.signal.aborted)return{shortCircuited:!0};Ie&&Ie.signal.removeEventListener("abort",Sn),gn.forEach(Jr=>Qe.delete(Jr.key));let kn=findRedirect(qi);if(kn)return await cr($e,kn,{replace:dr}),{shortCircuited:!0};let{loaderData:zi,errors:Ri}=processLoaderData($e,Ot,Wr,yi,kt,gn,ai,Ze);Ze.forEach((Jr,Rn)=>{Jr.subscribe(Ai=>{(Ai||Jr.done)&&Ze.delete(Rn)})});let ro=st(),no=$t(Ye),gi=ro||no||gn.length>0;return _extends$G({loaderData:zi,errors:Ri},gi?{fetchers:new Map($e.fetchers)}:{})}function Tr(gt){return $e.fetchers.get(gt)||IDLE_FETCHER}function _r(gt,bt,Ot,Vt){if($)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Qe.has(gt)&&wr(gt);let mr=ne||re,nr=normalizeTo($e.location,$e.matches,ie,ae.v7_prependBasename,Ot,bt,Vt?.relative),dr=matchRoutes(mr,nr,ie);if(!dr){or(gt,bt,getInternalRouterError(404,{pathname:nr}));return}let{path:Zt,submission:kt,error:Br}=normalizeNavigateOptions(ae.v7_normalizeFormMethod,!0,nr,Vt);if(Br){or(gt,bt,Br);return}let Ar=getTargetMatch(dr,Zt);if(Le=(Vt&&Vt.preventScrollReset)===!0,kt&&isMutationMethod(kt.formMethod)){Yt(gt,bt,Zt,Ar,dr,kt);return}dt.set(gt,{routeId:bt,path:Zt}),ir(gt,bt,Zt,Ar,dr,kt)}async function Yt(gt,bt,Ot,Vt,mr,nr){if(xr(),dt.delete(gt),!Vt.route.action&&!Vt.route.lazy){let Xr=getInternalRouterError(405,{method:nr.formMethod,pathname:Ot,routeId:bt});or(gt,bt,Xr);return}let dr=$e.fetchers.get(gt),Zt=getSubmittingFetcher(nr,dr);$e.fetchers.set(gt,Zt),jt({fetchers:new Map($e.fetchers)});let kt=new AbortController,Br=createClientSideRequest(e.history,Ot,kt.signal,nr);Qe.set(gt,kt);let Ar=await callLoaderOrAction("action",Br,Vt,mr,te,ee,ie);if(Br.signal.aborted){Qe.get(gt)===kt&&Qe.delete(gt);return}if(isRedirectResult(Ar)){Qe.delete(gt),Xe.add(gt);let Xr=getLoadingFetcher(nr);return $e.fetchers.set(gt,Xr),jt({fetchers:new Map($e.fetchers)}),cr($e,Ar,{submission:nr,isFetchActionRedirect:!0})}if(isErrorResult(Ar)){or(gt,bt,Ar.error);return}if(isDeferredResult(Ar))throw getInternalRouterError(400,{type:"defer-action"});let En=$e.navigation.location||$e.location,Wr=createClientSideRequest(e.history,En,kt.signal),gn=ne||re,Sn=$e.navigation.state!=="idle"?matchRoutes(gn,$e.navigation.location,ie):$e.matches;invariant(Sn,"Didn't find any matches after fetcher action");let qi=++Ne;et.set(gt,qi);let yi=getLoadingFetcher(nr,Ar.data);$e.fetchers.set(gt,yi);let[ai,kn]=getMatchesToLoad(e.history,$e,Sn,nr,En,qe,Ge,Je,dt,Xe,gn,ie,{[Vt.route.id]:Ar.data},void 0);kn.filter(Xr=>Xr.key!==gt).forEach(Xr=>{let Yn=Xr.key,la=$e.fetchers.get(Yn),ua=getLoadingFetcher(void 0,la?la.data:void 0);$e.fetchers.set(Yn,ua),Qe.has(Yn)&&wr(Yn),Xr.controller&&Qe.set(Yn,Xr.controller)}),jt({fetchers:new Map($e.fetchers)});let zi=()=>kn.forEach(Xr=>wr(Xr.key));kt.signal.addEventListener("abort",zi);let{results:Ri,loaderResults:ro,fetcherResults:no}=await Rr($e.matches,Sn,ai,kn,Wr);if(kt.signal.aborted)return;kt.signal.removeEventListener("abort",zi),et.delete(gt),Qe.delete(gt),kn.forEach(Xr=>Qe.delete(Xr.key));let gi=findRedirect(Ri);if(gi)return cr($e,gi);let{loaderData:Jr,errors:Rn}=processLoaderData($e,$e.matches,ai,ro,void 0,kn,no,Ze);if($e.fetchers.has(gt)){let Xr=getDoneFetcher(Ar.data);$e.fetchers.set(gt,Xr)}let Ai=$t(qi);$e.navigation.state==="loading"&&qi>Ye?(invariant(Re,"Expected pending action"),Ie&&Ie.abort(),Bt($e.navigation.location,{matches:Sn,loaderData:Jr,errors:Rn,fetchers:new Map($e.fetchers)})):(jt(_extends$G({errors:Rn,loaderData:mergeLoaderData($e.loaderData,Jr,Sn,Rn)},Ai||kn.length>0?{fetchers:new Map($e.fetchers)}:{})),qe=!1)}async function ir(gt,bt,Ot,Vt,mr,nr){let dr=$e.fetchers.get(gt),Zt=getLoadingFetcher(nr,dr?dr.data:void 0);$e.fetchers.set(gt,Zt),jt({fetchers:new Map($e.fetchers)});let kt=new AbortController,Br=createClientSideRequest(e.history,Ot,kt.signal);Qe.set(gt,kt);let Ar=await callLoaderOrAction("loader",Br,Vt,mr,te,ee,ie);if(isDeferredResult(Ar)&&(Ar=await resolveDeferredData(Ar,Br.signal,!0)||Ar),Qe.get(gt)===kt&&Qe.delete(gt),Br.signal.aborted)return;if(isRedirectResult(Ar)){Xe.add(gt),await cr($e,Ar);return}if(isErrorResult(Ar)){let Wr=findNearestBoundary($e.matches,bt);$e.fetchers.delete(gt),jt({fetchers:new Map($e.fetchers),errors:{[Wr.route.id]:Ar.error}});return}invariant(!isDeferredResult(Ar),"Unhandled fetcher deferred data");let En=getDoneFetcher(Ar.data);$e.fetchers.set(gt,En),jt({fetchers:new Map($e.fetchers)})}async function cr(gt,bt,Ot){let{submission:Vt,replace:mr,isFetchActionRedirect:nr}=Ot===void 0?{}:Ot;bt.revalidate&&(qe=!0);let dr=createLocation(gt.location,bt.location,_extends$G({_isRedirect:!0},nr?{_isFetchActionRedirect:!0}:{}));if(invariant(dr,"Expected a location on the redirect navigation"),ABSOLUTE_URL_REGEX$1.test(bt.location)&&J){let Br=e.history.createURL(bt.location),Ar=stripBasename(Br.pathname,ie)==null;if(V.location.origin!==Br.origin||Ar){mr?V.location.replace(bt.location):V.location.assign(bt.location);return}}Ie=null;let Zt=mr===!0?Action$1.Replace:Action$1.Push,kt=Vt||getSubmissionFromNavigation(gt.navigation);if(redirectPreserveMethodStatusCodes.has(bt.status)&&kt&&isMutationMethod(kt.formMethod))await qt(Zt,dr,{submission:_extends$G({},kt,{formAction:bt.location}),preventScrollReset:Le});else if(nr)await qt(Zt,dr,{overrideNavigation:getLoadingNavigation(dr),fetcherSubmission:kt,preventScrollReset:Le});else{let Br=getLoadingNavigation(dr,kt);await qt(Zt,dr,{overrideNavigation:Br,preventScrollReset:Le})}}async function Rr(gt,bt,Ot,Vt,mr){let nr=await Promise.all([...Ot.map(kt=>callLoaderOrAction("loader",mr,kt,bt,te,ee,ie)),...Vt.map(kt=>kt.matches&&kt.match&&kt.controller?callLoaderOrAction("loader",createClientSideRequest(e.history,kt.path,kt.controller.signal),kt.match,kt.matches,te,ee,ie):{type:ResultType.error,error:getInternalRouterError(404,{pathname:kt.path})})]),dr=nr.slice(0,Ot.length),Zt=nr.slice(Ot.length);return await Promise.all([resolveDeferredResults(gt,Ot,dr,dr.map(()=>mr.signal),!1,$e.loaderData),resolveDeferredResults(gt,Vt.map(kt=>kt.match),Zt,Vt.map(kt=>kt.controller?kt.controller.signal:null),!0)]),{results:nr,loaderResults:dr,fetcherResults:Zt}}function xr(){qe=!0,Ge.push(...Pr()),dt.forEach((gt,bt)=>{Qe.has(bt)&&(Je.push(bt),wr(bt))})}function or(gt,bt,Ot){let Vt=findNearestBoundary($e.matches,bt);pr(gt),jt({errors:{[Vt.route.id]:Ot},fetchers:new Map($e.fetchers)})}function pr(gt){let bt=$e.fetchers.get(gt);Qe.has(gt)&&!(bt&&bt.state==="loading"&&et.has(gt))&&wr(gt),dt.delete(gt),et.delete(gt),Xe.delete(gt),$e.fetchers.delete(gt)}function wr(gt){let bt=Qe.get(gt);invariant(bt,"Expected fetch controller: "+gt),bt.abort(),Qe.delete(gt)}function Mr(gt){for(let bt of gt){let Ot=Tr(bt),Vt=getDoneFetcher(Ot.data);$e.fetchers.set(bt,Vt)}}function st(){let gt=[],bt=!1;for(let Ot of Xe){let Vt=$e.fetchers.get(Ot);invariant(Vt,"Expected fetcher: "+Ot),Vt.state==="loading"&&(Xe.delete(Ot),gt.push(Ot),bt=!0)}return Mr(gt),bt}function $t(gt){let bt=[];for(let[Ot,Vt]of et)if(Vt0}function Nt(gt,bt){let Ot=$e.blockers.get(gt)||IDLE_BLOCKER;return ot.get(gt)!==bt&&ot.set(gt,bt),Ot}function Mt(gt){$e.blockers.delete(gt),ot.delete(gt)}function rr(gt,bt){let Ot=$e.blockers.get(gt)||IDLE_BLOCKER;invariant(Ot.state==="unblocked"&&bt.state==="blocked"||Ot.state==="blocked"&&bt.state==="blocked"||Ot.state==="blocked"&&bt.state==="proceeding"||Ot.state==="blocked"&&bt.state==="unblocked"||Ot.state==="proceeding"&&bt.state==="unblocked","Invalid blocker state transition: "+Ot.state+" -> "+bt.state);let Vt=new Map($e.blockers);Vt.set(gt,bt),jt({blockers:Vt})}function sr(gt){let{currentLocation:bt,nextLocation:Ot,historyAction:Vt}=gt;if(ot.size===0)return;ot.size>1&&warning$1(!1,"A router only supports one blocker at a time");let mr=Array.from(ot.entries()),[nr,dr]=mr[mr.length-1],Zt=$e.blockers.get(nr);if(!(Zt&&Zt.state==="proceeding")&&dr({currentLocation:bt,nextLocation:Ot,historyAction:Vt}))return nr}function Pr(gt){let bt=[];return Ze.forEach((Ot,Vt)=>{(!gt||gt(Vt))&&(Ot.cancel(),bt.push(Vt),Ze.delete(Vt))}),bt}function Lr(gt,bt,Ot){if(de=gt,he=bt,me=Ot||null,!ge&&$e.navigation===IDLE_NAVIGATION){ge=!0;let Vt=Ci($e.location,$e.matches);Vt!=null&&jt({restoreScrollPosition:Vt})}return()=>{de=null,he=null,me=null}}function Dr(gt,bt){return me&&me(gt,bt.map(Vt=>createUseMatchesMatch(Vt,$e.loaderData)))||gt.key}function yn(gt,bt){if(de&&he){let Ot=Dr(gt,bt);de[Ot]=he()}}function Ci(gt,bt){if(de){let Ot=Dr(gt,bt),Vt=de[Ot];if(typeof Vt=="number")return Vt}return null}function oi(gt){te={},ne=convertRoutesToDataRoutes(gt,ee,void 0,te)}return Pe={get basename(){return ie},get state(){return $e},get routes(){return re},initialize:He,subscribe:Tt,enableScrollRestoration:Lr,navigate:zt,fetch:_r,revalidate:Wt,createHref:gt=>e.history.createHref(gt),encodeLocation:gt=>e.history.encodeLocation(gt),getFetcher:Tr,deleteFetcher:pr,dispose:pt,getBlocker:Nt,deleteBlocker:Mt,_internalFetchControllers:Qe,_internalActiveDeferreds:Ze,_internalSetRoutes:oi},Pe}function isSubmissionNavigation(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function normalizeTo(e,V,J,$,ee,te,re){let ne,ie;if(te!=null&&re!=="path"){ne=[];for(let ue of V)if(ne.push(ue),ue.route.id===te){ie=ue;break}}else ne=V,ie=V[V.length-1];let ae=resolveTo(ee||".",getPathContributingMatches(ne).map(ue=>ue.pathnameBase),stripBasename(e.pathname,J)||e.pathname,re==="path");return ee==null&&(ae.search=e.search,ae.hash=e.hash),(ee==null||ee===""||ee===".")&&ie&&ie.route.index&&!hasNakedIndexQuery(ae.search)&&(ae.search=ae.search?ae.search.replace(/^\?/,"?index&"):"?index"),$&&J!=="/"&&(ae.pathname=ae.pathname==="/"?J:joinPaths([J,ae.pathname])),createPath(ae)}function normalizeNavigateOptions(e,V,J,$){if(!$||!isSubmissionNavigation($))return{path:J};if($.formMethod&&!isValidMethod($.formMethod))return{path:J,error:getInternalRouterError(405,{method:$.formMethod})};let ee=()=>({path:J,error:getInternalRouterError(400,{type:"invalid-body"})}),te=$.formMethod||"get",re=e?te.toUpperCase():te.toLowerCase(),ne=stripHashFromPath(J);if($.body!==void 0){if($.formEncType==="text/plain"){if(!isMutationMethod(re))return ee();let de=typeof $.body=="string"?$.body:$.body instanceof FormData||$.body instanceof URLSearchParams?Array.from($.body.entries()).reduce((me,he)=>{let[ge,_e]=he;return""+me+ge+"="+_e+` +`},""):String($.body);return{path:J,submission:{formMethod:re,formAction:ne,formEncType:$.formEncType,formData:void 0,json:void 0,text:de}}}else if($.formEncType==="application/json"){if(!isMutationMethod(re))return ee();try{let de=typeof $.body=="string"?JSON.parse($.body):$.body;return{path:J,submission:{formMethod:re,formAction:ne,formEncType:$.formEncType,formData:void 0,json:de,text:void 0}}}catch{return ee()}}}invariant(typeof FormData=="function","FormData is not available in this environment");let ie,ae;if($.formData)ie=convertFormDataToSearchParams($.formData),ae=$.formData;else if($.body instanceof FormData)ie=convertFormDataToSearchParams($.body),ae=$.body;else if($.body instanceof URLSearchParams)ie=$.body,ae=convertSearchParamsToFormData(ie);else if($.body==null)ie=new URLSearchParams,ae=new FormData;else try{ie=new URLSearchParams($.body),ae=convertSearchParamsToFormData(ie)}catch{return ee()}let ue={formMethod:re,formAction:ne,formEncType:$&&$.formEncType||"application/x-www-form-urlencoded",formData:ae,json:void 0,text:void 0};if(isMutationMethod(ue.formMethod))return{path:J,submission:ue};let ce=parsePath(J);return V&&ce.search&&hasNakedIndexQuery(ce.search)&&ie.append("index",""),ce.search="?"+ie,{path:createPath(ce),submission:ue}}function getLoaderMatchesUntilBoundary(e,V){let J=e;if(V){let $=e.findIndex(ee=>ee.route.id===V);$>=0&&(J=e.slice(0,$))}return J}function getMatchesToLoad(e,V,J,$,ee,te,re,ne,ie,ae,ue,ce,de,me){let he=me?Object.values(me)[0]:de?Object.values(de)[0]:void 0,ge=e.createURL(V.location),_e=e.createURL(ee),be=me?Object.keys(me)[0]:void 0,Pe=getLoaderMatchesUntilBoundary(J,be).filter((Re,Le)=>{if(Re.route.lazy)return!0;if(Re.route.loader==null)return!1;if(isNewLoader(V.loaderData,V.matches[Le],Re)||re.some(qe=>qe===Re.route.id))return!0;let Ie=V.matches[Le],Be=Re;return shouldRevalidateLoader(Re,_extends$G({currentUrl:ge,currentParams:Ie.params,nextUrl:_e,nextParams:Be.params},$,{actionResult:he,defaultShouldRevalidate:te||ge.pathname+ge.search===_e.pathname+_e.search||ge.search!==_e.search||isNewRouteInstance(Ie,Be)}))}),$e=[];return ie.forEach((Re,Le)=>{if(!J.some(Qe=>Qe.route.id===Re.routeId))return;let Ie=matchRoutes(ue,Re.path,ce);if(!Ie){$e.push({key:Le,routeId:Re.routeId,path:Re.path,matches:null,match:null,controller:null});return}let Be=V.fetchers.get(Le),qe=Be&&Be.state!=="idle"&&Be.data===void 0&&!ae.has(Le),Ge=getTargetMatch(Ie,Re.path);(ne.includes(Le)||qe||shouldRevalidateLoader(Ge,_extends$G({currentUrl:ge,currentParams:V.matches[V.matches.length-1].params,nextUrl:_e,nextParams:J[J.length-1].params},$,{actionResult:he,defaultShouldRevalidate:te})))&&$e.push({key:Le,routeId:Re.routeId,path:Re.path,matches:Ie,match:Ge,controller:new AbortController})}),[Pe,$e]}function isNewLoader(e,V,J){let $=!V||J.route.id!==V.route.id,ee=e[J.route.id]===void 0;return $||ee}function isNewRouteInstance(e,V){let J=e.route.path;return e.pathname!==V.pathname||J!=null&&J.endsWith("*")&&e.params["*"]!==V.params["*"]}function shouldRevalidateLoader(e,V){if(e.route.shouldRevalidate){let J=e.route.shouldRevalidate(V);if(typeof J=="boolean")return J}return V.defaultShouldRevalidate}async function loadLazyRouteModule(e,V,J){if(!e.lazy)return;let $=await e.lazy();if(!e.lazy)return;let ee=J[e.id];invariant(ee,"No route found in manifest");let te={};for(let re in $){let ie=ee[re]!==void 0&&re!=="hasErrorBoundary";warning$1(!ie,'Route "'+ee.id+'" has a static property "'+re+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+re+'" will be ignored.')),!ie&&!immutableRouteKeys.has(re)&&(te[re]=$[re])}Object.assign(ee,te),Object.assign(ee,_extends$G({},V(ee),{lazy:void 0}))}async function callLoaderOrAction(e,V,J,$,ee,te,re,ne){ne===void 0&&(ne={});let ie,ae,ue,ce=he=>{let ge,_e=new Promise((be,Ee)=>ge=Ee);return ue=()=>ge(),V.signal.addEventListener("abort",ue),Promise.race([he({request:V,params:J.params,context:ne.requestContext}),_e])};try{let he=J.route[e];if(J.route.lazy)if(he)ae=(await Promise.all([ce(he),loadLazyRouteModule(J.route,te,ee)]))[0];else if(await loadLazyRouteModule(J.route,te,ee),he=J.route[e],he)ae=await ce(he);else if(e==="action"){let ge=new URL(V.url),_e=ge.pathname+ge.search;throw getInternalRouterError(405,{method:V.method,pathname:_e,routeId:J.route.id})}else return{type:ResultType.data,data:void 0};else if(he)ae=await ce(he);else{let ge=new URL(V.url),_e=ge.pathname+ge.search;throw getInternalRouterError(404,{pathname:_e})}invariant(ae!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+J.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(he){ie=ResultType.error,ae=he}finally{ue&&V.signal.removeEventListener("abort",ue)}if(isResponse(ae)){let he=ae.status;if(redirectStatusCodes.has(he)){let be=ae.headers.get("Location");if(invariant(be,"Redirects returned/thrown from loaders/actions must have a Location header"),!ABSOLUTE_URL_REGEX$1.test(be))be=normalizeTo(new URL(V.url),$.slice(0,$.indexOf(J)+1),re,!0,be);else if(!ne.isStaticRequest){let Ee=new URL(V.url),Pe=be.startsWith("//")?new URL(Ee.protocol+be):new URL(be),$e=stripBasename(Pe.pathname,re)!=null;Pe.origin===Ee.origin&&$e&&(be=Pe.pathname+Pe.search+Pe.hash)}if(ne.isStaticRequest)throw ae.headers.set("Location",be),ae;return{type:ResultType.redirect,status:he,location:be,revalidate:ae.headers.get("X-Remix-Revalidate")!==null}}if(ne.isRouteRequest)throw{type:ie||ResultType.data,response:ae};let ge,_e=ae.headers.get("Content-Type");return _e&&/\bapplication\/json\b/.test(_e)?ge=await ae.json():ge=await ae.text(),ie===ResultType.error?{type:ie,error:new ErrorResponse(he,ae.statusText,ge),headers:ae.headers}:{type:ResultType.data,data:ge,statusCode:ae.status,headers:ae.headers}}if(ie===ResultType.error)return{type:ie,error:ae};if(isDeferredData(ae)){var de,me;return{type:ResultType.deferred,deferredData:ae,statusCode:(de=ae.init)==null?void 0:de.status,headers:((me=ae.init)==null?void 0:me.headers)&&new Headers(ae.init.headers)}}return{type:ResultType.data,data:ae}}function createClientSideRequest(e,V,J,$){let ee=e.createURL(stripHashFromPath(V)).toString(),te={signal:J};if($&&isMutationMethod($.formMethod)){let{formMethod:re,formEncType:ne}=$;te.method=re.toUpperCase(),ne==="application/json"?(te.headers=new Headers({"Content-Type":ne}),te.body=JSON.stringify($.json)):ne==="text/plain"?te.body=$.text:ne==="application/x-www-form-urlencoded"&&$.formData?te.body=convertFormDataToSearchParams($.formData):te.body=$.formData}return new Request(ee,te)}function convertFormDataToSearchParams(e){let V=new URLSearchParams;for(let[J,$]of e.entries())V.append(J,typeof $=="string"?$:$.name);return V}function convertSearchParamsToFormData(e){let V=new FormData;for(let[J,$]of e.entries())V.append(J,$);return V}function processRouteLoaderData(e,V,J,$,ee){let te={},re=null,ne,ie=!1,ae={};return J.forEach((ue,ce)=>{let de=V[ce].route.id;if(invariant(!isRedirectResult(ue),"Cannot handle redirect results in processLoaderData"),isErrorResult(ue)){let me=findNearestBoundary(e,de),he=ue.error;$&&(he=Object.values($)[0],$=void 0),re=re||{},re[me.route.id]==null&&(re[me.route.id]=he),te[de]=void 0,ie||(ie=!0,ne=isRouteErrorResponse(ue.error)?ue.error.status:500),ue.headers&&(ae[de]=ue.headers)}else isDeferredResult(ue)?(ee.set(de,ue.deferredData),te[de]=ue.deferredData.data):te[de]=ue.data,ue.statusCode!=null&&ue.statusCode!==200&&!ie&&(ne=ue.statusCode),ue.headers&&(ae[de]=ue.headers)}),$&&(re=$,te[Object.keys($)[0]]=void 0),{loaderData:te,errors:re,statusCode:ne||200,loaderHeaders:ae}}function processLoaderData(e,V,J,$,ee,te,re,ne){let{loaderData:ie,errors:ae}=processRouteLoaderData(V,J,$,ee,ne);for(let ue=0;ue$.route.id===V)+1):[...e]).reverse().find($=>$.route.hasErrorBoundary===!0)||e[0]}function getShortCircuitMatches(e){let V=e.find(J=>J.index||!J.path||J.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:V}],route:V}}function getInternalRouterError(e,V){let{pathname:J,routeId:$,method:ee,type:te}=V===void 0?{}:V,re="Unknown Server Error",ne="Unknown @remix-run/router error";return e===400?(re="Bad Request",ee&&J&&$?ne="You made a "+ee+' request to "'+J+'" but '+('did not provide a `loader` for route "'+$+'", ')+"so there is no way to handle the request.":te==="defer-action"?ne="defer() is not supported in actions":te==="invalid-body"&&(ne="Unable to encode submission body")):e===403?(re="Forbidden",ne='Route "'+$+'" does not match URL "'+J+'"'):e===404?(re="Not Found",ne='No route matches URL "'+J+'"'):e===405&&(re="Method Not Allowed",ee&&J&&$?ne="You made a "+ee.toUpperCase()+' request to "'+J+'" but '+('did not provide an `action` for route "'+$+'", ')+"so there is no way to handle the request.":ee&&(ne='Invalid request method "'+ee.toUpperCase()+'"')),new ErrorResponse(e||500,re,new Error(ne),!0)}function findRedirect(e){for(let V=e.length-1;V>=0;V--){let J=e[V];if(isRedirectResult(J))return J}}function stripHashFromPath(e){let V=typeof e=="string"?parsePath(e):e;return createPath(_extends$G({},V,{hash:""}))}function isHashChangeOnly(e,V){return e.pathname!==V.pathname||e.search!==V.search?!1:e.hash===""?V.hash!=="":e.hash===V.hash?!0:V.hash!==""}function isDeferredResult(e){return e.type===ResultType.deferred}function isErrorResult(e){return e.type===ResultType.error}function isRedirectResult(e){return(e&&e.type)===ResultType.redirect}function isDeferredData(e){let V=e;return V&&typeof V=="object"&&typeof V.data=="object"&&typeof V.subscribe=="function"&&typeof V.cancel=="function"&&typeof V.resolveData=="function"}function isResponse(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function isValidMethod(e){return validRequestMethods.has(e.toLowerCase())}function isMutationMethod(e){return validMutationMethods.has(e.toLowerCase())}async function resolveDeferredResults(e,V,J,$,ee,te){for(let re=0;rece.route.id===ie.route.id),ue=ae!=null&&!isNewRouteInstance(ae,ie)&&(te&&te[ie.route.id])!==void 0;if(isDeferredResult(ne)&&(ee||ue)){let ce=$[re];invariant(ce,"Expected an AbortSignal for revalidating fetcher deferred result"),await resolveDeferredData(ne,ce,ee).then(de=>{de&&(J[re]=de||J[re])})}}}async function resolveDeferredData(e,V,J){if(J===void 0&&(J=!1),!await e.deferredData.resolveData(V)){if(J)try{return{type:ResultType.data,data:e.deferredData.unwrappedData}}catch(ee){return{type:ResultType.error,error:ee}}return{type:ResultType.data,data:e.deferredData.data}}}function hasNakedIndexQuery(e){return new URLSearchParams(e).getAll("index").some(V=>V==="")}function createUseMatchesMatch(e,V){let{route:J,pathname:$,params:ee}=e;return{id:J.id,pathname:$,params:ee,data:V[J.id],handle:J.handle}}function getTargetMatch(e,V){let J=typeof V=="string"?parsePath(V).search:V.search;if(e[e.length-1].route.index&&hasNakedIndexQuery(J||""))return e[e.length-1];let $=getPathContributingMatches(e);return $[$.length-1]}function getSubmissionFromNavigation(e){let{formMethod:V,formAction:J,formEncType:$,text:ee,formData:te,json:re}=e;if(!(!V||!J||!$)){if(ee!=null)return{formMethod:V,formAction:J,formEncType:$,formData:void 0,json:void 0,text:ee};if(te!=null)return{formMethod:V,formAction:J,formEncType:$,formData:te,json:void 0,text:void 0};if(re!==void 0)return{formMethod:V,formAction:J,formEncType:$,formData:void 0,json:re,text:void 0}}}function getLoadingNavigation(e,V){return V?{state:"loading",location:e,formMethod:V.formMethod,formAction:V.formAction,formEncType:V.formEncType,formData:V.formData,json:V.json,text:V.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function getSubmittingNavigation(e,V){return{state:"submitting",location:e,formMethod:V.formMethod,formAction:V.formAction,formEncType:V.formEncType,formData:V.formData,json:V.json,text:V.text}}function getLoadingFetcher(e,V){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:V," _hasFetcherDoneAnything ":!0}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:V," _hasFetcherDoneAnything ":!0}}function getSubmittingFetcher(e,V){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:V?V.data:void 0," _hasFetcherDoneAnything ":!0}}function getDoneFetcher(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e," _hasFetcherDoneAnything ":!0}}/** + * React Router v6.14.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function _extends$F(){return _extends$F=Object.assign?Object.assign.bind():function(e){for(var V=1;VmatchPath(e,V),[V,e])}function useIsomorphicLayoutEffect$2(e){reactExports.useContext(NavigationContext).static||reactExports.useLayoutEffect(e)}function useNavigate(){let{isDataRoute:e}=reactExports.useContext(RouteContext);return e?useNavigateStable():useNavigateUnstable()}function useNavigateUnstable(){useInRouterContext()||invariant(!1);let e=reactExports.useContext(DataRouterContext),{basename:V,navigator:J}=reactExports.useContext(NavigationContext),{matches:$}=reactExports.useContext(RouteContext),{pathname:ee}=useLocation(),te=JSON.stringify(getPathContributingMatches($).map(ie=>ie.pathnameBase)),re=reactExports.useRef(!1);return useIsomorphicLayoutEffect$2(()=>{re.current=!0}),reactExports.useCallback(function(ie,ae){if(ae===void 0&&(ae={}),!re.current)return;if(typeof ie=="number"){J.go(ie);return}let ue=resolveTo(ie,JSON.parse(te),ee,ae.relative==="path");e==null&&V!=="/"&&(ue.pathname=ue.pathname==="/"?V:joinPaths([V,ue.pathname])),(ae.replace?J.replace:J.push)(ue,ae.state,ae)},[V,J,te,ee,e])}const OutletContext=reactExports.createContext(null);function useOutlet(e){let V=reactExports.useContext(RouteContext).outlet;return V&&reactExports.createElement(OutletContext.Provider,{value:e},V)}function useParams(){let{matches:e}=reactExports.useContext(RouteContext),V=e[e.length-1];return V?V.params:{}}function useResolvedPath(e,V){let{relative:J}=V===void 0?{}:V,{matches:$}=reactExports.useContext(RouteContext),{pathname:ee}=useLocation(),te=JSON.stringify(getPathContributingMatches($).map(re=>re.pathnameBase));return reactExports.useMemo(()=>resolveTo(e,JSON.parse(te),ee,J==="path"),[e,te,ee,J])}function useRoutesImpl(e,V,J){useInRouterContext()||invariant(!1);let{navigator:$}=reactExports.useContext(NavigationContext),{matches:ee}=reactExports.useContext(RouteContext),te=ee[ee.length-1],re=te?te.params:{};te&&te.pathname;let ne=te?te.pathnameBase:"/";te&&te.route;let ie=useLocation(),ae;ae=ie;let ue=ae.pathname||"/",ce=ne==="/"?ue:ue.slice(ne.length)||"/",de=matchRoutes(e,{pathname:ce});return _renderMatches(de&&de.map(he=>Object.assign({},he,{params:Object.assign({},re,he.params),pathname:joinPaths([ne,$.encodeLocation?$.encodeLocation(he.pathname).pathname:he.pathname]),pathnameBase:he.pathnameBase==="/"?ne:joinPaths([ne,$.encodeLocation?$.encodeLocation(he.pathnameBase).pathname:he.pathnameBase])})),ee,J)}function DefaultErrorComponent(){let e=useRouteError(),V=isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),J=e instanceof Error?e.stack:null,ee={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("h2",null,"Unexpected Application Error!"),reactExports.createElement("h3",{style:{fontStyle:"italic"}},V),J?reactExports.createElement("pre",{style:ee},J):null,null)}const defaultErrorElement=reactExports.createElement(DefaultErrorComponent,null);class RenderErrorBoundary extends reactExports.Component{constructor(V){super(V),this.state={location:V.location,revalidation:V.revalidation,error:V.error}}static getDerivedStateFromError(V){return{error:V}}static getDerivedStateFromProps(V,J){return J.location!==V.location||J.revalidation!=="idle"&&V.revalidation==="idle"?{error:V.error,location:V.location,revalidation:V.revalidation}:{error:V.error||J.error,location:J.location,revalidation:V.revalidation||J.revalidation}}componentDidCatch(V,J){console.error("React Router caught the following error during render",V,J)}render(){return this.state.error?reactExports.createElement(RouteContext.Provider,{value:this.props.routeContext},reactExports.createElement(RouteErrorContext.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function RenderedRoute(e){let{routeContext:V,match:J,children:$}=e,ee=reactExports.useContext(DataRouterContext);return ee&&ee.static&&ee.staticContext&&(J.route.errorElement||J.route.ErrorBoundary)&&(ee.staticContext._deepestRenderedBoundaryId=J.route.id),reactExports.createElement(RouteContext.Provider,{value:V},$)}function _renderMatches(e,V,J){var $;if(V===void 0&&(V=[]),J===void 0&&(J=null),e==null){var ee;if((ee=J)!=null&&ee.errors)e=J.matches;else return null}let te=e,re=($=J)==null?void 0:$.errors;if(re!=null){let ne=te.findIndex(ie=>ie.route.id&&re?.[ie.route.id]);ne>=0||invariant(!1),te=te.slice(0,Math.min(te.length,ne+1))}return te.reduceRight((ne,ie,ae)=>{let ue=ie.route.id?re?.[ie.route.id]:null,ce=null;J&&(ce=ie.route.errorElement||defaultErrorElement);let de=V.concat(te.slice(0,ae+1)),me=()=>{let he;return ue?he=ce:ie.route.Component?he=reactExports.createElement(ie.route.Component,null):ie.route.element?he=ie.route.element:he=ne,reactExports.createElement(RenderedRoute,{match:ie,routeContext:{outlet:ne,matches:de,isDataRoute:J!=null},children:he})};return J&&(ie.route.ErrorBoundary||ie.route.errorElement||ae===0)?reactExports.createElement(RenderErrorBoundary,{location:J.location,revalidation:J.revalidation,component:ce,error:ue,children:me(),routeContext:{outlet:null,matches:de,isDataRoute:!0}}):me()},null)}var DataRouterHook$1;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(DataRouterHook$1||(DataRouterHook$1={}));var DataRouterStateHook$1;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(DataRouterStateHook$1||(DataRouterStateHook$1={}));function useDataRouterContext(e){let V=reactExports.useContext(DataRouterContext);return V||invariant(!1),V}function useDataRouterState(e){let V=reactExports.useContext(DataRouterStateContext);return V||invariant(!1),V}function useRouteContext(e){let V=reactExports.useContext(RouteContext);return V||invariant(!1),V}function useCurrentRouteId(e){let V=useRouteContext(),J=V.matches[V.matches.length-1];return J.route.id||invariant(!1),J.route.id}function useRouteError(){var e;let V=reactExports.useContext(RouteErrorContext),J=useDataRouterState(DataRouterStateHook$1.UseRouteError),$=useCurrentRouteId(DataRouterStateHook$1.UseRouteError);return V||((e=J.errors)==null?void 0:e[$])}function useNavigateStable(){let{router:e}=useDataRouterContext(DataRouterHook$1.UseNavigateStable),V=useCurrentRouteId(DataRouterStateHook$1.UseNavigateStable),J=reactExports.useRef(!1);return useIsomorphicLayoutEffect$2(()=>{J.current=!0}),reactExports.useCallback(function(ee,te){te===void 0&&(te={}),J.current&&(typeof ee=="number"?e.navigate(ee):e.navigate(ee,_extends$F({fromRouteId:V},te)))},[e,V])}const START_TRANSITION="startTransition",startTransitionImpl=React$1[START_TRANSITION];function RouterProvider(e){let{fallbackElement:V,router:J,future:$}=e,[ee,te]=reactExports.useState(J.state),{v7_startTransition:re}=$||{},ne=reactExports.useCallback(ce=>{re&&startTransitionImpl?startTransitionImpl(()=>te(ce)):te(ce)},[te,re]);reactExports.useLayoutEffect(()=>J.subscribe(ne),[J,ne]);let ie=reactExports.useMemo(()=>({createHref:J.createHref,encodeLocation:J.encodeLocation,go:ce=>J.navigate(ce),push:(ce,de,me)=>J.navigate(ce,{state:de,preventScrollReset:me?.preventScrollReset}),replace:(ce,de,me)=>J.navigate(ce,{replace:!0,state:de,preventScrollReset:me?.preventScrollReset})}),[J]),ae=J.basename||"/",ue=reactExports.useMemo(()=>({router:J,navigator:ie,static:!1,basename:ae}),[J,ie,ae]);return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(DataRouterContext.Provider,{value:ue},reactExports.createElement(DataRouterStateContext.Provider,{value:ee},reactExports.createElement(Router,{basename:ae,location:ee.location,navigationType:ee.historyAction,navigator:ie},ee.initialized?reactExports.createElement(DataRoutes,{routes:J.routes,state:ee}):V))),null)}function DataRoutes(e){let{routes:V,state:J}=e;return useRoutesImpl(V,void 0,J)}function Navigate(e){let{to:V,replace:J,state:$,relative:ee}=e;useInRouterContext()||invariant(!1);let{matches:te}=reactExports.useContext(RouteContext),{pathname:re}=useLocation(),ne=useNavigate(),ie=resolveTo(V,getPathContributingMatches(te).map(ue=>ue.pathnameBase),re,ee==="path"),ae=JSON.stringify(ie);return reactExports.useEffect(()=>ne(JSON.parse(ae),{replace:J,state:$,relative:ee}),[ne,ae,ee,J,$]),null}function Outlet(e){return useOutlet(e.context)}function Router(e){let{basename:V="/",children:J=null,location:$,navigationType:ee=Action$1.Pop,navigator:te,static:re=!1}=e;useInRouterContext()&&invariant(!1);let ne=V.replace(/^\/*/,"/"),ie=reactExports.useMemo(()=>({basename:ne,navigator:te,static:re}),[ne,te,re]);typeof $=="string"&&($=parsePath($));let{pathname:ae="/",search:ue="",hash:ce="",state:de=null,key:me="default"}=$,he=reactExports.useMemo(()=>{let ge=stripBasename(ae,ne);return ge==null?null:{location:{pathname:ge,search:ue,hash:ce,state:de,key:me},navigationType:ee}},[ne,ae,ue,ce,de,me,ee]);return he==null?null:reactExports.createElement(NavigationContext.Provider,{value:ie},reactExports.createElement(LocationContext.Provider,{children:J,value:he}))}var AwaitRenderStatus;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(AwaitRenderStatus||(AwaitRenderStatus={}));new Promise(()=>{});function mapRouteProperties(e){let V={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(V,{element:reactExports.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(V,{errorElement:reactExports.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),V}/** + * React Router DOM v6.14.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function _extends$E(){return _extends$E=Object.assign?Object.assign.bind():function(e){for(var V=1;V=0)&&(J[ee]=e[ee]);return J}function isModifiedEvent(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function shouldProcessLinkClick(e,V){return e.button===0&&(!V||V==="_self")&&!isModifiedEvent(e)}function createSearchParams(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((V,J)=>{let $=e[J];return V.concat(Array.isArray($)?$.map(ee=>[J,ee]):[[J,$]])},[]))}function getSearchParamsForLocation(e,V){let J=createSearchParams(e);if(V)for(let $ of V.keys())J.has($)||V.getAll($).forEach(ee=>{J.append($,ee)});return J}const _excluded$q=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function createBrowserRouter(e,V){return createRouter({basename:void 0,future:_extends$E({},void 0,{v7_prependBasename:!0}),history:createBrowserHistory({window:void 0}),hydrationData:parseHydrationData(),routes:e,mapRouteProperties}).initialize()}function parseHydrationData(){var e;let V=(e=window)==null?void 0:e.__staticRouterHydrationData;return V&&V.errors&&(V=_extends$E({},V,{errors:deserializeErrors(V.errors)})),V}function deserializeErrors(e){if(!e)return null;let V=Object.entries(e),J={};for(let[$,ee]of V)if(ee&&ee.__type==="RouteErrorResponse")J[$]=new ErrorResponse(ee.status,ee.statusText,ee.data,ee.internal===!0);else if(ee&&ee.__type==="Error"){let te=new Error(ee.message);te.stack="",J[$]=te}else J[$]=ee;return J}const isBrowser$1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ABSOLUTE_URL_REGEX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Link$1=reactExports.forwardRef(function(V,J){let{onClick:$,relative:ee,reloadDocument:te,replace:re,state:ne,target:ie,to:ae,preventScrollReset:ue}=V,ce=_objectWithoutPropertiesLoose$s(V,_excluded$q),{basename:de}=reactExports.useContext(NavigationContext),me,he=!1;if(typeof ae=="string"&&ABSOLUTE_URL_REGEX.test(ae)&&(me=ae,isBrowser$1))try{let Ee=new URL(window.location.href),Pe=ae.startsWith("//")?new URL(Ee.protocol+ae):new URL(ae),$e=stripBasename(Pe.pathname,de);Pe.origin===Ee.origin&&$e!=null?ae=$e+Pe.search+Pe.hash:he=!0}catch{}let ge=useHref(ae,{relative:ee}),_e=useLinkClickHandler(ae,{replace:re,state:ne,target:ie,preventScrollReset:ue,relative:ee});function be(Ee){$&&$(Ee),Ee.defaultPrevented||_e(Ee)}return reactExports.createElement("a",_extends$E({},ce,{href:me||ge,onClick:he||te?$:be,ref:J,target:ie}))});var DataRouterHook;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(DataRouterHook||(DataRouterHook={}));var DataRouterStateHook;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(DataRouterStateHook||(DataRouterStateHook={}));function useLinkClickHandler(e,V){let{target:J,replace:$,state:ee,preventScrollReset:te,relative:re}=V===void 0?{}:V,ne=useNavigate(),ie=useLocation(),ae=useResolvedPath(e,{relative:re});return reactExports.useCallback(ue=>{if(shouldProcessLinkClick(ue,J)){ue.preventDefault();let ce=$!==void 0?$:createPath(ie)===createPath(ae);ne(e,{replace:ce,state:ee,preventScrollReset:te,relative:re})}},[ie,ne,ae,$,ee,J,e,te,re])}function useSearchParams(e){let V=reactExports.useRef(createSearchParams(e)),J=reactExports.useRef(!1),$=useLocation(),ee=reactExports.useMemo(()=>getSearchParamsForLocation($.search,J.current?null:V.current),[$.search]),te=useNavigate(),re=reactExports.useCallback((ne,ie)=>{const ae=createSearchParams(typeof ne=="function"?ne(ee):ne);J.current=!0,te("?"+ae,ie)},[te,ee]);return[ee,re]}function n$1(e){for(var V=arguments.length,J=Array(V>1?V-1:0),$=1;$3?V.i-4:V.i:Array.isArray(e)?1:s$1(e)?2:v$1(e)?3:0}function u$1(e,V){return o$1(e)===2?e.has(V):Object.prototype.hasOwnProperty.call(e,V)}function a$1(e,V){return o$1(e)===2?e.get(V):e[V]}function f$1(e,V,J){var $=o$1(e);$===2?e.set(V,J):$===3?(e.delete(V),e.add(J)):e[V]=J}function c$1(e,V){return e===V?e!==0||1/e==1/V:e!=e&&V!=V}function s$1(e){return X&&e instanceof Map}function v$1(e){return q$1&&e instanceof Set}function p$1(e){return e.o||e.t}function l$1(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var V=rn(e);delete V[Q];for(var J=nn(V),$=0;$1&&(e.set=e.add=e.clear=e.delete=h$1),Object.freeze(e),V&&i$1(e,function(J,$){return d$1($,!0)},!0)),e}function h$1(){n$1(2)}function y$1(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function b$1(e){var V=tn[e];return V||n$1(18,e),V}function m$2(e,V){tn[e]||(tn[e]=V)}function _$1(){return U$1}function j$1(e,V){V&&(b$1("Patches"),e.u=[],e.s=[],e.v=V)}function O$1(e){g$1(e),e.p.forEach(S$1),e.p=null}function g$1(e){e===U$1&&(U$1=e.l)}function w$2(e){return U$1={p:[],l:U$1,h:e,m:!0,_:0}}function S$1(e){var V=e[Q];V.i===0||V.i===1?V.j():V.O=!0}function P$1(e,V){V._=V.p.length;var J=V.p[0],$=e!==void 0&&e!==J;return V.h.g||b$1("ES5").S(V,e,$),$?(J[Q].P&&(O$1(V),n$1(4)),t(e)&&(e=M$1(V,e),V.l||x$1(V,e)),V.u&&b$1("Patches").M(J[Q].t,e,V.u,V.s)):e=M$1(V,J,[]),O$1(V),V.u&&V.v(V.u,V.s),e!==H$1?e:void 0}function M$1(e,V,J){if(y$1(V))return V;var $=V[Q];if(!$)return i$1(V,function(te,re){return A$1(e,$,V,te,re,J)},!0),V;if($.A!==e)return V;if(!$.P)return x$1(e,$.t,!0),$.t;if(!$.I){$.I=!0,$.A._--;var ee=$.i===4||$.i===5?$.o=l$1($.k):$.o;i$1($.i===3?new Set(ee):ee,function(te,re){return A$1(e,$,ee,te,re,J)}),x$1(e,ee,!1),J&&e.u&&b$1("Patches").R($,J,e.u,e.s)}return $.o}function A$1(e,V,J,$,ee,te){if(r(ee)){var re=M$1(e,ee,te&&V&&V.i!==3&&!u$1(V.D,$)?te.concat($):void 0);if(f$1(J,$,re),!r(re))return;e.m=!1}if(t(ee)&&!y$1(ee)){if(!e.h.F&&e._<1)return;M$1(e,ee),V&&V.A.l||x$1(e,ee)}}function x$1(e,V,J){J===void 0&&(J=!1),e.h.F&&e.m&&d$1(V,J)}function z$1(e,V){var J=e[Q];return(J?p$1(J):e)[V]}function I$1(e,V){if(V in e)for(var J=Object.getPrototypeOf(e);J;){var $=Object.getOwnPropertyDescriptor(J,V);if($)return $;J=Object.getPrototypeOf(J)}}function k$1(e){e.P||(e.P=!0,e.l&&k$1(e.l))}function E$1(e){e.o||(e.o=l$1(e.t))}function R$1(e,V,J){var $=s$1(V)?b$1("MapSet").N(V,J):v$1(V)?b$1("MapSet").T(V,J):e.g?function(ee,te){var re=Array.isArray(ee),ne={i:re?1:0,A:te?te.A:_$1(),P:!1,I:!1,D:{},l:te,t:ee,k:null,o:null,j:null,C:!1},ie=ne,ae=en;re&&(ie=[ne],ae=on);var ue=Proxy.revocable(ie,ae),ce=ue.revoke,de=ue.proxy;return ne.k=de,ne.j=ce,de}(V,J):b$1("ES5").J(V,J);return(J?J.A:_$1()).p.push($),$}function D$1(e){return r(e)||n$1(22,e),function V(J){if(!t(J))return J;var $,ee=J[Q],te=o$1(J);if(ee){if(!ee.P&&(ee.i<4||!b$1("ES5").K(ee)))return ee.t;ee.I=!0,$=F$1(J,te),ee.I=!1}else $=F$1(J,te);return i$1($,function(re,ne){ee&&a$1(ee.t,re)===ne||f$1($,re,V(ne))}),te===3?new Set($):$}(e)}function F$1(e,V){switch(V){case 2:return new Map(e);case 3:return Array.from(e)}return l$1(e)}function N$1(){function e(te,re){var ne=ee[te];return ne?ne.enumerable=re:ee[te]=ne={configurable:!0,enumerable:re,get:function(){var ie=this[Q];return en.get(ie,te)},set:function(ie){var ae=this[Q];en.set(ae,te,ie)}},ne}function V(te){for(var re=te.length-1;re>=0;re--){var ne=te[re][Q];if(!ne.P)switch(ne.i){case 5:$(ne)&&k$1(ne);break;case 4:J(ne)&&k$1(ne)}}}function J(te){for(var re=te.t,ne=te.k,ie=nn(ne),ae=ie.length-1;ae>=0;ae--){var ue=ie[ae];if(ue!==Q){var ce=re[ue];if(ce===void 0&&!u$1(re,ue))return!0;var de=ne[ue],me=de&&de[Q];if(me?me.t!==ce:!c$1(de,ce))return!0}}var he=!!re[Q];return ie.length!==nn(re).length+(he?0:1)}function $(te){var re=te.k;if(re.length!==te.t.length)return!0;var ne=Object.getOwnPropertyDescriptor(re,re.length-1);if(ne&&!ne.get)return!0;for(var ie=0;ie1?be-1:0),Pe=1;Pe1?ue-1:0),de=1;de=0;ee--){var te=$[ee];if(te.path.length===0&&te.op==="replace"){J=te.value;break}}ee>-1&&($=$.slice(ee+1));var re=b$1("Patches").$;return r(J)?re(J,$):this.produce(J,function(ne){return re(ne,$)})},e}(),an=new un,fn=an.produce;an.produceWithPatches.bind(an);an.setAutoFreeze.bind(an);an.setUseProxies.bind(an);an.applyPatches.bind(an);an.createDraft.bind(an);an.finishDraft.bind(an);function _typeof$l(e){"@babel/helpers - typeof";return _typeof$l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},_typeof$l(e)}function toPrimitive(e,V){if(_typeof$l(e)!="object"||!e)return e;var J=e[Symbol.toPrimitive];if(J!==void 0){var $=J.call(e,V||"default");if(_typeof$l($)!="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return(V==="string"?String:Number)(e)}function toPropertyKey(e){var V=toPrimitive(e,"string");return _typeof$l(V)=="symbol"?V:V+""}function _defineProperty$F(e,V,J){return(V=toPropertyKey(V))in e?Object.defineProperty(e,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):e[V]=J,e}function ownKeys$t(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread2(e){for(var V=1;V"u"&&(J=V,V=void 0),typeof J<"u"){if(typeof J!="function")throw new Error(formatProdErrorMessage(1));return J(createStore)(e,V)}if(typeof e!="function")throw new Error(formatProdErrorMessage(2));var ee=e,te=V,re=[],ne=re,ie=!1;function ae(){ne===re&&(ne=re.slice())}function ue(){if(ie)throw new Error(formatProdErrorMessage(3));return te}function ce(ge){if(typeof ge!="function")throw new Error(formatProdErrorMessage(4));if(ie)throw new Error(formatProdErrorMessage(5));var _e=!0;return ae(),ne.push(ge),function(){if(_e){if(ie)throw new Error(formatProdErrorMessage(6));_e=!1,ae();var Ee=ne.indexOf(ge);ne.splice(Ee,1),re=null}}}function de(ge){if(!isPlainObject$3(ge))throw new Error(formatProdErrorMessage(7));if(typeof ge.type>"u")throw new Error(formatProdErrorMessage(8));if(ie)throw new Error(formatProdErrorMessage(9));try{ie=!0,te=ee(te,ge)}finally{ie=!1}for(var _e=re=ne,be=0;be<_e.length;be++){var Ee=_e[be];Ee()}return ge}function me(ge){if(typeof ge!="function")throw new Error(formatProdErrorMessage(10));ee=ge,de({type:ActionTypes$1.REPLACE})}function he(){var ge,_e=ce;return ge={subscribe:function(Ee){if(typeof Ee!="object"||Ee===null)throw new Error(formatProdErrorMessage(11));function Pe(){Ee.next&&Ee.next(ue())}Pe();var $e=_e(Pe);return{unsubscribe:$e}}},ge[$$observable]=function(){return this},ge}return de({type:ActionTypes$1.INIT}),$={dispatch:de,subscribe:ce,getState:ue,replaceReducer:me},$[$$observable]=he,$}function assertReducerShape(e){Object.keys(e).forEach(function(V){var J=e[V],$=J(void 0,{type:ActionTypes$1.INIT});if(typeof $>"u")throw new Error(formatProdErrorMessage(12));if(typeof J(void 0,{type:ActionTypes$1.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(formatProdErrorMessage(13))})}function combineReducers(e){for(var V=Object.keys(e),J={},$=0;$"u")throw ae&&ae.type,new Error(formatProdErrorMessage(14));ce[me]=_e,ue=ue||_e!==ge}return ue=ue||te.length!==Object.keys(ie).length,ue?ce:ie}}function compose(){for(var e=arguments.length,V=new Array(e),J=0;J-1){var ae=J[ie];return ie>0&&(J.splice(ie,1),J.unshift(ae)),ae.value}return NOT_FOUND}function ee(ne,ie){$(ne)===NOT_FOUND&&(J.unshift({key:ne,value:ie}),J.length>e&&J.pop())}function te(){return J}function re(){J=[]}return{get:$,put:ee,getEntries:te,clear:re}}var defaultEqualityCheck=function(V,J){return V===J};function createCacheKeyComparator(e){return function(J,$){if(J===null||$===null||J.length!==$.length)return!1;for(var ee=J.length,te=0;te1?V-1:0),$=1;$"u"?he:be}else{if(t(he))return fn(he,function(Ee){return ge(Ee,de)});var be=ge(he,de);if(typeof be>"u"){if(he===null)return he;throw Error("A case reducer on a non-draftable value must not return undefined")}return be}return he},ce)}return ue.getInitialState=ie,ue}function getType2(e,V){return e+"/"+V}function createSlice(e){var V=e.name;if(!V)throw new Error("`name` is a required option for createSlice");var J=typeof e.initialState=="function"?e.initialState:fn(e.initialState,function(){}),$=e.reducers||{},ee=Object.keys($),te={},re={},ne={};ee.forEach(function(ue){var ce=$[ue],de=getType2(V,ue),me,he;"reducer"in ce?(me=ce.reducer,he=ce.prepare):me=ce,te[ue]=me,re[de]=me,ne[ue]=he?createAction(de,he):createAction(de)});function ie(){var ue=typeof e.extraReducers=="function"?executeReducerBuilderCallback(e.extraReducers):[e.extraReducers],ce=ue[0],de=ce===void 0?{}:ce,me=ue[1],he=me===void 0?[]:me,ge=ue[2],_e=ge===void 0?void 0:ge,be=__spreadValues(__spreadValues({},de),re);return createReducer(J,be,he,_e)}var ae;return{name:V,reducer:function(ue,ce){return ae||(ae=ie()),ae(ue,ce)},actions:ne,caseReducers:te,getInitialState:function(){return ae||(ae=ie()),ae.getInitialState()}}}var alm="listenerMiddleware";createAction(alm+"/add");createAction(alm+"/removeAll");createAction(alm+"/remove");N$1();const initialState$8={initialized:!1,pending:[]};function sendEvent(e){switch(e.method){case"track":{analytics.track(e.name,e.properties);break}case"trackLink":{analytics.trackLink(e.ref,e.name,e.properties);break}case"trackForm":{analytics.trackForm(e.ref,e.name,e.properties);break}}}const slice$6=createSlice({name:"analytics",initialState:initialState$8,reducers:{initialize:(e,V)=>{e.initialized||(analytics.identify(V.payload.id,V.payload),e.initialized=!0,e.pending.forEach(J=>{sendEvent(J)}))},enqueue:(e,V)=>{const{payload:J}=V,$={...J,method:J.method||"track"};e.initialized?sendEvent($):e.pending.push($)}}}),{initialize,enqueue}=slice$6.actions;var toml={},parse$1={exports:{}},tomlParser={exports:{}},parser,hasRequiredParser;function requireParser(){if(hasRequiredParser)return parser;hasRequiredParser=1;const e=1114112;class V extends Error{constructor(te,re,ne){super("[ParserError] "+te,re,ne),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,V)}}class J{constructor(te){this.parser=te,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}}class ${constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new J(this.parseStart)}parse(te){if(te.length===0||te.length==null)return;this._buf=String(te),this.ii=-1,this.char=-1;let re;for(;re===!1||this.nextChar();)re=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii{const V=new Date(e);if(isNaN(V))throw new TypeError("Invalid Datetime");return V}),createDatetime}var formatNum,hasRequiredFormatNum;function requireFormatNum(){return hasRequiredFormatNum||(hasRequiredFormatNum=1,formatNum=(e,V)=>{for(V=String(V);V.length{const $=new V(J);if(isNaN($))throw new TypeError("Invalid Datetime");return $},createDatetimeFloat}var createDate,hasRequiredCreateDate;function requireCreateDate(){if(hasRequiredCreateDate)return createDate;hasRequiredCreateDate=1;const e=requireFormatNum(),V=commonjsGlobal.Date;class J extends V{constructor(ee){super(ee),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${e(2,this.getUTCMonth()+1)}-${e(2,this.getUTCDate())}`}}return createDate=$=>{const ee=new J($);if(isNaN(ee))throw new TypeError("Invalid Datetime");return ee},createDate}var createTime,hasRequiredCreateTime;function requireCreateTime(){if(hasRequiredCreateTime)return createTime;hasRequiredCreateTime=1;const e=requireFormatNum();class V extends Date{constructor($){super(`0000-01-01T${$}Z`),this.isTime=!0}toISOString(){return`${e(2,this.getUTCHours())}:${e(2,this.getUTCMinutes())}:${e(2,this.getUTCSeconds())}.${e(3,this.getUTCMilliseconds())}`}}return createTime=J=>{const $=new V(J);if(isNaN($))throw new TypeError("Invalid Datetime");return $},createTime}var hasRequiredTomlParser;function requireTomlParser(){if(hasRequiredTomlParser)return tomlParser.exports;hasRequiredTomlParser=1,tomlParser.exports=makeParserClass(requireParser()),tomlParser.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(V){super(V),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null}}TomlError.wrap=e=>{const V=new TomlError(e.message);return V.code=e.code,V.wrapped=e,V},tomlParser.exports.TomlError=TomlError;const createDateTime=requireCreateDatetime(),createDateTimeFloat=requireCreateDatetimeFloat(),createDate=requireCreateDate(),createTime=requireCreateTime(),CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:` +`,[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"};function isDigit(e){return e>=CHAR_0&&e<=CHAR_9}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9}function isBit(e){return e===CHAR_1||e===CHAR_0}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN}const _type=Symbol("type"),_declared=Symbol("declared"),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0};function hasKey(e,V){return hasOwnProperty.call(e,V)?!0:(V==="__proto__"&&defineProperty(e,"__proto__",descriptor),!1)}const INLINE_TABLE=Symbol("inline-table");function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}})}function isInlineTable(e){return e===null||typeof e!="object"?!1:e[_type]===INLINE_TABLE}const TABLE=Symbol("table");function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}})}function isTable(e){return e===null||typeof e!="object"?!1:e[_type]===TABLE}const _contentType=Symbol("content-type"),INLINE_LIST=Symbol("inline-list");function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}})}function isInlineList(e){return e===null||typeof e!="object"?!1:e[_type]===INLINE_LIST}const LIST=Symbol("list");function List(){return Object.defineProperties([],{[_type]:{value:LIST}})}function isList(e){return e===null||typeof e!="object"?!1:e[_type]===LIST}let _custom;try{const utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch(e){}const _inspect=_custom||"inspect";class BoxedBigInt{constructor(V){try{this.value=commonjsGlobal.BigInt.asIntN(64,V)}catch{this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}isNaN(){return this.value===null}toString(){return String(this.value)}[_inspect](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}}const INTEGER=Symbol("integer");function Integer(e){let V=Number(e);return Object.is(V,-0)&&(V=0),commonjsGlobal.BigInt&&!Number.isSafeInteger(V)?new BoxedBigInt(e):Object.defineProperties(new Number(V),{isNaN:{value:function(){return isNaN(this)}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}})}function isInteger(e){return e===null||typeof e!="object"?!1:e[_type]===INTEGER}const FLOAT=Symbol("float");function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}})}function isFloat(e){return e===null||typeof e!="object"?!1:e[_type]===FLOAT}function tomlType(e){const V=typeof e;if(V==="object"){if(e===null)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer"}}return V}function makeParserClass(e){class V extends e{constructor(){super(),this.ctx=this.obj=Table()}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new TomlError(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement($){let ee=this.ctx,te=$.key.pop();for(let re of $.key){if(hasKey(ee,re)&&(!isTable(ee[re])||ee[re][_declared]))throw this.error(new TomlError("Can't redefine existing key"));ee=ee[re]=ee[re]||Table()}if(hasKey(ee,te))throw this.error(new TomlError("Can't redefine existing key"));return isInteger($.value)||isFloat($.value)?ee[te]=$.value.valueOf():ee[te]=$.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword($){return this.state.resultTable?this.state.resultTable.push($):this.state.resultTable=[$],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===CHAR_PERIOD)return this.next(this.parseAssignKeywordPostDot);if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.goto(this.parseAssignEqual)}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue($){return this.returnNow({key:this.state.resultTable,value:$})}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar())}parseTableOrList(){if(this.char===CHAR_LSQB)this.next(this.parseList);else return this.goto(this.parseTable)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore($){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,$)&&(!isTable(this.ctx[$])||this.ctx[$][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[$]=this.ctx[$]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,$))this.ctx=this.ctx[$]=Table();else if(isTable(this.ctx[$]))this.ctx=this.ctx[$];else if(isList(this.ctx[$]))this.ctx=this.ctx[$][this.ctx[$].length-1];else throw this.error(new TomlError("Can't redefine existing key"));return this.next(this.parseTableNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore($){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,$)||(this.ctx[$]=List()),isInlineList(this.ctx[$]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[$])){const ee=Table();this.ctx[$].push(ee),this.ctx=ee}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,$))this.ctx=this.ctx[$]=Table();else{if(isInlineList(this.ctx[$]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[$]))throw this.error(new TomlError("Can't extend an inline table"));if(isList(this.ctx[$]))this.ctx=this.ctx[$][this.ctx[$].length-1];else if(isTable(this.ctx[$]))this.ctx=this.ctx[$];else throw this.error(new TomlError("Can't redefine an existing key"))}return this.next(this.parseListNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseListEnd($){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue($){return this.returnNow($)}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===CHAR_f)return this.state.buf==="-"?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else{if(this.state.buf.length===0)throw this.error(new TomlError("Empty bare keys are not allowed"));return this.returnNow()}}while(this.nextChar())}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement($){return this.state.buf+=$,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let $="\\u00";return this.char<16&&($+="0"),$+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${$} instead`))}recordMultiEscapeReplacement($){return this.state.buf+=$,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"))}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow()}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char))}parseUnicodeReturn($){try{const ee=parseInt($,16);if(ee>=SURROGATE_FIRST&&ee<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(ee))}catch(ee){throw this.error(TomlError.wrap(ee))}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf))}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{const $=Integer(this.state.buf);if($.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow($)}}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Float(this.state.buf))}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"))}parseNumberExponent(){if(isDigit(this.char))this.consume();else return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder):this.returnNow(Float(this.state.buf))}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_HYPHEN?this.goto(this.parseDateTime):this.char===CHAR_COLON?this.goto(this.parseOnlyTimeHour):this.returnNow(Integer(this.state.buf))}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"))}else{if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}}parseNumberBaseOrDateTime(){return this.char===CHAR_b?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===CHAR_o?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===CHAR_x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===CHAR_PERIOD?this.goto(this.parseNumberInteger):isDigit(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Integer(this.state.buf))}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const $=Integer(this.state.buf);if($.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow($)}}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const $=Integer(this.state.buf);if($.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow($)}}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{const $=Integer(this.state.buf);if($.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow($)}}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}else{if(this.atEndOfWord())return this.returnNow(createDate(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(createDate(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new TomlError("Incomplete datetime"))}}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}else throw this.error(new TomlError("Incomplete datetime"))}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.next(this.parseOnlyTimeFractionMaybe)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char===CHAR_PERIOD)this.state.buf="",this.next(this.parseOnlyTimeFraction);else return this.return(createTime(this.state.result))}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else{if(this.state.buf.length===1)throw this.error(new TomlError("Expected digit in milliseconds"));if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"))}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseBoolean(){if(this.char===CHAR_t)return this.consume(),this.next(this.parseTrue_r);if(this.char===CHAR_f)return this.consume(),this.next(this.parseFalse_a)}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue($){if(this.state.resultArr){const ee=this.state.resultArr[_contentType],te=tomlType($);if(ee!==te)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${ee} and ${te}`))}else this.state.resultArr=InlineList(tomlType($));return isFloat($)||isInteger($)?this.state.resultArr.push($.valueOf()):this.state.resultArr.push($),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue($){let ee=this.state.resultTable,te=$.key.pop();for(let re of $.key){if(hasKey(ee,re)&&(!isTable(ee[re])||ee[re][_declared]))throw this.error(new TomlError("Can't redefine existing key"));ee=ee[re]=ee[re]||Table()}if(hasKey(ee,te))throw this.error(new TomlError("Can't redefine existing key"));return isInteger($.value)||isFloat($.value)?ee[te]=$.value.valueOf():ee[te]=$.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}return V}return tomlParser.exports}var parsePrettyError,hasRequiredParsePrettyError;function requireParsePrettyError(){if(hasRequiredParsePrettyError)return parsePrettyError;hasRequiredParsePrettyError=1,parsePrettyError=e;function e(V,J){if(V.pos==null||V.line==null)return V;let $=V.message;if($+=` at row ${V.line+1}, col ${V.col+1}, pos ${V.pos}: +`,J&&J.split){const ee=J.split(/\n/),te=String(Math.min(ee.length,V.line+3)).length;let re=" ";for(;re.length "+ee[ne]+` +`,$+=re+" ";for(let ae=0;ae{setImmediate(ie,te,re,ae,ue)});function ie(ae,ue,ce,de){if(ae>=$.length)try{return ce(ne.finish())}catch(me){return de(V(me,$))}try{ne.parse($.slice(ae,ae+ue)),setImmediate(ie,ae+ue,ue,ce,de)}catch(me){de(V(me,$))}}}return parseAsync_1}const __viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$1=getAugmentedNamespace(__viteBrowserExternal$1);var parseStream_1,hasRequiredParseStream;function requireParseStream(){if(hasRequiredParseStream)return parseStream_1;hasRequiredParseStream=1,parseStream_1=J;const e=require$$0$1,V=requireTomlParser();function J(te){return te?$(te):ee()}function $(te){const re=new V;return te.setEncoding("utf8"),new Promise((ne,ie)=>{let ae,ue=!1,ce=!1;function de(){if(ue=!0,!ae)try{ne(re.finish())}catch(ge){ie(ge)}}function me(ge){ce=!0,ie(ge)}te.once("end",de),te.once("error",me),he();function he(){ae=!0;let ge;for(;(ge=te.read())!==null;)try{re.parse(ge)}catch(_e){return me(_e)}if(ae=!1,ue)return de();ce||te.once("readable",he)}})}function ee(){const te=new V;return new e.Transform({objectMode:!0,transform(re,ne,ie){try{te.parse(re.toString(ne))}catch(ae){this.emit("error",ae)}ie()},flush(re){try{this.push(te.finish())}catch(ne){this.emit("error",ne)}re()}})}return parseStream_1}var hasRequiredParse;function requireParse(){return hasRequiredParse||(hasRequiredParse=1,parse$1.exports=requireParseString(),parse$1.exports.async=requireParseAsync(),parse$1.exports.stream=requireParseStream(),parse$1.exports.prettyError=requireParsePrettyError()),parse$1.exports}var stringify={exports:{}},hasRequiredStringify;function requireStringify(){if(hasRequiredStringify)return stringify.exports;hasRequiredStringify=1,stringify.exports=e,stringify.exports.value=_e;function e(Ne){if(Ne===null)throw V("null");if(Ne===void 0)throw V("undefined");if(typeof Ne!="object")throw V(typeof Ne);if(typeof Ne.toJSON=="function"&&(Ne=Ne.toJSON()),Ne==null)return null;const Ye=ie(Ne);if(Ye!=="table")throw V(Ye);return re("","",Ne)}function V(Ne){return new Error("Can only stringify objects, not "+Ne)}function J(){return new Error("Array values can't have mixed types")}function $(Ne){return Object.keys(Ne).filter(Ye=>ne(Ne[Ye]))}function ee(Ne){return Object.keys(Ne).filter(Ye=>!ne(Ne[Ye]))}function te(Ne){let Ye=Array.isArray(Ne)?[]:Object.prototype.hasOwnProperty.call(Ne,"__proto__")?{["__proto__"]:void 0}:{};for(let et of Object.keys(Ne))Ne[et]&&typeof Ne[et].toJSON=="function"&&!("toISOString"in Ne[et])?Ye[et]=Ne[et].toJSON():Ye[et]=Ne[et];return Ye}function re(Ne,Ye,et){et=te(et);var Xe,dt;Xe=$(et),dt=ee(et);var Ze=[],ot=Ye||"";Xe.forEach(He=>{var pt=ie(et[He]);pt!=="undefined"&&pt!=="null"&&Ze.push(ot+ae(He)+" = "+ge(et[He],!0))}),Ze.length>0&&Ze.push("");var _t=Ne&&Xe.length>0?Ye+" ":"";return dt.forEach(He=>{Ze.push(Ge(Ne,_t,He,et[He]))}),Ze.join(` +`)}function ne(Ne){switch(ie(Ne)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return Ne.length===0||ie(Ne[0])!=="table";case"table":return Object.keys(Ne).length===0;default:return!1}}function ie(Ne){return Ne===void 0?"undefined":Ne===null?"null":typeof Ne=="bigint"||Number.isInteger(Ne)&&!Object.is(Ne,-0)?"integer":typeof Ne=="number"?"float":typeof Ne=="boolean"?"boolean":typeof Ne=="string"?"string":"toISOString"in Ne?isNaN(Ne)?"undefined":"datetime":Array.isArray(Ne)?"array":"table"}function ae(Ne){var Ye=String(Ne);return/^[-A-Za-z0-9_]+$/.test(Ye)?Ye:ue(Ye)}function ue(Ne){return'"'+me(Ne).replace(/"/g,'\\"')+'"'}function ce(Ne){return"'"+Ne+"'"}function de(Ne,Ye){for(;Ye.length"\\u"+de(4,Ye.codePointAt(0).toString(16)))}function he(Ne){let Ye=Ne.split(/\n/).map(et=>me(et).replace(/"(?="")/g,'\\"')).join(` +`);return Ye.slice(-1)==='"'&&(Ye+=`\\ +`),`""" +`+Ye+'"""'}function ge(Ne,Ye){let et=ie(Ne);return et==="string"&&(Ye&&/\n/.test(Ne)?et="string-multiline":!/[\b\t\n\f\r']/.test(Ne)&&/"/.test(Ne)&&(et="string-literal")),_e(Ne,et)}function _e(Ne,Ye){switch(Ye||(Ye=ie(Ne)),Ye){case"string-multiline":return he(Ne);case"string":return ue(Ne);case"string-literal":return ce(Ne);case"integer":return be(Ne);case"float":return Ee(Ne);case"boolean":return Pe(Ne);case"datetime":return $e(Ne);case"array":return Be(Ne.filter(et=>ie(et)!=="null"&&ie(et)!=="undefined"&&ie(et)!=="nan"));case"table":return qe(Ne);default:throw V(Ye)}}function be(Ne){return String(Ne).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}function Ee(Ne){if(Ne===1/0)return"inf";if(Ne===-1/0)return"-inf";if(Object.is(Ne,NaN))return"nan";if(Object.is(Ne,-0))return"-0.0";var Ye=String(Ne).split("."),et=Ye[0],Xe=Ye[1]||0;return be(et)+"."+Xe}function Pe(Ne){return String(Ne)}function $e(Ne){return Ne.toISOString()}function Re(Ne){return Ne==="float"||Ne==="integer"}function Le(Ne){var Ye=ie(Ne[0]);return Ne.every(et=>ie(et)===Ye)?Ye:Ne.every(et=>Re(ie(et)))?"float":"mixed"}function Ie(Ne){const Ye=Le(Ne);if(Ye==="mixed")throw J();return Ye}function Be(Ne){Ne=te(Ne);const Ye=Ie(Ne);var et="[",Xe=Ne.map(dt=>_e(dt,Ye));return Xe.join(", ").length>60||/\n/.test(Xe)?et+=` + `+Xe.join(`, + `)+` +`:et+=" "+Xe.join(", ")+(Xe.length>0?" ":""),et+"]"}function qe(Ne){Ne=te(Ne);var Ye=[];return Object.keys(Ne).forEach(et=>{Ye.push(ae(et)+" = "+ge(Ne[et],!1))}),"{ "+Ye.join(", ")+(Ye.length>0?" ":"")+"}"}function Ge(Ne,Ye,et,Xe){var dt=ie(Xe);if(dt==="array")return Je(Ne,Ye,et,Xe);if(dt==="table")return Qe(Ne,Ye,et,Xe);throw V(dt)}function Je(Ne,Ye,et,Xe){Xe=te(Xe),Ie(Xe);var dt=ie(Xe[0]);if(dt!=="table")throw V(dt);var Ze=Ne+ae(et),ot="";return Xe.forEach(_t=>{ot.length>0&&(ot+=` +`),ot+=Ye+"[["+Ze+`]] +`,ot+=re(Ze+".",Ye,_t)}),ot}function Qe(Ne,Ye,et,Xe){var dt=Ne+ae(et),Ze="";return $(Xe).length>0&&(Ze+=Ye+"["+dt+`] +`),Ze+re(dt+".",Ye,Xe)}return stringify.exports}var hasRequiredToml;function requireToml(){return hasRequiredToml||(hasRequiredToml=1,toml.parse=requireParse(),toml.stringify=requireStringify()),toml}var tomlExports=requireToml(),isNil_1,hasRequiredIsNil;function requireIsNil(){if(hasRequiredIsNil)return isNil_1;hasRequiredIsNil=1;function e(V){return V==null}return isNil_1=e,isNil_1}var isNilExports=requireIsNil();const _isNil=getDefaultExportFromCjs(isNilExports);var _isPrototype,hasRequired_isPrototype;function require_isPrototype(){if(hasRequired_isPrototype)return _isPrototype;hasRequired_isPrototype=1;var e=Object.prototype;function V(J){var $=J&&J.constructor,ee=typeof $=="function"&&$.prototype||e;return J===ee}return _isPrototype=V,_isPrototype}var _overArg,hasRequired_overArg;function require_overArg(){if(hasRequired_overArg)return _overArg;hasRequired_overArg=1;function e(V,J){return function($){return V(J($))}}return _overArg=e,_overArg}var _nativeKeys,hasRequired_nativeKeys;function require_nativeKeys(){if(hasRequired_nativeKeys)return _nativeKeys;hasRequired_nativeKeys=1;var e=require_overArg(),V=e(Object.keys,Object);return _nativeKeys=V,_nativeKeys}var _baseKeys,hasRequired_baseKeys;function require_baseKeys(){if(hasRequired_baseKeys)return _baseKeys;hasRequired_baseKeys=1;var e=require_isPrototype(),V=require_nativeKeys(),J=Object.prototype,$=J.hasOwnProperty;function ee(te){if(!e(te))return V(te);var re=[];for(var ne in Object(te))$.call(te,ne)&&ne!="constructor"&&re.push(ne);return re}return _baseKeys=ee,_baseKeys}var _freeGlobal,hasRequired_freeGlobal;function require_freeGlobal(){if(hasRequired_freeGlobal)return _freeGlobal;hasRequired_freeGlobal=1;var e=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal;return _freeGlobal=e,_freeGlobal}var _root,hasRequired_root;function require_root(){if(hasRequired_root)return _root;hasRequired_root=1;var e=require_freeGlobal(),V=typeof self=="object"&&self&&self.Object===Object&&self,J=e||V||Function("return this")();return _root=J,_root}var _Symbol,hasRequired_Symbol;function require_Symbol(){if(hasRequired_Symbol)return _Symbol;hasRequired_Symbol=1;var e=require_root(),V=e.Symbol;return _Symbol=V,_Symbol}var _getRawTag,hasRequired_getRawTag;function require_getRawTag(){if(hasRequired_getRawTag)return _getRawTag;hasRequired_getRawTag=1;var e=require_Symbol(),V=Object.prototype,J=V.hasOwnProperty,$=V.toString,ee=e?e.toStringTag:void 0;function te(re){var ne=J.call(re,ee),ie=re[ee];try{re[ee]=void 0;var ae=!0}catch{}var ue=$.call(re);return ae&&(ne?re[ee]=ie:delete re[ee]),ue}return _getRawTag=te,_getRawTag}var _objectToString,hasRequired_objectToString;function require_objectToString(){if(hasRequired_objectToString)return _objectToString;hasRequired_objectToString=1;var e=Object.prototype,V=e.toString;function J($){return V.call($)}return _objectToString=J,_objectToString}var _baseGetTag,hasRequired_baseGetTag;function require_baseGetTag(){if(hasRequired_baseGetTag)return _baseGetTag;hasRequired_baseGetTag=1;var e=require_Symbol(),V=require_getRawTag(),J=require_objectToString(),$="[object Null]",ee="[object Undefined]",te=e?e.toStringTag:void 0;function re(ne){return ne==null?ne===void 0?ee:$:te&&te in Object(ne)?V(ne):J(ne)}return _baseGetTag=re,_baseGetTag}var isObject_1,hasRequiredIsObject;function requireIsObject(){if(hasRequiredIsObject)return isObject_1;hasRequiredIsObject=1;function e(V){var J=typeof V;return V!=null&&(J=="object"||J=="function")}return isObject_1=e,isObject_1}var isFunction_1,hasRequiredIsFunction;function requireIsFunction(){if(hasRequiredIsFunction)return isFunction_1;hasRequiredIsFunction=1;var e=require_baseGetTag(),V=requireIsObject(),J="[object AsyncFunction]",$="[object Function]",ee="[object GeneratorFunction]",te="[object Proxy]";function re(ne){if(!V(ne))return!1;var ie=e(ne);return ie==$||ie==ee||ie==J||ie==te}return isFunction_1=re,isFunction_1}var _coreJsData,hasRequired_coreJsData;function require_coreJsData(){if(hasRequired_coreJsData)return _coreJsData;hasRequired_coreJsData=1;var e=require_root(),V=e["__core-js_shared__"];return _coreJsData=V,_coreJsData}var _isMasked,hasRequired_isMasked;function require_isMasked(){if(hasRequired_isMasked)return _isMasked;hasRequired_isMasked=1;var e=require_coreJsData(),V=function(){var $=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return $?"Symbol(src)_1."+$:""}();function J($){return!!V&&V in $}return _isMasked=J,_isMasked}var _toSource,hasRequired_toSource;function require_toSource(){if(hasRequired_toSource)return _toSource;hasRequired_toSource=1;var e=Function.prototype,V=e.toString;function J($){if($!=null){try{return V.call($)}catch{}try{return $+""}catch{}}return""}return _toSource=J,_toSource}var _baseIsNative,hasRequired_baseIsNative;function require_baseIsNative(){if(hasRequired_baseIsNative)return _baseIsNative;hasRequired_baseIsNative=1;var e=requireIsFunction(),V=require_isMasked(),J=requireIsObject(),$=require_toSource(),ee=/[\\^$.*+?()[\]{}|]/g,te=/^\[object .+?Constructor\]$/,re=Function.prototype,ne=Object.prototype,ie=re.toString,ae=ne.hasOwnProperty,ue=RegExp("^"+ie.call(ae).replace(ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ce(de){if(!J(de)||V(de))return!1;var me=e(de)?ue:te;return me.test($(de))}return _baseIsNative=ce,_baseIsNative}var _getValue,hasRequired_getValue;function require_getValue(){if(hasRequired_getValue)return _getValue;hasRequired_getValue=1;function e(V,J){return V?.[J]}return _getValue=e,_getValue}var _getNative,hasRequired_getNative;function require_getNative(){if(hasRequired_getNative)return _getNative;hasRequired_getNative=1;var e=require_baseIsNative(),V=require_getValue();function J($,ee){var te=V($,ee);return e(te)?te:void 0}return _getNative=J,_getNative}var _DataView,hasRequired_DataView;function require_DataView(){if(hasRequired_DataView)return _DataView;hasRequired_DataView=1;var e=require_getNative(),V=require_root(),J=e(V,"DataView");return _DataView=J,_DataView}var _Map,hasRequired_Map;function require_Map(){if(hasRequired_Map)return _Map;hasRequired_Map=1;var e=require_getNative(),V=require_root(),J=e(V,"Map");return _Map=J,_Map}var _Promise,hasRequired_Promise;function require_Promise(){if(hasRequired_Promise)return _Promise;hasRequired_Promise=1;var e=require_getNative(),V=require_root(),J=e(V,"Promise");return _Promise=J,_Promise}var _Set,hasRequired_Set;function require_Set(){if(hasRequired_Set)return _Set;hasRequired_Set=1;var e=require_getNative(),V=require_root(),J=e(V,"Set");return _Set=J,_Set}var _WeakMap,hasRequired_WeakMap;function require_WeakMap(){if(hasRequired_WeakMap)return _WeakMap;hasRequired_WeakMap=1;var e=require_getNative(),V=require_root(),J=e(V,"WeakMap");return _WeakMap=J,_WeakMap}var _getTag,hasRequired_getTag;function require_getTag(){if(hasRequired_getTag)return _getTag;hasRequired_getTag=1;var e=require_DataView(),V=require_Map(),J=require_Promise(),$=require_Set(),ee=require_WeakMap(),te=require_baseGetTag(),re=require_toSource(),ne="[object Map]",ie="[object Object]",ae="[object Promise]",ue="[object Set]",ce="[object WeakMap]",de="[object DataView]",me=re(e),he=re(V),ge=re(J),_e=re($),be=re(ee),Ee=te;return(e&&Ee(new e(new ArrayBuffer(1)))!=de||V&&Ee(new V)!=ne||J&&Ee(J.resolve())!=ae||$&&Ee(new $)!=ue||ee&&Ee(new ee)!=ce)&&(Ee=function(Pe){var $e=te(Pe),Re=$e==ie?Pe.constructor:void 0,Le=Re?re(Re):"";if(Le)switch(Le){case me:return de;case he:return ne;case ge:return ae;case _e:return ue;case be:return ce}return $e}),_getTag=Ee,_getTag}var isObjectLike_1,hasRequiredIsObjectLike;function requireIsObjectLike(){if(hasRequiredIsObjectLike)return isObjectLike_1;hasRequiredIsObjectLike=1;function e(V){return V!=null&&typeof V=="object"}return isObjectLike_1=e,isObjectLike_1}var _baseIsArguments,hasRequired_baseIsArguments;function require_baseIsArguments(){if(hasRequired_baseIsArguments)return _baseIsArguments;hasRequired_baseIsArguments=1;var e=require_baseGetTag(),V=requireIsObjectLike(),J="[object Arguments]";function $(ee){return V(ee)&&e(ee)==J}return _baseIsArguments=$,_baseIsArguments}var isArguments_1,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments_1;hasRequiredIsArguments=1;var e=require_baseIsArguments(),V=requireIsObjectLike(),J=Object.prototype,$=J.hasOwnProperty,ee=J.propertyIsEnumerable,te=e(function(){return arguments}())?e:function(re){return V(re)&&$.call(re,"callee")&&!ee.call(re,"callee")};return isArguments_1=te,isArguments_1}var isArray_1,hasRequiredIsArray;function requireIsArray(){if(hasRequiredIsArray)return isArray_1;hasRequiredIsArray=1;var e=Array.isArray;return isArray_1=e,isArray_1}var isLength_1,hasRequiredIsLength;function requireIsLength(){if(hasRequiredIsLength)return isLength_1;hasRequiredIsLength=1;var e=9007199254740991;function V(J){return typeof J=="number"&&J>-1&&J%1==0&&J<=e}return isLength_1=V,isLength_1}var isArrayLike_1,hasRequiredIsArrayLike;function requireIsArrayLike(){if(hasRequiredIsArrayLike)return isArrayLike_1;hasRequiredIsArrayLike=1;var e=requireIsFunction(),V=requireIsLength();function J($){return $!=null&&V($.length)&&!e($)}return isArrayLike_1=J,isArrayLike_1}var isBuffer$1={exports:{}},stubFalse_1,hasRequiredStubFalse;function requireStubFalse(){if(hasRequiredStubFalse)return stubFalse_1;hasRequiredStubFalse=1;function e(){return!1}return stubFalse_1=e,stubFalse_1}isBuffer$1.exports;var hasRequiredIsBuffer;function requireIsBuffer(){return hasRequiredIsBuffer||(hasRequiredIsBuffer=1,function(e,V){var J=require_root(),$=requireStubFalse(),ee=V&&!V.nodeType&&V,te=ee&&!0&&e&&!e.nodeType&&e,re=te&&te.exports===ee,ne=re?J.Buffer:void 0,ie=ne?ne.isBuffer:void 0,ae=ie||$;e.exports=ae}(isBuffer$1,isBuffer$1.exports)),isBuffer$1.exports}var _baseIsTypedArray,hasRequired_baseIsTypedArray;function require_baseIsTypedArray(){if(hasRequired_baseIsTypedArray)return _baseIsTypedArray;hasRequired_baseIsTypedArray=1;var e=require_baseGetTag(),V=requireIsLength(),J=requireIsObjectLike(),$="[object Arguments]",ee="[object Array]",te="[object Boolean]",re="[object Date]",ne="[object Error]",ie="[object Function]",ae="[object Map]",ue="[object Number]",ce="[object Object]",de="[object RegExp]",me="[object Set]",he="[object String]",ge="[object WeakMap]",_e="[object ArrayBuffer]",be="[object DataView]",Ee="[object Float32Array]",Pe="[object Float64Array]",$e="[object Int8Array]",Re="[object Int16Array]",Le="[object Int32Array]",Ie="[object Uint8Array]",Be="[object Uint8ClampedArray]",qe="[object Uint16Array]",Ge="[object Uint32Array]",Je={};Je[Ee]=Je[Pe]=Je[$e]=Je[Re]=Je[Le]=Je[Ie]=Je[Be]=Je[qe]=Je[Ge]=!0,Je[$]=Je[ee]=Je[_e]=Je[te]=Je[be]=Je[re]=Je[ne]=Je[ie]=Je[ae]=Je[ue]=Je[ce]=Je[de]=Je[me]=Je[he]=Je[ge]=!1;function Qe(Ne){return J(Ne)&&V(Ne.length)&&!!Je[e(Ne)]}return _baseIsTypedArray=Qe,_baseIsTypedArray}var _baseUnary,hasRequired_baseUnary;function require_baseUnary(){if(hasRequired_baseUnary)return _baseUnary;hasRequired_baseUnary=1;function e(V){return function(J){return V(J)}}return _baseUnary=e,_baseUnary}var _nodeUtil={exports:{}};_nodeUtil.exports;var hasRequired_nodeUtil;function require_nodeUtil(){return hasRequired_nodeUtil||(hasRequired_nodeUtil=1,function(e,V){var J=require_freeGlobal(),$=V&&!V.nodeType&&V,ee=$&&!0&&e&&!e.nodeType&&e,te=ee&&ee.exports===$,re=te&&J.process,ne=function(){try{var ie=ee&&ee.require&&ee.require("util").types;return ie||re&&re.binding&&re.binding("util")}catch{}}();e.exports=ne}(_nodeUtil,_nodeUtil.exports)),_nodeUtil.exports}var isTypedArray_1,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray_1;hasRequiredIsTypedArray=1;var e=require_baseIsTypedArray(),V=require_baseUnary(),J=require_nodeUtil(),$=J&&J.isTypedArray,ee=$?V($):e;return isTypedArray_1=ee,isTypedArray_1}var isEmpty_1,hasRequiredIsEmpty;function requireIsEmpty(){if(hasRequiredIsEmpty)return isEmpty_1;hasRequiredIsEmpty=1;var e=require_baseKeys(),V=require_getTag(),J=requireIsArguments(),$=requireIsArray(),ee=requireIsArrayLike(),te=requireIsBuffer(),re=require_isPrototype(),ne=requireIsTypedArray(),ie="[object Map]",ae="[object Set]",ue=Object.prototype,ce=ue.hasOwnProperty;function de(me){if(me==null)return!0;if(ee(me)&&($(me)||typeof me=="string"||typeof me.splice=="function"||te(me)||ne(me)||J(me)))return!me.length;var he=V(me);if(he==ie||he==ae)return!me.size;if(re(me))return!e(me).length;for(var ge in me)if(ce.call(me,ge))return!1;return!0}return isEmpty_1=de,isEmpty_1}var isEmptyExports=requireIsEmpty();const _isEmpty=getDefaultExportFromCjs(isEmptyExports);function isValidTOML(e){try{return tomlExports.parse(e),!0}catch{return!1}}function isNonEmptyString(e){return!_isNil(e)&&!_isEmpty(e)}const eventIds={StartDeployTrigger:"W00001",FailDeploy:"W00002",FinishDeployTrigger:"W00003",CompleteDeploy:"W00004",SuccessFavoriteApp:"W00005",FailFavoriteApp:"W00006",MissingAppIdForAnalytics:"W00007",CreateDevContainer:"CreateDevContainer",CreateDevContainerError:"CreateDevContainerError",CreateDevContainerSuccess:"CreateDevContainerSuccess",CreateFromFork:"CreateFromFork",CreateFromForkError:"CreateFromForkError",CreateFromForkSuccess:"CreateFromForkSuccess",CreateFromTemplate:"CreateFromTemplate",CreateFromTemplateError:"CreateFromTemplateError",CreateFromTemplateSuccess:"CreateFromTemplateSuccess",EditInGithubCodespaces:"EditInGithubCodespaces",EditInGithubCodespacesError:"EditInGithubCodespacesError",EditInGithubCodespacesSuccess:"EditInGithubCodespacesSuccess",GetAppTemplates:"GetAppTemplates",GetAppTemplatesError:"GetAppTemplatesError",GetAppTemplatesSuccess:"GetAppTemplatesSuccess",ShareApp:"share_app",AppRenderError:"AppRenderError"};var Pages=(e=>(e.UNKNOWN="unknown",e.DASHBOARD="dashboard",e.APP="app",e.GALLERY="gallery",e.EXPLORE="explore",e))(Pages||{}),Routes=(e=>(e.CREATE_FROM_FORK="/create-from-fork",e.CREATE_FROM_TEMPLATE="/create-from-template",e.CREATE_TEMPLATE_FROM_APPID="/create-from-template/:appId",e.DEPLOY="/deploy",e.ERROR="/error",e.ERROR_NEW_LOGIN="/errors/new_login",e.ERROR_NOT_FOUND_OR_NOT_AUTHORIZED="/errors/not_found",e.EXPLORE="/explore",e.EDIT_WITH_CODESPACES="/edit-with-codespaces",e.GALLERY="/gallery",e.LOGIN="/login",e.LOGIN_REQUIRED="/errors/login-required",e.NEW_APP="/new",e.NEW_APP_CHOOSE_TEMPLATE="/new/choose-template",e.NEW_APP_DEPLOY_FROM_TEMPLATE="/new/deploy-from-template",e.NEW_APP_DEPLOY_FROM_TEMPLATE_APPID="/new/deploy-from-template/:templateId",e.PROFILE_PAGE="/user/:userName",e.REDIRECT="/redirect",e.SIGNUP="/signup",e.TEMPLATE_PREVIEW_ID="/template-preview/:templateId",e.UPDATED_EMAIL="/updated-email",e.APP_PLACEHOLDER_WITH_OPTIONALS="/app/:subdomain/*",e.APP="/:owner/:repo",e.APP_WITH_OPTIONALS="/:owner/:repo/*",e.ROOT_WITH_OPTIONALS="/*",e.ROOT="/",e.DASHBOARD="/",e))(Routes||{}),ServerPaths=(e=>(e.DOMAIN_AUTH="-/auth/app",e.SUBDOMAIN_LOGOUT="-/logout",e))(ServerPaths||{});const workspaceQueryParameterName="workspaceName",redirectURIQueryParameterName="redirect_uri",envs={local:{[Pages.DASHBOARD]:["devel.streamlit.test"],[Pages.APP]:["*.streamlit.apptest","*.streamlitapp.test","*.streamlit.test","*.localhost"]},demo:{[Pages.DASHBOARD]:["share-demo.streamlit.io"],[Pages.APP]:["*.demo.streamlit.app","*.demo.streamlit.run","*.demo.streamlitapp.com"]},head:{[Pages.DASHBOARD]:["share-head.streamlit.io"],[Pages.APP]:["*.head.streamlit.app","*.head.streamlit.run","*.head.streamlitapp.com"]},staging:{[Pages.DASHBOARD]:["share-staging.streamlit.io"],[Pages.APP]:["*.staging.streamlit.app","*.staging.streamlit.run","*.staging.streamlitapp.com"]},prod:{[Pages.DASHBOARD]:["share.streamlit.io"],[Pages.APP]:["*.streamlit.app","*.streamlitapp.com","*.streamlit.run"]}};var _baseFindKey,hasRequired_baseFindKey;function require_baseFindKey(){if(hasRequired_baseFindKey)return _baseFindKey;hasRequired_baseFindKey=1;function e(V,J,$){var ee;return $(V,function(te,re,ne){if(J(te,re,ne))return ee=re,!1}),ee}return _baseFindKey=e,_baseFindKey}var _createBaseFor,hasRequired_createBaseFor;function require_createBaseFor(){if(hasRequired_createBaseFor)return _createBaseFor;hasRequired_createBaseFor=1;function e(V){return function(J,$,ee){for(var te=-1,re=Object(J),ne=ee(J),ie=ne.length;ie--;){var ae=ne[V?ie:++te];if($(re[ae],ae,re)===!1)break}return J}}return _createBaseFor=e,_createBaseFor}var _baseFor,hasRequired_baseFor;function require_baseFor(){if(hasRequired_baseFor)return _baseFor;hasRequired_baseFor=1;var e=require_createBaseFor(),V=e();return _baseFor=V,_baseFor}var _baseTimes,hasRequired_baseTimes;function require_baseTimes(){if(hasRequired_baseTimes)return _baseTimes;hasRequired_baseTimes=1;function e(V,J){for(var $=-1,ee=Array(V);++$-1&&$%1==0&&$-1}return _listCacheHas=V,_listCacheHas}var _listCacheSet,hasRequired_listCacheSet;function require_listCacheSet(){if(hasRequired_listCacheSet)return _listCacheSet;hasRequired_listCacheSet=1;var e=require_assocIndexOf();function V(J,$){var ee=this.__data__,te=e(ee,J);return te<0?(++this.size,ee.push([J,$])):ee[te][1]=$,this}return _listCacheSet=V,_listCacheSet}var _ListCache,hasRequired_ListCache;function require_ListCache(){if(hasRequired_ListCache)return _ListCache;hasRequired_ListCache=1;var e=require_listCacheClear(),V=require_listCacheDelete(),J=require_listCacheGet(),$=require_listCacheHas(),ee=require_listCacheSet();function te(re){var ne=-1,ie=re==null?0:re.length;for(this.clear();++neme))return!1;var ge=ce.get(re),_e=ce.get(ne);if(ge&&_e)return ge==ne&&_e==re;var be=-1,Ee=!0,Pe=ie&ee?new e:void 0;for(ce.set(re,ne),ce.set(ne,re);++be0&&te(ue)?ee>1?J(ue,ee-1,te,re,ne):e(ne,ue):re||(ne[ne.length]=ue)}return ne}return _baseFlatten=J,_baseFlatten}var flatten_1,hasRequiredFlatten;function requireFlatten(){if(hasRequiredFlatten)return flatten_1;hasRequiredFlatten=1;var e=require_baseFlatten();function V(J){var $=J==null?0:J.length;return $?e(J,1):[]}return flatten_1=V,flatten_1}var flattenExports=requireFlatten();const flatten$1=getDefaultExportFromCjs(flattenExports);function lexer(e){for(var V=[],J=0;J=48&&re<=57||re>=65&&re<=90||re>=97&&re<=122||re===95){ee+=e[te++];continue}break}if(!ee)throw new TypeError("Missing parameter name at ".concat(J));V.push({type:"NAME",index:J,value:ee}),J=te;continue}if($==="("){var ne=1,ie="",te=J+1;if(e[te]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(te));for(;te-1)return!0}return!1},ge=function(qe){var Ge=ne[ne.length-1],Je=qe||(Ge&&typeof Ge=="string"?Ge:"");if(Ge&&!Je)throw new TypeError('Must have text between two parameters, missing text after "'.concat(Ge.name,'"'));return!Je||he(Je)?"[^".concat(escapeString(re),"]+?"):"(?:(?!".concat(escapeString(Je),")[^").concat(escapeString(re),"])+?")};ae-1:Be===void 0;ee||(be+="(?:".concat(_e,"(?=").concat(ge,"))?")),qe||(be+="(?=".concat(_e,"|").concat(ge,")"))}return new RegExp(be,flags(J))}function pathToRegexp(e,V,J){return e instanceof RegExp?regexpToRegexp(e):Array.isArray(e)?arrayToRegexp(e,V,J):stringToRegexp(e,V,J)}const FILE_PATH_PART_RE_ARR=[pathToRegexp("github.com/:owner/:repo/blob/:branch/:mainModule+"),pathToRegexp("raw.githubusercontent.com/:owner/:repo/:branch/:mainModule+")];function isGithubRepoUrl(e){const V=e.trim().replace(/^https?:\/\//,""),$=pathToRegexp("github.com/:owner/:repo").exec(V);if(!(!$||$.length===0))return{owner:escape($?.[1]??""),repo:escape($?.[2]??"")}}function parseGithubFileUrl(e){const V=e.trim().replace(/^https?:\/\//,""),J=FILE_PATH_PART_RE_ARR.map(ee=>ee.exec(V)).filter(ee=>ee!=null);if(J.length===0)return;const $=J[0];return{owner:escape($?.[1]??""),repo:escape($?.[2]??""),branch:escape($?.[3]??""),mainModule:escape($?.[4]??"")}}function wildcardMatchPattern(e,V){if(e===V)return!0;const J=e.split("."),$=V.split(".");return J.length!==$.length?!1:J.every((ee,te)=>ee==="*"?!0:ee===$[te])}function canGenerateInitialSubdomainURL(e){if(!isNonEmptyString(e)||e?.toString().lastIndexOf("/")===-1)return!1;const V=e.toString().lastIndexOf("/");return e.toString().slice(V+1).replace(/[^a-zA-Z0-9-]/g,"").length>0}function getRandomSuffix(){return Math.random().toString(36).slice(2).replace("qa","app")}function generateInitialSubdomainURL(e,V){const J=e.lastIndexOf("/");return V||(V=getRandomSuffix()),`${e.slice(J+1).replace("streamlit","app").replace("qa","app").replace(/[^a-zA-Z0-9-]/g,"")}-${V}`.toLowerCase()}function getCoordinatesUrl({owner:e,repo:V,branch:J,mainModule:$}){return`app/${e}/${V}/${encodeURIComponent(J)}/${encodeURIComponent($)}`}function getCurrentEnv(){return findKey$1(envs,e=>flatten$1(Object.values(e)).some(J=>wildcardMatchPattern(J??"",window.location.hostname)))}function getCurrentAppSection(){const e=envs[getCurrentEnv()];return findKey$1(e,J=>J.some($=>wildcardMatchPattern($??"",window.location.hostname)))}function generateAppURL({path:e="",subdomain:V,section:J,searchParams:$}){if(J&&getCurrentAppSection()!==J){const te=getCurrentEnv();let ne=envs[te][J][0];isNonEmptyString(V)&&(ne=ne.replace("*",V));const ie=new URL(e,`${window.location.protocol}//${ne}`);return $?.forEach((ae,ue)=>{ie.searchParams.set(ue,ae)}),ie.toString()}return $!=null?`/${e}?${$.toString()}`:`/${e}`}function getCurrentPage(){return matchPath(Routes.DASHBOARD,window.location.pathname)!=null?Pages.DASHBOARD:matchPath(Routes.APP,window.location.pathname)!=null||matchPath(Routes.APP_WITH_OPTIONALS,window.location.pathname)!=null?Pages.APP:Pages.UNKNOWN}function getLogFieldsOfFavoriteApp(e,V,J,$){return{event_id:e?eventIds.SuccessFavoriteApp:eventIds.FailFavoriteApp,favorite:J,appId:V,origin:$}}const useUniqueSubdomainFeature=()=>{const e=getCurrentAppSection();return e===Pages.DASHBOARD||e===Pages.APP},isSubdomainApp=()=>getCurrentAppSection()===Pages.APP,useCustomSubdomainFeature=()=>useUniqueSubdomainFeature(),BASE_PATH$1="http://localhost/api/v2".replace(/\/+$/,"");class BaseAPI{constructor(V,J=BASE_PATH$1,$=axios){this.basePath=J,this.axios=$,V&&(this.configuration=V,this.basePath=V.basePath??J)}configuration}class RequiredError extends Error{constructor(V,J){super(J),this.field=V,this.name="RequiredError"}}const operationServerMap={},DUMMY_BASE_URL="https://example.com",assertParamExists=function(e,V,J){if(J==null)throw new RequiredError(V,`Required parameter ${V} was null or undefined when calling ${e}.`)};function setFlattenedQueryParams(e,V,J=""){V!=null&&(typeof V=="object"?Array.isArray(V)?V.forEach($=>setFlattenedQueryParams(e,$,J)):Object.keys(V).forEach($=>setFlattenedQueryParams(e,V[$],`${J}${J!==""?".":""}${$}`)):e.has(J)?e.append(J,V):e.set(J,V))}const setSearchParams=function(e,...V){const J=new URLSearchParams(e.search);setFlattenedQueryParams(J,V),e.search=J.toString()},serializeDataIfNeeded=function(e,V,J){const $=typeof e!="string";return($&&J&&J.isJsonMime?J.isJsonMime(V.headers["Content-Type"]):$)?JSON.stringify(e!==void 0?e:{}):e||""},toPathString=function(e){return e.pathname+e.search+e.hash},createRequestFunction=function(e,V,J,$){return(ee=V,te=J)=>{const re={...e.options,url:(ee.defaults.baseURL?"":$?.basePath??te)+e.url};return ee.request(re)}},AppStatusModel={UNKNOWN:0,CREATING:1,CREATED:2,UPDATING:3,INSTALLING:4,RUNNING:5,RESTARTING:6,REBOOTING:7,DELETING:8,DELETED:9,USER_ERROR:10,PLATFORM_ERROR:11,IS_SHUTDOWN:12,INSTALLER_ERROR:13,USER_SCRIPT_ERROR:14,POTENTIAL_MINER_DETECTED:15},GithubRepositoryModelVisibilityEnum={Public:"public",Private:"private",Internal:"internal"},PermissionModel={Unknown:0,App_Restart:1,App_Resume:2,App_Delete:3,App_ManageVisibility:4,App_ManageFavorites:5,App_ReadSecrets:6,App_UpdateSecrets:7,App_DeleteSecrets:8,App_ReadViewers:9,App_UpdateEmailViewers:10,App_UpdateDomainViewers:11,App_AppStatus:12,App_ViewEvents:13,App_WriteEvents:14,App_View:15,App_UpdateSubdomain:16,App_AppContext:17,App_Deploy:18,App_ViewLogs:19,App_ViewMetrics:20,App_ViewHealth:21,App_OEmbed:22,App_Fork:23,App_DevContainer:24,App_Codespace:25,App_ManageInProfilePage:26,App_UpdatePythonVersion:27,Workspace_ReadSubscriptions:10001,Workspace_UpdateSubscription:10002,Workspace_StartPortalSession:10003,Workspace_ViewAccess:10004,Workspace_ViewEvents:10005,Workspace_ReadDomainViewers:10006,Workspace_DeployApp:10012},AppsApiAxiosParamCreator=function(e){return{deleteApp:async(V,J={})=>{assertParamExists("deleteApp","appId",V);const $="/dashboard/apps/{appId}".replace("{appId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"DELETE",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},deleteAppFromSubdomain:async(V={})=>{const J="/subdomain/app",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"DELETE",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},disambiguate:async(V,J,$={})=>{const ee="/dashboard/apps/disambiguate",te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"GET",...re,...$},ie={},ae={};V!==void 0&&(ae.subdomain=V),J!==void 0&&(ae.path=J),setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},{url:toPathString(te),options:ne}},disambiguateFromSubdomain:async(V={})=>{const J="/subdomain/app/disambiguate",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getAppStatus:async(V,J={})=>{assertParamExists("getAppStatus","appId",V);const $="/dashboard/apps/{appId}/status".replace("{appId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},getAppStatusFromSubdomain:async(V={})=>{const J="/subdomain/app/status",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getAppViewers:async(V,J={})=>{assertParamExists("getAppViewers","appId",V);const $="/dashboard/apps/{appId}/viewers".replace("{appId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},getAppViewersFromSubdomain:async(V={})=>{const J="/subdomain/app/viewers",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getContext:async(V,J={})=>{assertParamExists("getContext","appId",V);const $="/dashboard/apps/{appId}/context".replace("{appId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},getContextFromSubdomain:async(V={})=>{const J="/subdomain/app/context",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getFavoritedApps:async(V={})=>{const J="/dashboard/favorited-apps",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},readAppSecrets:async(V,J={})=>{assertParamExists("readAppSecrets","appId",V);const $="/dashboard/apps/{appId}/secrets".replace("{appId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},readAppSecretsFromSubdomain:async(V={})=>{const J="/subdomain/app/secrets",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},restartApp:async(V,J={})=>{assertParamExists("restartApp","appId",V);const $="/dashboard/apps/{appId}/restart".replace("{appId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},restartAppFromSubdomain:async(V={})=>{const J="/subdomain/app/restart",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"POST",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},resumeApp:async(V,J={})=>{assertParamExists("resumeApp","appId",V);const $="/dashboard/apps/{appId}/resume".replace("{appId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},resumeAppFromSubdomain:async(V={})=>{const J="/subdomain/app/resume",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"POST",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},updateAppSecrets:async(V,J,$={})=>{assertParamExists("updateAppSecrets","appId",V),assertParamExists("updateAppSecrets","updateAppSecretsRequestModel",J);const ee="/dashboard/apps/{appId}/secrets".replace("{appId}",encodeURIComponent(String(V))),te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"POST",...re,...$},ie={},ae={};ie["Content-Type"]="application/json",setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},ne.data=serializeDataIfNeeded(J,ne,e),{url:toPathString(te),options:ne}},updateAppSecretsFromSubdomain:async(V,J={})=>{assertParamExists("updateAppSecretsFromSubdomain","updateAppSecretsRequestModel",V);const $="/subdomain/app/secrets",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}},updateAppViewers:async(V,J,$={})=>{assertParamExists("updateAppViewers","appId",V),assertParamExists("updateAppViewers","updateAppViewersRequestModel",J);const ee="/dashboard/apps/{appId}/viewers".replace("{appId}",encodeURIComponent(String(V))),te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"POST",...re,...$},ie={},ae={};ie["Content-Type"]="application/json",setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},ne.data=serializeDataIfNeeded(J,ne,e),{url:toPathString(te),options:ne}},updateAppViewersFromSubdomain:async(V,J={})=>{assertParamExists("updateAppViewersFromSubdomain","updateAppViewersRequestModel",V);const $="/subdomain/app/viewers",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}},updateFavorites:async(V,J,$={})=>{assertParamExists("updateFavorites","appId",V),assertParamExists("updateFavorites","updateAppFavoriteStatusRequestModel",J);const ee="/dashboard/apps/{appId}/favorite".replace("{appId}",encodeURIComponent(String(V))),te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"POST",...re,...$},ie={},ae={};ie["Content-Type"]="application/json",setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},ne.data=serializeDataIfNeeded(J,ne,e),{url:toPathString(te),options:ne}},updateFavoritesFromSubdomain:async(V,J={})=>{assertParamExists("updateFavoritesFromSubdomain","updateAppFavoriteStatusRequestModel",V);const $="/subdomain/app/favorite",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}},updatePythonVersion:async(V,J,$={})=>{assertParamExists("updatePythonVersion","appId",V),assertParamExists("updatePythonVersion","pythonVersionModel",J);const ee="/dashboard/apps/{appId}/python-version".replace("{appId}",encodeURIComponent(String(V))),te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"POST",...re,...$},ie={},ae={};ie["Content-Type"]="application/json",setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},ne.data=serializeDataIfNeeded(J,ne,e),{url:toPathString(te),options:ne}},updatePythonVersionFromSubdomain:async(V,J={})=>{assertParamExists("updatePythonVersionFromSubdomain","pythonVersionModel",V);const $="/subdomain/app/python-version",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}},updateVisibility:async(V,J,$={})=>{assertParamExists("updateVisibility","appId",V),assertParamExists("updateVisibility","updateAppVisibilityRequestModel",J);const ee="/dashboard/apps/{appId}/visibility".replace("{appId}",encodeURIComponent(String(V))),te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"POST",...re,...$},ie={},ae={};ie["Content-Type"]="application/json",setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},ne.data=serializeDataIfNeeded(J,ne,e),{url:toPathString(te),options:ne}},updateVisibilityFromSubdomain:async(V,J={})=>{assertParamExists("updateVisibilityFromSubdomain","updateAppVisibilityRequestModel",V);const $="/subdomain/app/visibility",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}}}},AppsApiFp=function(e){const V=AppsApiAxiosParamCreator(e);return{async deleteApp(J,$){const ee=await V.deleteApp(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.deleteApp"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async deleteAppFromSubdomain(J){const $=await V.deleteAppFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.deleteAppFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async disambiguate(J,$,ee){const te=await V.disambiguate(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["AppsApi.disambiguate"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)},async disambiguateFromSubdomain(J){const $=await V.disambiguateFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.disambiguateFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getAppStatus(J,$){const ee=await V.getAppStatus(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.getAppStatus"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async getAppStatusFromSubdomain(J){const $=await V.getAppStatusFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.getAppStatusFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getAppViewers(J,$){const ee=await V.getAppViewers(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.getAppViewers"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async getAppViewersFromSubdomain(J){const $=await V.getAppViewersFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.getAppViewersFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getContext(J,$){const ee=await V.getContext(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.getContext"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async getContextFromSubdomain(J){const $=await V.getContextFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.getContextFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getFavoritedApps(J){const $=await V.getFavoritedApps(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.getFavoritedApps"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async readAppSecrets(J,$){const ee=await V.readAppSecrets(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.readAppSecrets"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async readAppSecretsFromSubdomain(J){const $=await V.readAppSecretsFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.readAppSecretsFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async restartApp(J,$){const ee=await V.restartApp(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.restartApp"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async restartAppFromSubdomain(J){const $=await V.restartAppFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.restartAppFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async resumeApp(J,$){const ee=await V.resumeApp(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.resumeApp"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async resumeAppFromSubdomain(J){const $=await V.resumeAppFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["AppsApi.resumeAppFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async updateAppSecrets(J,$,ee){const te=await V.updateAppSecrets(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["AppsApi.updateAppSecrets"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)},async updateAppSecretsFromSubdomain(J,$){const ee=await V.updateAppSecretsFromSubdomain(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.updateAppSecretsFromSubdomain"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async updateAppViewers(J,$,ee){const te=await V.updateAppViewers(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["AppsApi.updateAppViewers"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)},async updateAppViewersFromSubdomain(J,$){const ee=await V.updateAppViewersFromSubdomain(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.updateAppViewersFromSubdomain"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async updateFavorites(J,$,ee){const te=await V.updateFavorites(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["AppsApi.updateFavorites"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)},async updateFavoritesFromSubdomain(J,$){const ee=await V.updateFavoritesFromSubdomain(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.updateFavoritesFromSubdomain"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async updatePythonVersion(J,$,ee){const te=await V.updatePythonVersion(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["AppsApi.updatePythonVersion"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)},async updatePythonVersionFromSubdomain(J,$){const ee=await V.updatePythonVersionFromSubdomain(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.updatePythonVersionFromSubdomain"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async updateVisibility(J,$,ee){const te=await V.updateVisibility(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["AppsApi.updateVisibility"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)},async updateVisibilityFromSubdomain(J,$){const ee=await V.updateVisibilityFromSubdomain(J,$),te=e?.serverIndex??0,re=operationServerMap["AppsApi.updateVisibilityFromSubdomain"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)}}};class AppsApi extends BaseAPI{deleteApp(V,J){return AppsApiFp(this.configuration).deleteApp(V,J).then($=>$(this.axios,this.basePath))}deleteAppFromSubdomain(V){return AppsApiFp(this.configuration).deleteAppFromSubdomain(V).then(J=>J(this.axios,this.basePath))}disambiguate(V,J,$){return AppsApiFp(this.configuration).disambiguate(V,J,$).then(ee=>ee(this.axios,this.basePath))}disambiguateFromSubdomain(V){return AppsApiFp(this.configuration).disambiguateFromSubdomain(V).then(J=>J(this.axios,this.basePath))}getAppStatus(V,J){return AppsApiFp(this.configuration).getAppStatus(V,J).then($=>$(this.axios,this.basePath))}getAppStatusFromSubdomain(V){return AppsApiFp(this.configuration).getAppStatusFromSubdomain(V).then(J=>J(this.axios,this.basePath))}getAppViewers(V,J){return AppsApiFp(this.configuration).getAppViewers(V,J).then($=>$(this.axios,this.basePath))}getAppViewersFromSubdomain(V){return AppsApiFp(this.configuration).getAppViewersFromSubdomain(V).then(J=>J(this.axios,this.basePath))}getContext(V,J){return AppsApiFp(this.configuration).getContext(V,J).then($=>$(this.axios,this.basePath))}getContextFromSubdomain(V){return AppsApiFp(this.configuration).getContextFromSubdomain(V).then(J=>J(this.axios,this.basePath))}getFavoritedApps(V){return AppsApiFp(this.configuration).getFavoritedApps(V).then(J=>J(this.axios,this.basePath))}readAppSecrets(V,J){return AppsApiFp(this.configuration).readAppSecrets(V,J).then($=>$(this.axios,this.basePath))}readAppSecretsFromSubdomain(V){return AppsApiFp(this.configuration).readAppSecretsFromSubdomain(V).then(J=>J(this.axios,this.basePath))}restartApp(V,J){return AppsApiFp(this.configuration).restartApp(V,J).then($=>$(this.axios,this.basePath))}restartAppFromSubdomain(V){return AppsApiFp(this.configuration).restartAppFromSubdomain(V).then(J=>J(this.axios,this.basePath))}resumeApp(V,J){return AppsApiFp(this.configuration).resumeApp(V,J).then($=>$(this.axios,this.basePath))}resumeAppFromSubdomain(V){return AppsApiFp(this.configuration).resumeAppFromSubdomain(V).then(J=>J(this.axios,this.basePath))}updateAppSecrets(V,J,$){return AppsApiFp(this.configuration).updateAppSecrets(V,J,$).then(ee=>ee(this.axios,this.basePath))}updateAppSecretsFromSubdomain(V,J){return AppsApiFp(this.configuration).updateAppSecretsFromSubdomain(V,J).then($=>$(this.axios,this.basePath))}updateAppViewers(V,J,$){return AppsApiFp(this.configuration).updateAppViewers(V,J,$).then(ee=>ee(this.axios,this.basePath))}updateAppViewersFromSubdomain(V,J){return AppsApiFp(this.configuration).updateAppViewersFromSubdomain(V,J).then($=>$(this.axios,this.basePath))}updateFavorites(V,J,$){return AppsApiFp(this.configuration).updateFavorites(V,J,$).then(ee=>ee(this.axios,this.basePath))}updateFavoritesFromSubdomain(V,J){return AppsApiFp(this.configuration).updateFavoritesFromSubdomain(V,J).then($=>$(this.axios,this.basePath))}updatePythonVersion(V,J,$){return AppsApiFp(this.configuration).updatePythonVersion(V,J,$).then(ee=>ee(this.axios,this.basePath))}updatePythonVersionFromSubdomain(V,J){return AppsApiFp(this.configuration).updatePythonVersionFromSubdomain(V,J).then($=>$(this.axios,this.basePath))}updateVisibility(V,J,$){return AppsApiFp(this.configuration).updateVisibility(V,J,$).then(ee=>ee(this.axios,this.basePath))}updateVisibilityFromSubdomain(V,J){return AppsApiFp(this.configuration).updateVisibilityFromSubdomain(V,J).then($=>$(this.axios,this.basePath))}}const CodespacesApiAxiosParamCreator=function(e){return{createDevContainer:async(V,J={})=>{assertParamExists("createDevContainer","createDevContainerRequestModel",V);const $="/dashboard/codespaces/devcontainer",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}},createRepositoryFromTemplate:async(V,J={})=>{assertParamExists("createRepositoryFromTemplate","createRepositoryFromTemplateRequestModel",V);const $="/dashboard/codespaces/repository-from-template",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}},fork:async(V,J={})=>{assertParamExists("fork","appId",V);const $="/dashboard/apps/{appId}/fork".replace("{appId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},getTemplates:async(V={})=>{const J="/dashboard/codespaces/templates",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}}}},CodespacesApiFp=function(e){const V=CodespacesApiAxiosParamCreator(e);return{async createDevContainer(J,$){const ee=await V.createDevContainer(J,$),te=e?.serverIndex??0,re=operationServerMap["CodespacesApi.createDevContainer"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async createRepositoryFromTemplate(J,$){const ee=await V.createRepositoryFromTemplate(J,$),te=e?.serverIndex??0,re=operationServerMap["CodespacesApi.createRepositoryFromTemplate"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async fork(J,$){const ee=await V.fork(J,$),te=e?.serverIndex??0,re=operationServerMap["CodespacesApi.fork"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async getTemplates(J){const $=await V.getTemplates(J),ee=e?.serverIndex??0,te=operationServerMap["CodespacesApi.getTemplates"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)}}};class CodespacesApi extends BaseAPI{createDevContainer(V,J){return CodespacesApiFp(this.configuration).createDevContainer(V,J).then($=>$(this.axios,this.basePath))}createRepositoryFromTemplate(V,J){return CodespacesApiFp(this.configuration).createRepositoryFromTemplate(V,J).then($=>$(this.axios,this.basePath))}fork(V,J){return CodespacesApiFp(this.configuration).fork(V,J).then($=>$(this.axios,this.basePath))}getTemplates(V){return CodespacesApiFp(this.configuration).getTemplates(V).then(J=>J(this.axios,this.basePath))}}const ConfigApiAxiosParamCreator=function(e){return{getPythonVersions:async(V={})=>{const J="/dashboard/config/python-versions",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getPythonVersionsForSubdomain:async(V={})=>{const J="/subdomain/config/python-versions",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}}}},ConfigApiFp=function(e){const V=ConfigApiAxiosParamCreator(e);return{async getPythonVersions(J){const $=await V.getPythonVersions(J),ee=e?.serverIndex??0,te=operationServerMap["ConfigApi.getPythonVersions"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getPythonVersionsForSubdomain(J){const $=await V.getPythonVersionsForSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["ConfigApi.getPythonVersionsForSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)}}};class ConfigApi extends BaseAPI{getPythonVersions(V){return ConfigApiFp(this.configuration).getPythonVersions(V).then(J=>J(this.axios,this.basePath))}getPythonVersionsForSubdomain(V){return ConfigApiFp(this.configuration).getPythonVersionsForSubdomain(V).then(J=>J(this.axios,this.basePath))}}const FeatureFlagsApiAxiosParamCreator=function(e){return{getFeatureFlags:async(V={})=>{const J="/dashboard/feature-flags",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getFeatureFlagsFromSubdomain:async(V={})=>{const J="/subdomain/feature-flags",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}}}},FeatureFlagsApiFp=function(e){const V=FeatureFlagsApiAxiosParamCreator(e);return{async getFeatureFlags(J){const $=await V.getFeatureFlags(J),ee=e?.serverIndex??0,te=operationServerMap["FeatureFlagsApi.getFeatureFlags"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getFeatureFlagsFromSubdomain(J){const $=await V.getFeatureFlagsFromSubdomain(J),ee=e?.serverIndex??0,te=operationServerMap["FeatureFlagsApi.getFeatureFlagsFromSubdomain"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)}}};class FeatureFlagsApi extends BaseAPI{getFeatureFlags(V){return FeatureFlagsApiFp(this.configuration).getFeatureFlags(V).then(J=>J(this.axios,this.basePath))}getFeatureFlagsFromSubdomain(V){return FeatureFlagsApiFp(this.configuration).getFeatureFlagsFromSubdomain(V).then(J=>J(this.axios,this.basePath))}}const GalleryApiAxiosParamCreator=function(e){return{getGalleryCategories:async(V={})=>{const J="/dashboard/gallery/categories",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},searchGalleryApps:async(V,J={})=>{assertParamExists("searchGalleryApps","filter",V);const $="/dashboard/gallery/search",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={},ie={};if(V!==void 0)for(const[ue,ce]of Object.entries(V))ie[ue]=ce;setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}}}},GalleryApiFp=function(e){const V=GalleryApiAxiosParamCreator(e);return{async getGalleryCategories(J){const $=await V.getGalleryCategories(J),ee=e?.serverIndex??0,te=operationServerMap["GalleryApi.getGalleryCategories"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async searchGalleryApps(J,$){const ee=await V.searchGalleryApps(J,$),te=e?.serverIndex??0,re=operationServerMap["GalleryApi.searchGalleryApps"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)}}};class GalleryApi extends BaseAPI{getGalleryCategories(V){return GalleryApiFp(this.configuration).getGalleryCategories(V).then(J=>J(this.axios,this.basePath))}searchGalleryApps(V,J){return GalleryApiFp(this.configuration).searchGalleryApps(V,J).then($=>$(this.axios,this.basePath))}}const GithubApiAxiosParamCreator=function(e){return{getGitHubRepositoryBranches:async(V,J,$={})=>{assertParamExists("getGitHubRepositoryBranches","owner",V),assertParamExists("getGitHubRepositoryBranches","repo",J);const ee="/dashboard/github/repository/branches",te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"GET",...re,...$},ie={},ae={};V!==void 0&&(ae.owner=V),J!==void 0&&(ae.repo=J),setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},{url:toPathString(te),options:ne}},getGitHubUserRepositories:async(V={})=>{const J="/dashboard/github/user/repositories",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},listPythonFiles:async(V,J,$,ee={})=>{assertParamExists("listPythonFiles","owner",V),assertParamExists("listPythonFiles","repo",J),assertParamExists("listPythonFiles","ref",$);const te="/dashboard/github/list-python-files",re=new URL(te,DUMMY_BASE_URL);let ne;e&&(ne=e.baseOptions);const ie={method:"GET",...ne,...ee},ae={},ue={};V!==void 0&&(ue.owner=V),J!==void 0&&(ue.repo=J),$!==void 0&&(ue.ref=$),setSearchParams(re,ue);let ce=ne&&ne.headers?ne.headers:{};return ie.headers={...ae,...ce,...ee.headers},{url:toPathString(re),options:ie}},queryRepository:async(V,J,$={})=>{assertParamExists("queryRepository","owner",V),assertParamExists("queryRepository","repo",J);const ee="/dashboard/github/query-repository",te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"GET",...re,...$},ie={},ae={};V!==void 0&&(ae.owner=V),J!==void 0&&(ae.repo=J),setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},{url:toPathString(te),options:ne}},verifyFileExists:async(V,J,$,ee,te={})=>{assertParamExists("verifyFileExists","owner",V),assertParamExists("verifyFileExists","repo",J),assertParamExists("verifyFileExists","path",$);const re="/dashboard/github/validate-file-exists",ne=new URL(re,DUMMY_BASE_URL);let ie;e&&(ie=e.baseOptions);const ae={method:"GET",...ie,...te},ue={},ce={};V!==void 0&&(ce.owner=V),J!==void 0&&(ce.repo=J),$!==void 0&&(ce.path=$),ee!==void 0&&(ce.ref=ee),setSearchParams(ne,ce);let de=ie&&ie.headers?ie.headers:{};return ae.headers={...ue,...de,...te.headers},{url:toPathString(ne),options:ae}}}},GithubApiFp=function(e){const V=GithubApiAxiosParamCreator(e);return{async getGitHubRepositoryBranches(J,$,ee){const te=await V.getGitHubRepositoryBranches(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["GithubApi.getGitHubRepositoryBranches"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)},async getGitHubUserRepositories(J){const $=await V.getGitHubUserRepositories(J),ee=e?.serverIndex??0,te=operationServerMap["GithubApi.getGitHubUserRepositories"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async listPythonFiles(J,$,ee,te){const re=await V.listPythonFiles(J,$,ee,te),ne=e?.serverIndex??0,ie=operationServerMap["GithubApi.listPythonFiles"]?.[ne]?.url;return(ae,ue)=>createRequestFunction(re,axios,BASE_PATH$1,e)(ae,ie||ue)},async queryRepository(J,$,ee){const te=await V.queryRepository(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["GithubApi.queryRepository"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)},async verifyFileExists(J,$,ee,te,re){const ne=await V.verifyFileExists(J,$,ee,te,re),ie=e?.serverIndex??0,ae=operationServerMap["GithubApi.verifyFileExists"]?.[ie]?.url;return(ue,ce)=>createRequestFunction(ne,axios,BASE_PATH$1,e)(ue,ae||ce)}}};class GithubApi extends BaseAPI{getGitHubRepositoryBranches(V,J,$){return GithubApiFp(this.configuration).getGitHubRepositoryBranches(V,J,$).then(ee=>ee(this.axios,this.basePath))}getGitHubUserRepositories(V){return GithubApiFp(this.configuration).getGitHubUserRepositories(V).then(J=>J(this.axios,this.basePath))}listPythonFiles(V,J,$,ee){return GithubApiFp(this.configuration).listPythonFiles(V,J,$,ee).then(te=>te(this.axios,this.basePath))}queryRepository(V,J,$){return GithubApiFp(this.configuration).queryRepository(V,J,$).then(ee=>ee(this.axios,this.basePath))}verifyFileExists(V,J,$,ee,te){return GithubApiFp(this.configuration).verifyFileExists(V,J,$,ee,te).then(re=>re(this.axios,this.basePath))}}const IpGeolocationApiAxiosParamCreator=function(e){return{getCountryFromIP:async(V={})=>{const J="/dashboard/country",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}}}},IpGeolocationApiFp=function(e){const V=IpGeolocationApiAxiosParamCreator(e);return{async getCountryFromIP(J){const $=await V.getCountryFromIP(J),ee=e?.serverIndex??0,te=operationServerMap["IpGeolocationApi.getCountryFromIP"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)}}};class IpGeolocationApi extends BaseAPI{getCountryFromIP(V){return IpGeolocationApiFp(this.configuration).getCountryFromIP(V).then(J=>J(this.axios,this.basePath))}}const ProfilesApiAxiosParamCreator=function(e){return{getAppCreatorProfilePagePreview:async(V={})=>{const J="/subdomain/app/creator-profile-preview",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getUserProfilePage:async(V,J={})=>{assertParamExists("getUserProfilePage","userName",V);const $="/dashboard/profiles/{userName}".replace("{userName}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},getUserProfilePagePreview:async(V,J={})=>{assertParamExists("getUserProfilePagePreview","userName",V);const $="/dashboard/profiles/{userName}/preview".replace("{userName}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},getUserProfilePageSocialSharePreview:async(V,J={})=>{assertParamExists("getUserProfilePageSocialSharePreview","userName",V);const $="/dashboard/profiles/{userName}/social-share-preview".replace("{userName}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},updateFeaturedApp:async(V,J,$,ee={})=>{assertParamExists("updateFeaturedApp","userName",V),assertParamExists("updateFeaturedApp","appId",J),assertParamExists("updateFeaturedApp","updateUserProfilePageFeaturedAppRequestModel",$);const te="/dashboard/profiles/{userName}/apps/{appId}/feature".replace("{userName}",encodeURIComponent(String(V))).replace("{appId}",encodeURIComponent(String(J))),re=new URL(te,DUMMY_BASE_URL);let ne;e&&(ne=e.baseOptions);const ie={method:"PUT",...ne,...ee},ae={},ue={};ae["Content-Type"]="application/json",setSearchParams(re,ue);let ce=ne&&ne.headers?ne.headers:{};return ie.headers={...ae,...ce,...ee.headers},ie.data=serializeDataIfNeeded($,ie,e),{url:toPathString(re),options:ie}},updateUserAppVisibility:async(V,J,$,ee={})=>{assertParamExists("updateUserAppVisibility","userName",V),assertParamExists("updateUserAppVisibility","appId",J),assertParamExists("updateUserAppVisibility","userProfilePageAppVisibilityRequestModel",$);const te="/dashboard/profiles/{userName}/apps/{appId}/visibility".replace("{userName}",encodeURIComponent(String(V))).replace("{appId}",encodeURIComponent(String(J))),re=new URL(te,DUMMY_BASE_URL);let ne;e&&(ne=e.baseOptions);const ie={method:"PUT",...ne,...ee},ae={},ue={};ae["Content-Type"]="application/json",setSearchParams(re,ue);let ce=ne&&ne.headers?ne.headers:{};return ie.headers={...ae,...ce,...ee.headers},ie.data=serializeDataIfNeeded($,ie,e),{url:toPathString(re),options:ie}},updateUserProfilePage:async(V,J,$={})=>{assertParamExists("updateUserProfilePage","userName",V),assertParamExists("updateUserProfilePage","updateUserProfilePageRequestModel",J);const ee="/dashboard/profiles/{userName}".replace("{userName}",encodeURIComponent(String(V))),te=new URL(ee,DUMMY_BASE_URL);let re;e&&(re=e.baseOptions);const ne={method:"PUT",...re,...$},ie={},ae={};ie["Content-Type"]="application/json",setSearchParams(te,ae);let ue=re&&re.headers?re.headers:{};return ne.headers={...ie,...ue,...$.headers},ne.data=serializeDataIfNeeded(J,ne,e),{url:toPathString(te),options:ne}}}},ProfilesApiFp=function(e){const V=ProfilesApiAxiosParamCreator(e);return{async getAppCreatorProfilePagePreview(J){const $=await V.getAppCreatorProfilePagePreview(J),ee=e?.serverIndex??0,te=operationServerMap["ProfilesApi.getAppCreatorProfilePagePreview"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getUserProfilePage(J,$){const ee=await V.getUserProfilePage(J,$),te=e?.serverIndex??0,re=operationServerMap["ProfilesApi.getUserProfilePage"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async getUserProfilePagePreview(J,$){const ee=await V.getUserProfilePagePreview(J,$),te=e?.serverIndex??0,re=operationServerMap["ProfilesApi.getUserProfilePagePreview"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async getUserProfilePageSocialSharePreview(J,$){const ee=await V.getUserProfilePageSocialSharePreview(J,$),te=e?.serverIndex??0,re=operationServerMap["ProfilesApi.getUserProfilePageSocialSharePreview"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async updateFeaturedApp(J,$,ee,te){const re=await V.updateFeaturedApp(J,$,ee,te),ne=e?.serverIndex??0,ie=operationServerMap["ProfilesApi.updateFeaturedApp"]?.[ne]?.url;return(ae,ue)=>createRequestFunction(re,axios,BASE_PATH$1,e)(ae,ie||ue)},async updateUserAppVisibility(J,$,ee,te){const re=await V.updateUserAppVisibility(J,$,ee,te),ne=e?.serverIndex??0,ie=operationServerMap["ProfilesApi.updateUserAppVisibility"]?.[ne]?.url;return(ae,ue)=>createRequestFunction(re,axios,BASE_PATH$1,e)(ae,ie||ue)},async updateUserProfilePage(J,$,ee){const te=await V.updateUserProfilePage(J,$,ee),re=e?.serverIndex??0,ne=operationServerMap["ProfilesApi.updateUserProfilePage"]?.[re]?.url;return(ie,ae)=>createRequestFunction(te,axios,BASE_PATH$1,e)(ie,ne||ae)}}};class ProfilesApi extends BaseAPI{getAppCreatorProfilePagePreview(V){return ProfilesApiFp(this.configuration).getAppCreatorProfilePagePreview(V).then(J=>J(this.axios,this.basePath))}getUserProfilePage(V,J){return ProfilesApiFp(this.configuration).getUserProfilePage(V,J).then($=>$(this.axios,this.basePath))}getUserProfilePagePreview(V,J){return ProfilesApiFp(this.configuration).getUserProfilePagePreview(V,J).then($=>$(this.axios,this.basePath))}getUserProfilePageSocialSharePreview(V,J){return ProfilesApiFp(this.configuration).getUserProfilePageSocialSharePreview(V,J).then($=>$(this.axios,this.basePath))}updateFeaturedApp(V,J,$,ee){return ProfilesApiFp(this.configuration).updateFeaturedApp(V,J,$,ee).then(te=>te(this.axios,this.basePath))}updateUserAppVisibility(V,J,$,ee){return ProfilesApiFp(this.configuration).updateUserAppVisibility(V,J,$,ee).then(te=>te(this.axios,this.basePath))}updateUserProfilePage(V,J,$){return ProfilesApiFp(this.configuration).updateUserProfilePage(V,J,$).then(ee=>ee(this.axios,this.basePath))}}const TelemetryApiAxiosParamCreator=function(e){return{submitEvents:async(V,J={})=>{assertParamExists("submitEvents","eventsRequestModel",V);const $="/dashboard/telemetry/events",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}},submitEventsFromSubdomain:async(V,J={})=>{assertParamExists("submitEventsFromSubdomain","eventsRequestModel",V);const $="/subdomain/telemetry/events",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}}}},TelemetryApiFp=function(e){const V=TelemetryApiAxiosParamCreator(e);return{async submitEvents(J,$){const ee=await V.submitEvents(J,$),te=e?.serverIndex??0,re=operationServerMap["TelemetryApi.submitEvents"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async submitEventsFromSubdomain(J,$){const ee=await V.submitEventsFromSubdomain(J,$),te=e?.serverIndex??0,re=operationServerMap["TelemetryApi.submitEventsFromSubdomain"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)}}};class TelemetryApi extends BaseAPI{submitEvents(V,J){return TelemetryApiFp(this.configuration).submitEvents(V,J).then($=>$(this.axios,this.basePath))}submitEventsFromSubdomain(V,J){return TelemetryApiFp(this.configuration).submitEventsFromSubdomain(V,J).then($=>$(this.axios,this.basePath))}}const UserApiAxiosParamCreator=function(e){return{getUser:async(V={})=>{const J="/dashboard/user",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getUserDetails:async(V={})=>{const J="/dashboard/user/details",$=new URL(J,DUMMY_BASE_URL);let ee;e&&(ee=e.baseOptions);const te={method:"GET",...ee,...V},re={};setSearchParams($,{});let ie=ee&&ee.headers?ee.headers:{};return te.headers={...re,...ie,...V.headers},{url:toPathString($),options:te}},getUserWorkspace:async(V,J={})=>{assertParamExists("getUserWorkspace","workspaceId",V);const $="/dashboard/user/workspaces/{workspaceId}".replace("{workspaceId}",encodeURIComponent(String(V))),ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"GET",...te,...J},ne={};setSearchParams(ee,{});let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},{url:toPathString(ee),options:re}},updatePreferences:async(V,J={})=>{assertParamExists("updatePreferences","userPreferencesUpdateRequestModel",V);const $="/dashboard/user/preferences",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"PATCH",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}},updateUserOnboarding:async(V,J={})=>{assertParamExists("updateUserOnboarding","userOnboardingUpdateRequestModel",V);const $="/dashboard/user/onboarding",ee=new URL($,DUMMY_BASE_URL);let te;e&&(te=e.baseOptions);const re={method:"POST",...te,...J},ne={},ie={};ne["Content-Type"]="application/json",setSearchParams(ee,ie);let ae=te&&te.headers?te.headers:{};return re.headers={...ne,...ae,...J.headers},re.data=serializeDataIfNeeded(V,re,e),{url:toPathString(ee),options:re}}}},UserApiFp=function(e){const V=UserApiAxiosParamCreator(e);return{async getUser(J){const $=await V.getUser(J),ee=e?.serverIndex??0,te=operationServerMap["UserApi.getUser"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getUserDetails(J){const $=await V.getUserDetails(J),ee=e?.serverIndex??0,te=operationServerMap["UserApi.getUserDetails"]?.[ee]?.url;return(re,ne)=>createRequestFunction($,axios,BASE_PATH$1,e)(re,te||ne)},async getUserWorkspace(J,$){const ee=await V.getUserWorkspace(J,$),te=e?.serverIndex??0,re=operationServerMap["UserApi.getUserWorkspace"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async updatePreferences(J,$){const ee=await V.updatePreferences(J,$),te=e?.serverIndex??0,re=operationServerMap["UserApi.updatePreferences"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)},async updateUserOnboarding(J,$){const ee=await V.updateUserOnboarding(J,$),te=e?.serverIndex??0,re=operationServerMap["UserApi.updateUserOnboarding"]?.[te]?.url;return(ne,ie)=>createRequestFunction(ee,axios,BASE_PATH$1,e)(ne,re||ie)}}};class UserApi extends BaseAPI{getUser(V){return UserApiFp(this.configuration).getUser(V).then(J=>J(this.axios,this.basePath))}getUserDetails(V){return UserApiFp(this.configuration).getUserDetails(V).then(J=>J(this.axios,this.basePath))}getUserWorkspace(V,J){return UserApiFp(this.configuration).getUserWorkspace(V,J).then($=>$(this.axios,this.basePath))}updatePreferences(V,J){return UserApiFp(this.configuration).updatePreferences(V,J).then($=>$(this.axios,this.basePath))}updateUserOnboarding(V,J){return UserApiFp(this.configuration).updateUserOnboarding(V,J).then($=>$(this.axios,this.basePath))}}class Configuration{apiKey;username;password;accessToken;basePath;serverIndex;baseOptions;formDataCtor;constructor(V={}){this.apiKey=V.apiKey,this.username=V.username,this.password=V.password,this.accessToken=V.accessToken,this.basePath=V.basePath,this.serverIndex=V.serverIndex,this.baseOptions=V.baseOptions,this.formDataCtor=V.formDataCtor}isJsonMime(V){const J=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return V!==null&&(J.test(V)||V.toLowerCase()==="application/json-patch+json")}}var lodash$1={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */var lodash=lodash$1.exports,hasRequiredLodash;function requireLodash(){return hasRequiredLodash||(hasRequiredLodash=1,function(e,V){(function(){var J,$="4.17.21",ee=200,te="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",re="Expected a function",ne="Invalid `variable` option passed into `_.template`",ie="__lodash_hash_undefined__",ae=500,ue="__lodash_placeholder__",ce=1,de=2,me=4,he=1,ge=2,_e=1,be=2,Ee=4,Pe=8,$e=16,Re=32,Le=64,Ie=128,Be=256,qe=512,Ge=30,Je="...",Qe=800,Ne=16,Ye=1,et=2,Xe=3,dt=1/0,Ze=9007199254740991,ot=17976931348623157e292,_t=NaN,He=4294967295,pt=He-1,Tt=He>>>1,jt=[["ary",Ie],["bind",_e],["bindKey",be],["curry",Pe],["curryRight",$e],["flip",qe],["partial",Re],["partialRight",Le],["rearg",Be]],Bt="[object Arguments]",zt="[object Array]",Wt="[object AsyncFunction]",qt="[object Boolean]",ar="[object Date]",vr="[object DOMException]",Tr="[object Error]",_r="[object Function]",Yt="[object GeneratorFunction]",ir="[object Map]",cr="[object Number]",Rr="[object Null]",xr="[object Object]",or="[object Promise]",pr="[object Proxy]",wr="[object RegExp]",Mr="[object Set]",st="[object String]",$t="[object Symbol]",Nt="[object Undefined]",Mt="[object WeakMap]",rr="[object WeakSet]",sr="[object ArrayBuffer]",Pr="[object DataView]",Lr="[object Float32Array]",Dr="[object Float64Array]",yn="[object Int8Array]",Ci="[object Int16Array]",oi="[object Int32Array]",gt="[object Uint8Array]",bt="[object Uint8ClampedArray]",Ot="[object Uint16Array]",Vt="[object Uint32Array]",mr=/\b__p \+= '';/g,nr=/\b(__p \+=) '' \+/g,dr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Zt=/&(?:amp|lt|gt|quot|#39);/g,kt=/[&<>"']/g,Br=RegExp(Zt.source),Ar=RegExp(kt.source),En=/<%-([\s\S]+?)%>/g,Wr=/<%([\s\S]+?)%>/g,gn=/<%=([\s\S]+?)%>/g,Sn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qi=/^\w*$/,yi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ai=/[\\^$.*+?()[\]{}|]/g,kn=RegExp(ai.source),zi=/^\s+/,Ri=/\s/,ro=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,no=/\{\n\/\* \[wrapped with (.+)\] \*/,gi=/,? & /,Jr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rn=/[()=,{}\[\]\/\s]/,Ai=/\\(\\)?/g,Xr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yn=/\w*$/,la=/^[-+]0x[0-9a-f]+$/i,ua=/^0b[01]+$/i,ca=/^\[object .+?Constructor\]$/,qo=/^0o[0-7]+$/i,da=/^(?:0|[1-9]\d*)$/,ys=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,pa=/($^)/,Ws=/['\n\r\u2028\u2029\\]/g,Zr="\\ud800-\\udfff",Jn="\\u0300-\\u036f",Da="\\ufe20-\\ufe2f",ja="\\u20d0-\\u20ff",Oo=Jn+Da+ja,gs="\\u2700-\\u27bf",io="a-z\\xdf-\\xf6\\xf8-\\xff",Vi="\\xac\\xb1\\xd7\\xf7",vi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fa="\\u2000-\\u206f",Mn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ma="A-Z\\xc0-\\xd6\\xd8-\\xde",Ba="\\ufe0e\\ufe0f",Ua=Vi+vi+fa+Mn,Hi="['’]",ha="["+Zr+"]",$o="["+Ua+"]",Wi="["+Oo+"]",xe="\\d+",Te="["+gs+"]",Me="["+io+"]",Ve="[^"+Zr+Ua+xe+gs+io+Ma+"]",ft="\\ud83c[\\udffb-\\udfff]",lt="(?:"+Wi+"|"+ft+")",Et="[^"+Zr+"]",Dt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ut="[\\ud800-\\udbff][\\udc00-\\udfff]",ur="["+Ma+"]",Or="\\u200d",Qr="(?:"+Me+"|"+Ve+")",Ti="(?:"+ur+"|"+Ve+")",_i="(?:"+Hi+"(?:d|ll|m|re|s|t|ve))?",Zn="(?:"+Hi+"(?:D|LL|M|RE|S|T|VE))?",oo=lt+"?",bi="["+Ba+"]?",Ii="(?:"+Or+"(?:"+[Et,Dt,Ut].join("|")+")"+bi+oo+")*",si="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gi="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ei=bi+oo+Ii,zo="(?:"+[Te,Dt,Ut].join("|")+")"+Ei,Vo="(?:"+[Et+Wi+"?",Wi,Dt,Ut,ha].join("|")+")",Ic=RegExp(Hi,"g"),_u=RegExp(Wi,"g"),ma=RegExp(ft+"(?="+ft+")|"+Vo+Ei,"g"),kc=RegExp([ur+"?"+Me+"+"+_i+"(?="+[$o,ur,"$"].join("|")+")",Ti+"+"+Zn+"(?="+[$o,ur+Qr,"$"].join("|")+")",ur+"?"+Qr+"+"+_i,ur+"+"+Zn,Gi,si,xe,zo].join("|"),"g"),ao=RegExp("["+Or+Zr+Oo+Ba+"]"),qa=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ln=-1,Ur={};Ur[Lr]=Ur[Dr]=Ur[yn]=Ur[Ci]=Ur[oi]=Ur[gt]=Ur[bt]=Ur[Ot]=Ur[Vt]=!0,Ur[Bt]=Ur[zt]=Ur[sr]=Ur[qt]=Ur[Pr]=Ur[ar]=Ur[Tr]=Ur[_r]=Ur[ir]=Ur[cr]=Ur[xr]=Ur[wr]=Ur[Mr]=Ur[st]=Ur[Mt]=!1;var qr={};qr[Bt]=qr[zt]=qr[sr]=qr[Pr]=qr[qt]=qr[ar]=qr[Lr]=qr[Dr]=qr[yn]=qr[Ci]=qr[oi]=qr[ir]=qr[cr]=qr[xr]=qr[wr]=qr[Mr]=qr[st]=qr[$t]=qr[gt]=qr[bt]=qr[Ot]=qr[Vt]=!0,qr[Tr]=qr[_r]=qr[Mt]=!1;var so={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ki={"&":"&","<":"<",">":">",'"':""","'":"'"},Gs={"&":"&","<":"<",">":">",""":'"',"'":"'"},ya={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ks=parseFloat,za=parseInt,Va=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Rl=typeof self=="object"&&self&&self.Object===Object&&self,hn=Va||Rl||Function("return this")(),Ha=V&&!V.nodeType&&V,lo=Ha&&!0&&e&&!e.nodeType&&e,Al=lo&&lo.exports===Ha,Co=Al&&Va.process,Hn=function(){try{var it=lo&&lo.require&&lo.require("util").types;return it||Co&&Co.binding&&Co.binding("util")}catch{}}(),Wa=Hn&&Hn.isArrayBuffer,Wn=Hn&&Hn.isDate,ga=Hn&&Hn.isMap,Ho=Hn&&Hn.isRegExp,Ga=Hn&&Hn.isSet,Ys=Hn&&Hn.isTypedArray;function Ln(it,St,yt){switch(yt.length){case 0:return it.call(St);case 1:return it.call(St,yt[0]);case 2:return it.call(St,yt[0],yt[1]);case 3:return it.call(St,yt[0],yt[1],yt[2])}return it.apply(St,yt)}function va(it,St,yt,Gt){for(var Cr=-1,Gr=it==null?0:it.length;++Cr-1}function Xn(it,St,yt){for(var Gt=-1,Cr=it==null?0:it.length;++Gt-1;);return yt}function Qn(it,St){for(var yt=it.length;yt--&&ba(St,it[yt],0)>-1;);return yt}function ki(it,St){for(var yt=it.length,Gt=0;yt--;)it[yt]===St&&++Gt;return Gt}var Li=Ae(so),Ss=Ae(Ki);function Ll(it){return"\\"+ya[it]}function Wo(it,St){return it==null?J:it[St]}function el(it){return ao.test(it)}function Lp(it){return qa.test(it)}function Fp(it){for(var St,yt=[];!(St=it.next()).done;)yt.push(St.value);return yt}function Su(it){var St=-1,yt=Array(it.size);return it.forEach(function(Gt,Cr){yt[++St]=[Cr,Gt]}),yt}function Lc(it,St){return function(yt){return it(St(yt))}}function co(it,St){for(var yt=-1,Gt=it.length,Cr=0,Gr=[];++yt-1}function Hd(le,pe){var ve=this.__data__,Ce=pi(ve,le);return Ce<0?(++this.size,ve.push([le,pe])):ve[Ce][1]=pe,this}Si.prototype.clear=dl,Si.prototype.delete=Di,Si.prototype.get=Nu,Si.prototype.has=Vd,Si.prototype.set=Hd;function fo(le){var pe=-1,ve=le==null?0:le.length;for(this.clear();++pe=pe?le:pe)),le}function ji(le,pe,ve,Ce,ke,Ue){var Ke,rt=pe&ce,at=pe&de,wt=pe&me;if(ve&&(Ke=ke?ve(le,Ce,ke,Ue):ve(le)),Ke!==J)return Ke;if(!In(le))return le;var Pt=kr(le);if(Pt){if(Ke=lu(le),!rt)return xi(le,Ke)}else{var At=ri(le),Ht=At==_r||At==Yt;if(Cl(le))return rd(le,rt);if(At==xr||At==Bt||Ht&&!ke){if(Ke=at||Ht?{}:ni(le),!rt)return at?zp(le,To(Ke,le)):Qu(le,bn(Ke,le))}else{if(!qr[At])return ke?le:{};Ke=Vp(le,At,rt)}}Ue||(Ue=new di);var lr=Ue.get(le);if(lr)return lr;Ue.set(le,Ke),Sf(le)?le.forEach(function(Sr){Ke.add(ji(Sr,pe,ve,Sr,le,Ue))}):bf(le)&&le.forEach(function(Sr,zr){Ke.set(zr,ji(Sr,pe,ve,zr,le,Ue))});var Er=wt?at?ou:iu:at?wo:mi,jr=Pt?J:Er(le);return An(jr||le,function(Sr,zr){jr&&(zr=Sr,Sr=le[zr]),As(Ke,zr,ji(Sr,pe,ve,zr,le,Ue))}),Ke}function Yd(le){var pe=mi(le);return function(ve){return Wl(ve,le,pe)}}function Wl(le,pe,ve){var Ce=ve.length;if(le==null)return!Ce;for(le=dn(le);Ce--;){var ke=ve[Ce],Ue=pe[ke],Ke=le[ke];if(Ke===J&&!(ke in le)||!Ue(Ke))return!1}return!0}function qc(le,pe,ve){if(typeof le!="function")throw new po(re);return Pl(function(){le.apply(J,ve)},pe)}function Qo(le,pe,ve,Ce){var ke=-1,Ue=Ka,Ke=!0,rt=le.length,at=[],wt=pe.length;if(!rt)return at;ve&&(pe=sn(pe,Qt(ve))),Ce?(Ue=Xn,Ke=!1):pe.length>=ee&&(Ue=yr,Ke=!1,pe=new $s(pe));e:for(;++keke?0:ke+ve),Ce=Ce===J||Ce>ke?ke:Nr(Ce),Ce<0&&(Ce+=ke),Ce=ve>Ce?0:wf(Ce);ve0&&ve(rt)?pe>1?$n(rt,pe-1,ve,Ce,ke):uo(ke,rt):Ce||(ke[ke.length]=rt)}return ke}var Uu=tc(),Kl=tc(!0);function Xi(le,pe){return le&&Uu(le,pe,mi)}function ns(le,pe){return le&&Kl(le,pe,mi)}function fl(le,pe){return Ro(pe,function(ve){return zs(le[ve])})}function Oa(le,pe){pe=na(pe,le);for(var ve=0,Ce=pe.length;le!=null&&vepe}function yo(le,pe){return le!=null&&Kr.call(le,pe)}function Is(le,pe){return le!=null&&pe in dn(le)}function Vc(le,pe,ve){return le>=li(pe,ve)&&le=120&&Pt.length>=120)?new $s(Ke&&Pt):J}Pt=le[0];var At=-1,Ht=rt[0];e:for(;++At-1;)rt!==le&&Ru.call(rt,at,1),Ru.call(le,at,1);return le}function Bn(le,pe){for(var ve=le?pe.length:0,Ce=ve-1;ve--;){var ke=pe[ve];if(ve==Ce||ke!==Ue){var Ue=ke;wn(ke)?Ru.call(le,ke,1):Ju(le,ke)}}return le}function yl(le,pe){return le+Za(Ul()*(pe-le+1))}function Xl(le,pe,ve,Ce){for(var ke=-1,Ue=Nn(Ps((pe-le)/(ve||1)),0),Ke=yt(Ue);Ue--;)Ke[Ce?Ue:++ke]=le,le+=ve;return Ke}function Ls(le,pe){var ve="";if(!le||pe<1||pe>Ze)return ve;do pe%2&&(ve+=le),pe=Za(pe/2),pe&&(le+=le);while(pe);return ve}function Fr(le,pe){return Qi(cc(le,pe,Po),le+"")}function fi(le){return Zo(Tc(le))}function Jc(le,pe){var ve=Tc(le);return dc(ve,Pa(pe,0,ve.length))}function Fs(le,pe,ve,Ce){if(!In(le))return le;pe=na(pe,le);for(var ke=-1,Ue=pe.length,Ke=Ue-1,rt=le;rt!=null&&++keke?0:ke+pe),ve=ve>ke?ke:ve,ve<0&&(ve+=ke),ke=pe>ve?0:ve-pe>>>0,pe>>>=0;for(var Ue=yt(ke);++Ce>>1,Ke=le[Ue];Ke!==null&&!Mo(Ke)&&(ve?Ke<=pe:Ke=ee){var wt=pe?null:lp(le);if(wt)return Ja(wt);Ke=!1,ke=yr,at=new $s}else at=pe?[]:rt;e:for(;++Ce=Ce?le:hi(le,pe,ve)}var td=Ud||function(le){return hn.clearTimeout(le)};function rd(le,pe){if(pe)return le.slice();var ve=le.length,Ce=Nc?Nc(ve):new le.constructor(ve);return le.copy(Ce),Ce}function tu(le){var pe=new le.constructor(le.byteLength);return new Ml(pe).set(new Ml(le)),pe}function tp(le,pe){var ve=pe?tu(le.buffer):le.buffer;return new le.constructor(ve,le.byteOffset,le.byteLength)}function rp(le){var pe=new le.constructor(le.source,Yn.exec(le));return pe.lastIndex=le.lastIndex,pe}function np(le){return Ji?dn(Ji.call(le)):{}}function ip(le,pe){var ve=pe?tu(le.buffer):le.buffer;return new le.constructor(ve,le.byteOffset,le.length)}function nd(le,pe){if(le!==pe){var ve=le!==J,Ce=le===null,ke=le===le,Ue=Mo(le),Ke=pe!==J,rt=pe===null,at=pe===pe,wt=Mo(pe);if(!rt&&!wt&&!Ue&&le>pe||Ue&&Ke&&at&&!rt&&!wt||Ce&&Ke&&at||!ve&&at||!ke)return 1;if(!Ce&&!Ue&&!wt&&le=rt)return at;var wt=ve[Ce];return at*(wt=="desc"?-1:1)}}return le.index-pe.index}function op(le,pe,ve,Ce){for(var ke=-1,Ue=le.length,Ke=ve.length,rt=-1,at=pe.length,wt=Nn(Ue-Ke,0),Pt=yt(at+wt),At=!Ce;++rt1?ve[ke-1]:J,Ke=ke>2?ve[2]:J;for(Ue=le.length>3&&typeof Ue=="function"?(ke--,Ue):J,Ke&&Pi(ve[0],ve[1],Ke)&&(Ue=ke<3?J:Ue,ke=1),pe=dn(pe);++Ce-1?ke[Ue?pe[Ke]:Ke]:J}}function nc(le){return oa(function(pe){var ve=pe.length,Ce=ve,ke=ui.prototype.thru;for(le&&pe.reverse();Ce--;){var Ue=pe[Ce];if(typeof Ue!="function")throw new po(re);if(ke&&!Ke&&xl(Ue)=="wrapper")var Ke=new ui([],!0)}for(Ce=Ke?Ce:ve;++Ce1&&Hr.reverse(),Pt&&atrt))return!1;var wt=Ue.get(le),Pt=Ue.get(pe);if(wt&&Pt)return wt==pe&&Pt==le;var At=-1,Ht=!0,lr=ve&ge?new $s:J;for(Ue.set(le,pe),Ue.set(pe,le);++At1?"& ":"")+pe[Ce],pe=pe.join(ve>2?", ":" "),le.replace(ro,`{ +/* [wrapped with `+pe+`] */ +`)}function lc(le){return kr(le)||vu(le)||!!(Bd&&le&&le[Bd])}function wn(le,pe){var ve=typeof le;return pe=pe??Ze,!!pe&&(ve=="number"||ve!="symbol"&&da.test(le))&&le>-1&&le%1==0&&le0){if(++pe>=Qe)return arguments[0]}else pe=0;return le.apply(J,arguments)}}function dc(le,pe){var ve=-1,Ce=le.length,ke=Ce-1;for(pe=pe===J?Ce:pe;++ve1?le[pe-1]:J;return ve=typeof ve=="function"?(le.pop(),ve):J,On(le,ve)});function bc(le){var pe=je(le);return pe.__chain__=!0,pe}function tf(le,pe){return pe(le),le}function jo(le,pe){return pe(le)}var Ec=oa(function(le){var pe=le.length,ve=pe?le[0]:0,Ce=this.__wrapped__,ke=function(Ue){return Bu(Ue,le)};return pe>1||this.__actions__.length||!(Ce instanceof Ir)||!wn(ve)?this.thru(ke):(Ce=Ce.slice(ve,+ve+(pe?1:0)),Ce.__actions__.push({func:jo,args:[ke],thisArg:J}),new ui(Ce,this.__chain__).thru(function(Ue){return pe&&!Ue.length&&Ue.push(J),Ue}))});function qs(){return bc(this)}function Sc(){return new ui(this.value(),this.__chain__)}function Rd(){this.__values__===J&&(this.__values__=xf(this.value()));var le=this.__index__>=this.__values__.length,pe=le?J:this.__values__[this.__index__++];return{done:le,value:pe}}function Ad(){return this}function rf(le){for(var pe,ve=this;ve instanceof Yo;){var Ce=gp(ve);Ce.__index__=0,Ce.__values__=J,pe?ke.__wrapped__=Ce:pe=Ce;var ke=Ce;ve=ve.__wrapped__}return ke.__wrapped__=le,pe}function Td(){var le=this.__wrapped__;if(le instanceof Ir){var pe=le;return this.__actions__.length&&(pe=new Ir(this)),pe=pe.reverse(),pe.__actions__.push({func:jo,args:[gc],thisArg:J}),new ui(pe,this.__chain__)}return this.thru(gc)}function nf(){return vl(this.__wrapped__,this.__actions__)}var Op=ec(function(le,pe,ve){Kr.call(le,ve)?++le[ve]:Xo(le,ve,1)});function $p(le,pe,ve){var Ce=kr(le)?Js:Gl;return ve&&Pi(le,pe,ve)&&(pe=J),Ce(le,gr(pe,3))}function xc(le,pe){var ve=kr(le)?Ro:zc;return ve(le,gr(pe,3))}var wc=Ds(us),Cp=Ds(pu);function Id(le,pe){return $n(Cc(le,pe),1)}function Rp(le,pe){return $n(Cc(le,pe),dt)}function kd(le,pe,ve){return ve=ve===J?1:Nr(ve),$n(Cc(le,pe),ve)}function yu(le,pe){var ve=kr(le)?An:ea;return ve(le,gr(pe,3))}function Pc(le,pe){var ve=kr(le)?_s:Jd;return ve(le,gr(pe,3))}var Oc=ec(function(le,pe,ve){Kr.call(le,ve)?le[ve].push(pe):Xo(le,ve,[pe])});function Ap(le,pe,ve,Ce){le=xo(le)?le:Tc(le),ve=ve&&!Ce?Nr(ve):0;var ke=le.length;return ve<0&&(ve=Nn(ke+ve,0)),Ip(le)?ve<=ke&&le.indexOf(pe,ve)>-1:!!ke&&ba(le,pe,ve)>-1}var of=Fr(function(le,pe,ve){var Ce=-1,ke=typeof pe=="function",Ue=xo(le)?yt(le.length):[];return ea(le,function(Ke){Ue[++Ce]=ke?Ln(pe,Ke,ve):go(Ke,pe,ve)}),Ue}),$c=ec(function(le,pe,ve){Xo(le,ve,pe)});function Cc(le,pe){var ve=kr(le)?sn:Gc;return ve(le,gr(pe,3))}function gu(le,pe,ve,Ce){return le==null?[]:(kr(pe)||(pe=pe==null?[]:[pe]),ve=Ce?J:ve,kr(ve)||(ve=ve==null?[]:[ve]),Zl(le,pe,ve))}var af=ec(function(le,pe,ve){le[ve?0:1].push(pe)},function(){return[[],[]]});function Rc(le,pe,ve){var Ce=kr(le)?Tl:De,ke=arguments.length<3;return Ce(le,gr(pe,4),ve,ke,ea)}function oe(le,pe,ve){var Ce=kr(le)?bu:De,ke=arguments.length<3;return Ce(le,gr(pe,4),ve,ke,Jd)}function se(le,pe){var ve=kr(le)?Ro:zc;return ve(le,tr(gr(pe,3)))}function fe(le){var pe=kr(le)?Zo:fi;return pe(le)}function ye(le,pe,ve){(ve?Pi(le,pe,ve):pe===J)?pe=1:pe=Nr(pe);var Ce=kr(le)?Rs:Jc;return Ce(le,pe)}function Se(le){var pe=kr(le)?Kd:_o;return pe(le)}function Oe(le){if(le==null)return 0;if(xo(le))return Ip(le)?xs(le):le.length;var pe=ri(le);return pe==ir||pe==Mr?le.size:Ra(le).length}function Fe(le,pe,ve){var Ce=kr(le)?Ya:Zc;return ve&&Pi(le,pe,ve)&&(pe=J),Ce(le,gr(pe,3))}var We=Fr(function(le,pe){if(le==null)return[];var ve=pe.length;return ve>1&&Pi(le,pe[0],pe[1])?pe=[]:ve>2&&Pi(pe[0],pe[1],pe[2])&&(pe=[pe[0]]),Zl(le,$n(pe,1),[])}),tt=vn||function(){return hn.Date.now()};function vt(le,pe){if(typeof pe!="function")throw new po(re);return le=Nr(le),function(){if(--le<1)return pe.apply(this,arguments)}}function Rt(le,pe,ve){return pe=ve?J:pe,pe=le&&pe==null?le.length:pe,ia(le,Ie,J,J,J,J,pe)}function It(le,pe){var ve;if(typeof pe!="function")throw new po(re);return le=Nr(le),function(){return--le>0&&(ve=pe.apply(this,arguments)),le<=1&&(pe=J),ve}}var Ct=Fr(function(le,pe,ve){var Ce=_e;if(ve.length){var ke=co(ve,Ia(Ct));Ce|=Re}return ia(le,Ce,pe,ve,ke)}),Kt=Fr(function(le,pe,ve){var Ce=_e|be;if(ve.length){var ke=co(ve,Ia(Kt));Ce|=Re}return ia(pe,Ce,le,ve,ke)});function Xt(le,pe,ve){pe=ve?J:pe;var Ce=ia(le,Pe,J,J,J,J,J,pe);return Ce.placeholder=Xt.placeholder,Ce}function er(le,pe,ve){pe=ve?J:pe;var Ce=ia(le,$e,J,J,J,J,J,pe);return Ce.placeholder=er.placeholder,Ce}function Cn(le,pe,ve){var Ce,ke,Ue,Ke,rt,at,wt=0,Pt=!1,At=!1,Ht=!0;if(typeof le!="function")throw new po(re);pe=sa(pe)||0,In(ve)&&(Pt=!!ve.leading,At="maxWait"in ve,Ue=At?Nn(sa(ve.maxWait)||0,pe):Ue,Ht="trailing"in ve?!!ve.trailing:Ht);function lr(Vn){var Na=Ce,Hs=ke;return Ce=ke=J,wt=Vn,Ke=le.apply(Hs,Na),Ke}function Er(Vn){return wt=Vn,rt=Pl(zr,pe),Pt?lr(Vn):Ke}function jr(Vn){var Na=Vn-at,Hs=Vn-wt,Nf=pe-Na;return At?li(Nf,Ue-Hs):Nf}function Sr(Vn){var Na=Vn-at,Hs=Vn-wt;return at===J||Na>=pe||Na<0||At&&Hs>=Ue}function zr(){var Vn=tt();if(Sr(Vn))return Hr(Vn);rt=Pl(zr,jr(Vn))}function Hr(Vn){return rt=J,Ht&&Ce?lr(Vn):(Ce=ke=J,Ke)}function Bo(){rt!==J&&td(rt),wt=0,Ce=at=ke=rt=J}function to(){return rt===J?Ke:Hr(tt())}function Uo(){var Vn=tt(),Na=Sr(Vn);if(Ce=arguments,ke=this,at=Vn,Na){if(rt===J)return Er(at);if(At)return td(rt),rt=Pl(zr,pe),lr(at)}return rt===J&&(rt=Pl(zr,pe)),Ke}return Uo.cancel=Bo,Uo.flush=to,Uo}var ct=Fr(function(le,pe){return qc(le,1,pe)}),nt=Fr(function(le,pe,ve){return qc(le,sa(pe)||0,ve)});function mt(le){return ia(le,qe)}function Ft(le,pe){if(typeof le!="function"||pe!=null&&typeof pe!="function")throw new po(re);var ve=function(){var Ce=arguments,ke=pe?pe.apply(this,Ce):Ce[0],Ue=ve.cache;if(Ue.has(ke))return Ue.get(ke);var Ke=le.apply(this,Ce);return ve.cache=Ue.set(ke,Ke)||Ue,Ke};return ve.cache=new(Ft.Cache||fo),ve}Ft.Cache=fo;function tr(le){if(typeof le!="function")throw new po(re);return function(){var pe=arguments;switch(pe.length){case 0:return!le.call(this);case 1:return!le.call(this,pe[0]);case 2:return!le.call(this,pe[0],pe[1]);case 3:return!le.call(this,pe[0],pe[1],pe[2])}return!le.apply(this,pe)}}function fr(le){return It(2,le)}var hr=ep(function(le,pe){pe=pe.length==1&&kr(pe[0])?sn(pe[0],Qt(gr())):sn($n(pe,1),Qt(gr()));var ve=pe.length;return Fr(function(Ce){for(var ke=-1,Ue=li(Ce.length,ve);++ke=pe}),vu=Vu(function(){return arguments}())?Vu:function(le){return jn(le)&&Kr.call(le,"callee")&&!Cu.call(le,"callee")},kr=yt.isArray,Yf=Wa?Qt(Wa):Xd;function xo(le){return le!=null&&Tp(le.length)&&!zs(le)}function zn(le){return jn(le)&&xo(le)}function Jf(le){return le===!0||le===!1||jn(le)&&ei(le)==qt}var Cl=jc||vf,Zf=Wn?Qt(Wn):Ca;function Xf(le){return jn(le)&&le.nodeType===1&&!Ld(le)}function Qf(le){if(le==null)return!0;if(xo(le)&&(kr(le)||typeof le=="string"||typeof le.splice=="function"||Cl(le)||Ac(le)||vu(le)))return!le.length;var pe=ri(le);if(pe==ir||pe==Mr)return!le.size;if(ka(le))return!Ra(le).length;for(var ve in le)if(Kr.call(le,ve))return!1;return!0}function eh(le,pe){return vo(le,pe)}function th(le,pe,ve){ve=typeof ve=="function"?ve:J;var Ce=ve?ve(le,pe):J;return Ce===J?vo(le,pe,J,ve):!!Ce}function lf(le){if(!jn(le))return!1;var pe=ei(le);return pe==Tr||pe==vr||typeof le.message=="string"&&typeof le.name=="string"&&!Ld(le)}function rh(le){return typeof le=="number"&&il(le)}function zs(le){if(!In(le))return!1;var pe=ei(le);return pe==_r||pe==Yt||pe==Wt||pe==pr}function _f(le){return typeof le=="number"&&le==Nr(le)}function Tp(le){return typeof le=="number"&&le>-1&&le%1==0&&le<=Ze}function In(le){var pe=typeof le;return le!=null&&(pe=="object"||pe=="function")}function jn(le){return le!=null&&typeof le=="object"}var bf=ga?Qt(ga):Qd;function nh(le,pe){return le===pe||hl(le,pe,su(pe))}function ih(le,pe,ve){return ve=typeof ve=="function"?ve:J,hl(le,pe,su(pe),ve)}function oh(le){return Ef(le)&&le!=+le}function ah(le){if(Wp(le))throw new Cr(te);return Hc(le)}function sh(le){return le===null}function lh(le){return le==null}function Ef(le){return typeof le=="number"||jn(le)&&ei(le)==cr}function Ld(le){if(!jn(le)||ei(le)!=xr)return!1;var pe=Ao(le);if(pe===null)return!0;var ve=Kr.call(pe,"constructor")&&pe.constructor;return typeof ve=="function"&&ve instanceof ve&&Nl.call(ve)==Ou}var uf=Ho?Qt(Ho):Yl;function uh(le){return _f(le)&&le>=-9007199254740991&&le<=Ze}var Sf=Ga?Qt(Ga):ta;function Ip(le){return typeof le=="string"||!kr(le)&&jn(le)&&ei(le)==st}function Mo(le){return typeof le=="symbol"||jn(le)&&ei(le)==$t}var Ac=Ys?Qt(Ys):Jl;function ch(le){return le===J}function dh(le){return jn(le)&&ri(le)==Mt}function ph(le){return jn(le)&&ei(le)==rr}var fh=oc(os),hh=oc(function(le,pe){return le<=pe});function xf(le){if(!le)return[];if(xo(le))return Ip(le)?Yi(le):xi(le);if(xa&&le[xa])return Fp(le[xa]());var pe=ri(le),ve=pe==ir?Su:pe==Mr?Ja:Tc;return ve(le)}function Vs(le){if(!le)return le===0?le:0;if(le=sa(le),le===dt||le===-1/0){var pe=le<0?-1:1;return pe*ot}return le===le?le:0}function Nr(le){var pe=Vs(le),ve=pe%1;return pe===pe?ve?pe-ve:pe:0}function wf(le){return le?Pa(Nr(le),0,He):0}function sa(le){if(typeof le=="number")return le;if(Mo(le))return _t;if(In(le)){var pe=typeof le.valueOf=="function"?le.valueOf():le;le=In(pe)?pe+"":pe}if(typeof le!="string")return le===0?le:+le;le=Lt(le);var ve=ua.test(le);return ve||qo.test(le)?za(le.slice(2),ve?2:8):la.test(le)?_t:+le}function Pf(le){return Io(le,wo(le))}function mh(le){return le?Pa(Nr(le),-9007199254740991,Ze):le===0?le:0}function pn(le){return le==null?"":Mi(le)}var yh=bl(function(le,pe){if(ka(pe)||xo(pe)){Io(pe,mi(pe),le);return}for(var ve in pe)Kr.call(pe,ve)&&As(le,ve,pe[ve])}),Of=bl(function(le,pe){Io(pe,wo(pe),le)}),kp=bl(function(le,pe,ve,Ce){Io(pe,wo(pe),le,Ce)}),gh=bl(function(le,pe,ve,Ce){Io(pe,mi(pe),le,Ce)}),vh=oa(Bu);function _h(le,pe){var ve=ul(le);return pe==null?ve:bn(ve,pe)}var bh=Fr(function(le,pe){le=dn(le);var ve=-1,Ce=pe.length,ke=Ce>2?pe[2]:J;for(ke&&Pi(pe[0],pe[1],ke)&&(Ce=1);++ve1),Ue}),Io(le,ou(le),ve),Ce&&(ve=ji(ve,ce|de|me,dd));for(var ke=pe.length;ke--;)Ju(ve,pe[ke]);return ve});function jh(le,pe){return Cf(le,tr(gr(pe)))}var Mh=oa(function(le,pe){return le==null?{}:Yc(le,pe)});function Cf(le,pe){if(le==null)return{};var ve=sn(ou(le),function(Ce){return[Ce]});return pe=gr(pe),as(le,ve,function(Ce,ke){return pe(Ce,ke[0])})}function Bh(le,pe,ve){pe=na(pe,le);var Ce=-1,ke=pe.length;for(ke||(ke=1,le=J);++Cepe){var Ce=le;le=pe,pe=Ce}if(ve||le%1||pe%1){var ke=Ul();return li(le+ke*(pe-le+Ks("1e-"+((ke+"").length-1))),pe)}return yl(le,pe)}var Zh=Ns(function(le,pe,ve){return pe=pe.toLowerCase(),le+(ve?Tf(pe):pe)});function Tf(le){return pf(pn(le).toLowerCase())}function If(le){return le=pn(le),le&&le.replace(ys,Li).replace(_u,"")}function Xh(le,pe,ve){le=pn(le),pe=Mi(pe);var Ce=le.length;ve=ve===J?Ce:Pa(Nr(ve),0,Ce);var ke=ve;return ve-=pe.length,ve>=0&&le.slice(ve,ke)==pe}function Qh(le){return le=pn(le),le&&Ar.test(le)?le.replace(kt,Ss):le}function em(le){return le=pn(le),le&&kn.test(le)?le.replace(ai,"\\$&"):le}var tm=Ns(function(le,pe,ve){return le+(ve?"-":"")+pe.toLowerCase()}),rm=Ns(function(le,pe,ve){return le+(ve?" ":"")+pe.toLowerCase()}),nm=od("toLowerCase");function im(le,pe,ve){le=pn(le),pe=Nr(pe);var Ce=pe?xs(le):0;if(!pe||Ce>=pe)return le;var ke=(pe-Ce)/2;return nu(Za(ke),ve)+le+nu(Ps(ke),ve)}function om(le,pe,ve){le=pn(le),pe=Nr(pe);var Ce=pe?xs(le):0;return pe&&Ce>>0,ve?(le=pn(le),le&&(typeof pe=="string"||pe!=null&&!uf(pe))&&(pe=Mi(pe),!pe&&el(le))?Ta(Yi(le),0,ve):le.split(pe,ve)):[]}var pm=Ns(function(le,pe,ve){return le+(ve?" ":"")+pf(pe)});function fm(le,pe,ve){return le=pn(le),ve=ve==null?0:Pa(Nr(ve),0,le.length),pe=Mi(pe),le.slice(ve,ve+pe.length)==pe}function hm(le,pe,ve){var Ce=je.templateSettings;ve&&Pi(le,pe,ve)&&(pe=J),le=pn(le),pe=kp({},pe,Ce,ud);var ke=kp({},pe.imports,Ce.imports,ud),Ue=mi(ke),Ke=$r(ke,Ue),rt,at,wt=0,Pt=pe.interpolate||pa,At="__p += '",Ht=Fl((pe.escape||pa).source+"|"+Pt.source+"|"+(Pt===gn?Xr:pa).source+"|"+(pe.evaluate||pa).source+"|$","g"),lr="//# sourceURL="+(Kr.call(pe,"sourceURL")?(pe.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ln+"]")+` +`;le.replace(Ht,function(Sr,zr,Hr,Bo,to,Uo){return Hr||(Hr=Bo),At+=le.slice(wt,Uo).replace(Ws,Ll),zr&&(rt=!0,At+=`' + +__e(`+zr+`) + +'`),to&&(at=!0,At+=`'; +`+to+`; +__p += '`),Hr&&(At+=`' + +((__t = (`+Hr+`)) == null ? '' : __t) + +'`),wt=Uo+Sr.length,Sr}),At+=`'; +`;var Er=Kr.call(pe,"variable")&&pe.variable;if(!Er)At=`with (obj) { +`+At+` +} +`;else if(Rn.test(Er))throw new Cr(ne);At=(at?At.replace(mr,""):At).replace(nr,"$1").replace(dr,"$1;"),At="function("+(Er||"obj")+`) { +`+(Er?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(rt?", __e = _.escape":"")+(at?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+At+`return __p +}`;var jr=Lf(function(){return Gr(Ue,lr+"return "+At).apply(J,Ke)});if(jr.source=At,lf(jr))throw jr;return jr}function mm(le){return pn(le).toLowerCase()}function ym(le){return pn(le).toUpperCase()}function gm(le,pe,ve){if(le=pn(le),le&&(ve||pe===J))return Lt(le);if(!le||!(pe=Mi(pe)))return le;var Ce=Yi(le),ke=Yi(pe),Ue=cn(Ce,ke),Ke=Qn(Ce,ke)+1;return Ta(Ce,Ue,Ke).join("")}function vm(le,pe,ve){if(le=pn(le),le&&(ve||pe===J))return le.slice(0,wu(le)+1);if(!le||!(pe=Mi(pe)))return le;var Ce=Yi(le),ke=Qn(Ce,Yi(pe))+1;return Ta(Ce,0,ke).join("")}function _m(le,pe,ve){if(le=pn(le),le&&(ve||pe===J))return le.replace(zi,"");if(!le||!(pe=Mi(pe)))return le;var Ce=Yi(le),ke=cn(Ce,Yi(pe));return Ta(Ce,ke).join("")}function bm(le,pe){var ve=Ge,Ce=Je;if(In(pe)){var ke="separator"in pe?pe.separator:ke;ve="length"in pe?Nr(pe.length):ve,Ce="omission"in pe?Mi(pe.omission):Ce}le=pn(le);var Ue=le.length;if(el(le)){var Ke=Yi(le);Ue=Ke.length}if(ve>=Ue)return le;var rt=ve-xs(Ce);if(rt<1)return Ce;var at=Ke?Ta(Ke,0,rt).join(""):le.slice(0,rt);if(ke===J)return at+Ce;if(Ke&&(rt+=at.length-rt),uf(ke)){if(le.slice(rt).search(ke)){var wt,Pt=at;for(ke.global||(ke=Fl(ke.source,pn(Yn.exec(ke))+"g")),ke.lastIndex=0;wt=ke.exec(Pt);)var At=wt.index;at=at.slice(0,At===J?rt:At)}}else if(le.indexOf(Mi(ke),rt)!=rt){var Ht=at.lastIndexOf(ke);Ht>-1&&(at=at.slice(0,Ht))}return at+Ce}function Em(le){return le=pn(le),le&&Br.test(le)?le.replace(Zt,Fd):le}var Sm=Ns(function(le,pe,ve){return le+(ve?" ":"")+pe.toUpperCase()}),pf=od("toUpperCase");function kf(le,pe,ve){return le=pn(le),pe=ve?J:pe,pe===J?Lp(le)?jp(le):Zs(le):le.match(pe)||[]}var Lf=Fr(function(le,pe){try{return Ln(le,J,pe)}catch(ve){return lf(ve)?ve:new Cr(ve)}}),xm=oa(function(le,pe){return An(pe,function(ve){ve=No(ve),Xo(le,ve,Ct(le[ve],le))}),le});function Pm(le){var pe=le==null?0:le.length,ve=gr();return le=pe?sn(le,function(Ce){if(typeof Ce[1]!="function")throw new po(re);return[ve(Ce[0]),Ce[1]]}):[],Fr(function(Ce){for(var ke=-1;++keZe)return[];var ve=He,Ce=li(le,He);pe=gr(pe),le-=He;for(var ke=ut(Ce,pe);++ve0||pe<0)?new Ir(ve):(le<0?ve=ve.takeRight(-le):le&&(ve=ve.drop(le)),pe!==J&&(pe=Nr(pe),ve=pe<0?ve.dropRight(-pe):ve.take(pe-le)),ve)},Ir.prototype.takeRightWhile=function(le){return this.reverse().takeWhile(le).reverse()},Ir.prototype.toArray=function(){return this.take(He)},Xi(Ir.prototype,function(le,pe){var ve=/^(?:filter|find|map|reject)|While$/.test(pe),Ce=/^(?:head|last)$/.test(pe),ke=je[Ce?"take"+(pe=="last"?"Right":""):pe],Ue=Ce||/^find/.test(pe);ke&&(je.prototype[pe]=function(){var Ke=this.__wrapped__,rt=Ce?[1]:arguments,at=Ke instanceof Ir,wt=rt[0],Pt=at||kr(Ke),At=function(zr){var Hr=ke.apply(je,uo([zr],rt));return Ce&&Ht?Hr[0]:Hr};Pt&&ve&&typeof wt=="function"&&wt.length!=1&&(at=Pt=!1);var Ht=this.__chain__,lr=!!this.__actions__.length,Er=Ue&&!Ht,jr=at&&!lr;if(!Ue&&Pt){Ke=jr?Ke:new Ir(this);var Sr=le.apply(Ke,rt);return Sr.__actions__.push({func:jo,args:[At],thisArg:J}),new ui(Sr,Ht)}return Er&&jr?le.apply(this,rt):(Sr=this.thru(At),Er?Ce?Sr.value()[0]:Sr.value():Sr)})}),An(["pop","push","shift","sort","splice","unshift"],function(le){var pe=Ea[le],ve=/^(?:push|sort|unshift)$/.test(le)?"tap":"thru",Ce=/^(?:pop|shift)$/.test(le);je.prototype[le]=function(){var ke=arguments;if(Ce&&!this.__chain__){var Ue=this.value();return pe.apply(kr(Ue)?Ue:[],ke)}return this[ve](function(Ke){return pe.apply(kr(Ke)?Ke:[],ke)})}}),Xi(Ir.prototype,function(le,pe){var ve=je[pe];if(ve){var Ce=ve.name+"";Kr.call(sl,Ce)||(sl[Ce]=[]),sl[Ce].push({name:pe,func:ve})}}),sl[Sl(J,be).name]=[{name:"wrapper",func:J}],Ir.prototype.clone=Fu,Ir.prototype.reverse=Bc,Ir.prototype.value=cl,je.prototype.at=Ec,je.prototype.chain=qs,je.prototype.commit=Sc,je.prototype.next=Rd,je.prototype.plant=rf,je.prototype.reverse=Td,je.prototype.toJSON=je.prototype.valueOf=je.prototype.value=nf,je.prototype.first=je.prototype.head,xa&&(je.prototype[xa]=Ad),je},tl=Mp();lo?((lo.exports=tl)._=tl,Ha._=tl):hn._=tl}).call(lodash)}(lodash$1,lodash$1.exports)),lodash$1.exports}var lodashExports=requireLodash();let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const REGEX=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function validate$1(e){return typeof e=="string"&®EX.test(e)}const byteToHex=[];for(let e=0;e<256;++e)byteToHex.push((e+256).toString(16).slice(1));function unsafeStringify(e,V=0){return byteToHex[e[V+0]]+byteToHex[e[V+1]]+byteToHex[e[V+2]]+byteToHex[e[V+3]]+"-"+byteToHex[e[V+4]]+byteToHex[e[V+5]]+"-"+byteToHex[e[V+6]]+byteToHex[e[V+7]]+"-"+byteToHex[e[V+8]]+byteToHex[e[V+9]]+"-"+byteToHex[e[V+10]]+byteToHex[e[V+11]]+byteToHex[e[V+12]]+byteToHex[e[V+13]]+byteToHex[e[V+14]]+byteToHex[e[V+15]]}const randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native={randomUUID};function v4(e,V,J){if(native.randomUUID&&!e)return native.randomUUID();e=e||{};const $=e.random||(e.rng||rng)();return $[6]=$[6]&15|64,$[8]=$[8]&63|128,unsafeStringify($)}const MACHINE_ID_KEY="machineId";function fetchOrCreateMachineIdFromStorage(){const e=localStorage.getItem(MACHINE_ID_KEY);if(e&&validate$1(e))return e;const V=v4();try{localStorage.setItem(MACHINE_ID_KEY,V)}catch{return null}return V}function setMachineIdInStorage(e){if(validate$1(e))try{localStorage.setItem(MACHINE_ID_KEY,e)}catch{}}function clearMachineIdInStorage(){localStorage.removeItem(MACHINE_ID_KEY)}let token;function setRequestHeader(e,V,J){e.headers?.set?e.headers.set(V,J):e.headers?e.headers[V]=J:e.headers=new AxiosHeaders({name:J})}function requestInterceptor(e){!["GET","HEAD","OPTIONS","TRACE"].includes(e.method?.toUpperCase()??"GET")&&isNonEmptyString(token)&&setRequestHeader(e,"x-csrf-token",token);const J=fetchOrCreateMachineIdFromStorage();return J&&setRequestHeader(e,"x-streamlit-machine-id",J),e}function updateCSRFTokenFromResponse(e,V){if(V){if(isNonEmptyString(V?.request?.responseURL))try{const J=new URL(V?.request?.responseURL);if(J.pathname.startsWith("/api/v1/telemetry/datadog")||J.pathname.startsWith("/api/v1/event"))return}catch{}(e||V.headers["x-csrf-token"])&&(token=V.headers["x-csrf-token"])}}function errorResponseInterceptor(e){throw updateCSRFTokenFromResponse(!1,e.response),e}function responseInterceptor(e){return updateCSRFTokenFromResponse(!0,e),e}const setInterceptors=()=>{axios.interceptors.request.use(requestInterceptor),axios.interceptors.response.use(responseInterceptor,errorResponseInterceptor)},setBaseURL=()=>{axios.defaults.baseURL="/api/v1/"};function initAxios(){setBaseURL(),setInterceptors()}const BASE_PATH="/api/v2";function removeDashboardAndSubdomainPath(e){if(e.url){let V=e.url;V.startsWith("/api/v2/dashboard/")?V=V.replace("/api/v2/dashboard/","/api/v2/"):V.startsWith("/api/v2/subdomain/")?V=V.replace("/api/v2/subdomain/","/api/v2/"):V.startsWith("/dashboard/")?V=BASE_PATH+V.replace("/dashboard/","/"):V.startsWith("/subdomain/")&&(V=BASE_PATH+V.replace("/subdomain/","/")),e.url=V}return{...e}}function createApiConfiguration(){const e=new Configuration({basePath:BASE_PATH}),V=axios.create({baseURL:"/"});return V.interceptors.request.use(requestInterceptor),V.interceptors.request.use(removeDashboardAndSubdomainPath),V.interceptors.response.use(responseInterceptor,errorResponseInterceptor),{configuration:e,axiosInstance:V}}function getAppsApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new AppsApi(e,BASE_PATH,V)}const getAppsApiClient=lodashExports.memoize(getAppsApiImpl);function getCodespacesApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new CodespacesApi(e,BASE_PATH,V)}const getCodespacesApiClient=lodashExports.memoize(getCodespacesApiImpl);function getTelemetryApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new TelemetryApi(e,BASE_PATH,V)}const getTelemetryApiClient=lodashExports.memoize(getTelemetryApiImpl);function getUserApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new UserApi(e,BASE_PATH,V)}const getUserApiClient=lodashExports.memoize(getUserApiImpl);function getFeatureFlagsImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new FeatureFlagsApi(e,BASE_PATH,V)}const getFeatureFlagsApiClient=lodashExports.memoize(getFeatureFlagsImpl);function getGalleryApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new GalleryApi(e,BASE_PATH,V)}const getGalleryApiClient=lodashExports.memoize(getGalleryApiImpl);function getProfilePageApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new ProfilesApi(e,BASE_PATH,V)}function getGitHubApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new GithubApi(e,BASE_PATH,V)}const getGithubApiClient=lodashExports.memoize(getGitHubApiImpl),getProfilePageApiClient=lodashExports.memoize(getProfilePageApiImpl);function getConfigApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new ConfigApi(e,BASE_PATH,V)}const getConfigApiClient=lodashExports.memoize(getConfigApiImpl);function getIpGeolocationApiImpl(){const{configuration:e,axiosInstance:V}=createApiConfiguration();return new IpGeolocationApi(e,BASE_PATH,V)}const getIpGeolocationApiClient=lodashExports.memoize(getIpGeolocationApiImpl);function getGitHubSourceProviderConnection(e){return e!=null&&e.length>0?e[0]:null}async function fetchUserInfo(){return await getUserApiClient().getUser({validateStatus:function(V){return V===200||V===401||V===404}}).then(V=>V.data)}function getUserKey(){return isSubdomainApp()?null:"user"}const useWorkspaceAssociatedWithConnectedGitHubAccount=()=>{const e=useUser();if(!e?.workspaces||e.workspaces.length===0||!e.user?.login)return;const V=e.user.login;for(const J of e.workspaces)if(J.name===V)return J},useUser=()=>{const e=useDispatch(),V=getUserKey(),{data:J,isValidating:$,mutate:ee,error:te,isLoading:re}=useSWR(V,{fetcher:fetchUserInfo});let ne,ie,ae,ue,ce,de,me;if(J?.user?.login!=null&&(ne={...J.user,canonicalUserId:J.canonicalUserId,ssoInfo:J.ssoInfo},ie=J.permissions,ae=J.workspaces,ue=J.onboarding,ce=J.sourceProviderConnections,de=J.profilePageUserName,me=J.preferences),ne!=null){const{canonicalUserId:ge,login:_e,email:be}=ne;isNonEmptyString(ge)&&isNonEmptyString(_e)&&isNonEmptyString(be)&&e(initialize({id:ge,login:_e,email:be}))}const he=isNonEmptyString(J?.linkedGithubUser)?{githubUser:J?.linkedGithubUser}:null;return{user:ne,permissions:ie,workspaces:ae,error:te,setUser:ee,isPending:re,isValidating:$,linkedUser:he,onBoardingItem:ue,sourceProviderConnections:ce,profilePageUserName:de,preferences:me}};var reactFastCompare$1,hasRequiredReactFastCompare$1;function requireReactFastCompare$1(){if(hasRequiredReactFastCompare$1)return reactFastCompare$1;hasRequiredReactFastCompare$1=1;var e=typeof Element<"u",V=typeof Map=="function",J=typeof Set=="function",$=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ee(te,re){if(te===re)return!0;if(te&&re&&typeof te=="object"&&typeof re=="object"){if(te.constructor!==re.constructor)return!1;var ne,ie,ae;if(Array.isArray(te)){if(ne=te.length,ne!=re.length)return!1;for(ie=ne;ie--!==0;)if(!ee(te[ie],re[ie]))return!1;return!0}var ue;if(V&&te instanceof Map&&re instanceof Map){if(te.size!==re.size)return!1;for(ue=te.entries();!(ie=ue.next()).done;)if(!re.has(ie.value[0]))return!1;for(ue=te.entries();!(ie=ue.next()).done;)if(!ee(ie.value[1],re.get(ie.value[0])))return!1;return!0}if(J&&te instanceof Set&&re instanceof Set){if(te.size!==re.size)return!1;for(ue=te.entries();!(ie=ue.next()).done;)if(!re.has(ie.value[0]))return!1;return!0}if($&&ArrayBuffer.isView(te)&&ArrayBuffer.isView(re)){if(ne=te.length,ne!=re.length)return!1;for(ie=ne;ie--!==0;)if(te[ie]!==re[ie])return!1;return!0}if(te.constructor===RegExp)return te.source===re.source&&te.flags===re.flags;if(te.valueOf!==Object.prototype.valueOf)return te.valueOf()===re.valueOf();if(te.toString!==Object.prototype.toString)return te.toString()===re.toString();if(ae=Object.keys(te),ne=ae.length,ne!==Object.keys(re).length)return!1;for(ie=ne;ie--!==0;)if(!Object.prototype.hasOwnProperty.call(re,ae[ie]))return!1;if(e&&te instanceof Element)return!1;for(ie=ne;ie--!==0;)if(!((ae[ie]==="_owner"||ae[ie]==="__v"||ae[ie]==="__o")&&te.$$typeof)&&!ee(te[ae[ie]],re[ae[ie]]))return!1;return!0}return te!==te&&re!==re}return reactFastCompare$1=function(re,ne){try{return ee(re,ne)}catch(ie){if((ie.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw ie}},reactFastCompare$1}var reactFastCompareExports$1=requireReactFastCompare$1();const n=getDefaultExportFromCjs(reactFastCompareExports$1);var browser,hasRequiredBrowser;function requireBrowser(){if(hasRequiredBrowser)return browser;hasRequiredBrowser=1;var e=function(V,J,$,ee,te,re,ne,ie){if(!V){var ae;if(J===void 0)ae=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var ue=[$,ee,te,re,ne,ie],ce=0;ae=new Error(J.replace(/%s/g,function(){return ue[ce++]})),ae.name="Invariant Violation"}throw ae.framesToPop=1,ae}};return browser=e,browser}var browserExports=requireBrowser();const i=getDefaultExportFromCjs(browserExports);var shallowequal,hasRequiredShallowequal;function requireShallowequal(){return hasRequiredShallowequal||(hasRequiredShallowequal=1,shallowequal=function(V,J,$,ee){var te=$?$.call(ee,V,J):void 0;if(te!==void 0)return!!te;if(V===J)return!0;if(typeof V!="object"||!V||typeof J!="object"||!J)return!1;var re=Object.keys(V),ne=Object.keys(J);if(re.length!==ne.length)return!1;for(var ie=Object.prototype.hasOwnProperty.bind(J),ae=0;ae=0||(ee[J]=e[J]);return ee}var l={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p={rel:["amphtml","canonical","alternate"]},f={type:["application/ld+json"]},d={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},h=Object.keys(l).map(function(e){return l[e]}),m$1={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},y=Object.keys(m$1).reduce(function(e,V){return e[m$1[V]]=V,e},{}),T=function(e,V){for(var J=e.length-1;J>=0;J-=1){var $=e[J];if(Object.prototype.hasOwnProperty.call($,V))return $[V]}return null},g=function(e){var V=T(e,l.TITLE),J=T(e,"titleTemplate");if(Array.isArray(V)&&(V=V.join("")),J&&V)return J.replace(/%s/g,function(){return V});var $=T(e,"defaultTitle");return V||$||void 0},b=function(e){return T(e,"onChangeClientState")||function(){}},v=function(e,V){return V.filter(function(J){return J[e]!==void 0}).map(function(J){return J[e]}).reduce(function(J,$){return a({},J,$)},{})},A=function(e,V){return V.filter(function(J){return J[l.BASE]!==void 0}).map(function(J){return J[l.BASE]}).reverse().reduce(function(J,$){if(!J.length)for(var ee=Object.keys($),te=0;te/g,">").replace(/"/g,""").replace(/'/g,"'")},x=function(e){return Object.keys(e).reduce(function(V,J){var $=e[J]!==void 0?J+'="'+e[J]+'"':""+J;return V?V+" "+$:$},"")},L=function(e,V){return V===void 0&&(V={}),Object.keys(e).reduce(function(J,$){return J[m$1[$]||$]=e[$],J},V)},j=function(e,V){return V.map(function(J,$){var ee,te=((ee={key:$})["data-rh"]=!0,ee);return Object.keys(J).forEach(function(re){var ne=m$1[re]||re;ne==="innerHTML"||ne==="cssText"?te.dangerouslySetInnerHTML={__html:J.innerHTML||J.cssText}:te[ne]=J[re]}),React.createElement(e,te)})},M=function(e,V,J){switch(e){case l.TITLE:return{toComponent:function(){return ee=V.titleAttributes,(te={key:$=V.title})["data-rh"]=!0,re=L(ee,te),[React.createElement(l.TITLE,re,$)];var $,ee,te,re},toString:function(){return function($,ee,te,re){var ne=x(te),ie=S(ee);return ne?"<"+$+' data-rh="true" '+ne+">"+w$1(ie,re)+"":"<"+$+' data-rh="true">'+w$1(ie,re)+""}(e,V.title,V.titleAttributes,J)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return L(V)},toString:function(){return x(V)}};default:return{toComponent:function(){return j(e,V)},toString:function(){return function($,ee,te){return ee.reduce(function(re,ne){var ie=Object.keys(ne).filter(function(ce){return!(ce==="innerHTML"||ce==="cssText")}).reduce(function(ce,de){var me=ne[de]===void 0?de:de+'="'+w$1(ne[de],te)+'"';return ce?ce+" "+me:me},""),ae=ne.innerHTML||ne.cssText||"",ue=P.indexOf($)===-1;return re+"<"+$+' data-rh="true" '+ie+(ue?"/>":">"+ae+"")},"")}(e,V,J)}}}},k=function(e){var V=e.baseTag,J=e.bodyAttributes,$=e.encode,ee=e.htmlAttributes,te=e.noscriptTags,re=e.styleTags,ne=e.title,ie=ne===void 0?"":ne,ae=e.titleAttributes,ue=e.linkTags,ce=e.metaTags,de=e.scriptTags,me={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var he=function(ge){var _e=ge.linkTags,be=ge.scriptTags,Ee=ge.encode,Pe=E(ge.metaTags,d),$e=E(_e,p),Re=E(be,f);return{priorityMethods:{toComponent:function(){return[].concat(j(l.META,Pe.priority),j(l.LINK,$e.priority),j(l.SCRIPT,Re.priority))},toString:function(){return M(l.META,Pe.priority,Ee)+" "+M(l.LINK,$e.priority,Ee)+" "+M(l.SCRIPT,Re.priority,Ee)}},metaTags:Pe.default,linkTags:$e.default,scriptTags:Re.default}}(e);me=he.priorityMethods,ue=he.linkTags,ce=he.metaTags,de=he.scriptTags}return{priority:me,base:M(l.BASE,V,$),bodyAttributes:M("bodyAttributes",J,$),htmlAttributes:M("htmlAttributes",ee,$),link:M(l.LINK,ue,$),meta:M(l.META,ce,$),noscript:M(l.NOSCRIPT,te,$),script:M(l.SCRIPT,de,$),style:M(l.STYLE,re,$),title:M(l.TITLE,{title:ie,titleAttributes:ae},$)}},H=[],N=function(e,V){var J=this;V===void 0&&(V=typeof document<"u"),this.instances=[],this.value={setHelmet:function($){J.context.helmet=$},helmetInstances:{get:function(){return J.canUseDOM?H:J.instances},add:function($){(J.canUseDOM?H:J.instances).push($)},remove:function($){var ee=(J.canUseDOM?H:J.instances).indexOf($);(J.canUseDOM?H:J.instances).splice(ee,1)}}},this.context=e,this.canUseDOM=V,V||(e.helmet=k({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},R=React.createContext({}),D=PropTypes.shape({setHelmet:PropTypes.func,helmetInstances:PropTypes.shape({get:PropTypes.func,add:PropTypes.func,remove:PropTypes.func})}),U=typeof document<"u",q=function(e){function V(J){var $;return($=e.call(this,J)||this).helmetData=new N($.props.context,V.canUseDOM),$}return s(V,e),V.prototype.render=function(){return React.createElement(R.Provider,{value:this.helmetData.value},this.props.children)},V}(reactExports.Component);q.canUseDOM=U,q.propTypes={context:PropTypes.shape({helmet:PropTypes.shape()}),children:PropTypes.node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var Y=function(e,V){var J,$=document.head||document.querySelector(l.HEAD),ee=$.querySelectorAll(e+"[data-rh]"),te=[].slice.call(ee),re=[];return V&&V.length&&V.forEach(function(ne){var ie=document.createElement(e);for(var ae in ne)Object.prototype.hasOwnProperty.call(ne,ae)&&(ae==="innerHTML"?ie.innerHTML=ne.innerHTML:ae==="cssText"?ie.styleSheet?ie.styleSheet.cssText=ne.cssText:ie.appendChild(document.createTextNode(ne.cssText)):ie.setAttribute(ae,ne[ae]===void 0?"":ne[ae]));ie.setAttribute("data-rh","true"),te.some(function(ue,ce){return J=ce,ie.isEqualNode(ue)})?te.splice(J,1):re.push(ie)}),te.forEach(function(ne){return ne.parentNode.removeChild(ne)}),re.forEach(function(ne){return $.appendChild(ne)}),{oldTags:te,newTags:re}},B=function(e,V){var J=document.getElementsByTagName(e)[0];if(J){for(var $=J.getAttribute("data-rh"),ee=$?$.split(","):[],te=[].concat(ee),re=Object.keys(V),ne=0;ne=0;ce-=1)J.removeAttribute(te[ce]);ee.length===te.length?J.removeAttribute("data-rh"):J.getAttribute("data-rh")!==re.join(",")&&J.setAttribute("data-rh",re.join(","))}},K=function(e,V){var J=e.baseTag,$=e.htmlAttributes,ee=e.linkTags,te=e.metaTags,re=e.noscriptTags,ne=e.onChangeClientState,ie=e.scriptTags,ae=e.styleTags,ue=e.title,ce=e.titleAttributes;B(l.BODY,e.bodyAttributes),B(l.HTML,$),function(ge,_e){ge!==void 0&&document.title!==ge&&(document.title=S(ge)),B(l.TITLE,_e)}(ue,ce);var de={baseTag:Y(l.BASE,J),linkTags:Y(l.LINK,ee),metaTags:Y(l.META,te),noscriptTags:Y(l.NOSCRIPT,re),scriptTags:Y(l.SCRIPT,ie),styleTags:Y(l.STYLE,ae)},me={},he={};Object.keys(de).forEach(function(ge){var _e=de[ge],be=_e.newTags,Ee=_e.oldTags;be.length&&(me[ge]=be),Ee.length&&(he[ge]=de[ge].oldTags)}),V&&V(),ne(e,me,he)},_=null,z=function(e){function V(){for(var $,ee=arguments.length,te=new Array(ee),re=0;re elements are self-closing and can not contain children. Refer to our API for more information.")}},J.flattenArrayTypeChildren=function($){var ee,te=$.child,re=$.arrayTypeChildren;return a({},re,((ee={})[te.type]=[].concat(re[te.type]||[],[a({},$.newChildProps,this.mapNestedChildrenToProps(te,$.nestedChildren))]),ee))},J.mapObjectTypeChildren=function($){var ee,te,re=$.child,ne=$.newProps,ie=$.newChildProps,ae=$.nestedChildren;switch(re.type){case l.TITLE:return a({},ne,((ee={})[re.type]=ae,ee.titleAttributes=a({},ie),ee));case l.BODY:return a({},ne,{bodyAttributes:a({},ie)});case l.HTML:return a({},ne,{htmlAttributes:a({},ie)});default:return a({},ne,((te={})[re.type]=a({},ie),te))}},J.mapArrayTypeChildrenToProps=function($,ee){var te=a({},ee);return Object.keys($).forEach(function(re){var ne;te=a({},te,((ne={})[re]=$[re],ne))}),te},J.warnOnInvalidChildren=function($,ee){return i(h.some(function(te){return $.type===te}),typeof $.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+h.join(", ")+" are allowed. Helmet does not support rendering <"+$.type+"> elements. Refer to our API for more information."),i(!ee||typeof ee=="string"||Array.isArray(ee)&&!ee.some(function(te){return typeof te!="string"}),"Helmet expects a string as a child of <"+$.type+">. Did you forget to wrap your children in braces? ( <"+$.type+">{``} ) Refer to our API for more information."),!0},J.mapChildrenToProps=function($,ee){var te=this,re={};return React.Children.forEach($,function(ne){if(ne&&ne.props){var ie=ne.props,ae=ie.children,ue=u(ie,F),ce=Object.keys(ue).reduce(function(me,he){return me[y[he]||he]=ue[he],me},{}),de=ne.type;switch(typeof de=="symbol"?de=de.toString():te.warnOnInvalidChildren(ne,ae),de){case l.FRAGMENT:ee=te.mapChildrenToProps(ae,ee);break;case l.LINK:case l.META:case l.NOSCRIPT:case l.SCRIPT:case l.STYLE:re=te.flattenArrayTypeChildren({child:ne,arrayTypeChildren:re,newChildProps:ce,nestedChildren:ae});break;default:ee=te.mapObjectTypeChildren({child:ne,newProps:ee,newChildProps:ce,nestedChildren:ae})}}}),this.mapArrayTypeChildrenToProps(re,ee)},J.render=function(){var $=this.props,ee=$.children,te=u($,G),re=a({},te),ne=te.helmetData;return ee&&(re=this.mapChildrenToProps(ee,re)),!ne||ne instanceof N||(ne=new N(ne.context,ne.instances)),ne?React.createElement(z,a({},re,{context:ne.value,helmetData:void 0})):React.createElement(R.Consumer,null,function(ie){return React.createElement(z,a({},re,{context:ie}))})},V}(reactExports.Component);W.propTypes={base:PropTypes.object,bodyAttributes:PropTypes.object,children:PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node),PropTypes.node]),defaultTitle:PropTypes.string,defer:PropTypes.bool,encodeSpecialCharacters:PropTypes.bool,htmlAttributes:PropTypes.object,link:PropTypes.arrayOf(PropTypes.object),meta:PropTypes.arrayOf(PropTypes.object),noscript:PropTypes.arrayOf(PropTypes.object),onChangeClientState:PropTypes.func,script:PropTypes.arrayOf(PropTypes.object),style:PropTypes.arrayOf(PropTypes.object),title:PropTypes.string,titleAttributes:PropTypes.object,titleTemplate:PropTypes.string,prioritizeSeoTags:PropTypes.bool,helmetData:PropTypes.object},W.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},W.displayName="Helmet";const errorDetails="_errorDetails_90vz9_1",styles$W={errorDetails};function parseAPIError(e){let V="Unknown error",J="0ST";if(e.response){const $=e.response?.data;e?.response?.data.detail?V=e?.response?.data?.detail:$?.error&&(V=$?.error),e.response?.status&&(J=`${e.response?.status}`)}else e.request?(V="Received no response from server",J="1ST"):e.message&&(V=e.message,J=`2ST ${e.code||""}`);return{errorMessage:V,errorCode:J}}function formatErrorDetails(e){if(typeof e=="string")return e;const{errorMessage:V,errorCode:J}=parseAPIError(e);return` + Error: ${V} + Code: ${J} + `}function ErrorDetails({details:e}){return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:e&&jsxRuntimeExports.jsx("div",{className:styles$W.errorDetails,children:formatErrorDetails(e)})})}const ErrorDetails$1=reactExports.memo(ErrorDetails);var KIND$2=Object.freeze({info:"info",positive:"positive",warning:"warning",negative:"negative"}),TYPE$1=Object.freeze({inline:"inline",toast:"toast"}),PLACEMENT$1=Object.freeze({topLeft:"topLeft",top:"top",topRight:"topRight",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft"});function getSvgStyles$1(e){var V=e.$theme,J=e.$size,$=e.$color,ee=V.sizing.scale600;J&&(V.sizing[J]?ee=V.sizing[J]:typeof J=="number"?ee="".concat(J,"px"):ee=J);var te="currentColor";return $&&(V.colors[$]?te=V.colors[$]:te=$),{display:"inline-block",fill:te,color:te,height:ee,width:ee}}var Svg=styled("svg",getSvgStyles$1);Svg.displayName="Svg";Svg.displayName="Svg";function _objectDestructuringEmpty(e){if(e==null)throw new TypeError("Cannot destructure undefined")}function ownKeys$s(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$s(e){for(var V=1;Ve.length)&&(V=e.length);for(var J=0,$=new Array(V);J=0)&&Object.prototype.propertyIsEnumerable.call(e,$)&&(J[$]=e[$])}return J}function _objectWithoutPropertiesLoose$r(e,V){if(e==null)return{};var J={},$=Object.keys(e),ee,te;for(te=0;te<$.length;te++)ee=$[te],!(V.indexOf(ee)>=0)&&(J[ee]=e[ee]);return J}var Icon=function e(V,J){var $=V.children,ee=V.title,te=V.size,re=V.color,ne=V.overrides,ie=ne===void 0?{}:ne,ae=_objectWithoutProperties$p(V,_excluded$p),ue=getOverrides(ie.Svg,Svg),ce=_slicedToArray$s(ue,2),de=ce[0],me=ce[1],he=de.__STYLETRON__?_objectSpread$r(_objectSpread$r({title:ee,$color:re,$size:te},ae),me):_objectSpread$r(_objectSpread$r({title:ee,color:re,size:te},omitDollarPrefixedKeys(ae)),omitDollarPrefixedKeys(me));return reactExports.createElement(de,_extends$D({"data-baseweb":"icon",ref:J},he),ee?reactExports.createElement("title",null,ee):null,$)};const Icon$1=reactExports.forwardRef(Icon);var _excluded$o=["title","size","color","overrides"];function _extends$C(){return _extends$C=Object.assign?Object.assign.bind():function(e){for(var V=1;V=0)&&Object.prototype.propertyIsEnumerable.call(e,$)&&(J[$]=e[$])}return J}function _objectWithoutPropertiesLoose$q(e,V){if(e==null)return{};var J={},$=Object.keys(e),ee,te;for(te=0;te<$.length;te++)ee=$[te],!(V.indexOf(ee)>=0)&&(J[ee]=e[ee]);return J}function _slicedToArray$r(e,V){return _arrayWithHoles$q(e)||_iterableToArrayLimit$q(e,V)||_unsupportedIterableToArray$q(e,V)||_nonIterableRest$q()}function _nonIterableRest$q(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$q(e,V){if(e){if(typeof e=="string")return _arrayLikeToArray$q(e,V);var J=Object.prototype.toString.call(e).slice(8,-1);if(J==="Object"&&e.constructor&&(J=e.constructor.name),J==="Map"||J==="Set")return Array.from(e);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return _arrayLikeToArray$q(e,V)}}function _arrayLikeToArray$q(e,V){(V==null||V>e.length)&&(V=e.length);for(var J=0,$=new Array(V);Je.length)&&(V=e.length);for(var J=0,$=new Array(V);J"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$j(e){return _getPrototypeOf$j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},_getPrototypeOf$j(e)}function _defineProperty$C(e,V,J){return V in e?Object.defineProperty(e,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):e[V]=J,e}var Toast=function(e){_inherits$j(J,e);var V=_createSuper$j(J);function J($){var ee;return _classCallCheck$j(this,J),ee=V.call(this,$),_defineProperty$C(_assertThisInitialized$j(ee),"autoHideTimeout",void 0),_defineProperty$C(_assertThisInitialized$j(ee),"animateInTimer",void 0),_defineProperty$C(_assertThisInitialized$j(ee),"animateOutCompleteTimer",void 0),_defineProperty$C(_assertThisInitialized$j(ee),"closeRef",void 0),_defineProperty$C(_assertThisInitialized$j(ee),"previouslyFocusedElement",void 0),_defineProperty$C(_assertThisInitialized$j(ee),"state",{isVisible:!1,isRendered:!0,isFocusVisible:!1}),_defineProperty$C(_assertThisInitialized$j(ee),"handleFocus",function(te){isFocusVisible(te)&&ee.setState({isFocusVisible:!0})}),_defineProperty$C(_assertThisInitialized$j(ee),"handleBlur",function(te){ee.state.isFocusVisible!==!1&&ee.setState({isFocusVisible:!1})}),_defineProperty$C(_assertThisInitialized$j(ee),"animateIn",function(){ee.animateInTimer=setTimeout(function(){ee.setState({isVisible:!0})},0)}),_defineProperty$C(_assertThisInitialized$j(ee),"animateOut",function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};ee.setState({isVisible:!1}),ee.animateOutCompleteTimer=setTimeout(function(){ee.setState({isRendered:!1}),te()},600)}),_defineProperty$C(_assertThisInitialized$j(ee),"dismiss",function(){ee.animateOut(ee.props.onClose),ee.props.autoFocus&&ee.previouslyFocusedElement&&ee.previouslyFocusedElement.focus()}),_defineProperty$C(_assertThisInitialized$j(ee),"onFocus",function(te){ee.state.isVisible&&(clearTimeout(ee.autoHideTimeout),clearTimeout(ee.animateOutCompleteTimer),typeof ee.props.onFocus=="function"&&ee.props.onFocus(te))}),_defineProperty$C(_assertThisInitialized$j(ee),"onMouseEnter",function(te){ee.state.isVisible&&(clearTimeout(ee.autoHideTimeout),clearTimeout(ee.animateOutCompleteTimer),typeof ee.props.onMouseEnter=="function"&&ee.props.onMouseEnter(te))}),_defineProperty$C(_assertThisInitialized$j(ee),"onBlur",function(te){ee.startTimeout(),typeof ee.props.onBlur=="function"&&ee.props.onBlur(te)}),_defineProperty$C(_assertThisInitialized$j(ee),"onMouseLeave",function(te){ee.startTimeout(),typeof ee.props.onMouseLeave=="function"&&ee.props.onMouseLeave(te)}),ee.closeRef=reactExports.createRef(),ee.previouslyFocusedElement=null,ee}return _createClass$j(J,[{key:"componentDidMount",value:function(){this.animateIn(),this.startTimeout(),typeof document<"u"&&this.props.autoFocus&&this.closeRef&&this.closeRef.current&&this.closeRef.current.focus&&typeof this.closeRef.current.focus=="function"&&(this.previouslyFocusedElement=document.activeElement,this.closeRef.current.focus(),this.setState({isFocusVisible:!0}))}},{key:"componentDidUpdate",value:function(ee){(this.props.autoHideDuration!==ee.autoHideDuration||this.props.__updated!==ee.__updated)&&this.startTimeout()}},{key:"componentWillUnmount",value:function(){this.clearTimeout()}},{key:"startTimeout",value:function(){this.props.autoHideDuration&&(this.autoHideTimeout&&clearTimeout(this.autoHideTimeout),this.autoHideTimeout=setTimeout(this.dismiss,this.props.autoHideDuration))}},{key:"clearTimeout",value:function($){function ee(){return $.apply(this,arguments)}return ee.toString=function(){return $.toString()},ee}(function(){[this.autoHideTimeout,this.animateInTimer,this.animateOutCompleteTimer].forEach(function($){$&&clearTimeout($)})})},{key:"getSharedProps",value:function(){var ee=this.props,te=ee.kind,re=ee.notificationType,ne=ee.closeable,ie=this.state,ae=ie.isRendered,ue=ie.isVisible;return{$kind:te,$type:re,$closeable:ne,$isRendered:ae,$isVisible:ue}}},{key:"render",value:function(){var ee=this,te=this.props,re=te.children,ne=te.closeable,ie=this.state.isRendered,ae=this.props.overrides,ue=ae.Body,ce=ae.CloseIcon,de=ae.InnerContainer,me=getOverrides(ue,Body$2),he=_slicedToArray$q(me,2),ge=he[0],_e=he[1],be=getOverrides(de,InnerContainer),Ee=_slicedToArray$q(be,2),Pe=Ee[0],$e=Ee[1],Re=getOverrides(ce,CloseIconSvg),Le=_slicedToArray$q(Re,2),Ie=Le[0],Be=Le[1],qe=mergeOverrides({Svg:{component:Ie}},{Svg:ce}),Ge=this.getSharedProps();return ie?reactExports.createElement(LocaleContext.Consumer,null,function(Je){return reactExports.createElement(ge,_extends$B({role:"alert","data-baseweb":ee.props["data-baseweb"]||"toast"},Ge,_e,{onBlur:ee.onBlur,onFocus:ee.onFocus,onMouseEnter:ee.onMouseEnter,onMouseLeave:ee.onMouseLeave}),reactExports.createElement(Pe,_extends$B({},Ge,$e),typeof re=="function"?re({dismiss:ee.dismiss}):re),ne?reactExports.createElement(DeleteIcon,_extends$B({ref:ee.closeRef,role:"button",tabIndex:0,$isFocusVisible:ee.state.isFocusVisible,onClick:ee.dismiss,onKeyPress:function(Ne){Ne.key==="Enter"&&ee.dismiss()},title:Je.toast.close},Ge,Be,{onFocus:forkFocus(Be,ee.handleFocus),onBlur:forkBlur(Be,ee.handleBlur),overrides:qe})):null)}):null}}]),J}(reactExports.Component);_defineProperty$C(Toast,"defaultProps",{autoFocus:!1,autoHideDuration:0,closeable:!0,kind:KIND$2.info,notificationType:TYPE$1.toast,onClose:function e(){},onBlur:function e(){},onFocus:function e(){},onMouseEnter:function e(){},onMouseLeave:function e(){},overrides:{}});function _typeof$j(e){"@babel/helpers - typeof";return _typeof$j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},_typeof$j(e)}var _excluded$n=["onClose","children","key"];function _slicedToArray$p(e,V){return _arrayWithHoles$o(e)||_iterableToArrayLimit$o(e,V)||_unsupportedIterableToArray$o(e,V)||_nonIterableRest$o()}function _nonIterableRest$o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit$o(e,V){var J=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(J!=null){var $=[],ee=!0,te=!1,re,ne;try{for(J=J.call(e);!(ee=(re=J.next()).done)&&($.push(re.value),!(V&&$.length===V));ee=!0);}catch(ie){te=!0,ne=ie}finally{try{!ee&&J.return!=null&&J.return()}finally{if(te)throw ne}}return $}}function _arrayWithHoles$o(e){if(Array.isArray(e))return e}function _extends$A(){return _extends$A=Object.assign?Object.assign.bind():function(e){for(var V=1;V=0)&&Object.prototype.propertyIsEnumerable.call(e,$)&&(J[$]=e[$])}return J}function _objectWithoutPropertiesLoose$p(e,V){if(e==null)return{};var J={},$=Object.keys(e),ee,te;for(te=0;te<$.length;te++)ee=$[te],!(V.indexOf(ee)>=0)&&(J[ee]=e[ee]);return J}function _toConsumableArray$2(e){return _arrayWithoutHoles$2(e)||_iterableToArray$2(e)||_unsupportedIterableToArray$o(e)||_nonIterableSpread$2()}function _nonIterableSpread$2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$o(e,V){if(e){if(typeof e=="string")return _arrayLikeToArray$o(e,V);var J=Object.prototype.toString.call(e).slice(8,-1);if(J==="Object"&&e.constructor&&(J=e.constructor.name),J==="Map"||J==="Set")return Array.from(e);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return _arrayLikeToArray$o(e,V)}}function _iterableToArray$2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _arrayWithoutHoles$2(e){if(Array.isArray(e))return _arrayLikeToArray$o(e)}function _arrayLikeToArray$o(e,V){(V==null||V>e.length)&&(V=e.length);for(var J=0,$=new Array(V);J"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$i(e){return _getPrototypeOf$i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},_getPrototypeOf$i(e)}function _defineProperty$B(e,V,J){return V in e?Object.defineProperty(e,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):e[V]=J,e}var toasterRef,ToasterContainer=function(e){_inherits$i(J,e);var V=_createSuper$i(J);function J($){var ee;return _classCallCheck$i(this,J),ee=V.call(this,$),_defineProperty$B(_assertThisInitialized$i(ee),"state",{isMounted:!1,toasts:[]}),_defineProperty$B(_assertThisInitialized$i(ee),"dismissHandlers",{}),_defineProperty$B(_assertThisInitialized$i(ee),"toastId",0),_defineProperty$B(_assertThisInitialized$i(ee),"getToastProps",function(te){var re=ee.props,ne=re.autoFocus,ie=re.autoHideDuration,ae=re.closeable,ue=te.key||"toast-".concat(ee.toastId++);return _objectSpread$q(_objectSpread$q({autoFocus:ne,autoHideDuration:ie,closeable:ae},te),{},{key:ue})}),_defineProperty$B(_assertThisInitialized$i(ee),"show",function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ee.state.toasts.map(function(ne){return ne.key}).includes(te.key))return ee.update(te.key,te),te.key;var re=ee.getToastProps(te);return ee.setState(function(ne){var ie=ne.toasts;return{toasts:[].concat(_toConsumableArray$2(ie),[re])}}),re.key}),_defineProperty$B(_assertThisInitialized$i(ee),"update",function(te,re){ee.setState(function(ne){var ie=ne.toasts,ae=ie.map(function(ue){if(ue.key===te){var ce=_objectSpread$q(_objectSpread$q(_objectSpread$q({},ue),ee.getToastProps(_objectSpread$q({autoHideDuration:ue.autoHideDuration},re))),{},{key:te},ee.props.resetAutoHideTimerOnUpdate?{__updated:(+ue.__updated||0)+1}:{});return ce}return ue});return{toasts:ae}})}),_defineProperty$B(_assertThisInitialized$i(ee),"dismiss",function(te){ee.dismissHandlers[te]&&ee.dismissHandlers[te]()}),_defineProperty$B(_assertThisInitialized$i(ee),"clearAll",function(){Object.keys(ee.dismissHandlers).forEach(function(te){ee.dismissHandlers[te]()})}),_defineProperty$B(_assertThisInitialized$i(ee),"clear",function(te){te===void 0?ee.clearAll():ee.dismiss(te)}),_defineProperty$B(_assertThisInitialized$i(ee),"internalOnClose",function(te){delete ee.dismissHandlers[te],ee.setState(function(re){var ne=re.toasts;return{toasts:ne.filter(function(ie){return ie.key!==te})}})}),_defineProperty$B(_assertThisInitialized$i(ee),"getOnCloseHandler",function(te,re){return function(){ee.internalOnClose(te),typeof re=="function"&&re()}}),_defineProperty$B(_assertThisInitialized$i(ee),"renderToast",function(te){var re=te.onClose,ne=te.children,ie=te.key,ae=_objectWithoutProperties$n(te,_excluded$n),ue=ee.props.overrides,ce=ue.ToastBody,de=ue.ToastCloseIcon,me=ue.ToastInnerContainer,he=mergeOverrides({Body:Body$2,CloseIcon:CloseIconSvg,InnerContainer},{Body:ce||{},CloseIcon:de||{},InnerContainer:me||{}}),ge=mergeOverrides(he,te.overrides);return reactExports.createElement(Toast,_extends$A({},ae,{overrides:ge,key:ie,onClose:ee.getOnCloseHandler(ie,re)}),function(_e){var be=_e.dismiss;return ee.dismissHandlers[ie]=be,ne})}),_defineProperty$B(_assertThisInitialized$i(ee),"getSharedProps",function(){var te=ee.props.placement;return{$placement:te}}),toasterRef=_assertThisInitialized$i(ee),ee}return _createClass$i(J,[{key:"componentDidMount",value:function(){this.setState({isMounted:!0})}},{key:"render",value:function(){for(var ee=this.getSharedProps(),te=this.props.overrides.Root,re=getOverrides(te,Root$4),ne=_slicedToArray$p(re,2),ie=ne[0],ae=ne[1],ue=this.state.toasts.length,ce=[],de=ue-1;de>=0;de--)ce.push(this.renderToast(this.state.toasts[de]));var me=reactExports.createElement(ie,_extends$A({"data-baseweb":"toaster"},ee,ae),ce);return this.state.isMounted?reactExports.createElement(reactExports.Fragment,null,this.props.usePortal&&typeof document<"u"&&document.body?ReactDOM.createPortal(me,document.body):me,this.props.children):reactExports.createElement(reactExports.Fragment,null,this.props.children)}}]),J}(reactExports.Component);_defineProperty$B(ToasterContainer,"defaultProps",{autoFocus:!1,autoHideDuration:0,children:null,closeable:!0,overrides:{},placement:PLACEMENT$1.top,resetAutoHideTimerOnUpdate:!0,usePortal:!0});var toaster={getRef:function e(){return toasterRef},show:function e(V){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=this.getRef();if($)return $.show(_objectSpread$q(_objectSpread$q({},J),{},{children:V}))},info:function e(V){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.show(V,_objectSpread$q(_objectSpread$q({},J),{},{kind:KIND$2.info}))},positive:function e(V){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.show(V,_objectSpread$q(_objectSpread$q({},J),{},{kind:KIND$2.positive}))},warning:function e(V){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.show(V,_objectSpread$q(_objectSpread$q({},J),{},{kind:KIND$2.warning}))},negative:function e(V){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.show(V,_objectSpread$q(_objectSpread$q({},J),{},{kind:KIND$2.negative}))},update:function e(V,J){var $=this.getRef();$&&$.update(V,J)},clear:function e(V){var J=this.getRef();J&&J.clear(V)}},PLACEMENT={auto:"auto",topLeft:"topLeft",top:"top",topRight:"topRight",rightTop:"rightTop",right:"right",rightBottom:"rightBottom",bottomRight:"bottomRight",bottom:"bottom",bottomLeft:"bottomLeft",leftBottom:"leftBottom",left:"left",leftTop:"leftTop"},TRIGGER_TYPE={click:"click",hover:"hover"},STATE_CHANGE_TYPE$1={open:"open",close:"close"},ACCESSIBILITY_TYPE={none:"none",menu:"menu",tooltip:"tooltip"},POPOVER_MARGIN=8,ARROW_SIZE=6,ANIMATE_OUT_TIME=0,ANIMATE_IN_TIME=20,ARROW_WIDTH=Math.ceil(Math.sqrt(Math.pow(ARROW_SIZE*2,2)/2));function _typeof$i(e){"@babel/helpers - typeof";return _typeof$i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},_typeof$i(e)}function ownKeys$p(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$p(e){for(var V=1;V"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$h(e){return _getPrototypeOf$h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},_getPrototypeOf$h(e)}function _defineProperty$A(e,V,J){return V in e?Object.defineProperty(e,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):e[V]=J,e}var defaultStateReducer=function e(V,J){return J},StatefulContainer$1=function(e){_inherits$h(J,e);var V=_createSuper$h(J);function J(){var $;_classCallCheck$h(this,J);for(var ee=arguments.length,te=new Array(ee),re=0;re=0}).sort(tabSort)},tabbables=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],queryTabbables=tabbables.join(","),queryGuardTabbables="".concat(queryTabbables,", [data-focus-guard]"),getFocusablesWithShadowDom=function(e,V){return toArray$2((e.shadowRoot||e).children).reduce(function(J,$){return J.concat($.matches(V?queryGuardTabbables:queryTabbables)?[$]:[],getFocusablesWithShadowDom($))},[])},getFocusablesWithIFrame=function(e,V){var J;return e instanceof HTMLIFrameElement&&(!((J=e.contentDocument)===null||J===void 0)&&J.body)?getFocusables([e.contentDocument.body],V):[e]},getFocusables=function(e,V){return e.reduce(function(J,$){var ee,te=getFocusablesWithShadowDom($,V),re=(ee=[]).concat.apply(ee,te.map(function(ne){return getFocusablesWithIFrame(ne,V)}));return J.concat(re,$.parentNode?toArray$2($.parentNode.querySelectorAll(queryTabbables)).filter(function(ne){return ne===$}):[])},[])},getParentAutofocusables=function(e){var V=e.querySelectorAll("[".concat(FOCUS_AUTO,"]"));return toArray$2(V).map(function(J){return getFocusables([J])}).reduce(function(J,$){return J.concat($)},[])},filterFocusable=function(e,V){return toArray$2(e).filter(function(J){return isVisibleCached(V,J)}).filter(function(J){return notHiddenInput(J)})},filterAutoFocusable=function(e,V){return V===void 0&&(V=new Map),toArray$2(e).filter(function(J){return isAutoFocusAllowedCached(V,J)})},getTabbableNodes=function(e,V,J){return orderByTabIndex(filterFocusable(getFocusables(e,J),V),!0,J)},getFocusableNodes=function(e,V){return orderByTabIndex(filterFocusable(getFocusables(e),V),!1)},parentAutofocusables=function(e,V){return filterFocusable(getParentAutofocusables(e),V)},contains=function(e,V){return e.shadowRoot?contains(e.shadowRoot,V):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,V)?!0:toArray$2(e.children).some(function(J){var $;if(J instanceof HTMLIFrameElement){var ee=($=J.contentDocument)===null||$===void 0?void 0:$.body;return ee?contains(ee,V):!1}return contains(J,V)})},filterNested=function(e){for(var V=new Set,J=e.length,$=0;$0&&V.add(ee),(te&Node.DOCUMENT_POSITION_CONTAINS)>0&&V.add($)}return e.filter(function(re,ne){return!V.has(ne)})},getTopParent=function(e){return e.parentNode?getTopParent(e.parentNode):e},getAllAffectedNodes=function(e){var V=asArray(e);return V.filter(Boolean).reduce(function(J,$){var ee=$.getAttribute(FOCUS_GROUP);return J.push.apply(J,ee?filterNested(toArray$2(getTopParent($).querySelectorAll("[".concat(FOCUS_GROUP,'="').concat(ee,'"]:not([').concat(FOCUS_DISABLED,'="disabled"])')))):[$]),J},[])},safeProbe=function(e){try{return e()}catch{return}},getActiveElement=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var V=e.activeElement;return V.shadowRoot?getActiveElement(V.shadowRoot):V instanceof HTMLIFrameElement&&safeProbe(function(){return V.contentWindow.document})?getActiveElement(V.contentWindow.document):V}},focusInFrame=function(e,V){return e===V},focusInsideIframe=function(e,V){return!!toArray$2(e.querySelectorAll("iframe")).some(function(J){return focusInFrame(J,V)})},focusInside=function(e,V){return V===void 0&&(V=getActiveElement(getFirst(e).ownerDocument)),!V||V.dataset&&V.dataset.focusGuard?!1:getAllAffectedNodes(e).some(function(J){return contains(J,V)||focusInsideIframe(J,V)})},focusIsHidden=function(e){e===void 0&&(e=document);var V=getActiveElement(e);return V?toArray$2(e.querySelectorAll("[".concat(FOCUS_ALLOW,"]"))).some(function(J){return contains(J,V)}):!1},findSelectedRadio=function(e,V){return V.filter(isRadioElement).filter(function(J){return J.name===e.name}).filter(function(J){return J.checked})[0]||e},correctNode=function(e,V){return isRadioElement(e)&&e.name?findSelectedRadio(e,V):e},correctNodes=function(e){var V=new Set;return e.forEach(function(J){return V.add(correctNode(J,e))}),e.filter(function(J){return V.has(J)})},pickFirstFocus=function(e){return e[0]&&e.length>1?correctNode(e[0],e):e[0]},pickFocusable=function(e,V){return e.indexOf(correctNode(V,e))},NEW_FOCUS="NEW_FOCUS",newFocus=function(e,V,J,$,ee){var te=e.length,re=e[0],ne=e[te-1],ie=isGuard($);if(!($&&e.indexOf($)>=0)){var ae=$!==void 0?J.indexOf($):-1,ue=ee?J.indexOf(ee):ae,ce=ee?e.indexOf(ee):-1;if(ae===-1)return ce!==-1?ce:NEW_FOCUS;if(ce===-1)return NEW_FOCUS;var de=ae-ue,me=J.indexOf(re),he=J.indexOf(ne),ge=correctNodes(J),_e=$!==void 0?ge.indexOf($):-1,be=_e-(ee?ge.indexOf(ee):ae);if(!de&&ce>=0||V.length===0)return ce;var Ee=pickFocusable(e,V[0]),Pe=pickFocusable(e,V[V.length-1]);if(ae<=me&&ie&&Math.abs(de)>1)return Pe;if(ae>=he&&ie&&Math.abs(de)>1)return Ee;if(de&&Math.abs(be)>1)return ce;if(ae<=me)return Pe;if(ae>he)return Ee;if(de)return Math.abs(de)>1?ce:(te+ce+de)%te}},findAutoFocused=function(e){return function(V){var J,$=(J=getDataset(V))===null||J===void 0?void 0:J.autofocus;return V.autofocus||$!==void 0&&$!=="false"||e.indexOf(V)>=0}},pickAutofocus=function(e,V,J){var $=e.map(function(te){var re=te.node;return re}),ee=filterAutoFocusable($.filter(findAutoFocused(J)));return ee&&ee.length?pickFirstFocus(ee):pickFirstFocus(filterAutoFocusable(V))},getParents=function(e,V){return V===void 0&&(V=[]),V.push(e),e.parentNode&&getParents(e.parentNode.host||e.parentNode,V),V},getCommonParent=function(e,V){for(var J=getParents(e),$=getParents(V),ee=0;ee=0)return te}return!1},getTopCommonParent=function(e,V,J){var $=asArray(e),ee=asArray(V),te=$[0],re=!1;return ee.filter(Boolean).forEach(function(ne){re=getCommonParent(re||ne,ne)||re,J.filter(Boolean).forEach(function(ie){var ae=getCommonParent(te,ie);ae&&(!re||contains(ae,re)?re=ae:re=getCommonParent(ae,re))})}),re},allParentAutofocusables=function(e,V){return e.reduce(function(J,$){return J.concat(parentAutofocusables($,V))},[])},reorderNodes=function(e,V){var J=new Map;return V.forEach(function($){return J.set($.node,$)}),e.map(function($){return J.get($)}).filter(isDefined)},focusSolver=function(e,V){var J=getActiveElement(asArray(e).length>0?document:getFirst(e).ownerDocument),$=getAllAffectedNodes(e).filter(isNotAGuard),ee=getTopCommonParent(J||e,e,$),te=new Map,re=getFocusableNodes($,te),ne=re.filter(function(he){var ge=he.node;return isNotAGuard(ge)});if(ne[0]){var ie=getFocusableNodes([ee],te).map(function(he){var ge=he.node;return ge}),ae=reorderNodes(ie,ne),ue=ae.map(function(he){var ge=he.node;return ge}),ce=ae.filter(function(he){var ge=he.tabIndex;return ge>=0}).map(function(he){var ge=he.node;return ge}),de=newFocus(ue,ce,ie,J,V);if(de===NEW_FOCUS){var me=pickAutofocus(re,ce,allParentAutofocusables($,te))||pickAutofocus(re,ue,allParentAutofocusables($,te));if(me)return{node:me};console.warn("focus-lock: cannot find any node to move focus into");return}return de===void 0?de:ae[de]}},expandFocusableNodes=function(e){var V=getAllAffectedNodes(e).filter(isNotAGuard),J=getTopCommonParent(e,e,V),$=orderByTabIndex(getFocusables([J],!0),!0,!0),ee=getFocusables(V,!1);return $.map(function(te){var re=te.node,ne=te.index;return{node:re,index:ne,lockItem:ee.indexOf(re)>=0,guard:isGuard(re)}})},focusOn=function(e,V){e&&("focus"in e&&e.focus(V),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},guardCount=0,lockDisabled=!1,moveFocusInside=function(e,V,J){J===void 0&&(J={});var $=focusSolver(e,V);if(!lockDisabled&&$){if(guardCount>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),lockDisabled=!0,setTimeout(function(){lockDisabled=!1},1);return}guardCount++,focusOn($.node,J.focusOptions),guardCount--}};function weakRef(e){if(!e)return null;if(typeof WeakRef>"u")return function(){return e||null};var V=e?new WeakRef(e):null;return function(){return V?.deref()||null}}var recordElementLocation=function(e){if(!e)return null;for(var V=[],J=e;J&&J!==document.body;)V.push({current:weakRef(J),parent:weakRef(J.parentElement),left:weakRef(J.previousElementSibling),right:weakRef(J.nextElementSibling)}),J=J.parentElement;return{element:weakRef(e),stack:V,ownerDocument:e.ownerDocument}},restoreFocusTo=function(e){var V,J,$,ee,te;if(e)for(var re=e.stack,ne=e.ownerDocument,ie=new Map,ae=0,ue=re;ae-1&&(_e.filter(function(Ee){var Pe=Ee.guard,$e=Ee.node;return Pe&&$e.dataset.focusAutoGuard}).forEach(function(Ee){var Pe=Ee.node;return Pe.removeAttribute("tabIndex")}),autoGuard(be,_e.length,1,_e),autoGuard(be,-1,-1,_e))}}}return V},onTrap=function e(V){activateTrap()&&V&&(V.stopPropagation(),V.preventDefault())},onBlur=function e(){return deferAction(activateTrap)},onFocus=function e(V){var J=V.target,$=V.currentTarget;$.contains(J)||recordPortal($,J)},FocusWatcher=function e(){return null},onWindowFocus=function e(){windowFocused=!0},onWindowBlur=function e(){windowFocused=!1,focusWasOutsideWindow="just",deferAction(function(){focusWasOutsideWindow="meanwhile"})},attachHandler=function e(){document.addEventListener("focusin",onTrap),document.addEventListener("focusout",onBlur),window.addEventListener("focus",onWindowFocus),window.addEventListener("blur",onWindowBlur)},detachHandler=function e(){document.removeEventListener("focusin",onTrap),document.removeEventListener("focusout",onBlur),window.removeEventListener("focus",onWindowFocus),window.removeEventListener("blur",onWindowBlur)};function reducePropsToState(e){return e.filter(function(V){var J=V.disabled;return!J})}var focusLockAPI={moveFocusInside,focusInside,focusNextElement,focusPrevElement,focusFirstElement,focusLastElement,captureFocusRestore};function handleStateChangeOnClient(e){var V=e.slice(-1)[0];V&&!lastActiveTrap&&attachHandler();var J=lastActiveTrap,$=J&&V&&V.id===J.id;lastActiveTrap=V,J&&!$&&(J.onDeactivation(),e.filter(function(ee){var te=ee.id;return te===J.id}).length||J.returnFocus(!V)),V?(lastActiveFocus=null,(!$||J.observed!==V.observed)&&V.onActivation(focusLockAPI),activateTrap(),deferAction(activateTrap)):(detachHandler(),lastActiveFocus=null)}mediumFocus.assignSyncMedium(onFocus);mediumBlur.assignMedium(onBlur);mediumEffect.assignMedium(function(e){return e(focusLockAPI)});const FocusTrap=withSideEffect(reducePropsToState,handleStateChangeOnClient)(FocusWatcher);var FocusLockCombination=reactExports.forwardRef(function e(V,J){return reactExports.createElement(FocusLock,_extends$H({sideCar:FocusTrap,ref:J},V))}),_ref=FocusLock.propTypes||{};_ref.sideCar;_objectWithoutPropertiesLoose$t(_ref,["sideCar"]);FocusLockCombination.propTypes={};var useFocusInside=function e(V){reactExports.useEffect(function(){var J=!0;return mediumEffect.useMedium(function($){var ee=V&&V.current;J&&ee&&($.focusInside(ee)||$.moveFocusInside(ee,null))}),function(){J=!1}},[V])};function MoveFocusInside(e){var V=e.disabled,J=V===void 0?!1:V,$=e.className,ee=e.children,te=reactExports.useRef(null);return useFocusInside(J?void 0:te),reactExports.createElement("div",_extends$H({},inlineProp(FOCUS_AUTO,!J),{ref:te,className:$}),ee)}MoveFocusInside.propTypes={};function ownKeys$o(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$o(e){for(var V=1;Ve.length)&&(V=e.length);for(var J=0,$=new Array(V);J0?J:$)*2;return isVerticalPosition(re)?e.top+=re==="top"?ne:-ne:e.left+=re==="left"?ne:-ne,"translate3d(".concat(e.left,"px, ").concat(e.top,"px, 0)")}function getEndPosition(e){return"translate3d(".concat(e.left,"px, ").concat(e.top,"px, 0)")}function getArrowPositionStyles(e,V){var J,$=splitPlacement(V),ee=_slicedToArray$o($,1),te=ee[0],re=getOppositePosition(te);if(!re)return null;var ne=isVerticalPosition(te)?"left":"top";return J={},_defineProperty$z(J,ne,"".concat(e[ne],"px")),_defineProperty$z(J,re,"-".concat(ARROW_SIZE-2,"px")),J}function ownKeys$n(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$n(e){for(var V=1;V"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf$g(e){return _getPrototypeOf$g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(J){return J.__proto__||Object.getPrototypeOf(J)},_getPrototypeOf$g(e)}function _defineProperty$x(e,V,J){return V in e?Object.defineProperty(e,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):e[V]=J,e}var PopoverInner=function(e){_inherits$g(J,e);var V=_createSuper$g(J);function J(){var $;_classCallCheck$g(this,J);for(var ee=arguments.length,te=new Array(ee),re=0;re0&&this.setState({autoFocusAfterPositioning:!0})}},{key:"init",value:function(ee,te){if(this.props.isOpen!==ee.isOpen||this.state.isMounted!==te.isMounted||this.state.isLayerMounted!==te.isLayerMounted){if(this.props.isOpen&&this.state.isLayerMounted){this.clearTimers();return}if(!this.props.isOpen&&ee.isOpen){this.animateOutTimer=setTimeout(this.animateOut,20);return}}}},{key:"componentWillUnmount",value:function(){this.clearTimers()}},{key:"getDefaultState",value:function(ee){return{isAnimating:!1,arrowOffset:{left:0,top:0},popoverOffset:{left:0,top:0},placement:ee.placement,isMounted:!1,isLayerMounted:!1,autoFocusAfterPositioning:!1}}},{key:"clearTimers",value:function(){[this.animateInTimer,this.animateOutTimer,this.animateOutCompleteTimer,this.onMouseEnterTimer,this.onMouseLeaveTimer].forEach(function(ee){ee&&clearTimeout(ee)})}},{key:"triggerOnMouseLeaveWithDelay",value:function(ee){var te=this,re=this.props.onMouseLeaveDelay;if(re){this.onMouseLeaveTimer=setTimeout(function(){return te.triggerOnMouseLeave(ee)},re);return}this.triggerOnMouseLeave(ee)}},{key:"triggerOnMouseEnterWithDelay",value:function(ee){var te=this,re=this.props.onMouseEnterDelay;if(re){this.onMouseEnterTimer=setTimeout(function(){return te.triggerOnMouseEnter(ee)},re);return}this.triggerOnMouseEnter(ee)}},{key:"isClickTrigger",value:function(){return this.props.triggerType===TRIGGER_TYPE.click}},{key:"isHoverTrigger",value:function(){return this.props.triggerType===TRIGGER_TYPE.hover}},{key:"isAccessibilityTypeMenu",value:function(){return this.props.accessibilityType===ACCESSIBILITY_TYPE.menu}},{key:"isAccessibilityTypeTooltip",value:function(){return this.props.accessibilityType===ACCESSIBILITY_TYPE.tooltip}},{key:"getAnchorIdAttr",value:function(){var ee=this.getPopoverIdAttr();return ee?"".concat(ee,"__anchor"):null}},{key:"getPopoverIdAttr",value:function(){return this.props.id||null}},{key:"getAnchorProps",value:function(){var ee=this.props.isOpen,te={ref:this.anchorRef},re=this.getPopoverIdAttr();if(this.isAccessibilityTypeMenu()){var ne=this.isClickTrigger()?"aria-controls":"aria-owns";te[ne]=ee?re:null,te["aria-haspopup"]=!0,te["aria-expanded"]=!!ee}else this.isAccessibilityTypeTooltip()&&(te.id=this.getAnchorIdAttr(),te["aria-describedby"]=ee?re:null);return this.isHoverTrigger()?(te.onMouseEnter=this.onAnchorMouseEnter,te.onMouseLeave=this.onAnchorMouseLeave,te.onBlur=this.props.onBlur,te.onFocus=this.props.onFocus):(te.onClick=this.onAnchorClick,this.props.onBlur&&(te.onBlur=this.props.onBlur),this.props.onFocus&&(te.onFocus=this.props.onFocus)),te}},{key:"getPopoverBodyProps",value:function(){var ee={},te=this.getPopoverIdAttr();return this.isAccessibilityTypeMenu()?ee.id=te:this.isAccessibilityTypeTooltip()&&(ee.id=te,ee.role="tooltip"),this.isHoverTrigger()&&(ee.onMouseEnter=this.onPopoverMouseEnter,ee.onMouseLeave=this.onPopoverMouseLeave),ee}},{key:"getSharedProps",value:function(){var ee=this.props,te=ee.isOpen,re=ee.showArrow,ne=ee.popoverMargin,ie=ne===void 0?POPOVER_MARGIN:ne,ae=this.state,ue=ae.isAnimating,ce=ae.arrowOffset,de=ae.popoverOffset,me=ae.placement;return{$showArrow:!!re,$arrowOffset:ce,$popoverOffset:de,$placement:me,$isAnimating:ue,$animationDuration:this.props.animateOutTime||ANIMATE_OUT_TIME,$isOpen:te,$popoverMargin:ie,$isHoverTrigger:this.isHoverTrigger()}}},{key:"getAnchorFromChildren",value:function(){var ee=this.props.children,te=reactExports.Children.toArray(ee);return te.length!==1&&console.error("[baseui] Exactly 1 child must be passed to Popover/Tooltip, found ".concat(te.length," children")),te[0]}},{key:"renderAnchor",value:function(){var ee=this.getAnchorFromChildren();if(!ee)return null;var te=reactExports.isValidElement(ee),re=this.getAnchorProps();return _typeof$h(ee)==="object"&&te?reactExports.cloneElement(ee,re):reactExports.createElement("span",_extends$z({key:"popover-anchor"},re),ee)}},{key:"renderPopover",value:function(ee){var te=this.props,re=te.showArrow,ne=te.overrides,ie=ne===void 0?{}:ne,ae=ie.Arrow,ue=ie.Body,ce=ie.Inner,de=getOverride(ae)||Arrow$1,me=getOverride(ue)||Body$1,he=getOverride(ce)||Inner$1,ge=this.getSharedProps(),_e=this.getPopoverBodyProps();return reactExports.createElement(me,_extends$z({key:"popover-body",ref:this.popperRef,"data-baseweb":this.props["data-baseweb"]||"popover"},_e,ge,getOverrideProps(ue)),re?reactExports.createElement(de,_extends$z({key:"popover-arrow",ref:this.arrowRef},ge,getOverrideProps(ae))):null,reactExports.createElement(he,_extends$z({},ge,getOverrideProps(ce)),ee))}},{key:"renderContent",value:function(){var ee=this.props.content;return typeof ee=="function"?ee():ee}},{key:"render",value:function(){var ee=this,te=this.state.isMounted&&(this.props.isOpen||this.state.isAnimating),re=[this.renderAnchor()],ne=te||this.props.renderAll?this.renderContent():null,ie={modifiers:{preventOverflow:{enabled:!this.props.ignoreBoundary,padding:0}}};return ne&&(te?re.push(reactExports.createElement(Layer,{key:"new-layer",mountNode:this.props.mountNode,onEscape:this.props.onEsc,onDocumentClick:this.isHoverTrigger()?void 0:this.onDocumentClick,isHoverLayer:this.isHoverTrigger(),onMount:function(){return ee.setState({isLayerMounted:!0})},onUnmount:function(){return ee.setState({isLayerMounted:!1})}},reactExports.createElement(Tether,{anchorRef:this.anchorRef.current,arrowRef:this.arrowRef.current,popperRef:this.popperRef.current,popperOptions:_objectSpread$m(_objectSpread$m({},ie),this.props.popperOptions),onPopperUpdate:this.onPopperUpdate,placement:this.state.placement},this.props.focusLock&&this.props.accessibilityType!==ACCESSIBILITY_TYPE.tooltip?reactExports.createElement(FocusLockCombination,{disabled:!this.props.focusLock,noFocusGuards:!1,returnFocus:!this.isHoverTrigger()&&this.props.returnFocus,autoFocus:this.state.autoFocusAfterPositioning,crossFrame:!1,focusOptions:this.props.focusOptions},this.renderPopover(ne)):reactExports.createElement(MoveFocusInside,{disabled:!this.props.autoFocus||!this.state.autoFocusAfterPositioning},this.renderPopover(ne))))):re.push(reactExports.createElement(Hidden$1,{key:"hidden-layer"},ne))),re}}]),J}(reactExports.Component);_defineProperty$x(PopoverInner,"defaultProps",baseDefaultProps$1);var Popover=function e(V){var J=V.innerRef,$=useUID();return reactExports.createElement(PopoverInner,_extends$z({id:V.id||$,ref:J},V))};Popover.defaultProps=baseDefaultProps$1;var _excluded$m=["children"];function _objectWithoutProperties$m(e,V){if(e==null)return{};var J=_objectWithoutPropertiesLoose$o(e,V),$,ee;if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(e);for(ee=0;ee=0)&&Object.prototype.propertyIsEnumerable.call(e,$)&&(J[$]=e[$])}return J}function _objectWithoutPropertiesLoose$o(e,V){if(e==null)return{};var J={},$=Object.keys(e),ee,te;for(te=0;te<$.length;te++)ee=$[te],!(V.indexOf(ee)>=0)&&(J[ee]=e[ee]);return J}function StatefulPopover(e){var V=e.children,J=_objectWithoutProperties$m(e,_excluded$m);return reactExports.createElement(StatefulContainer$1,J,function($){return reactExports.createElement(Popover,$,V)})}StatefulPopover.defaultProps={accessibilityType:ACCESSIBILITY_TYPE.menu,ignoreBoundary:!1,overrides:{},onMouseEnterDelay:200,onMouseLeaveDelay:200,placement:PLACEMENT.auto,showArrow:!1,triggerType:TRIGGER_TYPE.click,dismissOnClickOutside:!0,dismissOnEsc:!0,stateReducer:function e(V,J){return J},popoverMargin:POPOVER_MARGIN};var noop_1,hasRequiredNoop;function requireNoop(){if(hasRequiredNoop)return noop_1;hasRequiredNoop=1;function e(){}return noop_1=e,noop_1}var noopExports=requireNoop();const _noop=getDefaultExportFromCjs(noopExports);var queryString$1={},strictUriEncode,hasRequiredStrictUriEncode;function requireStrictUriEncode(){return hasRequiredStrictUriEncode||(hasRequiredStrictUriEncode=1,strictUriEncode=e=>encodeURIComponent(e).replace(/[!'()*]/g,V=>`%${V.charCodeAt(0).toString(16).toUpperCase()}`)),strictUriEncode}var decodeUriComponent,hasRequiredDecodeUriComponent;function requireDecodeUriComponent(){if(hasRequiredDecodeUriComponent)return decodeUriComponent;hasRequiredDecodeUriComponent=1;var e="%[a-f0-9]{2}",V=new RegExp("("+e+")|([^%]+?)","gi"),J=new RegExp("("+e+")+","gi");function $(re,ne){try{return[decodeURIComponent(re.join(""))]}catch{}if(re.length===1)return re;ne=ne||1;var ie=re.slice(0,ne),ae=re.slice(ne);return Array.prototype.concat.call([],$(ie),$(ae))}function ee(re){try{return decodeURIComponent(re)}catch{for(var ne=re.match(V)||[],ie=1;ie{if(!(typeof e=="string"&&typeof V=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(V==="")return[e];const J=e.indexOf(V);return J===-1?[e]:[e.slice(0,J),e.slice(J+V.length)]}),splitOnFirst}var filterObj,hasRequiredFilterObj;function requireFilterObj(){return hasRequiredFilterObj||(hasRequiredFilterObj=1,filterObj=function(e,V){for(var J={},$=Object.keys(e),ee=Array.isArray(V),te=0;te<$.length;te++){var re=$[te],ne=e[re];(ee?V.indexOf(re)!==-1:V(re,ne,e))&&(J[re]=ne)}return J}),filterObj}var hasRequiredQueryString;function requireQueryString(){return hasRequiredQueryString||(hasRequiredQueryString=1,function(e){const V=requireStrictUriEncode(),J=requireDecodeUriComponent(),$=requireSplitOnFirst(),ee=requireFilterObj(),te=Ee=>Ee==null,re=Symbol("encodeFragmentIdentifier");function ne(Ee){switch(Ee.arrayFormat){case"index":return Pe=>($e,Re)=>{const Le=$e.length;return Re===void 0||Ee.skipNull&&Re===null||Ee.skipEmptyString&&Re===""?$e:Re===null?[...$e,[ue(Pe,Ee),"[",Le,"]"].join("")]:[...$e,[ue(Pe,Ee),"[",ue(Le,Ee),"]=",ue(Re,Ee)].join("")]};case"bracket":return Pe=>($e,Re)=>Re===void 0||Ee.skipNull&&Re===null||Ee.skipEmptyString&&Re===""?$e:Re===null?[...$e,[ue(Pe,Ee),"[]"].join("")]:[...$e,[ue(Pe,Ee),"[]=",ue(Re,Ee)].join("")];case"colon-list-separator":return Pe=>($e,Re)=>Re===void 0||Ee.skipNull&&Re===null||Ee.skipEmptyString&&Re===""?$e:Re===null?[...$e,[ue(Pe,Ee),":list="].join("")]:[...$e,[ue(Pe,Ee),":list=",ue(Re,Ee)].join("")];case"comma":case"separator":case"bracket-separator":{const Pe=Ee.arrayFormat==="bracket-separator"?"[]=":"=";return $e=>(Re,Le)=>Le===void 0||Ee.skipNull&&Le===null||Ee.skipEmptyString&&Le===""?Re:(Le=Le===null?"":Le,Re.length===0?[[ue($e,Ee),Pe,ue(Le,Ee)].join("")]:[[Re,ue(Le,Ee)].join(Ee.arrayFormatSeparator)])}default:return Pe=>($e,Re)=>Re===void 0||Ee.skipNull&&Re===null||Ee.skipEmptyString&&Re===""?$e:Re===null?[...$e,ue(Pe,Ee)]:[...$e,[ue(Pe,Ee),"=",ue(Re,Ee)].join("")]}}function ie(Ee){let Pe;switch(Ee.arrayFormat){case"index":return($e,Re,Le)=>{if(Pe=/\[(\d*)\]$/.exec($e),$e=$e.replace(/\[\d*\]$/,""),!Pe){Le[$e]=Re;return}Le[$e]===void 0&&(Le[$e]={}),Le[$e][Pe[1]]=Re};case"bracket":return($e,Re,Le)=>{if(Pe=/(\[\])$/.exec($e),$e=$e.replace(/\[\]$/,""),!Pe){Le[$e]=Re;return}if(Le[$e]===void 0){Le[$e]=[Re];return}Le[$e]=[].concat(Le[$e],Re)};case"colon-list-separator":return($e,Re,Le)=>{if(Pe=/(:list)$/.exec($e),$e=$e.replace(/:list$/,""),!Pe){Le[$e]=Re;return}if(Le[$e]===void 0){Le[$e]=[Re];return}Le[$e]=[].concat(Le[$e],Re)};case"comma":case"separator":return($e,Re,Le)=>{const Ie=typeof Re=="string"&&Re.includes(Ee.arrayFormatSeparator),Be=typeof Re=="string"&&!Ie&&ce(Re,Ee).includes(Ee.arrayFormatSeparator);Re=Be?ce(Re,Ee):Re;const qe=Ie||Be?Re.split(Ee.arrayFormatSeparator).map(Ge=>ce(Ge,Ee)):Re===null?Re:ce(Re,Ee);Le[$e]=qe};case"bracket-separator":return($e,Re,Le)=>{const Ie=/(\[\])$/.test($e);if($e=$e.replace(/\[\]$/,""),!Ie){Le[$e]=Re&&ce(Re,Ee);return}const Be=Re===null?[]:Re.split(Ee.arrayFormatSeparator).map(qe=>ce(qe,Ee));if(Le[$e]===void 0){Le[$e]=Be;return}Le[$e]=[].concat(Le[$e],Be)};default:return($e,Re,Le)=>{if(Le[$e]===void 0){Le[$e]=Re;return}Le[$e]=[].concat(Le[$e],Re)}}}function ae(Ee){if(typeof Ee!="string"||Ee.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function ue(Ee,Pe){return Pe.encode?Pe.strict?V(Ee):encodeURIComponent(Ee):Ee}function ce(Ee,Pe){return Pe.decode?J(Ee):Ee}function de(Ee){return Array.isArray(Ee)?Ee.sort():typeof Ee=="object"?de(Object.keys(Ee)).sort((Pe,$e)=>Number(Pe)-Number($e)).map(Pe=>Ee[Pe]):Ee}function me(Ee){const Pe=Ee.indexOf("#");return Pe!==-1&&(Ee=Ee.slice(0,Pe)),Ee}function he(Ee){let Pe="";const $e=Ee.indexOf("#");return $e!==-1&&(Pe=Ee.slice($e)),Pe}function ge(Ee){Ee=me(Ee);const Pe=Ee.indexOf("?");return Pe===-1?"":Ee.slice(Pe+1)}function _e(Ee,Pe){return Pe.parseNumbers&&!Number.isNaN(Number(Ee))&&typeof Ee=="string"&&Ee.trim()!==""?Ee=Number(Ee):Pe.parseBooleans&&Ee!==null&&(Ee.toLowerCase()==="true"||Ee.toLowerCase()==="false")&&(Ee=Ee.toLowerCase()==="true"),Ee}function be(Ee,Pe){Pe=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Pe),ae(Pe.arrayFormatSeparator);const $e=ie(Pe),Re=Object.create(null);if(typeof Ee!="string"||(Ee=Ee.trim().replace(/^[?#&]/,""),!Ee))return Re;for(const Le of Ee.split("&")){if(Le==="")continue;let[Ie,Be]=$(Pe.decode?Le.replace(/\+/g," "):Le,"=");Be=Be===void 0?null:["comma","separator","bracket-separator"].includes(Pe.arrayFormat)?Be:ce(Be,Pe),$e(ce(Ie,Pe),Be,Re)}for(const Le of Object.keys(Re)){const Ie=Re[Le];if(typeof Ie=="object"&&Ie!==null)for(const Be of Object.keys(Ie))Ie[Be]=_e(Ie[Be],Pe);else Re[Le]=_e(Ie,Pe)}return Pe.sort===!1?Re:(Pe.sort===!0?Object.keys(Re).sort():Object.keys(Re).sort(Pe.sort)).reduce((Le,Ie)=>{const Be=Re[Ie];return Be&&typeof Be=="object"&&!Array.isArray(Be)?Le[Ie]=de(Be):Le[Ie]=Be,Le},Object.create(null))}e.extract=ge,e.parse=be,e.stringify=(Ee,Pe)=>{if(!Ee)return"";Pe=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Pe),ae(Pe.arrayFormatSeparator);const $e=Be=>Pe.skipNull&&te(Ee[Be])||Pe.skipEmptyString&&Ee[Be]==="",Re=ne(Pe),Le={};for(const Be of Object.keys(Ee))$e(Be)||(Le[Be]=Ee[Be]);const Ie=Object.keys(Le);return Pe.sort!==!1&&Ie.sort(Pe.sort),Ie.map(Be=>{const qe=Ee[Be];return qe===void 0?"":qe===null?ue(Be,Pe):Array.isArray(qe)?qe.length===0&&Pe.arrayFormat==="bracket-separator"?ue(Be,Pe)+"[]":qe.reduce(Re(Be),[]).join("&"):ue(Be,Pe)+"="+ue(qe,Pe)}).filter(Be=>Be.length>0).join("&")},e.parseUrl=(Ee,Pe)=>{Pe=Object.assign({decode:!0},Pe);const[$e,Re]=$(Ee,"#");return Object.assign({url:$e.split("?")[0]||"",query:be(ge(Ee),Pe)},Pe&&Pe.parseFragmentIdentifier&&Re?{fragmentIdentifier:ce(Re,Pe)}:{})},e.stringifyUrl=(Ee,Pe)=>{Pe=Object.assign({encode:!0,strict:!0,[re]:!0},Pe);const $e=me(Ee.url).split("?")[0]||"",Re=e.extract(Ee.url),Le=e.parse(Re,{sort:!1}),Ie=Object.assign(Le,Ee.query);let Be=e.stringify(Ie,Pe);Be&&(Be=`?${Be}`);let qe=he(Ee.url);return Ee.fragmentIdentifier&&(qe=`#${Pe[re]?ue(Ee.fragmentIdentifier,Pe):Ee.fragmentIdentifier}`),`${$e}${Be}${qe}`},e.pick=(Ee,Pe,$e)=>{$e=Object.assign({parseFragmentIdentifier:!0,[re]:!1},$e);const{url:Re,query:Le,fragmentIdentifier:Ie}=e.parseUrl(Ee,$e);return e.stringifyUrl({url:Re,query:ee(Le,Pe),fragmentIdentifier:Ie},$e)},e.exclude=(Ee,Pe,$e)=>{const Re=Array.isArray(Pe)?Le=>!Pe.includes(Le):(Le,Ie)=>!Pe(Le,Ie);return e.pick(Ee,Re,$e)}}(queryString$1)),queryString$1}var queryStringExports=requireQueryString();const queryString=getDefaultExportFromCjs(queryStringExports);var OnboardingFlow=(e=>(e[e.undefined=0]="undefined",e[e.connectToGitHub=1]="connectToGitHub",e[e.selectWorkspace=2]="selectWorkspace",e[e.signupForm=3]="signupForm",e[e.success=4]="success",e[e.pending=5]="pending",e[e.userDeleted=6]="userDeleted",e[e.error=7]="error",e))(OnboardingFlow||{});const initialState$7={},slice$5=createSlice({name:"onboardingFlow",initialState:initialState$7,reducers:{setStep:(e,V)=>{e.name=V.payload.name}}}),{setStep}=slice$5.actions,baseSelector$5=e=>e.onboardingFlow,stepNameSelector=createSelector(baseSelector$5,e=>e.name),initialState$6={CONFIRM:{isOpen:!1},DELETE:{isOpen:!1},RESTART:{isOpen:!1},APP_SETTINGS:{isOpen:!1},ADVANCED_SETTINGS:{isOpen:!1},ANALYTICS:{isOpen:!1},USER_SETTINGS:{isOpen:!1},SIMPLE_LOGIN:{isOpen:!1},SHARE_MENU:{isOpen:!1},IN_BROWSER_EDITOR_LEGAL_DISCLAIMER:{isOpen:!1}},slice$4=createSlice({name:"modal",initialState:initialState$6,reducers:{showModal:(e,V)=>{e[V.payload.name]={isOpen:!0},"modalPayload"in V.payload&&(e[V.payload.name].modalPayload=V.payload.modalPayload)},closeModal:(e,V)=>{e[V.payload.name]={isOpen:!1}},confirmationOn:(e,V)=>{e[V.payload.name].requireConfirmation=!0},confirmationOff:(e,V)=>{e[V.payload.name].requireConfirmation=!1}}}),{showModal,closeModal,confirmationOn,confirmationOff}=slice$4.actions,baseSelector$4=e=>e.modal,modalSelector=(e,V)=>e.modal[V],makeModalIsOpenSelector=()=>createSelector(modalSelector,e=>e?.isOpen),makeModalRequireConfirmationSelector=()=>createSelector(modalSelector,e=>e?.requireConfirmation===!0),makeModalPayloadSelector=()=>createSelector(modalSelector,e=>e?.modalPayload),makeModalIsAnyOpen=()=>createSelector(baseSelector$4,e=>Object.values(e).some(({isOpen:V})=>V)),initialState$5={},slice$3=createSlice({name:"workspace",initialState:initialState$5,reducers:{select:(e,V)=>{e.selected=V.payload.workspace}}}),{select}=slice$3.actions,initialState$4={},slice$2=createSlice({name:"redirect",initialState:initialState$4,reducers:{setRedirect:(e,V)=>{e.url=V.payload.url,e.callback=V.payload.callback}}}),{setRedirect}=slice$2.actions,initialState$3={},slice$1=createSlice({name:"linkedRedirect",initialState:initialState$3,reducers:{setHasSeenLinkedRedirect:(e,V)=>{e.hasSeenLinkedRedirect=V.payload.hasSeenLinkedRedirect},setLinkedRedirectSetter:(e,V)=>{e.hasSeenLinkedRedirectSetter=V.payload.hasSeenLinkedRedirectSetter}}}),{setHasSeenLinkedRedirect,setLinkedRedirectSetter}=slice$1.actions,initialState$2={hasLinkedSSO:!0,hasLinkedGitHub:!0,hasRepoScopePermission:!0,freeTrialWillExpire:!1,freeTrialExpired:!1,warningText:""},slice=createSlice({name:"warning",initialState:initialState$2,reducers:{setWarningInfo:(e,V)=>V.payload}}),{setWarningInfo}=slice.actions,baseSelector$3=e=>e.warningInfo,warningInfoSelector=createSelector(baseSelector$3,e=>e),rootReducer=combineReducers({modal:slice$4.reducer,analytics:slice$6.reducer,workspace:slice$3.reducer,redirect:slice$2.reducer,onboardingFlow:slice$5.reducer,linkedRedirect:slice$1.reducer,warningInfo:slice.reducer}),useSelector=useSelector$1,SvgIconWarningRounded=e=>reactExports.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#ff8700",...e},reactExports.createElement("path",{d:"M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"}));var SIZE$3={default:"default",full:"full",auto:"auto"},SIZE_WIDTHS={default:"500px",full:"100%",auto:"auto"},ROLE={dialog:"dialog",alertdialog:"alertdialog"},CLOSE_SOURCE={closeButton:"closeButton",backdrop:"backdrop",escape:"escape"};function ownKeys$l(e,V){var J=Object.keys(e);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(e);V&&($=$.filter(function(ee){return Object.getOwnPropertyDescriptor(e,ee).enumerable})),J.push.apply(J,$)}return J}function _objectSpread$l(e){for(var V=1;V