homebridge-config-ui-x 5.0.0-beta.1 → 5.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/package.json +3 -3
  3. package/public/3rdpartylicenses.txt +551 -551
  4. package/public/chunk-2OBHR63W.js +1 -0
  5. package/public/chunk-3C6WVST7.js +1 -0
  6. package/public/chunk-3IX3CLER.js +1 -0
  7. package/public/chunk-5ALXJOLQ.js +1 -0
  8. package/public/chunk-5LVGHH2N.js +1 -0
  9. package/public/chunk-6PHMBMFU.js +1 -0
  10. package/public/chunk-6TCHCTXZ.js +1 -0
  11. package/public/chunk-7456RB3C.js +1 -0
  12. package/public/chunk-76S7LYCL.js +1 -0
  13. package/public/chunk-77A3OZ74.js +1 -0
  14. package/public/chunk-7EANS226.js +1 -0
  15. package/public/chunk-7EUQWCP5.js +2 -0
  16. package/public/chunk-7L7RZCFC.js +8 -0
  17. package/public/chunk-ASX35H47.js +1 -0
  18. package/public/chunk-AVJ6EUEE.js +1 -0
  19. package/public/chunk-AX23H5TL.js +1 -0
  20. package/public/chunk-AZXQ73I5.js +1 -0
  21. package/public/chunk-BFDVOBTQ.js +1 -0
  22. package/public/{chunk-THFLPY67.js → chunk-BKUGARB4.js} +1 -1
  23. package/public/chunk-BMXAHMY6.js +1 -0
  24. package/public/chunk-BPMSJ2VF.js +1 -0
  25. package/public/{chunk-GNQUXZMN.js → chunk-CCUID66K.js} +1 -1
  26. package/public/chunk-CW7Q7WEJ.js +1 -0
  27. package/public/chunk-DDXIRKVB.js +1 -0
  28. package/public/chunk-DNOJWLVY.js +1 -0
  29. package/public/chunk-DZY2Q3FG.js +1 -0
  30. package/public/chunk-EA5J2VEJ.js +1 -0
  31. package/public/chunk-FX4GQIE4.js +32 -0
  32. package/public/chunk-GVDR7ZRB.js +1 -0
  33. package/public/chunk-HSJSWZHD.js +1 -0
  34. package/public/chunk-I7ZKPCIW.js +1 -0
  35. package/public/chunk-IPZ4P5DE.js +1 -0
  36. package/public/chunk-IW3EPSTZ.js +23 -0
  37. package/public/chunk-IWYEH4T6.js +1 -0
  38. package/public/chunk-JL6S5IIU.js +1 -0
  39. package/public/chunk-JZZQRLNW.js +1 -0
  40. package/public/chunk-KIJWUGXX.js +1 -0
  41. package/public/chunk-KO3WJGGG.js +1 -0
  42. package/public/chunk-KQJ7ONUG.js +1 -0
  43. package/public/chunk-KTDJZCFW.js +1 -0
  44. package/public/chunk-LDPCT3YF.js +5 -0
  45. package/public/chunk-MHYIZZN4.js +1 -0
  46. package/public/chunk-MOV2HTCQ.js +1 -0
  47. package/public/chunk-NF4NIS42.js +1 -0
  48. package/public/chunk-NW6AFAD7.js +1 -0
  49. package/public/chunk-NZNNTHFQ.js +1 -0
  50. package/public/chunk-O75YP3SB.js +1 -0
  51. package/public/chunk-ODPTCLGS.js +1 -0
  52. package/public/chunk-ORPWYWCL.js +5 -0
  53. package/public/chunk-Q5URFHBE.js +1 -0
  54. package/public/chunk-QE7DO6J3.js +8 -0
  55. package/public/chunk-QHPDGSZ6.js +1 -0
  56. package/public/chunk-QLWY5NWN.js +1 -0
  57. package/public/chunk-QRZNMAFL.js +1 -0
  58. package/public/chunk-RHB2T3FE.js +1 -0
  59. package/public/chunk-RMI35HIS.js +1 -0
  60. package/public/chunk-RO4QXVDE.js +1 -0
  61. package/public/chunk-RWZRB2OY.js +1 -0
  62. package/public/chunk-S62KH3FN.js +6 -0
  63. package/public/chunk-S6EMLS5Q.js +1 -0
  64. package/public/chunk-SVFFEV36.js +1 -0
  65. package/public/chunk-T2YVB4SI.js +1 -0
  66. package/public/chunk-TCSXGQNF.js +1 -0
  67. package/public/chunk-TXOB7R5K.js +7 -0
  68. package/public/chunk-U6ORTLYL.js +1 -0
  69. package/public/chunk-UG5DK2RQ.js +2 -0
  70. package/public/chunk-UJU3NPS7.js +1 -0
  71. package/public/chunk-UYZI56PX.js +1 -0
  72. package/public/chunk-UZU6PLTW.js +1 -0
  73. package/public/chunk-UZW3DWH4.js +1 -0
  74. package/public/chunk-VMXGERJT.js +14 -0
  75. package/public/chunk-VOBHY2IH.js +4 -0
  76. package/public/chunk-WHJOLAED.js +1 -0
  77. package/public/chunk-WHJSVGC7.js +1 -0
  78. package/public/chunk-WMB35VCS.js +1 -0
  79. package/public/{chunk-6QEO3BTW.js → chunk-WNWWUCCZ.js} +14 -14
  80. package/public/chunk-WT2GX4NS.js +1 -0
  81. package/public/chunk-XH6GEPB6.js +1 -0
  82. package/public/chunk-ZLPCX4R4.js +1 -0
  83. package/public/chunk-ZT23DWNL.js +1 -0
  84. package/public/chunk-ZY7HKZ4P.js +20 -0
  85. package/public/index.html +2 -2
  86. package/public/main-ILTX7GFO.js +1 -0
  87. package/public/media/fa-brands-400-6U3GU5Y7.woff2 +0 -0
  88. package/public/media/{fa-brands-400-CNBICIQT.ttf → fa-brands-400-MVB2B5XM.ttf} +0 -0
  89. package/public/media/{fa-regular-400-2FI4ICQD.ttf → fa-regular-400-EGQOOADX.ttf} +0 -0
  90. package/public/media/fa-regular-400-R5EOMW4H.woff2 +0 -0
  91. package/public/media/fa-solid-900-W65KEJAS.woff2 +0 -0
  92. package/public/media/{fa-solid-900-XVWCCN5V.ttf → fa-solid-900-ZUDIWQL5.ttf} +0 -0
  93. package/public/{polyfills-CE2SNIQF.js → polyfills-C6JHVXJJ.js} +2 -2
  94. package/public/prerendered-routes.json +3 -0
  95. package/public/styles-GDLSHXGD.css +1 -0
  96. package/public/chunk-3KSUXL3K.js +0 -20
  97. package/public/chunk-422JXES4.js +0 -23
  98. package/public/chunk-4R6MSI5I.js +0 -14
  99. package/public/chunk-5UYN5OWH.js +0 -1
  100. package/public/chunk-7564WJJL.js +0 -1
  101. package/public/chunk-7R6JSPNH.js +0 -1
  102. package/public/chunk-B6C32ZRK.js +0 -1
  103. package/public/chunk-B6G7GTDI.js +0 -1
  104. package/public/chunk-BQLALGZ5.js +0 -4
  105. package/public/chunk-BROUJ7PT.js +0 -1
  106. package/public/chunk-C4OONTE3.js +0 -1
  107. package/public/chunk-DOLYKWZH.js +0 -1
  108. package/public/chunk-DRWF7R4E.js +0 -1
  109. package/public/chunk-F22FMU37.js +0 -1
  110. package/public/chunk-FBP5C7VG.js +0 -1
  111. package/public/chunk-FPOZAQLC.js +0 -5
  112. package/public/chunk-IGUSDGD6.js +0 -8
  113. package/public/chunk-JM7QCDMZ.js +0 -1
  114. package/public/chunk-K3YXRBTH.js +0 -1
  115. package/public/chunk-K6TZNXIW.js +0 -1
  116. package/public/chunk-LS7T2AVU.js +0 -8
  117. package/public/chunk-NZPTOWFC.js +0 -20
  118. package/public/chunk-RID7V4NP.js +0 -1
  119. package/public/chunk-RIWBPQF3.js +0 -1
  120. package/public/chunk-S4SOWUAW.js +0 -1
  121. package/public/chunk-SJTXTMYT.js +0 -2
  122. package/public/chunk-T5QVI4H2.js +0 -1
  123. package/public/chunk-TBJQ2Y3M.js +0 -1
  124. package/public/chunk-TS27NWVA.js +0 -20
  125. package/public/chunk-VROGSJLF.js +0 -1
  126. package/public/chunk-VVILZWTF.js +0 -1
  127. package/public/chunk-WCDFKYP6.js +0 -5
  128. package/public/chunk-WCQIGCXO.js +0 -1
  129. package/public/chunk-Z47RP4BH.js +0 -1
  130. package/public/chunk-ZEONO5N6.js +0 -1
  131. package/public/main-VTRWQ63R.js +0 -6
  132. package/public/media/fa-brands-400-MDS4TU4L.woff2 +0 -0
  133. package/public/media/fa-regular-400-N56QV3DR.woff2 +0 -0
  134. package/public/media/fa-solid-900-Z3HFQTXF.woff2 +0 -0
  135. package/public/styles-7ETWN6DQ.css +0 -1
@@ -1,23 +0,0 @@
1
- import{e as ll,f as fn,g as In,h as fl,i as Ur,j as qr,k as se,l as $r,m as Pe}from"./chunk-TS27NWVA.js";import{M as sl,z as ul}from"./chunk-WCDFKYP6.js";import{m as po}from"./chunk-S4SOWUAW.js";import{b as il,c as ol}from"./chunk-F22FMU37.js";import{$ as bn,$b as ue,Fb as Pr,Ga as St,Ka as kn,La as z,Na as We,Oa as Jt,Pa as rl,Rb as Hr,Ua as q,Va as Y,W as Fe,Wa as at,X as te,Y as Vs,Z as De,Za as Ne,a as Js,aa as ne,ab as Cn,b as Xs,ba as js,bb as it,ca as tl,e as c0,g as h0,ga as Wr,h as N,ha as Be,ia as ke,ja as nl,jb as dt,kb as re,l as Qs,lb as Nr,na as ho,ta as ee,ua as el,wa as P,xa as Bt,yb as ie,zb as oe}from"./chunk-IGUSDGD6.js";var al=c0((fe,He)=>{(function(){var u,m="4.17.21",C=200,y="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",_="Invalid `variable` option passed into `_.template`",E="__lodash_hash_undefined__",M=500,j="__lodash_placeholder__",Z=1,qe=2,Xt=4,an=1,$e=2,At=1,Sn=2,_o=4,$t=8,Wn=16,Gt=32,Nn=64,Qt=128,ae=256,Gr=512,gl=30,_l="...",ml=800,vl=16,mo=1,wl=2,yl=3,An=1/0,cn=9007199254740991,xl=17976931348623157e292,Ge=NaN,zt=4294967295,bl=zt-1,Cl=zt>>>1,Il=[["ary",Qt],["bind",At],["bindKey",Sn],["curry",$t],["curryRight",Wn],["flip",Gr],["partial",Gt],["partialRight",Nn],["rearg",ae]],Pn="[object Arguments]",ze="[object Array]",Sl="[object AsyncFunction]",ce="[object Boolean]",he="[object Date]",Al="[object DOMException]",Ke="[object Error]",Ye="[object Function]",vo="[object GeneratorFunction]",kt="[object Map]",pe="[object Number]",Tl="[object Null]",Vt="[object Object]",wo="[object Promise]",Ll="[object Proxy]",de="[object RegExp]",Wt="[object Set]",ge="[object String]",Ze="[object Symbol]",El="[object Undefined]",_e="[object WeakMap]",Rl="[object WeakSet]",me="[object ArrayBuffer]",Hn="[object DataView]",zr="[object Float32Array]",Kr="[object Float64Array]",Yr="[object Int8Array]",Zr="[object Int16Array]",Jr="[object Int32Array]",Xr="[object Uint8Array]",Qr="[object Uint8ClampedArray]",Vr="[object Uint16Array]",jr="[object Uint32Array]",Ol=/\b__p \+= '';/g,Ml=/\b(__p \+=) '' \+/g,Fl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,yo=/&(?:amp|lt|gt|quot|#39);/g,xo=/[&<>"']/g,Dl=RegExp(yo.source),Bl=RegExp(xo.source),kl=/<%-([\s\S]+?)%>/g,Wl=/<%([\s\S]+?)%>/g,bo=/<%=([\s\S]+?)%>/g,Nl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pl=/^\w*$/,Hl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ti=/[\\^$.*+?()[\]{}|]/g,Ul=RegExp(ti.source),ni=/^\s+/,ql=/\s/,$l=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gl=/\{\n\/\* \[wrapped with (.+)\] \*/,zl=/,? & /,Kl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Yl=/[()=,{}\[\]\/\s]/,Zl=/\\(\\)?/g,Jl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Co=/\w*$/,Xl=/^[-+]0x[0-9a-f]+$/i,Ql=/^0b[01]+$/i,Vl=/^\[object .+?Constructor\]$/,jl=/^0o[0-7]+$/i,tf=/^(?:0|[1-9]\d*)$/,nf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=/($^)/,ef=/['\n\r\u2028\u2029\\]/g,Xe="\\ud800-\\udfff",rf="\\u0300-\\u036f",of="\\ufe20-\\ufe2f",uf="\\u20d0-\\u20ff",Io=rf+of+uf,So="\\u2700-\\u27bf",Ao="a-z\\xdf-\\xf6\\xf8-\\xff",sf="\\xac\\xb1\\xd7\\xf7",lf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ff="\\u2000-\\u206f",af=" \\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",To="A-Z\\xc0-\\xd6\\xd8-\\xde",Lo="\\ufe0e\\ufe0f",Eo=sf+lf+ff+af,ei="['\u2019]",cf="["+Xe+"]",Ro="["+Eo+"]",Qe="["+Io+"]",Oo="\\d+",hf="["+So+"]",Mo="["+Ao+"]",Fo="[^"+Xe+Eo+Oo+So+Ao+To+"]",ri="\\ud83c[\\udffb-\\udfff]",pf="(?:"+Qe+"|"+ri+")",Do="[^"+Xe+"]",ii="(?:\\ud83c[\\udde6-\\uddff]){2}",oi="[\\ud800-\\udbff][\\udc00-\\udfff]",Un="["+To+"]",Bo="\\u200d",ko="(?:"+Mo+"|"+Fo+")",df="(?:"+Un+"|"+Fo+")",Wo="(?:"+ei+"(?:d|ll|m|re|s|t|ve))?",No="(?:"+ei+"(?:D|LL|M|RE|S|T|VE))?",Po=pf+"?",Ho="["+Lo+"]?",gf="(?:"+Bo+"(?:"+[Do,ii,oi].join("|")+")"+Ho+Po+")*",_f="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Uo=Ho+Po+gf,vf="(?:"+[hf,ii,oi].join("|")+")"+Uo,wf="(?:"+[Do+Qe+"?",Qe,ii,oi,cf].join("|")+")",yf=RegExp(ei,"g"),xf=RegExp(Qe,"g"),ui=RegExp(ri+"(?="+ri+")|"+wf+Uo,"g"),bf=RegExp([Un+"?"+Mo+"+"+Wo+"(?="+[Ro,Un,"$"].join("|")+")",df+"+"+No+"(?="+[Ro,Un+ko,"$"].join("|")+")",Un+"?"+ko+"+"+Wo,Un+"+"+No,mf,_f,Oo,vf].join("|"),"g"),Cf=RegExp("["+Bo+Xe+Io+Lo+"]"),If=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Sf=["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"],Af=-1,J={};J[zr]=J[Kr]=J[Yr]=J[Zr]=J[Jr]=J[Xr]=J[Qr]=J[Vr]=J[jr]=!0,J[Pn]=J[ze]=J[me]=J[ce]=J[Hn]=J[he]=J[Ke]=J[Ye]=J[kt]=J[pe]=J[Vt]=J[de]=J[Wt]=J[ge]=J[_e]=!1;var K={};K[Pn]=K[ze]=K[me]=K[Hn]=K[ce]=K[he]=K[zr]=K[Kr]=K[Yr]=K[Zr]=K[Jr]=K[kt]=K[pe]=K[Vt]=K[de]=K[Wt]=K[ge]=K[Ze]=K[Xr]=K[Qr]=K[Vr]=K[jr]=!0,K[Ke]=K[Ye]=K[_e]=!1;var Tf={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Lf={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ef={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Rf={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Of=parseFloat,Mf=parseInt,qo=typeof global=="object"&&global&&global.Object===Object&&global,Ff=typeof self=="object"&&self&&self.Object===Object&&self,ot=qo||Ff||Function("return this")(),si=typeof fe=="object"&&fe&&!fe.nodeType&&fe,Tn=si&&typeof He=="object"&&He&&!He.nodeType&&He,$o=Tn&&Tn.exports===si,li=$o&&qo.process,Tt=function(){try{var a=Tn&&Tn.require&&Tn.require("util").types;return a||li&&li.binding&&li.binding("util")}catch{}}(),Go=Tt&&Tt.isArrayBuffer,zo=Tt&&Tt.isDate,Ko=Tt&&Tt.isMap,Yo=Tt&&Tt.isRegExp,Zo=Tt&&Tt.isSet,Jo=Tt&&Tt.isTypedArray;function wt(a,p,h){switch(h.length){case 0:return a.call(p);case 1:return a.call(p,h[0]);case 2:return a.call(p,h[0],h[1]);case 3:return a.call(p,h[0],h[1],h[2])}return a.apply(p,h)}function Df(a,p,h,b){for(var L=-1,H=a==null?0:a.length;++L<H;){var et=a[L];p(b,et,h(et),a)}return b}function Lt(a,p){for(var h=-1,b=a==null?0:a.length;++h<b&&p(a[h],h,a)!==!1;);return a}function Bf(a,p){for(var h=a==null?0:a.length;h--&&p(a[h],h,a)!==!1;);return a}function Xo(a,p){for(var h=-1,b=a==null?0:a.length;++h<b;)if(!p(a[h],h,a))return!1;return!0}function hn(a,p){for(var h=-1,b=a==null?0:a.length,L=0,H=[];++h<b;){var et=a[h];p(et,h,a)&&(H[L++]=et)}return H}function Ve(a,p){var h=a==null?0:a.length;return!!h&&qn(a,p,0)>-1}function fi(a,p,h){for(var b=-1,L=a==null?0:a.length;++b<L;)if(h(p,a[b]))return!0;return!1}function X(a,p){for(var h=-1,b=a==null?0:a.length,L=Array(b);++h<b;)L[h]=p(a[h],h,a);return L}function pn(a,p){for(var h=-1,b=p.length,L=a.length;++h<b;)a[L+h]=p[h];return a}function ai(a,p,h,b){var L=-1,H=a==null?0:a.length;for(b&&H&&(h=a[++L]);++L<H;)h=p(h,a[L],L,a);return h}function kf(a,p,h,b){var L=a==null?0:a.length;for(b&&L&&(h=a[--L]);L--;)h=p(h,a[L],L,a);return h}function ci(a,p){for(var h=-1,b=a==null?0:a.length;++h<b;)if(p(a[h],h,a))return!0;return!1}var Wf=hi("length");function Nf(a){return a.split("")}function Pf(a){return a.match(Kl)||[]}function Qo(a,p,h){var b;return h(a,function(L,H,et){if(p(L,H,et))return b=H,!1}),b}function je(a,p,h,b){for(var L=a.length,H=h+(b?1:-1);b?H--:++H<L;)if(p(a[H],H,a))return H;return-1}function qn(a,p,h){return p===p?Qf(a,p,h):je(a,Vo,h)}function Hf(a,p,h,b){for(var L=h-1,H=a.length;++L<H;)if(b(a[L],p))return L;return-1}function Vo(a){return a!==a}function jo(a,p){var h=a==null?0:a.length;return h?di(a,p)/h:Ge}function hi(a){return function(p){return p==null?u:p[a]}}function pi(a){return function(p){return a==null?u:a[p]}}function tu(a,p,h,b,L){return L(a,function(H,et,G){h=b?(b=!1,H):p(h,H,et,G)}),h}function Uf(a,p){var h=a.length;for(a.sort(p);h--;)a[h]=a[h].value;return a}function di(a,p){for(var h,b=-1,L=a.length;++b<L;){var H=p(a[b]);H!==u&&(h=h===u?H:h+H)}return h}function gi(a,p){for(var h=-1,b=Array(a);++h<a;)b[h]=p(h);return b}function qf(a,p){return X(p,function(h){return[h,a[h]]})}function nu(a){return a&&a.slice(0,ou(a)+1).replace(ni,"")}function yt(a){return function(p){return a(p)}}function _i(a,p){return X(p,function(h){return a[h]})}function ve(a,p){return a.has(p)}function eu(a,p){for(var h=-1,b=a.length;++h<b&&qn(p,a[h],0)>-1;);return h}function ru(a,p){for(var h=a.length;h--&&qn(p,a[h],0)>-1;);return h}function $f(a,p){for(var h=a.length,b=0;h--;)a[h]===p&&++b;return b}var Gf=pi(Tf),zf=pi(Lf);function Kf(a){return"\\"+Rf[a]}function Yf(a,p){return a==null?u:a[p]}function $n(a){return Cf.test(a)}function Zf(a){return If.test(a)}function Jf(a){for(var p,h=[];!(p=a.next()).done;)h.push(p.value);return h}function mi(a){var p=-1,h=Array(a.size);return a.forEach(function(b,L){h[++p]=[L,b]}),h}function iu(a,p){return function(h){return a(p(h))}}function dn(a,p){for(var h=-1,b=a.length,L=0,H=[];++h<b;){var et=a[h];(et===p||et===j)&&(a[h]=j,H[L++]=h)}return H}function tr(a){var p=-1,h=Array(a.size);return a.forEach(function(b){h[++p]=b}),h}function Xf(a){var p=-1,h=Array(a.size);return a.forEach(function(b){h[++p]=[b,b]}),h}function Qf(a,p,h){for(var b=h-1,L=a.length;++b<L;)if(a[b]===p)return b;return-1}function Vf(a,p,h){for(var b=h+1;b--;)if(a[b]===p)return b;return b}function Gn(a){return $n(a)?ta(a):Wf(a)}function Nt(a){return $n(a)?na(a):Nf(a)}function ou(a){for(var p=a.length;p--&&ql.test(a.charAt(p)););return p}var jf=pi(Ef);function ta(a){for(var p=ui.lastIndex=0;ui.test(a);)++p;return p}function na(a){return a.match(ui)||[]}function ea(a){return a.match(bf)||[]}var ra=function a(p){p=p==null?ot:gn.defaults(ot.Object(),p,gn.pick(ot,Sf));var h=p.Array,b=p.Date,L=p.Error,H=p.Function,et=p.Math,G=p.Object,vi=p.RegExp,ia=p.String,Et=p.TypeError,nr=h.prototype,oa=H.prototype,zn=G.prototype,er=p["__core-js_shared__"],rr=oa.toString,$=zn.hasOwnProperty,ua=0,uu=function(){var t=/[^.]+$/.exec(er&&er.keys&&er.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ir=zn.toString,sa=rr.call(G),la=ot._,fa=vi("^"+rr.call($).replace(ti,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),or=$o?p.Buffer:u,_n=p.Symbol,ur=p.Uint8Array,su=or?or.allocUnsafe:u,sr=iu(G.getPrototypeOf,G),lu=G.create,fu=zn.propertyIsEnumerable,lr=nr.splice,au=_n?_n.isConcatSpreadable:u,we=_n?_n.iterator:u,Ln=_n?_n.toStringTag:u,fr=function(){try{var t=Fn(G,"defineProperty");return t({},"",{}),t}catch{}}(),aa=p.clearTimeout!==ot.clearTimeout&&p.clearTimeout,ca=b&&b.now!==ot.Date.now&&b.now,ha=p.setTimeout!==ot.setTimeout&&p.setTimeout,ar=et.ceil,cr=et.floor,wi=G.getOwnPropertySymbols,pa=or?or.isBuffer:u,cu=p.isFinite,da=nr.join,ga=iu(G.keys,G),rt=et.max,lt=et.min,_a=b.now,ma=p.parseInt,hu=et.random,va=nr.reverse,yi=Fn(p,"DataView"),ye=Fn(p,"Map"),xi=Fn(p,"Promise"),Kn=Fn(p,"Set"),xe=Fn(p,"WeakMap"),be=Fn(G,"create"),hr=xe&&new xe,Yn={},wa=Dn(yi),ya=Dn(ye),xa=Dn(xi),ba=Dn(Kn),Ca=Dn(xe),pr=_n?_n.prototype:u,Ce=pr?pr.valueOf:u,pu=pr?pr.toString:u;function o(t){if(V(t)&&!R(t)&&!(t instanceof k)){if(t instanceof Rt)return t;if($.call(t,"__wrapped__"))return ds(t)}return new Rt(t)}var Zn=function(){function t(){}return function(n){if(!Q(n))return{};if(lu)return lu(n);t.prototype=n;var e=new t;return t.prototype=u,e}}();function dr(){}function Rt(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=u}o.templateSettings={escape:kl,evaluate:Wl,interpolate:bo,variable:"",imports:{_:o}},o.prototype=dr.prototype,o.prototype.constructor=o,Rt.prototype=Zn(dr.prototype),Rt.prototype.constructor=Rt;function k(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=zt,this.__views__=[]}function Ia(){var t=new k(this.__wrapped__);return t.__actions__=gt(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=gt(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=gt(this.__views__),t}function Sa(){if(this.__filtered__){var t=new k(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Aa(){var t=this.__wrapped__.value(),n=this.__dir__,e=R(t),r=n<0,i=e?t.length:0,s=Nc(0,i,this.__views__),l=s.start,f=s.end,c=f-l,d=r?f:l-1,g=this.__iteratees__,v=g.length,x=0,I=lt(c,this.__takeCount__);if(!e||!r&&i==c&&I==c)return Wu(t,this.__actions__);var A=[];t:for(;c--&&x<I;){d+=n;for(var F=-1,T=t[d];++F<v;){var B=g[F],W=B.iteratee,Ct=B.type,pt=W(T);if(Ct==wl)T=pt;else if(!pt){if(Ct==mo)continue t;break t}}A[x++]=T}return A}k.prototype=Zn(dr.prototype),k.prototype.constructor=k;function En(t){var n=-1,e=t==null?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Ta(){this.__data__=be?be(null):{},this.size=0}function La(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}function Ea(t){var n=this.__data__;if(be){var e=n[t];return e===E?u:e}return $.call(n,t)?n[t]:u}function Ra(t){var n=this.__data__;return be?n[t]!==u:$.call(n,t)}function Oa(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=be&&n===u?E:n,this}En.prototype.clear=Ta,En.prototype.delete=La,En.prototype.get=Ea,En.prototype.has=Ra,En.prototype.set=Oa;function jt(t){var n=-1,e=t==null?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Ma(){this.__data__=[],this.size=0}function Fa(t){var n=this.__data__,e=gr(n,t);if(e<0)return!1;var r=n.length-1;return e==r?n.pop():lr.call(n,e,1),--this.size,!0}function Da(t){var n=this.__data__,e=gr(n,t);return e<0?u:n[e][1]}function Ba(t){return gr(this.__data__,t)>-1}function ka(t,n){var e=this.__data__,r=gr(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}jt.prototype.clear=Ma,jt.prototype.delete=Fa,jt.prototype.get=Da,jt.prototype.has=Ba,jt.prototype.set=ka;function tn(t){var n=-1,e=t==null?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Wa(){this.size=0,this.__data__={hash:new En,map:new(ye||jt),string:new En}}function Na(t){var n=Tr(this,t).delete(t);return this.size-=n?1:0,n}function Pa(t){return Tr(this,t).get(t)}function Ha(t){return Tr(this,t).has(t)}function Ua(t,n){var e=Tr(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this}tn.prototype.clear=Wa,tn.prototype.delete=Na,tn.prototype.get=Pa,tn.prototype.has=Ha,tn.prototype.set=Ua;function Rn(t){var n=-1,e=t==null?0:t.length;for(this.__data__=new tn;++n<e;)this.add(t[n])}function qa(t){return this.__data__.set(t,E),this}function $a(t){return this.__data__.has(t)}Rn.prototype.add=Rn.prototype.push=qa,Rn.prototype.has=$a;function Pt(t){var n=this.__data__=new jt(t);this.size=n.size}function Ga(){this.__data__=new jt,this.size=0}function za(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}function Ka(t){return this.__data__.get(t)}function Ya(t){return this.__data__.has(t)}function Za(t,n){var e=this.__data__;if(e instanceof jt){var r=e.__data__;if(!ye||r.length<C-1)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new tn(r)}return e.set(t,n),this.size=e.size,this}Pt.prototype.clear=Ga,Pt.prototype.delete=za,Pt.prototype.get=Ka,Pt.prototype.has=Ya,Pt.prototype.set=Za;function du(t,n){var e=R(t),r=!e&&Bn(t),i=!e&&!r&&xn(t),s=!e&&!r&&!i&&Vn(t),l=e||r||i||s,f=l?gi(t.length,ia):[],c=f.length;for(var d in t)(n||$.call(t,d))&&!(l&&(d=="length"||i&&(d=="offset"||d=="parent")||s&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||on(d,c)))&&f.push(d);return f}function gu(t){var n=t.length;return n?t[Mi(0,n-1)]:u}function Ja(t,n){return Lr(gt(t),On(n,0,t.length))}function Xa(t){return Lr(gt(t))}function bi(t,n,e){(e!==u&&!Ht(t[n],e)||e===u&&!(n in t))&&nn(t,n,e)}function Ie(t,n,e){var r=t[n];(!($.call(t,n)&&Ht(r,e))||e===u&&!(n in t))&&nn(t,n,e)}function gr(t,n){for(var e=t.length;e--;)if(Ht(t[e][0],n))return e;return-1}function Qa(t,n,e,r){return mn(t,function(i,s,l){n(r,i,e(i),l)}),r}function _u(t,n){return t&&Yt(n,ut(n),t)}function Va(t,n){return t&&Yt(n,mt(n),t)}function nn(t,n,e){n=="__proto__"&&fr?fr(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function Ci(t,n){for(var e=-1,r=n.length,i=h(r),s=t==null;++e<r;)i[e]=s?u:ro(t,n[e]);return i}function On(t,n,e){return t===t&&(e!==u&&(t=t<=e?t:e),n!==u&&(t=t>=n?t:n)),t}function Ot(t,n,e,r,i,s){var l,f=n&Z,c=n&qe,d=n&Xt;if(e&&(l=i?e(t,r,i,s):e(t)),l!==u)return l;if(!Q(t))return t;var g=R(t);if(g){if(l=Hc(t),!f)return gt(t,l)}else{var v=ft(t),x=v==Ye||v==vo;if(xn(t))return Hu(t,f);if(v==Vt||v==Pn||x&&!i){if(l=c||x?{}:os(t),!f)return c?Ec(t,Va(l,t)):Lc(t,_u(l,t))}else{if(!K[v])return i?t:{};l=Uc(t,v,f)}}s||(s=new Pt);var I=s.get(t);if(I)return I;s.set(t,l),Ds(t)?t.forEach(function(T){l.add(Ot(T,n,e,T,t,s))}):Ms(t)&&t.forEach(function(T,B){l.set(B,Ot(T,n,e,B,t,s))});var A=d?c?$i:qi:c?mt:ut,F=g?u:A(t);return Lt(F||t,function(T,B){F&&(B=T,T=t[B]),Ie(l,B,Ot(T,n,e,B,t,s))}),l}function ja(t){var n=ut(t);return function(e){return mu(e,t,n)}}function mu(t,n,e){var r=e.length;if(t==null)return!r;for(t=G(t);r--;){var i=e[r],s=n[i],l=t[i];if(l===u&&!(i in t)||!s(l))return!1}return!0}function vu(t,n,e){if(typeof t!="function")throw new Et(w);return Oe(function(){t.apply(u,e)},n)}function Se(t,n,e,r){var i=-1,s=Ve,l=!0,f=t.length,c=[],d=n.length;if(!f)return c;e&&(n=X(n,yt(e))),r?(s=fi,l=!1):n.length>=C&&(s=ve,l=!1,n=new Rn(n));t:for(;++i<f;){var g=t[i],v=e==null?g:e(g);if(g=r||g!==0?g:0,l&&v===v){for(var x=d;x--;)if(n[x]===v)continue t;c.push(g)}else s(n,v,r)||c.push(g)}return c}var mn=zu(Kt),wu=zu(Si,!0);function tc(t,n){var e=!0;return mn(t,function(r,i,s){return e=!!n(r,i,s),e}),e}function _r(t,n,e){for(var r=-1,i=t.length;++r<i;){var s=t[r],l=n(s);if(l!=null&&(f===u?l===l&&!bt(l):e(l,f)))var f=l,c=s}return c}function nc(t,n,e,r){var i=t.length;for(e=O(e),e<0&&(e=-e>i?0:i+e),r=r===u||r>i?i:O(r),r<0&&(r+=i),r=e>r?0:ks(r);e<r;)t[e++]=n;return t}function yu(t,n){var e=[];return mn(t,function(r,i,s){n(r,i,s)&&e.push(r)}),e}function st(t,n,e,r,i){var s=-1,l=t.length;for(e||(e=$c),i||(i=[]);++s<l;){var f=t[s];n>0&&e(f)?n>1?st(f,n-1,e,r,i):pn(i,f):r||(i[i.length]=f)}return i}var Ii=Ku(),xu=Ku(!0);function Kt(t,n){return t&&Ii(t,n,ut)}function Si(t,n){return t&&xu(t,n,ut)}function mr(t,n){return hn(n,function(e){return un(t[e])})}function Mn(t,n){n=wn(n,t);for(var e=0,r=n.length;t!=null&&e<r;)t=t[Zt(n[e++])];return e&&e==r?t:u}function bu(t,n,e){var r=n(t);return R(t)?r:pn(r,e(t))}function ct(t){return t==null?t===u?El:Tl:Ln&&Ln in G(t)?Wc(t):Xc(t)}function Ai(t,n){return t>n}function ec(t,n){return t!=null&&$.call(t,n)}function rc(t,n){return t!=null&&n in G(t)}function ic(t,n,e){return t>=lt(n,e)&&t<rt(n,e)}function Ti(t,n,e){for(var r=e?fi:Ve,i=t[0].length,s=t.length,l=s,f=h(s),c=1/0,d=[];l--;){var g=t[l];l&&n&&(g=X(g,yt(n))),c=lt(g.length,c),f[l]=!e&&(n||i>=120&&g.length>=120)?new Rn(l&&g):u}g=t[0];var v=-1,x=f[0];t:for(;++v<i&&d.length<c;){var I=g[v],A=n?n(I):I;if(I=e||I!==0?I:0,!(x?ve(x,A):r(d,A,e))){for(l=s;--l;){var F=f[l];if(!(F?ve(F,A):r(t[l],A,e)))continue t}x&&x.push(A),d.push(I)}}return d}function oc(t,n,e,r){return Kt(t,function(i,s,l){n(r,e(i),s,l)}),r}function Ae(t,n,e){n=wn(n,t),t=fs(t,n);var r=t==null?t:t[Zt(Ft(n))];return r==null?u:wt(r,t,e)}function Cu(t){return V(t)&&ct(t)==Pn}function uc(t){return V(t)&&ct(t)==me}function sc(t){return V(t)&&ct(t)==he}function Te(t,n,e,r,i){return t===n?!0:t==null||n==null||!V(t)&&!V(n)?t!==t&&n!==n:lc(t,n,e,r,Te,i)}function lc(t,n,e,r,i,s){var l=R(t),f=R(n),c=l?ze:ft(t),d=f?ze:ft(n);c=c==Pn?Vt:c,d=d==Pn?Vt:d;var g=c==Vt,v=d==Vt,x=c==d;if(x&&xn(t)){if(!xn(n))return!1;l=!0,g=!1}if(x&&!g)return s||(s=new Pt),l||Vn(t)?es(t,n,e,r,i,s):Bc(t,n,c,e,r,i,s);if(!(e&an)){var I=g&&$.call(t,"__wrapped__"),A=v&&$.call(n,"__wrapped__");if(I||A){var F=I?t.value():t,T=A?n.value():n;return s||(s=new Pt),i(F,T,e,r,s)}}return x?(s||(s=new Pt),kc(t,n,e,r,i,s)):!1}function fc(t){return V(t)&&ft(t)==kt}function Li(t,n,e,r){var i=e.length,s=i,l=!r;if(t==null)return!s;for(t=G(t);i--;){var f=e[i];if(l&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++i<s;){f=e[i];var c=f[0],d=t[c],g=f[1];if(l&&f[2]){if(d===u&&!(c in t))return!1}else{var v=new Pt;if(r)var x=r(d,g,c,t,n,v);if(!(x===u?Te(g,d,an|$e,r,v):x))return!1}}return!0}function Iu(t){if(!Q(t)||zc(t))return!1;var n=un(t)?fa:Vl;return n.test(Dn(t))}function ac(t){return V(t)&&ct(t)==de}function cc(t){return V(t)&&ft(t)==Wt}function hc(t){return V(t)&&Dr(t.length)&&!!J[ct(t)]}function Su(t){return typeof t=="function"?t:t==null?vt:typeof t=="object"?R(t)?Lu(t[0],t[1]):Tu(t):Ys(t)}function Ei(t){if(!Re(t))return ga(t);var n=[];for(var e in G(t))$.call(t,e)&&e!="constructor"&&n.push(e);return n}function pc(t){if(!Q(t))return Jc(t);var n=Re(t),e=[];for(var r in t)r=="constructor"&&(n||!$.call(t,r))||e.push(r);return e}function Ri(t,n){return t<n}function Au(t,n){var e=-1,r=_t(t)?h(t.length):[];return mn(t,function(i,s,l){r[++e]=n(i,s,l)}),r}function Tu(t){var n=zi(t);return n.length==1&&n[0][2]?ss(n[0][0],n[0][1]):function(e){return e===t||Li(e,t,n)}}function Lu(t,n){return Yi(t)&&us(n)?ss(Zt(t),n):function(e){var r=ro(e,t);return r===u&&r===n?io(e,t):Te(n,r,an|$e)}}function vr(t,n,e,r,i){t!==n&&Ii(n,function(s,l){if(i||(i=new Pt),Q(s))dc(t,n,l,e,vr,r,i);else{var f=r?r(Ji(t,l),s,l+"",t,n,i):u;f===u&&(f=s),bi(t,l,f)}},mt)}function dc(t,n,e,r,i,s,l){var f=Ji(t,e),c=Ji(n,e),d=l.get(c);if(d){bi(t,e,d);return}var g=s?s(f,c,e+"",t,n,l):u,v=g===u;if(v){var x=R(c),I=!x&&xn(c),A=!x&&!I&&Vn(c);g=c,x||I||A?R(f)?g=f:tt(f)?g=gt(f):I?(v=!1,g=Hu(c,!0)):A?(v=!1,g=Uu(c,!0)):g=[]:Me(c)||Bn(c)?(g=f,Bn(f)?g=Ws(f):(!Q(f)||un(f))&&(g=os(c))):v=!1}v&&(l.set(c,g),i(g,c,r,s,l),l.delete(c)),bi(t,e,g)}function Eu(t,n){var e=t.length;if(e)return n+=n<0?e:0,on(n,e)?t[n]:u}function Ru(t,n,e){n.length?n=X(n,function(s){return R(s)?function(l){return Mn(l,s.length===1?s[0]:s)}:s}):n=[vt];var r=-1;n=X(n,yt(S()));var i=Au(t,function(s,l,f){var c=X(n,function(d){return d(s)});return{criteria:c,index:++r,value:s}});return Uf(i,function(s,l){return Tc(s,l,e)})}function gc(t,n){return Ou(t,n,function(e,r){return io(t,r)})}function Ou(t,n,e){for(var r=-1,i=n.length,s={};++r<i;){var l=n[r],f=Mn(t,l);e(f,l)&&Le(s,wn(l,t),f)}return s}function _c(t){return function(n){return Mn(n,t)}}function Oi(t,n,e,r){var i=r?Hf:qn,s=-1,l=n.length,f=t;for(t===n&&(n=gt(n)),e&&(f=X(t,yt(e)));++s<l;)for(var c=0,d=n[s],g=e?e(d):d;(c=i(f,g,c,r))>-1;)f!==t&&lr.call(f,c,1),lr.call(t,c,1);return t}function Mu(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==s){var s=i;on(i)?lr.call(t,i,1):Bi(t,i)}}return t}function Mi(t,n){return t+cr(hu()*(n-t+1))}function mc(t,n,e,r){for(var i=-1,s=rt(ar((n-t)/(e||1)),0),l=h(s);s--;)l[r?s:++i]=t,t+=e;return l}function Fi(t,n){var e="";if(!t||n<1||n>cn)return e;do n%2&&(e+=t),n=cr(n/2),n&&(t+=t);while(n);return e}function D(t,n){return Xi(ls(t,n,vt),t+"")}function vc(t){return gu(jn(t))}function wc(t,n){var e=jn(t);return Lr(e,On(n,0,e.length))}function Le(t,n,e,r){if(!Q(t))return t;n=wn(n,t);for(var i=-1,s=n.length,l=s-1,f=t;f!=null&&++i<s;){var c=Zt(n[i]),d=e;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(i!=l){var g=f[c];d=r?r(g,c,f):u,d===u&&(d=Q(g)?g:on(n[i+1])?[]:{})}Ie(f,c,d),f=f[c]}return t}var Fu=hr?function(t,n){return hr.set(t,n),t}:vt,yc=fr?function(t,n){return fr(t,"toString",{configurable:!0,enumerable:!1,value:uo(n),writable:!0})}:vt;function xc(t){return Lr(jn(t))}function Mt(t,n,e){var r=-1,i=t.length;n<0&&(n=-n>i?0:i+n),e=e>i?i:e,e<0&&(e+=i),i=n>e?0:e-n>>>0,n>>>=0;for(var s=h(i);++r<i;)s[r]=t[r+n];return s}function bc(t,n){var e;return mn(t,function(r,i,s){return e=n(r,i,s),!e}),!!e}function wr(t,n,e){var r=0,i=t==null?r:t.length;if(typeof n=="number"&&n===n&&i<=Cl){for(;r<i;){var s=r+i>>>1,l=t[s];l!==null&&!bt(l)&&(e?l<=n:l<n)?r=s+1:i=s}return i}return Di(t,n,vt,e)}function Di(t,n,e,r){var i=0,s=t==null?0:t.length;if(s===0)return 0;n=e(n);for(var l=n!==n,f=n===null,c=bt(n),d=n===u;i<s;){var g=cr((i+s)/2),v=e(t[g]),x=v!==u,I=v===null,A=v===v,F=bt(v);if(l)var T=r||A;else d?T=A&&(r||x):f?T=A&&x&&(r||!I):c?T=A&&x&&!I&&(r||!F):I||F?T=!1:T=r?v<=n:v<n;T?i=g+1:s=g}return lt(s,bl)}function Du(t,n){for(var e=-1,r=t.length,i=0,s=[];++e<r;){var l=t[e],f=n?n(l):l;if(!e||!Ht(f,c)){var c=f;s[i++]=l===0?0:l}}return s}function Bu(t){return typeof t=="number"?t:bt(t)?Ge:+t}function xt(t){if(typeof t=="string")return t;if(R(t))return X(t,xt)+"";if(bt(t))return pu?pu.call(t):"";var n=t+"";return n=="0"&&1/t==-An?"-0":n}function vn(t,n,e){var r=-1,i=Ve,s=t.length,l=!0,f=[],c=f;if(e)l=!1,i=fi;else if(s>=C){var d=n?null:Fc(t);if(d)return tr(d);l=!1,i=ve,c=new Rn}else c=n?[]:f;t:for(;++r<s;){var g=t[r],v=n?n(g):g;if(g=e||g!==0?g:0,l&&v===v){for(var x=c.length;x--;)if(c[x]===v)continue t;n&&c.push(v),f.push(g)}else i(c,v,e)||(c!==f&&c.push(v),f.push(g))}return f}function Bi(t,n){return n=wn(n,t),t=fs(t,n),t==null||delete t[Zt(Ft(n))]}function ku(t,n,e,r){return Le(t,n,e(Mn(t,n)),r)}function yr(t,n,e,r){for(var i=t.length,s=r?i:-1;(r?s--:++s<i)&&n(t[s],s,t););return e?Mt(t,r?0:s,r?s+1:i):Mt(t,r?s+1:0,r?i:s)}function Wu(t,n){var e=t;return e instanceof k&&(e=e.value()),ai(n,function(r,i){return i.func.apply(i.thisArg,pn([r],i.args))},e)}function ki(t,n,e){var r=t.length;if(r<2)return r?vn(t[0]):[];for(var i=-1,s=h(r);++i<r;)for(var l=t[i],f=-1;++f<r;)f!=i&&(s[i]=Se(s[i]||l,t[f],n,e));return vn(st(s,1),n,e)}function Nu(t,n,e){for(var r=-1,i=t.length,s=n.length,l={};++r<i;){var f=r<s?n[r]:u;e(l,t[r],f)}return l}function Wi(t){return tt(t)?t:[]}function Ni(t){return typeof t=="function"?t:vt}function wn(t,n){return R(t)?t:Yi(t,n)?[t]:ps(U(t))}var Cc=D;function yn(t,n,e){var r=t.length;return e=e===u?r:e,!n&&e>=r?t:Mt(t,n,e)}var Pu=aa||function(t){return ot.clearTimeout(t)};function Hu(t,n){if(n)return t.slice();var e=t.length,r=su?su(e):new t.constructor(e);return t.copy(r),r}function Pi(t){var n=new t.constructor(t.byteLength);return new ur(n).set(new ur(t)),n}function Ic(t,n){var e=n?Pi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function Sc(t){var n=new t.constructor(t.source,Co.exec(t));return n.lastIndex=t.lastIndex,n}function Ac(t){return Ce?G(Ce.call(t)):{}}function Uu(t,n){var e=n?Pi(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function qu(t,n){if(t!==n){var e=t!==u,r=t===null,i=t===t,s=bt(t),l=n!==u,f=n===null,c=n===n,d=bt(n);if(!f&&!d&&!s&&t>n||s&&l&&c&&!f&&!d||r&&l&&c||!e&&c||!i)return 1;if(!r&&!s&&!d&&t<n||d&&e&&i&&!r&&!s||f&&e&&i||!l&&i||!c)return-1}return 0}function Tc(t,n,e){for(var r=-1,i=t.criteria,s=n.criteria,l=i.length,f=e.length;++r<l;){var c=qu(i[r],s[r]);if(c){if(r>=f)return c;var d=e[r];return c*(d=="desc"?-1:1)}}return t.index-n.index}function $u(t,n,e,r){for(var i=-1,s=t.length,l=e.length,f=-1,c=n.length,d=rt(s-l,0),g=h(c+d),v=!r;++f<c;)g[f]=n[f];for(;++i<l;)(v||i<s)&&(g[e[i]]=t[i]);for(;d--;)g[f++]=t[i++];return g}function Gu(t,n,e,r){for(var i=-1,s=t.length,l=-1,f=e.length,c=-1,d=n.length,g=rt(s-f,0),v=h(g+d),x=!r;++i<g;)v[i]=t[i];for(var I=i;++c<d;)v[I+c]=n[c];for(;++l<f;)(x||i<s)&&(v[I+e[l]]=t[i++]);return v}function gt(t,n){var e=-1,r=t.length;for(n||(n=h(r));++e<r;)n[e]=t[e];return n}function Yt(t,n,e,r){var i=!e;e||(e={});for(var s=-1,l=n.length;++s<l;){var f=n[s],c=r?r(e[f],t[f],f,e,t):u;c===u&&(c=t[f]),i?nn(e,f,c):Ie(e,f,c)}return e}function Lc(t,n){return Yt(t,Ki(t),n)}function Ec(t,n){return Yt(t,rs(t),n)}function xr(t,n){return function(e,r){var i=R(e)?Df:Qa,s=n?n():{};return i(e,t,S(r,2),s)}}function Jn(t){return D(function(n,e){var r=-1,i=e.length,s=i>1?e[i-1]:u,l=i>2?e[2]:u;for(s=t.length>3&&typeof s=="function"?(i--,s):u,l&&ht(e[0],e[1],l)&&(s=i<3?u:s,i=1),n=G(n);++r<i;){var f=e[r];f&&t(n,f,r,s)}return n})}function zu(t,n){return function(e,r){if(e==null)return e;if(!_t(e))return t(e,r);for(var i=e.length,s=n?i:-1,l=G(e);(n?s--:++s<i)&&r(l[s],s,l)!==!1;);return e}}function Ku(t){return function(n,e,r){for(var i=-1,s=G(n),l=r(n),f=l.length;f--;){var c=l[t?f:++i];if(e(s[c],c,s)===!1)break}return n}}function Rc(t,n,e){var r=n&At,i=Ee(t);function s(){var l=this&&this!==ot&&this instanceof s?i:t;return l.apply(r?e:this,arguments)}return s}function Yu(t){return function(n){n=U(n);var e=$n(n)?Nt(n):u,r=e?e[0]:n.charAt(0),i=e?yn(e,1).join(""):n.slice(1);return r[t]()+i}}function Xn(t){return function(n){return ai(zs(Gs(n).replace(yf,"")),t,"")}}function Ee(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=Zn(t.prototype),r=t.apply(e,n);return Q(r)?r:e}}function Oc(t,n,e){var r=Ee(t);function i(){for(var s=arguments.length,l=h(s),f=s,c=Qn(i);f--;)l[f]=arguments[f];var d=s<3&&l[0]!==c&&l[s-1]!==c?[]:dn(l,c);if(s-=d.length,s<e)return Vu(t,n,br,i.placeholder,u,l,d,u,u,e-s);var g=this&&this!==ot&&this instanceof i?r:t;return wt(g,this,l)}return i}function Zu(t){return function(n,e,r){var i=G(n);if(!_t(n)){var s=S(e,3);n=ut(n),e=function(f){return s(i[f],f,i)}}var l=t(n,e,r);return l>-1?i[s?n[l]:l]:u}}function Ju(t){return rn(function(n){var e=n.length,r=e,i=Rt.prototype.thru;for(t&&n.reverse();r--;){var s=n[r];if(typeof s!="function")throw new Et(w);if(i&&!l&&Ar(s)=="wrapper")var l=new Rt([],!0)}for(r=l?r:e;++r<e;){s=n[r];var f=Ar(s),c=f=="wrapper"?Gi(s):u;c&&Zi(c[0])&&c[1]==(Qt|$t|Gt|ae)&&!c[4].length&&c[9]==1?l=l[Ar(c[0])].apply(l,c[3]):l=s.length==1&&Zi(s)?l[f]():l.thru(s)}return function(){var d=arguments,g=d[0];if(l&&d.length==1&&R(g))return l.plant(g).value();for(var v=0,x=e?n[v].apply(this,d):g;++v<e;)x=n[v].call(this,x);return x}})}function br(t,n,e,r,i,s,l,f,c,d){var g=n&Qt,v=n&At,x=n&Sn,I=n&($t|Wn),A=n&Gr,F=x?u:Ee(t);function T(){for(var B=arguments.length,W=h(B),Ct=B;Ct--;)W[Ct]=arguments[Ct];if(I)var pt=Qn(T),It=$f(W,pt);if(r&&(W=$u(W,r,i,I)),s&&(W=Gu(W,s,l,I)),B-=It,I&&B<d){var nt=dn(W,pt);return Vu(t,n,br,T.placeholder,e,W,nt,f,c,d-B)}var Ut=v?e:this,ln=x?Ut[t]:t;return B=W.length,f?W=Qc(W,f):A&&B>1&&W.reverse(),g&&c<B&&(W.length=c),this&&this!==ot&&this instanceof T&&(ln=F||Ee(ln)),ln.apply(Ut,W)}return T}function Xu(t,n){return function(e,r){return oc(e,t,n(r),{})}}function Cr(t,n){return function(e,r){var i;if(e===u&&r===u)return n;if(e!==u&&(i=e),r!==u){if(i===u)return r;typeof e=="string"||typeof r=="string"?(e=xt(e),r=xt(r)):(e=Bu(e),r=Bu(r)),i=t(e,r)}return i}}function Hi(t){return rn(function(n){return n=X(n,yt(S())),D(function(e){var r=this;return t(n,function(i){return wt(i,r,e)})})})}function Ir(t,n){n=n===u?" ":xt(n);var e=n.length;if(e<2)return e?Fi(n,t):n;var r=Fi(n,ar(t/Gn(n)));return $n(n)?yn(Nt(r),0,t).join(""):r.slice(0,t)}function Mc(t,n,e,r){var i=n&At,s=Ee(t);function l(){for(var f=-1,c=arguments.length,d=-1,g=r.length,v=h(g+c),x=this&&this!==ot&&this instanceof l?s:t;++d<g;)v[d]=r[d];for(;c--;)v[d++]=arguments[++f];return wt(x,i?e:this,v)}return l}function Qu(t){return function(n,e,r){return r&&typeof r!="number"&&ht(n,e,r)&&(e=r=u),n=sn(n),e===u?(e=n,n=0):e=sn(e),r=r===u?n<e?1:-1:sn(r),mc(n,e,r,t)}}function Sr(t){return function(n,e){return typeof n=="string"&&typeof e=="string"||(n=Dt(n),e=Dt(e)),t(n,e)}}function Vu(t,n,e,r,i,s,l,f,c,d){var g=n&$t,v=g?l:u,x=g?u:l,I=g?s:u,A=g?u:s;n|=g?Gt:Nn,n&=~(g?Nn:Gt),n&_o||(n&=~(At|Sn));var F=[t,n,i,I,v,A,x,f,c,d],T=e.apply(u,F);return Zi(t)&&as(T,F),T.placeholder=r,cs(T,t,n)}function Ui(t){var n=et[t];return function(e,r){if(e=Dt(e),r=r==null?0:lt(O(r),292),r&&cu(e)){var i=(U(e)+"e").split("e"),s=n(i[0]+"e"+(+i[1]+r));return i=(U(s)+"e").split("e"),+(i[0]+"e"+(+i[1]-r))}return n(e)}}var Fc=Kn&&1/tr(new Kn([,-0]))[1]==An?function(t){return new Kn(t)}:fo;function ju(t){return function(n){var e=ft(n);return e==kt?mi(n):e==Wt?Xf(n):qf(n,t(n))}}function en(t,n,e,r,i,s,l,f){var c=n&Sn;if(!c&&typeof t!="function")throw new Et(w);var d=r?r.length:0;if(d||(n&=~(Gt|Nn),r=i=u),l=l===u?l:rt(O(l),0),f=f===u?f:O(f),d-=i?i.length:0,n&Nn){var g=r,v=i;r=i=u}var x=c?u:Gi(t),I=[t,n,e,r,i,g,v,s,l,f];if(x&&Zc(I,x),t=I[0],n=I[1],e=I[2],r=I[3],i=I[4],f=I[9]=I[9]===u?c?0:t.length:rt(I[9]-d,0),!f&&n&($t|Wn)&&(n&=~($t|Wn)),!n||n==At)var A=Rc(t,n,e);else n==$t||n==Wn?A=Oc(t,n,f):(n==Gt||n==(At|Gt))&&!i.length?A=Mc(t,n,e,r):A=br.apply(u,I);var F=x?Fu:as;return cs(F(A,I),t,n)}function ts(t,n,e,r){return t===u||Ht(t,zn[e])&&!$.call(r,e)?n:t}function ns(t,n,e,r,i,s){return Q(t)&&Q(n)&&(s.set(n,t),vr(t,n,u,ns,s),s.delete(n)),t}function Dc(t){return Me(t)?u:t}function es(t,n,e,r,i,s){var l=e&an,f=t.length,c=n.length;if(f!=c&&!(l&&c>f))return!1;var d=s.get(t),g=s.get(n);if(d&&g)return d==n&&g==t;var v=-1,x=!0,I=e&$e?new Rn:u;for(s.set(t,n),s.set(n,t);++v<f;){var A=t[v],F=n[v];if(r)var T=l?r(F,A,v,n,t,s):r(A,F,v,t,n,s);if(T!==u){if(T)continue;x=!1;break}if(I){if(!ci(n,function(B,W){if(!ve(I,W)&&(A===B||i(A,B,e,r,s)))return I.push(W)})){x=!1;break}}else if(!(A===F||i(A,F,e,r,s))){x=!1;break}}return s.delete(t),s.delete(n),x}function Bc(t,n,e,r,i,s,l){switch(e){case Hn:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case me:return!(t.byteLength!=n.byteLength||!s(new ur(t),new ur(n)));case ce:case he:case pe:return Ht(+t,+n);case Ke:return t.name==n.name&&t.message==n.message;case de:case ge:return t==n+"";case kt:var f=mi;case Wt:var c=r&an;if(f||(f=tr),t.size!=n.size&&!c)return!1;var d=l.get(t);if(d)return d==n;r|=$e,l.set(t,n);var g=es(f(t),f(n),r,i,s,l);return l.delete(t),g;case Ze:if(Ce)return Ce.call(t)==Ce.call(n)}return!1}function kc(t,n,e,r,i,s){var l=e&an,f=qi(t),c=f.length,d=qi(n),g=d.length;if(c!=g&&!l)return!1;for(var v=c;v--;){var x=f[v];if(!(l?x in n:$.call(n,x)))return!1}var I=s.get(t),A=s.get(n);if(I&&A)return I==n&&A==t;var F=!0;s.set(t,n),s.set(n,t);for(var T=l;++v<c;){x=f[v];var B=t[x],W=n[x];if(r)var Ct=l?r(W,B,x,n,t,s):r(B,W,x,t,n,s);if(!(Ct===u?B===W||i(B,W,e,r,s):Ct)){F=!1;break}T||(T=x=="constructor")}if(F&&!T){var pt=t.constructor,It=n.constructor;pt!=It&&"constructor"in t&&"constructor"in n&&!(typeof pt=="function"&&pt instanceof pt&&typeof It=="function"&&It instanceof It)&&(F=!1)}return s.delete(t),s.delete(n),F}function rn(t){return Xi(ls(t,u,ms),t+"")}function qi(t){return bu(t,ut,Ki)}function $i(t){return bu(t,mt,rs)}var Gi=hr?function(t){return hr.get(t)}:fo;function Ar(t){for(var n=t.name+"",e=Yn[n],r=$.call(Yn,n)?e.length:0;r--;){var i=e[r],s=i.func;if(s==null||s==t)return i.name}return n}function Qn(t){var n=$.call(o,"placeholder")?o:t;return n.placeholder}function S(){var t=o.iteratee||so;return t=t===so?Su:t,arguments.length?t(arguments[0],arguments[1]):t}function Tr(t,n){var e=t.__data__;return Gc(n)?e[typeof n=="string"?"string":"hash"]:e.map}function zi(t){for(var n=ut(t),e=n.length;e--;){var r=n[e],i=t[r];n[e]=[r,i,us(i)]}return n}function Fn(t,n){var e=Yf(t,n);return Iu(e)?e:u}function Wc(t){var n=$.call(t,Ln),e=t[Ln];try{t[Ln]=u;var r=!0}catch{}var i=ir.call(t);return r&&(n?t[Ln]=e:delete t[Ln]),i}var Ki=wi?function(t){return t==null?[]:(t=G(t),hn(wi(t),function(n){return fu.call(t,n)}))}:ao,rs=wi?function(t){for(var n=[];t;)pn(n,Ki(t)),t=sr(t);return n}:ao,ft=ct;(yi&&ft(new yi(new ArrayBuffer(1)))!=Hn||ye&&ft(new ye)!=kt||xi&&ft(xi.resolve())!=wo||Kn&&ft(new Kn)!=Wt||xe&&ft(new xe)!=_e)&&(ft=function(t){var n=ct(t),e=n==Vt?t.constructor:u,r=e?Dn(e):"";if(r)switch(r){case wa:return Hn;case ya:return kt;case xa:return wo;case ba:return Wt;case Ca:return _e}return n});function Nc(t,n,e){for(var r=-1,i=e.length;++r<i;){var s=e[r],l=s.size;switch(s.type){case"drop":t+=l;break;case"dropRight":n-=l;break;case"take":n=lt(n,t+l);break;case"takeRight":t=rt(t,n-l);break}}return{start:t,end:n}}function Pc(t){var n=t.match(Gl);return n?n[1].split(zl):[]}function is(t,n,e){n=wn(n,t);for(var r=-1,i=n.length,s=!1;++r<i;){var l=Zt(n[r]);if(!(s=t!=null&&e(t,l)))break;t=t[l]}return s||++r!=i?s:(i=t==null?0:t.length,!!i&&Dr(i)&&on(l,i)&&(R(t)||Bn(t)))}function Hc(t){var n=t.length,e=new t.constructor(n);return n&&typeof t[0]=="string"&&$.call(t,"index")&&(e.index=t.index,e.input=t.input),e}function os(t){return typeof t.constructor=="function"&&!Re(t)?Zn(sr(t)):{}}function Uc(t,n,e){var r=t.constructor;switch(n){case me:return Pi(t);case ce:case he:return new r(+t);case Hn:return Ic(t,e);case zr:case Kr:case Yr:case Zr:case Jr:case Xr:case Qr:case Vr:case jr:return Uu(t,e);case kt:return new r;case pe:case ge:return new r(t);case de:return Sc(t);case Wt:return new r;case Ze:return Ac(t)}}function qc(t,n){var e=n.length;if(!e)return t;var r=e-1;return n[r]=(e>1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace($l,`{
2
- /* [wrapped with `+n+`] */
3
- `)}function $c(t){return R(t)||Bn(t)||!!(au&&t&&t[au])}function on(t,n){var e=typeof t;return n=n==null?cn:n,!!n&&(e=="number"||e!="symbol"&&tf.test(t))&&t>-1&&t%1==0&&t<n}function ht(t,n,e){if(!Q(e))return!1;var r=typeof n;return(r=="number"?_t(e)&&on(n,e.length):r=="string"&&n in e)?Ht(e[n],t):!1}function Yi(t,n){if(R(t))return!1;var e=typeof t;return e=="number"||e=="symbol"||e=="boolean"||t==null||bt(t)?!0:Pl.test(t)||!Nl.test(t)||n!=null&&t in G(n)}function Gc(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}function Zi(t){var n=Ar(t),e=o[n];if(typeof e!="function"||!(n in k.prototype))return!1;if(t===e)return!0;var r=Gi(e);return!!r&&t===r[0]}function zc(t){return!!uu&&uu in t}var Kc=er?un:co;function Re(t){var n=t&&t.constructor,e=typeof n=="function"&&n.prototype||zn;return t===e}function us(t){return t===t&&!Q(t)}function ss(t,n){return function(e){return e==null?!1:e[t]===n&&(n!==u||t in G(e))}}function Yc(t){var n=Mr(t,function(r){return e.size===M&&e.clear(),r}),e=n.cache;return n}function Zc(t,n){var e=t[1],r=n[1],i=e|r,s=i<(At|Sn|Qt),l=r==Qt&&e==$t||r==Qt&&e==ae&&t[7].length<=n[8]||r==(Qt|ae)&&n[7].length<=n[8]&&e==$t;if(!(s||l))return t;r&At&&(t[2]=n[2],i|=e&At?0:_o);var f=n[3];if(f){var c=t[3];t[3]=c?$u(c,f,n[4]):f,t[4]=c?dn(t[3],j):n[4]}return f=n[5],f&&(c=t[5],t[5]=c?Gu(c,f,n[6]):f,t[6]=c?dn(t[5],j):n[6]),f=n[7],f&&(t[7]=f),r&Qt&&(t[8]=t[8]==null?n[8]:lt(t[8],n[8])),t[9]==null&&(t[9]=n[9]),t[0]=n[0],t[1]=i,t}function Jc(t){var n=[];if(t!=null)for(var e in G(t))n.push(e);return n}function Xc(t){return ir.call(t)}function ls(t,n,e){return n=rt(n===u?t.length-1:n,0),function(){for(var r=arguments,i=-1,s=rt(r.length-n,0),l=h(s);++i<s;)l[i]=r[n+i];i=-1;for(var f=h(n+1);++i<n;)f[i]=r[i];return f[n]=e(l),wt(t,this,f)}}function fs(t,n){return n.length<2?t:Mn(t,Mt(n,0,-1))}function Qc(t,n){for(var e=t.length,r=lt(n.length,e),i=gt(t);r--;){var s=n[r];t[r]=on(s,e)?i[s]:u}return t}function Ji(t,n){if(!(n==="constructor"&&typeof t[n]=="function")&&n!="__proto__")return t[n]}var as=hs(Fu),Oe=ha||function(t,n){return ot.setTimeout(t,n)},Xi=hs(yc);function cs(t,n,e){var r=n+"";return Xi(t,qc(r,Vc(Pc(r),e)))}function hs(t){var n=0,e=0;return function(){var r=_a(),i=vl-(r-e);if(e=r,i>0){if(++n>=ml)return arguments[0]}else n=0;return t.apply(u,arguments)}}function Lr(t,n){var e=-1,r=t.length,i=r-1;for(n=n===u?r:n;++e<n;){var s=Mi(e,i),l=t[s];t[s]=t[e],t[e]=l}return t.length=n,t}var ps=Yc(function(t){var n=[];return t.charCodeAt(0)===46&&n.push(""),t.replace(Hl,function(e,r,i,s){n.push(i?s.replace(Zl,"$1"):r||e)}),n});function Zt(t){if(typeof t=="string"||bt(t))return t;var n=t+"";return n=="0"&&1/t==-An?"-0":n}function Dn(t){if(t!=null){try{return rr.call(t)}catch{}try{return t+""}catch{}}return""}function Vc(t,n){return Lt(Il,function(e){var r="_."+e[0];n&e[1]&&!Ve(t,r)&&t.push(r)}),t.sort()}function ds(t){if(t instanceof k)return t.clone();var n=new Rt(t.__wrapped__,t.__chain__);return n.__actions__=gt(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}function jc(t,n,e){(e?ht(t,n,e):n===u)?n=1:n=rt(O(n),0);var r=t==null?0:t.length;if(!r||n<1)return[];for(var i=0,s=0,l=h(ar(r/n));i<r;)l[s++]=Mt(t,i,i+=n);return l}function th(t){for(var n=-1,e=t==null?0:t.length,r=0,i=[];++n<e;){var s=t[n];s&&(i[r++]=s)}return i}function nh(){var t=arguments.length;if(!t)return[];for(var n=h(t-1),e=arguments[0],r=t;r--;)n[r-1]=arguments[r];return pn(R(e)?gt(e):[e],st(n,1))}var eh=D(function(t,n){return tt(t)?Se(t,st(n,1,tt,!0)):[]}),rh=D(function(t,n){var e=Ft(n);return tt(e)&&(e=u),tt(t)?Se(t,st(n,1,tt,!0),S(e,2)):[]}),ih=D(function(t,n){var e=Ft(n);return tt(e)&&(e=u),tt(t)?Se(t,st(n,1,tt,!0),u,e):[]});function oh(t,n,e){var r=t==null?0:t.length;return r?(n=e||n===u?1:O(n),Mt(t,n<0?0:n,r)):[]}function uh(t,n,e){var r=t==null?0:t.length;return r?(n=e||n===u?1:O(n),n=r-n,Mt(t,0,n<0?0:n)):[]}function sh(t,n){return t&&t.length?yr(t,S(n,3),!0,!0):[]}function lh(t,n){return t&&t.length?yr(t,S(n,3),!0):[]}function fh(t,n,e,r){var i=t==null?0:t.length;return i?(e&&typeof e!="number"&&ht(t,n,e)&&(e=0,r=i),nc(t,n,e,r)):[]}function gs(t,n,e){var r=t==null?0:t.length;if(!r)return-1;var i=e==null?0:O(e);return i<0&&(i=rt(r+i,0)),je(t,S(n,3),i)}function _s(t,n,e){var r=t==null?0:t.length;if(!r)return-1;var i=r-1;return e!==u&&(i=O(e),i=e<0?rt(r+i,0):lt(i,r-1)),je(t,S(n,3),i,!0)}function ms(t){var n=t==null?0:t.length;return n?st(t,1):[]}function ah(t){var n=t==null?0:t.length;return n?st(t,An):[]}function ch(t,n){var e=t==null?0:t.length;return e?(n=n===u?1:O(n),st(t,n)):[]}function hh(t){for(var n=-1,e=t==null?0:t.length,r={};++n<e;){var i=t[n];r[i[0]]=i[1]}return r}function vs(t){return t&&t.length?t[0]:u}function ph(t,n,e){var r=t==null?0:t.length;if(!r)return-1;var i=e==null?0:O(e);return i<0&&(i=rt(r+i,0)),qn(t,n,i)}function dh(t){var n=t==null?0:t.length;return n?Mt(t,0,-1):[]}var gh=D(function(t){var n=X(t,Wi);return n.length&&n[0]===t[0]?Ti(n):[]}),_h=D(function(t){var n=Ft(t),e=X(t,Wi);return n===Ft(e)?n=u:e.pop(),e.length&&e[0]===t[0]?Ti(e,S(n,2)):[]}),mh=D(function(t){var n=Ft(t),e=X(t,Wi);return n=typeof n=="function"?n:u,n&&e.pop(),e.length&&e[0]===t[0]?Ti(e,u,n):[]});function vh(t,n){return t==null?"":da.call(t,n)}function Ft(t){var n=t==null?0:t.length;return n?t[n-1]:u}function wh(t,n,e){var r=t==null?0:t.length;if(!r)return-1;var i=r;return e!==u&&(i=O(e),i=i<0?rt(r+i,0):lt(i,r-1)),n===n?Vf(t,n,i):je(t,Vo,i,!0)}function yh(t,n){return t&&t.length?Eu(t,O(n)):u}var xh=D(ws);function ws(t,n){return t&&t.length&&n&&n.length?Oi(t,n):t}function bh(t,n,e){return t&&t.length&&n&&n.length?Oi(t,n,S(e,2)):t}function Ch(t,n,e){return t&&t.length&&n&&n.length?Oi(t,n,u,e):t}var Ih=rn(function(t,n){var e=t==null?0:t.length,r=Ci(t,n);return Mu(t,X(n,function(i){return on(i,e)?+i:i}).sort(qu)),r});function Sh(t,n){var e=[];if(!(t&&t.length))return e;var r=-1,i=[],s=t.length;for(n=S(n,3);++r<s;){var l=t[r];n(l,r,t)&&(e.push(l),i.push(r))}return Mu(t,i),e}function Qi(t){return t==null?t:va.call(t)}function Ah(t,n,e){var r=t==null?0:t.length;return r?(e&&typeof e!="number"&&ht(t,n,e)?(n=0,e=r):(n=n==null?0:O(n),e=e===u?r:O(e)),Mt(t,n,e)):[]}function Th(t,n){return wr(t,n)}function Lh(t,n,e){return Di(t,n,S(e,2))}function Eh(t,n){var e=t==null?0:t.length;if(e){var r=wr(t,n);if(r<e&&Ht(t[r],n))return r}return-1}function Rh(t,n){return wr(t,n,!0)}function Oh(t,n,e){return Di(t,n,S(e,2),!0)}function Mh(t,n){var e=t==null?0:t.length;if(e){var r=wr(t,n,!0)-1;if(Ht(t[r],n))return r}return-1}function Fh(t){return t&&t.length?Du(t):[]}function Dh(t,n){return t&&t.length?Du(t,S(n,2)):[]}function Bh(t){var n=t==null?0:t.length;return n?Mt(t,1,n):[]}function kh(t,n,e){return t&&t.length?(n=e||n===u?1:O(n),Mt(t,0,n<0?0:n)):[]}function Wh(t,n,e){var r=t==null?0:t.length;return r?(n=e||n===u?1:O(n),n=r-n,Mt(t,n<0?0:n,r)):[]}function Nh(t,n){return t&&t.length?yr(t,S(n,3),!1,!0):[]}function Ph(t,n){return t&&t.length?yr(t,S(n,3)):[]}var Hh=D(function(t){return vn(st(t,1,tt,!0))}),Uh=D(function(t){var n=Ft(t);return tt(n)&&(n=u),vn(st(t,1,tt,!0),S(n,2))}),qh=D(function(t){var n=Ft(t);return n=typeof n=="function"?n:u,vn(st(t,1,tt,!0),u,n)});function $h(t){return t&&t.length?vn(t):[]}function Gh(t,n){return t&&t.length?vn(t,S(n,2)):[]}function zh(t,n){return n=typeof n=="function"?n:u,t&&t.length?vn(t,u,n):[]}function Vi(t){if(!(t&&t.length))return[];var n=0;return t=hn(t,function(e){if(tt(e))return n=rt(e.length,n),!0}),gi(n,function(e){return X(t,hi(e))})}function ys(t,n){if(!(t&&t.length))return[];var e=Vi(t);return n==null?e:X(e,function(r){return wt(n,u,r)})}var Kh=D(function(t,n){return tt(t)?Se(t,n):[]}),Yh=D(function(t){return ki(hn(t,tt))}),Zh=D(function(t){var n=Ft(t);return tt(n)&&(n=u),ki(hn(t,tt),S(n,2))}),Jh=D(function(t){var n=Ft(t);return n=typeof n=="function"?n:u,ki(hn(t,tt),u,n)}),Xh=D(Vi);function Qh(t,n){return Nu(t||[],n||[],Ie)}function Vh(t,n){return Nu(t||[],n||[],Le)}var jh=D(function(t){var n=t.length,e=n>1?t[n-1]:u;return e=typeof e=="function"?(t.pop(),e):u,ys(t,e)});function xs(t){var n=o(t);return n.__chain__=!0,n}function tp(t,n){return n(t),t}function Er(t,n){return n(t)}var np=rn(function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,i=function(s){return Ci(s,t)};return n>1||this.__actions__.length||!(r instanceof k)||!on(e)?this.thru(i):(r=r.slice(e,+e+(n?1:0)),r.__actions__.push({func:Er,args:[i],thisArg:u}),new Rt(r,this.__chain__).thru(function(s){return n&&!s.length&&s.push(u),s}))});function ep(){return xs(this)}function rp(){return new Rt(this.value(),this.__chain__)}function ip(){this.__values__===u&&(this.__values__=Bs(this.value()));var t=this.__index__>=this.__values__.length,n=t?u:this.__values__[this.__index__++];return{done:t,value:n}}function op(){return this}function up(t){for(var n,e=this;e instanceof dr;){var r=ds(e);r.__index__=0,r.__values__=u,n?i.__wrapped__=r:n=r;var i=r;e=e.__wrapped__}return i.__wrapped__=t,n}function sp(){var t=this.__wrapped__;if(t instanceof k){var n=t;return this.__actions__.length&&(n=new k(this)),n=n.reverse(),n.__actions__.push({func:Er,args:[Qi],thisArg:u}),new Rt(n,this.__chain__)}return this.thru(Qi)}function lp(){return Wu(this.__wrapped__,this.__actions__)}var fp=xr(function(t,n,e){$.call(t,e)?++t[e]:nn(t,e,1)});function ap(t,n,e){var r=R(t)?Xo:tc;return e&&ht(t,n,e)&&(n=u),r(t,S(n,3))}function cp(t,n){var e=R(t)?hn:yu;return e(t,S(n,3))}var hp=Zu(gs),pp=Zu(_s);function dp(t,n){return st(Rr(t,n),1)}function gp(t,n){return st(Rr(t,n),An)}function _p(t,n,e){return e=e===u?1:O(e),st(Rr(t,n),e)}function bs(t,n){var e=R(t)?Lt:mn;return e(t,S(n,3))}function Cs(t,n){var e=R(t)?Bf:wu;return e(t,S(n,3))}var mp=xr(function(t,n,e){$.call(t,e)?t[e].push(n):nn(t,e,[n])});function vp(t,n,e,r){t=_t(t)?t:jn(t),e=e&&!r?O(e):0;var i=t.length;return e<0&&(e=rt(i+e,0)),Br(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&qn(t,n,e)>-1}var wp=D(function(t,n,e){var r=-1,i=typeof n=="function",s=_t(t)?h(t.length):[];return mn(t,function(l){s[++r]=i?wt(n,l,e):Ae(l,n,e)}),s}),yp=xr(function(t,n,e){nn(t,e,n)});function Rr(t,n){var e=R(t)?X:Au;return e(t,S(n,3))}function xp(t,n,e,r){return t==null?[]:(R(n)||(n=n==null?[]:[n]),e=r?u:e,R(e)||(e=e==null?[]:[e]),Ru(t,n,e))}var bp=xr(function(t,n,e){t[e?0:1].push(n)},function(){return[[],[]]});function Cp(t,n,e){var r=R(t)?ai:tu,i=arguments.length<3;return r(t,S(n,4),e,i,mn)}function Ip(t,n,e){var r=R(t)?kf:tu,i=arguments.length<3;return r(t,S(n,4),e,i,wu)}function Sp(t,n){var e=R(t)?hn:yu;return e(t,Fr(S(n,3)))}function Ap(t){var n=R(t)?gu:vc;return n(t)}function Tp(t,n,e){(e?ht(t,n,e):n===u)?n=1:n=O(n);var r=R(t)?Ja:wc;return r(t,n)}function Lp(t){var n=R(t)?Xa:xc;return n(t)}function Ep(t){if(t==null)return 0;if(_t(t))return Br(t)?Gn(t):t.length;var n=ft(t);return n==kt||n==Wt?t.size:Ei(t).length}function Rp(t,n,e){var r=R(t)?ci:bc;return e&&ht(t,n,e)&&(n=u),r(t,S(n,3))}var Op=D(function(t,n){if(t==null)return[];var e=n.length;return e>1&&ht(t,n[0],n[1])?n=[]:e>2&&ht(n[0],n[1],n[2])&&(n=[n[0]]),Ru(t,st(n,1),[])}),Or=ca||function(){return ot.Date.now()};function Mp(t,n){if(typeof n!="function")throw new Et(w);return t=O(t),function(){if(--t<1)return n.apply(this,arguments)}}function Is(t,n,e){return n=e?u:n,n=t&&n==null?t.length:n,en(t,Qt,u,u,u,u,n)}function Ss(t,n){var e;if(typeof n!="function")throw new Et(w);return t=O(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=u),e}}var ji=D(function(t,n,e){var r=At;if(e.length){var i=dn(e,Qn(ji));r|=Gt}return en(t,r,n,e,i)}),As=D(function(t,n,e){var r=At|Sn;if(e.length){var i=dn(e,Qn(As));r|=Gt}return en(n,r,t,e,i)});function Ts(t,n,e){n=e?u:n;var r=en(t,$t,u,u,u,u,u,n);return r.placeholder=Ts.placeholder,r}function Ls(t,n,e){n=e?u:n;var r=en(t,Wn,u,u,u,u,u,n);return r.placeholder=Ls.placeholder,r}function Es(t,n,e){var r,i,s,l,f,c,d=0,g=!1,v=!1,x=!0;if(typeof t!="function")throw new Et(w);n=Dt(n)||0,Q(e)&&(g=!!e.leading,v="maxWait"in e,s=v?rt(Dt(e.maxWait)||0,n):s,x="trailing"in e?!!e.trailing:x);function I(nt){var Ut=r,ln=i;return r=i=u,d=nt,l=t.apply(ln,Ut),l}function A(nt){return d=nt,f=Oe(B,n),g?I(nt):l}function F(nt){var Ut=nt-c,ln=nt-d,Zs=n-Ut;return v?lt(Zs,s-ln):Zs}function T(nt){var Ut=nt-c,ln=nt-d;return c===u||Ut>=n||Ut<0||v&&ln>=s}function B(){var nt=Or();if(T(nt))return W(nt);f=Oe(B,F(nt))}function W(nt){return f=u,x&&r?I(nt):(r=i=u,l)}function Ct(){f!==u&&Pu(f),d=0,r=c=i=f=u}function pt(){return f===u?l:W(Or())}function It(){var nt=Or(),Ut=T(nt);if(r=arguments,i=this,c=nt,Ut){if(f===u)return A(c);if(v)return Pu(f),f=Oe(B,n),I(c)}return f===u&&(f=Oe(B,n)),l}return It.cancel=Ct,It.flush=pt,It}var Fp=D(function(t,n){return vu(t,1,n)}),Dp=D(function(t,n,e){return vu(t,Dt(n)||0,e)});function Bp(t){return en(t,Gr)}function Mr(t,n){if(typeof t!="function"||n!=null&&typeof n!="function")throw new Et(w);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],s=e.cache;if(s.has(i))return s.get(i);var l=t.apply(this,r);return e.cache=s.set(i,l)||s,l};return e.cache=new(Mr.Cache||tn),e}Mr.Cache=tn;function Fr(t){if(typeof t!="function")throw new Et(w);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}function kp(t){return Ss(2,t)}var Wp=Cc(function(t,n){n=n.length==1&&R(n[0])?X(n[0],yt(S())):X(st(n,1),yt(S()));var e=n.length;return D(function(r){for(var i=-1,s=lt(r.length,e);++i<s;)r[i]=n[i].call(this,r[i]);return wt(t,this,r)})}),to=D(function(t,n){var e=dn(n,Qn(to));return en(t,Gt,u,n,e)}),Rs=D(function(t,n){var e=dn(n,Qn(Rs));return en(t,Nn,u,n,e)}),Np=rn(function(t,n){return en(t,ae,u,u,u,n)});function Pp(t,n){if(typeof t!="function")throw new Et(w);return n=n===u?n:O(n),D(t,n)}function Hp(t,n){if(typeof t!="function")throw new Et(w);return n=n==null?0:rt(O(n),0),D(function(e){var r=e[n],i=yn(e,0,n);return r&&pn(i,r),wt(t,this,i)})}function Up(t,n,e){var r=!0,i=!0;if(typeof t!="function")throw new Et(w);return Q(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),Es(t,n,{leading:r,maxWait:n,trailing:i})}function qp(t){return Is(t,1)}function $p(t,n){return to(Ni(n),t)}function Gp(){if(!arguments.length)return[];var t=arguments[0];return R(t)?t:[t]}function zp(t){return Ot(t,Xt)}function Kp(t,n){return n=typeof n=="function"?n:u,Ot(t,Xt,n)}function Yp(t){return Ot(t,Z|Xt)}function Zp(t,n){return n=typeof n=="function"?n:u,Ot(t,Z|Xt,n)}function Jp(t,n){return n==null||mu(t,n,ut(n))}function Ht(t,n){return t===n||t!==t&&n!==n}var Xp=Sr(Ai),Qp=Sr(function(t,n){return t>=n}),Bn=Cu(function(){return arguments}())?Cu:function(t){return V(t)&&$.call(t,"callee")&&!fu.call(t,"callee")},R=h.isArray,Vp=Go?yt(Go):uc;function _t(t){return t!=null&&Dr(t.length)&&!un(t)}function tt(t){return V(t)&&_t(t)}function jp(t){return t===!0||t===!1||V(t)&&ct(t)==ce}var xn=pa||co,td=zo?yt(zo):sc;function nd(t){return V(t)&&t.nodeType===1&&!Me(t)}function ed(t){if(t==null)return!0;if(_t(t)&&(R(t)||typeof t=="string"||typeof t.splice=="function"||xn(t)||Vn(t)||Bn(t)))return!t.length;var n=ft(t);if(n==kt||n==Wt)return!t.size;if(Re(t))return!Ei(t).length;for(var e in t)if($.call(t,e))return!1;return!0}function rd(t,n){return Te(t,n)}function id(t,n,e){e=typeof e=="function"?e:u;var r=e?e(t,n):u;return r===u?Te(t,n,u,e):!!r}function no(t){if(!V(t))return!1;var n=ct(t);return n==Ke||n==Al||typeof t.message=="string"&&typeof t.name=="string"&&!Me(t)}function od(t){return typeof t=="number"&&cu(t)}function un(t){if(!Q(t))return!1;var n=ct(t);return n==Ye||n==vo||n==Sl||n==Ll}function Os(t){return typeof t=="number"&&t==O(t)}function Dr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=cn}function Q(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}function V(t){return t!=null&&typeof t=="object"}var Ms=Ko?yt(Ko):fc;function ud(t,n){return t===n||Li(t,n,zi(n))}function sd(t,n,e){return e=typeof e=="function"?e:u,Li(t,n,zi(n),e)}function ld(t){return Fs(t)&&t!=+t}function fd(t){if(Kc(t))throw new L(y);return Iu(t)}function ad(t){return t===null}function cd(t){return t==null}function Fs(t){return typeof t=="number"||V(t)&&ct(t)==pe}function Me(t){if(!V(t)||ct(t)!=Vt)return!1;var n=sr(t);if(n===null)return!0;var e=$.call(n,"constructor")&&n.constructor;return typeof e=="function"&&e instanceof e&&rr.call(e)==sa}var eo=Yo?yt(Yo):ac;function hd(t){return Os(t)&&t>=-cn&&t<=cn}var Ds=Zo?yt(Zo):cc;function Br(t){return typeof t=="string"||!R(t)&&V(t)&&ct(t)==ge}function bt(t){return typeof t=="symbol"||V(t)&&ct(t)==Ze}var Vn=Jo?yt(Jo):hc;function pd(t){return t===u}function dd(t){return V(t)&&ft(t)==_e}function gd(t){return V(t)&&ct(t)==Rl}var _d=Sr(Ri),md=Sr(function(t,n){return t<=n});function Bs(t){if(!t)return[];if(_t(t))return Br(t)?Nt(t):gt(t);if(we&&t[we])return Jf(t[we]());var n=ft(t),e=n==kt?mi:n==Wt?tr:jn;return e(t)}function sn(t){if(!t)return t===0?t:0;if(t=Dt(t),t===An||t===-An){var n=t<0?-1:1;return n*xl}return t===t?t:0}function O(t){var n=sn(t),e=n%1;return n===n?e?n-e:n:0}function ks(t){return t?On(O(t),0,zt):0}function Dt(t){if(typeof t=="number")return t;if(bt(t))return Ge;if(Q(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=Q(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=nu(t);var e=Ql.test(t);return e||jl.test(t)?Mf(t.slice(2),e?2:8):Xl.test(t)?Ge:+t}function Ws(t){return Yt(t,mt(t))}function vd(t){return t?On(O(t),-cn,cn):t===0?t:0}function U(t){return t==null?"":xt(t)}var wd=Jn(function(t,n){if(Re(n)||_t(n)){Yt(n,ut(n),t);return}for(var e in n)$.call(n,e)&&Ie(t,e,n[e])}),Ns=Jn(function(t,n){Yt(n,mt(n),t)}),kr=Jn(function(t,n,e,r){Yt(n,mt(n),t,r)}),yd=Jn(function(t,n,e,r){Yt(n,ut(n),t,r)}),xd=rn(Ci);function bd(t,n){var e=Zn(t);return n==null?e:_u(e,n)}var Cd=D(function(t,n){t=G(t);var e=-1,r=n.length,i=r>2?n[2]:u;for(i&&ht(n[0],n[1],i)&&(r=1);++e<r;)for(var s=n[e],l=mt(s),f=-1,c=l.length;++f<c;){var d=l[f],g=t[d];(g===u||Ht(g,zn[d])&&!$.call(t,d))&&(t[d]=s[d])}return t}),Id=D(function(t){return t.push(u,ns),wt(Ps,u,t)});function Sd(t,n){return Qo(t,S(n,3),Kt)}function Ad(t,n){return Qo(t,S(n,3),Si)}function Td(t,n){return t==null?t:Ii(t,S(n,3),mt)}function Ld(t,n){return t==null?t:xu(t,S(n,3),mt)}function Ed(t,n){return t&&Kt(t,S(n,3))}function Rd(t,n){return t&&Si(t,S(n,3))}function Od(t){return t==null?[]:mr(t,ut(t))}function Md(t){return t==null?[]:mr(t,mt(t))}function ro(t,n,e){var r=t==null?u:Mn(t,n);return r===u?e:r}function Fd(t,n){return t!=null&&is(t,n,ec)}function io(t,n){return t!=null&&is(t,n,rc)}var Dd=Xu(function(t,n,e){n!=null&&typeof n.toString!="function"&&(n=ir.call(n)),t[n]=e},uo(vt)),Bd=Xu(function(t,n,e){n!=null&&typeof n.toString!="function"&&(n=ir.call(n)),$.call(t,n)?t[n].push(e):t[n]=[e]},S),kd=D(Ae);function ut(t){return _t(t)?du(t):Ei(t)}function mt(t){return _t(t)?du(t,!0):pc(t)}function Wd(t,n){var e={};return n=S(n,3),Kt(t,function(r,i,s){nn(e,n(r,i,s),r)}),e}function Nd(t,n){var e={};return n=S(n,3),Kt(t,function(r,i,s){nn(e,i,n(r,i,s))}),e}var Pd=Jn(function(t,n,e){vr(t,n,e)}),Ps=Jn(function(t,n,e,r){vr(t,n,e,r)}),Hd=rn(function(t,n){var e={};if(t==null)return e;var r=!1;n=X(n,function(s){return s=wn(s,t),r||(r=s.length>1),s}),Yt(t,$i(t),e),r&&(e=Ot(e,Z|qe|Xt,Dc));for(var i=n.length;i--;)Bi(e,n[i]);return e});function Ud(t,n){return Hs(t,Fr(S(n)))}var qd=rn(function(t,n){return t==null?{}:gc(t,n)});function Hs(t,n){if(t==null)return{};var e=X($i(t),function(r){return[r]});return n=S(n),Ou(t,e,function(r,i){return n(r,i[0])})}function $d(t,n,e){n=wn(n,t);var r=-1,i=n.length;for(i||(i=1,t=u);++r<i;){var s=t==null?u:t[Zt(n[r])];s===u&&(r=i,s=e),t=un(s)?s.call(t):s}return t}function Gd(t,n,e){return t==null?t:Le(t,n,e)}function zd(t,n,e,r){return r=typeof r=="function"?r:u,t==null?t:Le(t,n,e,r)}var Us=ju(ut),qs=ju(mt);function Kd(t,n,e){var r=R(t),i=r||xn(t)||Vn(t);if(n=S(n,4),e==null){var s=t&&t.constructor;i?e=r?new s:[]:Q(t)?e=un(s)?Zn(sr(t)):{}:e={}}return(i?Lt:Kt)(t,function(l,f,c){return n(e,l,f,c)}),e}function Yd(t,n){return t==null?!0:Bi(t,n)}function Zd(t,n,e){return t==null?t:ku(t,n,Ni(e))}function Jd(t,n,e,r){return r=typeof r=="function"?r:u,t==null?t:ku(t,n,Ni(e),r)}function jn(t){return t==null?[]:_i(t,ut(t))}function Xd(t){return t==null?[]:_i(t,mt(t))}function Qd(t,n,e){return e===u&&(e=n,n=u),e!==u&&(e=Dt(e),e=e===e?e:0),n!==u&&(n=Dt(n),n=n===n?n:0),On(Dt(t),n,e)}function Vd(t,n,e){return n=sn(n),e===u?(e=n,n=0):e=sn(e),t=Dt(t),ic(t,n,e)}function jd(t,n,e){if(e&&typeof e!="boolean"&&ht(t,n,e)&&(n=e=u),e===u&&(typeof n=="boolean"?(e=n,n=u):typeof t=="boolean"&&(e=t,t=u)),t===u&&n===u?(t=0,n=1):(t=sn(t),n===u?(n=t,t=0):n=sn(n)),t>n){var r=t;t=n,n=r}if(e||t%1||n%1){var i=hu();return lt(t+i*(n-t+Of("1e-"+((i+"").length-1))),n)}return Mi(t,n)}var tg=Xn(function(t,n,e){return n=n.toLowerCase(),t+(e?$s(n):n)});function $s(t){return oo(U(t).toLowerCase())}function Gs(t){return t=U(t),t&&t.replace(nf,Gf).replace(xf,"")}function ng(t,n,e){t=U(t),n=xt(n);var r=t.length;e=e===u?r:On(O(e),0,r);var i=e;return e-=n.length,e>=0&&t.slice(e,i)==n}function eg(t){return t=U(t),t&&Bl.test(t)?t.replace(xo,zf):t}function rg(t){return t=U(t),t&&Ul.test(t)?t.replace(ti,"\\$&"):t}var ig=Xn(function(t,n,e){return t+(e?"-":"")+n.toLowerCase()}),og=Xn(function(t,n,e){return t+(e?" ":"")+n.toLowerCase()}),ug=Yu("toLowerCase");function sg(t,n,e){t=U(t),n=O(n);var r=n?Gn(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return Ir(cr(i),e)+t+Ir(ar(i),e)}function lg(t,n,e){t=U(t),n=O(n);var r=n?Gn(t):0;return n&&r<n?t+Ir(n-r,e):t}function fg(t,n,e){t=U(t),n=O(n);var r=n?Gn(t):0;return n&&r<n?Ir(n-r,e)+t:t}function ag(t,n,e){return e||n==null?n=0:n&&(n=+n),ma(U(t).replace(ni,""),n||0)}function cg(t,n,e){return(e?ht(t,n,e):n===u)?n=1:n=O(n),Fi(U(t),n)}function hg(){var t=arguments,n=U(t[0]);return t.length<3?n:n.replace(t[1],t[2])}var pg=Xn(function(t,n,e){return t+(e?"_":"")+n.toLowerCase()});function dg(t,n,e){return e&&typeof e!="number"&&ht(t,n,e)&&(n=e=u),e=e===u?zt:e>>>0,e?(t=U(t),t&&(typeof n=="string"||n!=null&&!eo(n))&&(n=xt(n),!n&&$n(t))?yn(Nt(t),0,e):t.split(n,e)):[]}var gg=Xn(function(t,n,e){return t+(e?" ":"")+oo(n)});function _g(t,n,e){return t=U(t),e=e==null?0:On(O(e),0,t.length),n=xt(n),t.slice(e,e+n.length)==n}function mg(t,n,e){var r=o.templateSettings;e&&ht(t,n,e)&&(n=u),t=U(t),n=kr({},n,r,ts);var i=kr({},n.imports,r.imports,ts),s=ut(i),l=_i(i,s),f,c,d=0,g=n.interpolate||Je,v="__p += '",x=vi((n.escape||Je).source+"|"+g.source+"|"+(g===bo?Jl:Je).source+"|"+(n.evaluate||Je).source+"|$","g"),I="//# sourceURL="+($.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Af+"]")+`
4
- `;t.replace(x,function(T,B,W,Ct,pt,It){return W||(W=Ct),v+=t.slice(d,It).replace(ef,Kf),B&&(f=!0,v+=`' +
5
- __e(`+B+`) +
6
- '`),pt&&(c=!0,v+=`';
7
- `+pt+`;
8
- __p += '`),W&&(v+=`' +
9
- ((__t = (`+W+`)) == null ? '' : __t) +
10
- '`),d=It+T.length,T}),v+=`';
11
- `;var A=$.call(n,"variable")&&n.variable;if(!A)v=`with (obj) {
12
- `+v+`
13
- }
14
- `;else if(Yl.test(A))throw new L(_);v=(c?v.replace(Ol,""):v).replace(Ml,"$1").replace(Fl,"$1;"),v="function("+(A||"obj")+`) {
15
- `+(A?"":`obj || (obj = {});
16
- `)+"var __t, __p = ''"+(f?", __e = _.escape":"")+(c?`, __j = Array.prototype.join;
17
- function print() { __p += __j.call(arguments, '') }
18
- `:`;
19
- `)+v+`return __p
20
- }`;var F=Ks(function(){return H(s,I+"return "+v).apply(u,l)});if(F.source=v,no(F))throw F;return F}function vg(t){return U(t).toLowerCase()}function wg(t){return U(t).toUpperCase()}function yg(t,n,e){if(t=U(t),t&&(e||n===u))return nu(t);if(!t||!(n=xt(n)))return t;var r=Nt(t),i=Nt(n),s=eu(r,i),l=ru(r,i)+1;return yn(r,s,l).join("")}function xg(t,n,e){if(t=U(t),t&&(e||n===u))return t.slice(0,ou(t)+1);if(!t||!(n=xt(n)))return t;var r=Nt(t),i=ru(r,Nt(n))+1;return yn(r,0,i).join("")}function bg(t,n,e){if(t=U(t),t&&(e||n===u))return t.replace(ni,"");if(!t||!(n=xt(n)))return t;var r=Nt(t),i=eu(r,Nt(n));return yn(r,i).join("")}function Cg(t,n){var e=gl,r=_l;if(Q(n)){var i="separator"in n?n.separator:i;e="length"in n?O(n.length):e,r="omission"in n?xt(n.omission):r}t=U(t);var s=t.length;if($n(t)){var l=Nt(t);s=l.length}if(e>=s)return t;var f=e-Gn(r);if(f<1)return r;var c=l?yn(l,0,f).join(""):t.slice(0,f);if(i===u)return c+r;if(l&&(f+=c.length-f),eo(i)){if(t.slice(f).search(i)){var d,g=c;for(i.global||(i=vi(i.source,U(Co.exec(i))+"g")),i.lastIndex=0;d=i.exec(g);)var v=d.index;c=c.slice(0,v===u?f:v)}}else if(t.indexOf(xt(i),f)!=f){var x=c.lastIndexOf(i);x>-1&&(c=c.slice(0,x))}return c+r}function Ig(t){return t=U(t),t&&Dl.test(t)?t.replace(yo,jf):t}var Sg=Xn(function(t,n,e){return t+(e?" ":"")+n.toUpperCase()}),oo=Yu("toUpperCase");function zs(t,n,e){return t=U(t),n=e?u:n,n===u?Zf(t)?ea(t):Pf(t):t.match(n)||[]}var Ks=D(function(t,n){try{return wt(t,u,n)}catch(e){return no(e)?e:new L(e)}}),Ag=rn(function(t,n){return Lt(n,function(e){e=Zt(e),nn(t,e,ji(t[e],t))}),t});function Tg(t){var n=t==null?0:t.length,e=S();return t=n?X(t,function(r){if(typeof r[1]!="function")throw new Et(w);return[e(r[0]),r[1]]}):[],D(function(r){for(var i=-1;++i<n;){var s=t[i];if(wt(s[0],this,r))return wt(s[1],this,r)}})}function Lg(t){return ja(Ot(t,Z))}function uo(t){return function(){return t}}function Eg(t,n){return t==null||t!==t?n:t}var Rg=Ju(),Og=Ju(!0);function vt(t){return t}function so(t){return Su(typeof t=="function"?t:Ot(t,Z))}function Mg(t){return Tu(Ot(t,Z))}function Fg(t,n){return Lu(t,Ot(n,Z))}var Dg=D(function(t,n){return function(e){return Ae(e,t,n)}}),Bg=D(function(t,n){return function(e){return Ae(t,e,n)}});function lo(t,n,e){var r=ut(n),i=mr(n,r);e==null&&!(Q(n)&&(i.length||!r.length))&&(e=n,n=t,t=this,i=mr(n,ut(n)));var s=!(Q(e)&&"chain"in e)||!!e.chain,l=un(t);return Lt(i,function(f){var c=n[f];t[f]=c,l&&(t.prototype[f]=function(){var d=this.__chain__;if(s||d){var g=t(this.__wrapped__),v=g.__actions__=gt(this.__actions__);return v.push({func:c,args:arguments,thisArg:t}),g.__chain__=d,g}return c.apply(t,pn([this.value()],arguments))})}),t}function kg(){return ot._===this&&(ot._=la),this}function fo(){}function Wg(t){return t=O(t),D(function(n){return Eu(n,t)})}var Ng=Hi(X),Pg=Hi(Xo),Hg=Hi(ci);function Ys(t){return Yi(t)?hi(Zt(t)):_c(t)}function Ug(t){return function(n){return t==null?u:Mn(t,n)}}var qg=Qu(),$g=Qu(!0);function ao(){return[]}function co(){return!1}function Gg(){return{}}function zg(){return""}function Kg(){return!0}function Yg(t,n){if(t=O(t),t<1||t>cn)return[];var e=zt,r=lt(t,zt);n=S(n),t-=zt;for(var i=gi(r,n);++e<t;)n(e);return i}function Zg(t){return R(t)?X(t,Zt):bt(t)?[t]:gt(ps(U(t)))}function Jg(t){var n=++ua;return U(t)+n}var Xg=Cr(function(t,n){return t+n},0),Qg=Ui("ceil"),Vg=Cr(function(t,n){return t/n},1),jg=Ui("floor");function t0(t){return t&&t.length?_r(t,vt,Ai):u}function n0(t,n){return t&&t.length?_r(t,S(n,2),Ai):u}function e0(t){return jo(t,vt)}function r0(t,n){return jo(t,S(n,2))}function i0(t){return t&&t.length?_r(t,vt,Ri):u}function o0(t,n){return t&&t.length?_r(t,S(n,2),Ri):u}var u0=Cr(function(t,n){return t*n},1),s0=Ui("round"),l0=Cr(function(t,n){return t-n},0);function f0(t){return t&&t.length?di(t,vt):0}function a0(t,n){return t&&t.length?di(t,S(n,2)):0}return o.after=Mp,o.ary=Is,o.assign=wd,o.assignIn=Ns,o.assignInWith=kr,o.assignWith=yd,o.at=xd,o.before=Ss,o.bind=ji,o.bindAll=Ag,o.bindKey=As,o.castArray=Gp,o.chain=xs,o.chunk=jc,o.compact=th,o.concat=nh,o.cond=Tg,o.conforms=Lg,o.constant=uo,o.countBy=fp,o.create=bd,o.curry=Ts,o.curryRight=Ls,o.debounce=Es,o.defaults=Cd,o.defaultsDeep=Id,o.defer=Fp,o.delay=Dp,o.difference=eh,o.differenceBy=rh,o.differenceWith=ih,o.drop=oh,o.dropRight=uh,o.dropRightWhile=sh,o.dropWhile=lh,o.fill=fh,o.filter=cp,o.flatMap=dp,o.flatMapDeep=gp,o.flatMapDepth=_p,o.flatten=ms,o.flattenDeep=ah,o.flattenDepth=ch,o.flip=Bp,o.flow=Rg,o.flowRight=Og,o.fromPairs=hh,o.functions=Od,o.functionsIn=Md,o.groupBy=mp,o.initial=dh,o.intersection=gh,o.intersectionBy=_h,o.intersectionWith=mh,o.invert=Dd,o.invertBy=Bd,o.invokeMap=wp,o.iteratee=so,o.keyBy=yp,o.keys=ut,o.keysIn=mt,o.map=Rr,o.mapKeys=Wd,o.mapValues=Nd,o.matches=Mg,o.matchesProperty=Fg,o.memoize=Mr,o.merge=Pd,o.mergeWith=Ps,o.method=Dg,o.methodOf=Bg,o.mixin=lo,o.negate=Fr,o.nthArg=Wg,o.omit=Hd,o.omitBy=Ud,o.once=kp,o.orderBy=xp,o.over=Ng,o.overArgs=Wp,o.overEvery=Pg,o.overSome=Hg,o.partial=to,o.partialRight=Rs,o.partition=bp,o.pick=qd,o.pickBy=Hs,o.property=Ys,o.propertyOf=Ug,o.pull=xh,o.pullAll=ws,o.pullAllBy=bh,o.pullAllWith=Ch,o.pullAt=Ih,o.range=qg,o.rangeRight=$g,o.rearg=Np,o.reject=Sp,o.remove=Sh,o.rest=Pp,o.reverse=Qi,o.sampleSize=Tp,o.set=Gd,o.setWith=zd,o.shuffle=Lp,o.slice=Ah,o.sortBy=Op,o.sortedUniq=Fh,o.sortedUniqBy=Dh,o.split=dg,o.spread=Hp,o.tail=Bh,o.take=kh,o.takeRight=Wh,o.takeRightWhile=Nh,o.takeWhile=Ph,o.tap=tp,o.throttle=Up,o.thru=Er,o.toArray=Bs,o.toPairs=Us,o.toPairsIn=qs,o.toPath=Zg,o.toPlainObject=Ws,o.transform=Kd,o.unary=qp,o.union=Hh,o.unionBy=Uh,o.unionWith=qh,o.uniq=$h,o.uniqBy=Gh,o.uniqWith=zh,o.unset=Yd,o.unzip=Vi,o.unzipWith=ys,o.update=Zd,o.updateWith=Jd,o.values=jn,o.valuesIn=Xd,o.without=Kh,o.words=zs,o.wrap=$p,o.xor=Yh,o.xorBy=Zh,o.xorWith=Jh,o.zip=Xh,o.zipObject=Qh,o.zipObjectDeep=Vh,o.zipWith=jh,o.entries=Us,o.entriesIn=qs,o.extend=Ns,o.extendWith=kr,lo(o,o),o.add=Xg,o.attempt=Ks,o.camelCase=tg,o.capitalize=$s,o.ceil=Qg,o.clamp=Qd,o.clone=zp,o.cloneDeep=Yp,o.cloneDeepWith=Zp,o.cloneWith=Kp,o.conformsTo=Jp,o.deburr=Gs,o.defaultTo=Eg,o.divide=Vg,o.endsWith=ng,o.eq=Ht,o.escape=eg,o.escapeRegExp=rg,o.every=ap,o.find=hp,o.findIndex=gs,o.findKey=Sd,o.findLast=pp,o.findLastIndex=_s,o.findLastKey=Ad,o.floor=jg,o.forEach=bs,o.forEachRight=Cs,o.forIn=Td,o.forInRight=Ld,o.forOwn=Ed,o.forOwnRight=Rd,o.get=ro,o.gt=Xp,o.gte=Qp,o.has=Fd,o.hasIn=io,o.head=vs,o.identity=vt,o.includes=vp,o.indexOf=ph,o.inRange=Vd,o.invoke=kd,o.isArguments=Bn,o.isArray=R,o.isArrayBuffer=Vp,o.isArrayLike=_t,o.isArrayLikeObject=tt,o.isBoolean=jp,o.isBuffer=xn,o.isDate=td,o.isElement=nd,o.isEmpty=ed,o.isEqual=rd,o.isEqualWith=id,o.isError=no,o.isFinite=od,o.isFunction=un,o.isInteger=Os,o.isLength=Dr,o.isMap=Ms,o.isMatch=ud,o.isMatchWith=sd,o.isNaN=ld,o.isNative=fd,o.isNil=cd,o.isNull=ad,o.isNumber=Fs,o.isObject=Q,o.isObjectLike=V,o.isPlainObject=Me,o.isRegExp=eo,o.isSafeInteger=hd,o.isSet=Ds,o.isString=Br,o.isSymbol=bt,o.isTypedArray=Vn,o.isUndefined=pd,o.isWeakMap=dd,o.isWeakSet=gd,o.join=vh,o.kebabCase=ig,o.last=Ft,o.lastIndexOf=wh,o.lowerCase=og,o.lowerFirst=ug,o.lt=_d,o.lte=md,o.max=t0,o.maxBy=n0,o.mean=e0,o.meanBy=r0,o.min=i0,o.minBy=o0,o.stubArray=ao,o.stubFalse=co,o.stubObject=Gg,o.stubString=zg,o.stubTrue=Kg,o.multiply=u0,o.nth=yh,o.noConflict=kg,o.noop=fo,o.now=Or,o.pad=sg,o.padEnd=lg,o.padStart=fg,o.parseInt=ag,o.random=jd,o.reduce=Cp,o.reduceRight=Ip,o.repeat=cg,o.replace=hg,o.result=$d,o.round=s0,o.runInContext=a,o.sample=Ap,o.size=Ep,o.snakeCase=pg,o.some=Rp,o.sortedIndex=Th,o.sortedIndexBy=Lh,o.sortedIndexOf=Eh,o.sortedLastIndex=Rh,o.sortedLastIndexBy=Oh,o.sortedLastIndexOf=Mh,o.startCase=gg,o.startsWith=_g,o.subtract=l0,o.sum=f0,o.sumBy=a0,o.template=mg,o.times=Yg,o.toFinite=sn,o.toInteger=O,o.toLength=ks,o.toLower=vg,o.toNumber=Dt,o.toSafeInteger=vd,o.toString=U,o.toUpper=wg,o.trim=yg,o.trimEnd=xg,o.trimStart=bg,o.truncate=Cg,o.unescape=Ig,o.uniqueId=Jg,o.upperCase=Sg,o.upperFirst=oo,o.each=bs,o.eachRight=Cs,o.first=vs,lo(o,function(){var t={};return Kt(o,function(n,e){$.call(o.prototype,e)||(t[e]=n)}),t}(),{chain:!1}),o.VERSION=m,Lt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){o[t].placeholder=o}),Lt(["drop","take"],function(t,n){k.prototype[t]=function(e){e=e===u?1:rt(O(e),0);var r=this.__filtered__&&!n?new k(this):this.clone();return r.__filtered__?r.__takeCount__=lt(e,r.__takeCount__):r.__views__.push({size:lt(e,zt),type:t+(r.__dir__<0?"Right":"")}),r},k.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Lt(["filter","map","takeWhile"],function(t,n){var e=n+1,r=e==mo||e==yl;k.prototype[t]=function(i){var s=this.clone();return s.__iteratees__.push({iteratee:S(i,3),type:e}),s.__filtered__=s.__filtered__||r,s}}),Lt(["head","last"],function(t,n){var e="take"+(n?"Right":"");k.prototype[t]=function(){return this[e](1).value()[0]}}),Lt(["initial","tail"],function(t,n){var e="drop"+(n?"":"Right");k.prototype[t]=function(){return this.__filtered__?new k(this):this[e](1)}}),k.prototype.compact=function(){return this.filter(vt)},k.prototype.find=function(t){return this.filter(t).head()},k.prototype.findLast=function(t){return this.reverse().find(t)},k.prototype.invokeMap=D(function(t,n){return typeof t=="function"?new k(this):this.map(function(e){return Ae(e,t,n)})}),k.prototype.reject=function(t){return this.filter(Fr(S(t)))},k.prototype.slice=function(t,n){t=O(t);var e=this;return e.__filtered__&&(t>0||n<0)?new k(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==u&&(n=O(n),e=n<0?e.dropRight(-n):e.take(n-t)),e)},k.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},k.prototype.toArray=function(){return this.take(zt)},Kt(k.prototype,function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),i=o[r?"take"+(n=="last"?"Right":""):n],s=r||/^find/.test(n);i&&(o.prototype[n]=function(){var l=this.__wrapped__,f=r?[1]:arguments,c=l instanceof k,d=f[0],g=c||R(l),v=function(B){var W=i.apply(o,pn([B],f));return r&&x?W[0]:W};g&&e&&typeof d=="function"&&d.length!=1&&(c=g=!1);var x=this.__chain__,I=!!this.__actions__.length,A=s&&!x,F=c&&!I;if(!s&&g){l=F?l:new k(this);var T=t.apply(l,f);return T.__actions__.push({func:Er,args:[v],thisArg:u}),new Rt(T,x)}return A&&F?t.apply(this,f):(T=this.thru(v),A?r?T.value()[0]:T.value():T)})}),Lt(["pop","push","shift","sort","splice","unshift"],function(t){var n=nr[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);o.prototype[t]=function(){var i=arguments;if(r&&!this.__chain__){var s=this.value();return n.apply(R(s)?s:[],i)}return this[e](function(l){return n.apply(R(l)?l:[],i)})}}),Kt(k.prototype,function(t,n){var e=o[n];if(e){var r=e.name+"";$.call(Yn,r)||(Yn[r]=[]),Yn[r].push({name:n,func:e})}}),Yn[br(u,Sn).name]=[{name:"wrapper",func:u}],k.prototype.clone=Ia,k.prototype.reverse=Sa,k.prototype.value=Aa,o.prototype.at=np,o.prototype.chain=ep,o.prototype.commit=rp,o.prototype.next=ip,o.prototype.plant=up,o.prototype.reverse=sp,o.prototype.toJSON=o.prototype.valueOf=o.prototype.value=lp,o.prototype.first=o.prototype.head,we&&(o.prototype[we]=op),o},gn=ra();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(ot._=gn,define(function(){return gn})):Tn?((Tn.exports=gn)._=gn,si._=gn):ot._=gn}).call(fe)});function d0(u,m){if(u&1&&at(0,"i",15),u&2){let C=it();rl("fas fa-fw ",C.faIconClass," mb-4")}}function g0(u,m){if(u&1&&(q(0,"div",16)(1,"h5",17),dt(2),Y()()),u&2){let C=it();P(2),re(C.subtitle)}}function _0(u,m){if(u&1){let C=Ne();q(0,"button",18),ie(1,"translate"),Cn("click",function(){Be(C);let w=it();return ke(w.$activeModal.dismiss("Dismiss"))}),dt(2),ie(3,"translate"),Y()}u&2&&(kn("aria-label",oe(1,2,"form.button_close")),P(2),Nr(" ",oe(3,4,"form.button_close")," "))}function m0(u,m){if(u&1){let C=Ne();q(0,"button",18),ie(1,"translate"),Cn("click",function(){Be(C);let w=it();return ke(w.$activeModal.dismiss("Dismiss"))}),dt(2),ie(3,"translate"),Y()}u&2&&(kn("aria-label",oe(1,2,"form.button_close")),P(2),Nr(" ",oe(3,4,"form.button_close")," "))}function v0(u,m){if(u&1&&(q(0,"a",19),dt(1),at(2,"i",20),Y()),u&2){let C=it();z("href",C.ctaButtonLink,el),P(),Nr(" ",C.ctaButtonLabel," ")}}var P0=(()=>{let m=class m{constructor(y){N(this,"$activeModal");N(this,"title");N(this,"subtitle");N(this,"message");N(this,"ctaButtonLabel");N(this,"ctaButtonLink");N(this,"faIconClass");this.$activeModal=y}};N(m,"\u0275fac",function(w){return new(w||m)(Bt(sl))}),N(m,"\u0275cmp",bn({type:m,selectors:[["ng-component"]],inputs:{title:"title",subtitle:"subtitle",message:"message",ctaButtonLabel:"ctaButtonLabel",ctaButtonLink:"ctaButtonLink",faIconClass:"faIconClass"},decls:20,vars:10,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-dismiss","modal",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body","w-100","text-center"],["style","font-size: 75px",3,"class",4,"ngIf"],["class","alert","role","alert",4,"ngIf"],[1,"w-100","text-center"],[1,"modal-footer","justify-content-between"],[1,"text-left"],["type","button","class","btn btn-elegant","data-dismiss","modal",3,"click",4,"ngIf"],[1,"text-center"],[1,"text-right"],["class","btn btn-primary text-decoration-none","target","_blank","rel","noopener noreferrer",3,"href",4,"ngIf"],[2,"font-size","75px"],["role","alert",1,"alert"],[1,"mb-0"],["type","button","data-dismiss","modal",1,"btn","btn-elegant",3,"click"],["target","_blank","rel","noopener noreferrer",1,"btn","btn-primary","text-decoration-none",3,"href"],[1,"fas","fa-fw","fa-external-link-alt"]],template:function(w,_){w&1&&(q(0,"div",0)(1,"div",1)(2,"h5",2),dt(3),Y(),q(4,"button",3),ie(5,"translate"),Cn("click",function(){return _.$activeModal.dismiss("Dismiss")}),q(6,"span",4),dt(7,"\xD7"),Y()()(),q(8,"div",5),St(9,d0,1,3,"i",6)(10,g0,3,1,"div",7),q(11,"p",8),dt(12),Y()(),q(13,"div",9)(14,"div",10),St(15,_0,4,6,"button",11),Y(),q(16,"div",12),St(17,m0,4,6,"button",11),Y(),q(18,"div",13),St(19,v0,3,2,"a",14),Y()()()),w&2&&(P(3),re(_.title),P(),kn("aria-label",oe(5,8,"form.button_close")),P(5),z("ngIf",_.faIconClass),P(),z("ngIf",_.subtitle),P(2),re(_.message),P(3),z("ngIf",_.ctaButtonLink),P(2),z("ngIf",!_.ctaButtonLink),P(2),z("ngIf",_.ctaButtonLink))},dependencies:[Hr,il],encapsulation:2}));let u=m;return u})();var q0=(()=>{let m=class m{constructor(){}};N(m,"\u0275fac",function(w){return new(w||m)}),N(m,"\u0275cmp",bn({type:m,selectors:[["app-spinner"]],decls:7,vars:0,consts:[[1,"app-spinner-container"],[1,"animate_loader"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","200px","height","200px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","display","block"],["cx","50","cy","50","r","32","stroke-width","8","stroke-dasharray","50.26548245743669 50.26548245743669","fill","none","stroke-linecap","round","transform","rotate(327.259 50 50)",1,"spinner_outer"],["attributeName","transform","type","rotate","dur","2s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["cx","50","cy","50","r","23","stroke-width","8","stroke","#f8b26a","stroke-dasharray","36.12831551628262 36.12831551628262","stroke-dashoffset","36.12831551628262","fill","none","stroke-linecap","round","transform","rotate(-327.259 50 50)",1,"spinner_inner"],["attributeName","transform","type","rotate","dur","2s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;-360 50 50"]],template:function(w,_){w&1&&(q(0,"div",0)(1,"div",1),nl(),q(2,"svg",2)(3,"circle",3),at(4,"animateTransform",4),Y(),q(5,"circle",5),at(6,"animateTransform",6),Y()()()())},styles:[".app-spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:1000}.animate_loader[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:200px;overflow:visible}"]}));let u=m;return u})();var X0=(()=>{let m=class m{constructor(){N(this,"duration",350);N(this,"longclick",new ho);N(this,"shortclick",new ho);N(this,"downTimeout");N(this,"done",!1)}onEnter(y){this.shortclick.emit(y)}onMouseUp(y){clearInterval(this.downTimeout),this.done||(this.done=!0,this.shortclick.emit(y))}onTouchEnd(y){clearInterval(this.downTimeout),y.preventDefault(),y.stopPropagation(),this.done||(this.done=!0,this.shortclick.emit(y))}onMouseDown(y){y.button===0&&(this.done=!1,this.downTimeout=setTimeout(()=>{this.done=!0,this.longclick.emit(y)},this.duration))}onMouseMove(){this.done=!0,clearInterval(this.downTimeout)}ngOnDestroy(){clearInterval(this.downTimeout)}};N(m,"\u0275fac",function(w){return new(w||m)}),N(m,"\u0275dir",js({type:m,selectors:[["","appLongclick",""]],hostBindings:function(w,_){w&1&&Cn("keyup.enter",function(M){return _.onEnter(M)})("mouseup",function(M){return _.onMouseUp(M)})("touchend",function(M){return _.onTouchEnd(M)})("touchstart",function(M){return _.onMouseDown(M)})("mousedown",function(M){return _.onMouseDown(M)})("mousemove",function(M){return _.onMouseMove(M)})("touchmove",function(M){return _.onMouseMove(M)})},inputs:{duration:"duration"},outputs:{longclick:"longclick",shortclick:"shortclick"}}));let u=m;return u})();var n_=(()=>{let m=class m{constructor(y){N(this,"$settings");this.$settings=y}transform(y,w=this.$settings.env.temperatureUnits){return w==="f"?y*1.8+32:y}};N(m,"\u0275fac",function(w){return new(w||m)(Bt(po,16))}),N(m,"\u0275pipe",tl({name:"convertTemp",type:m,pure:!0}));let u=m;return u})();var qt=h0(al(),1);function x0(u,m){if(u&1){let C=Ne();q(0,"button",6),Cn("click",function(){Be(C);let w=it();return ke(w.removeItem())}),q(1,"span",7),dt(2,"\xD7"),Y(),q(3,"span"),dt(4,"Close"),Y()()}if(u&2){let C=it();Jt(C.widgetStyles.__remove_item__),P(3),Jt(C.widgetStyles.__screen_reader__)}}function b0(u,m){if(u&1&&at(0,"p",8),u&2){let C=it(2);Jt(C.widgetStyles.__help_block__),z("innerHTML",C.options==null?null:C.options.helpBlock,ee)}}function C0(u,m){if(u&1&&(q(0,"div"),St(1,b0,1,3,"p",3),Y()),u&2){let C=it();P(),z("ngIf",C.options==null?null:C.options.helpBlock)}}function I0(u,m){if(u&1&&at(0,"label",8),u&2){let C=it();Jt((C.options==null?null:C.options.labelHtmlClass)||""),We("sr-only",C.options==null?null:C.options.notitle),z("innerHTML",C.options==null?null:C.options.title,ee),kn("for","control"+(C.layoutNode==null?null:C.layoutNode._id))}}function S0(u,m){if(u&1&&(q(0,"p")(1,"strong"),dt(2,"*"),Y(),dt(3," = required fields "),Y()),u&2){let C=it();P(),Jt(C.widgetStyles.__required_asterisk__)}}function A0(u,m){if(u&1&&at(0,"span",8),u&2){let C=it();Jt(C.widgetStyles.__field_addon_left__),z("innerHTML",C.options==null?null:C.options.fieldAddonLeft,ee)}}function T0(u,m){if(u&1&&at(0,"span",8),u&2){let C=it();Jt(C.widgetStyles.__field_addon_right__),z("innerHTML",C.options==null?null:C.options.fieldAddonRight,ee)}}function L0(u,m){if(u&1&&at(0,"span",9),u&2){let C=it();We("glyphicon-ok",(C.options==null?null:C.options.enableSuccessState)&&!(C.formControl!=null&&C.formControl.errors))("glyphicon-remove",(C.options==null?null:C.options.enableErrorState)&&(C.formControl==null?null:C.formControl.errors))}}function E0(u,m){if(u&1&&at(0,"p",8),u&2){let C=it(2);Jt(C.widgetStyles.__help_block__),z("innerHTML",C.options==null?null:C.options.helpBlock,ee)}}function R0(u,m){if(u&1&&(q(0,"div"),St(1,E0,1,3,"p",3),Y()),u&2){let C=it();P(),z("ngIf",C.options==null?null:C.options.helpBlock)}}function O0(u,m){if(u&1&&(q(0,"div"),dt(1,"debug: "),q(2,"pre"),dt(3),Y()()),u&2){let C=it();P(3),re(C.debugOutput)}}var Ue=(()=>{let m=class m{constructor(){this.frameworkThemeSubject=new Qs,this.frameworkTheme$=this.frameworkThemeSubject.asObservable()}requestThemeChange(y){this.frameworkThemeSubject.next(y),this.activeRequestedTheme=y}getActiveRequestedTheme(){return this.activeRequestedTheme}};m.\u0275fac=function(w){return new(w||m)},m.\u0275prov=Fe({token:m,factory:m.\u0275fac,providedIn:"root"});let u=m;return u})(),go=(()=>{let m=class m{applyCssClasses(y,w,_){let E=this.widgetStyles[y];(!E||qt.default.isEmpty(E))&&(E=this.widgetStyles.default),Object.keys(E).forEach(M=>{let j=E[M];j.length&&(w[M]=fn(w[M],j)),_&&(w[M]=fn(w[M],_))})}flattenWidgetStyles(y){var w={};let _=["__themes__"];return Object.keys(y).forEach(E=>{let M=y[E];if(_.indexOf(E)>=0){w[E]=M;return}qt.default.isArray(M)&&(w[E]=M.join(" ")),qt.default.isObject(M)&&(w[E]=w[E]||{},Object.keys(M).forEach(j=>{let Z=M[j];qt.default.isArray(Z)?w[E][j]=Z.join(" "):w[E][j]=Z})),qt.default.isString(M)&&(w[E]=M)}),w}constructor(y,w,_,E){var Xt;this.changeDetector=y,this.jsf=w,this.jsfFLService=_,this.cssFWService=E,this.frameworkInitialized=!1,this.formControl=null,this.debugOutput="",this.debug="",this.parentArray=null,this.isOrderable=!1,this.defaultStyling={array:{},default:{fieldHtmlClass:"cssfw-form-control"},__themes__:[{name:"notheme",text:"None"}],__remove_item__:"cssfw-remove-item",__array_item_nonref__:{htmlClass:"cssfw-array-item-nonref"},__active__:{activeClass:"cssfw-active"},__array__:{htmlClass:"cssfw-array"},__control_label__:{labelHtmlClass:"cssfw-control-label"},__form_group__:{htmlClass:"cssfw-form-group"},__field_addon_left__:"cssfw-addon-left",__field_addon_right__:"cssfw-addon-right",__help_block__:"cssfw-help-block",__required_asterisk__:"cssfw-required-astersisk",__screen_reader__:"cssfw-screen-reader"};let j=this.jsfFLService.activeFramework.config||{};this.widgetStyles=Object.assign(this.defaultStyling,j.widgetstyles);let Z=this.widgetStyles.__themes__[0],qe=E.activeRequestedTheme||Z.name;this.theme=((Xt=this.options)==null?void 0:Xt.theme)||qe,this.frameworkThemeSubs=E.frameworkTheme$.subscribe(an=>{this.theme=an})}ngOnDestroy(){this.frameworkThemeSubs.unsubscribe(),this.frameworkThemeSubs=null}get showRemoveButton(){return!this.options.removable||this.options.readonly||this.layoutNode.type==="$ref"?!1:this.layoutNode.recursiveReference?!0:!this.layoutNode.arrayItem||!this.parentArray||this.parentArray.items.length-1<=this.parentArray.options.minItems?!1:this.layoutNode.arrayItemType==="list"?!0:this.layoutIndex[this.layoutIndex.length-1]===this.parentArray.items.length-2}ngOnInit(){this.initializeFramework(),this.layoutNode.arrayItem&&this.layoutNode.type!=="$ref"&&(this.parentArray=this.jsf.getParentNode(this),this.parentArray&&(this.isOrderable=this.layoutNode.arrayItemType==="list"&&!this.options.readonly&&this.parentArray.options.orderable))}ngOnChanges(){this.frameworkInitialized||this.initializeFramework()}initializeFramework(){if(this.layoutNode){if(this.options=(0,qt.cloneDeep)(this.layoutNode.options),this.widgetLayoutNode=Xs(Js({},this.layoutNode),{options:(0,qt.cloneDeep)(this.layoutNode.options)}),this.widgetOptions=this.widgetLayoutNode.options,this.formControl=this.jsf.getFormControl(this),this.options.isInputWidget=ll(this.layoutNode.type,["button","checkbox","checkboxes-inline","checkboxes","color","date","datetime-local","datetime","email","file","hidden","image","integer","month","number","password","radio","radiobuttons","radios-inline","radios","range","reset","search","select","submit","tel","text","textarea","time","url","week"]),this.options.title=this.setTitle(),this.options.htmlClass=fn(this.options.htmlClass,"schema-form-"+this.layoutNode.type),this.layoutNode.type==="array"?this.options.htmlClass=fn(this.options.htmlClass,this.widgetStyles.__array__.htmlClass):this.layoutNode.arrayItem&&this.layoutNode.type!=="$ref"?this.options.htmlClass=fn(this.options.htmlClass,this.widgetStyles.__array_item_nonref__.htmlClass):this.options.htmlClass=fn(this.options.htmlClass,this.widgetStyles.__form_group__.htmlClass),this.widgetOptions.htmlClass="",this.options.labelHtmlClass=fn(this.options.labelHtmlClass,this.widgetStyles.__control_label__.labelHtmlClass),this.widgetOptions.activeClass=fn(this.widgetOptions.activeClass,this.widgetStyles.__active__.activeClass),this.options.fieldAddonLeft=this.options.fieldAddonLeft||this.options.prepend,this.options.fieldAddonRight=this.options.fieldAddonRight||this.options.append,this.options.title&&this.layoutNode.type!=="tab"&&!this.options.notitle&&this.options.required&&!this.options.title.includes("*")){let y=this.widgetStyles.__required_asterisk__||"text-danger";this.options.title+=` <strong class="${y}">*</strong>`}if(this.layoutNode.type=="optionfieldset"&&(this.options.messageLocation="top"),this.applyCssClasses(this.layoutNode.type,this.widgetOptions,this.options.style),this.formControl&&(this.updateHelpBlock(this.formControl.status),this.formControl.statusChanges.subscribe(y=>this.updateHelpBlock(y)),this.options.debug)){let y=[];this.debugOutput=(0,qt.map)(y,w=>JSON.stringify(w,null,2)).join(`
21
- `)}this.frameworkInitialized=!0}}updateHelpBlock(y){this.options.helpBlock=y==="INVALID"&&this.options.enableErrorState&&this.formControl.errors&&(this.formControl.dirty||this.options.feedbackOnRender)?this.jsf.formatErrors(this.formControl.errors,this.options.validationMessages):this.options.description||this.options.help||null}setTitle(){switch(this.layoutNode.type){case"button":case"checkbox":case"section":case"help":case"msg":case"submit":case"message":case"tabarray":case"tabs":case"$ref":return null;case"advancedfieldset":return this.widgetOptions.expandable=!0,this.widgetOptions.title="Advanced options",null;case"authfieldset":return this.widgetOptions.expandable=!0,this.widgetOptions.title="Authentication settings",null;case"fieldset":return this.widgetOptions.title=this.options.title,null;case"array":return this.widgetOptions.title=this.options.title,null;default:return this.widgetOptions.title=null,this.jsf.setItemTitle(this)}}removeItem(){this.jsf.removeItem(this)}};m.\u0275fac=function(w){return new(w||m)(Bt(Pr),Bt(In),Bt(se),Bt(Ue))},m.\u0275cmp=bn({type:m,selectors:[["css-framework"]],inputs:{layoutNode:"layoutNode",layoutIndex:"layoutIndex",dataIndex:"dataIndex",widgetStyles:"widgetStyles"},features:[Wr],decls:12,vars:24,consts:[["type","button",3,"class","click",4,"ngIf"],[4,"ngIf"],[3,"class","sr-only","innerHTML",4,"ngIf"],[3,"class","innerHTML",4,"ngIf"],[3,"layoutNode","dataIndex","layoutIndex"],["aria-hidden","true","class","form-control-feedback glyphicon",3,"glyphicon-ok","glyphicon-remove",4,"ngIf"],["type","button",3,"click"],["aria-hidden","true"],[3,"innerHTML"],["aria-hidden","true",1,"form-control-feedback","glyphicon"]],template:function(w,_){w&1&&(q(0,"div"),St(1,x0,5,4,"button",0)(2,C0,2,1,"div",1)(3,I0,1,6,"label",2)(4,S0,4,2,"p",1),q(5,"div"),St(6,A0,1,3,"span",3),at(7,"select-widget-widget",4),St(8,T0,1,3,"span",3),Y(),St(9,L0,1,4,"span",5)(10,R0,2,1,"div",1),Y(),St(11,O0,4,1,"div",1)),w&2&&(Jt((_.options==null?null:_.options.htmlClass)||""),We("has-feedback",(_.options==null?null:_.options.feedback)&&(_.options==null?null:_.options.isInputWidget)&&((_.formControl==null?null:_.formControl.dirty)||(_.options==null?null:_.options.feedbackOnRender)))("has-error",(_.options==null?null:_.options.enableErrorState)&&(_.formControl==null?null:_.formControl.errors)&&((_.formControl==null?null:_.formControl.dirty)||(_.options==null?null:_.options.feedbackOnRender)))("has-success",(_.options==null?null:_.options.enableSuccessState)&&!(_.formControl!=null&&_.formControl.errors)&&((_.formControl==null?null:_.formControl.dirty)||(_.options==null?null:_.options.feedbackOnRender))),kn("data-bs-theme",_.theme)("data-theme",_.theme),P(),z("ngIf",_.showRemoveButton),P(),z("ngIf",(_.options==null?null:_.options.messageLocation)==="top"&&(_.layoutNode==null?null:_.layoutNode.type)!=="array"),P(),z("ngIf",(_.options==null?null:_.options.title)&&(_.layoutNode==null?null:_.layoutNode.type)!=="tab"&&(_.layoutNode==null?null:_.layoutNode.type)!=="array"),P(),z("ngIf",(_.layoutNode==null?null:_.layoutNode.type)==="submit"&&(_.jsf==null||_.jsf.formOptions==null?null:_.jsf.formOptions.fieldsRequired)),P(),We("input-group",(_.options==null?null:_.options.fieldAddonLeft)||(_.options==null?null:_.options.fieldAddonRight)),P(),z("ngIf",_.options==null?null:_.options.fieldAddonLeft),P(),z("layoutNode",_.widgetLayoutNode)("dataIndex",_.dataIndex)("layoutIndex",_.layoutIndex),P(),z("ngIf",_.options==null?null:_.options.fieldAddonRight),P(),z("ngIf",(_.options==null?null:_.options.feedback)&&(_.options==null?null:_.options.isInputWidget)&&!(_.options!=null&&_.options.fieldAddonRight)&&!_.layoutNode.arrayItem&&((_.formControl==null?null:_.formControl.dirty)||(_.options==null?null:_.options.feedbackOnRender))),P(),z("ngIf",(_.options==null?null:_.options.messageLocation)!=="top"&&(_.layoutNode==null?null:_.layoutNode.type)!=="array"),P(),z("ngIf",_.debug&&_.debugOutput))},dependencies:[fl,Hr],styles:[`:host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}.checkbox-inline,.checkbox-inline+.checkbox-inline,.checkbox-inline+.radio-inline,.radio-inline,.radio-inline+.radio-inline,.radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}.checkbox-inline:last-child,.radio-inline:last-child{margin-right:0}.ng-invalid.ng-touched{border:1px solid #f44336}
22
- `],encapsulation:2});let u=m;return u})(),M0=new Vs("CSS_FRAMEWORK_CFG"),cl;(function(u){class m{}u.csscategories=m})(cl||(cl={}));var hl=(()=>{let m=class m{};m.\u0275fac=function(w){return new(w||m)},m.\u0275mod=ne({type:m}),m.\u0275inj=te({providers:[In,se,Ur,Ue],imports:[Pe,ue,$r]});let u=m;return u})(),pl=(()=>{let m=class m extends qr{constructor(y,w){super(),this.cssFWService=w,this.name="css",this.framework=go,this.name=y.name,this.text=y.text||this.name,this.stylesheets=y.stylesheets,this.scripts=y.scripts,this.config=y,this.widgets=y.widgets}getActiveTheme(){var E,M;let y=this.cssFWService.getActiveRequestedTheme(),w=(M=(E=this.config)==null?void 0:E.widgetstyles)==null?void 0:M.__themes__,_=w&&w[0];if(y&&(_={name:y,text:y},w)){let j=w.filter(Z=>Z.name==y);_=j&&j[0]||_}return _}requestThemeChange(y){this.cssFWService.requestThemeChange(y)}registerTheme(y,w=!0){var M,j;let E=(((j=(M=this.config)==null?void 0:M.widgetstyles)==null?void 0:j.__themes__)||[]).filter(Z=>y.name==Z.name);if(E&&E[0]){if(w)return E[0].text=y.text,!0;if(!w)return!1}if(!E||E.length==0){let Z=this.config;return Z.widgetstyles=this.config.widgetstyles||{},Z.widgetstyles.__themes__=Z.widgetstyles.__themes__||[],Z.widgetstyles.__themes__.push(y),!0}}unregisterTheme(y){var E,M;let w=(M=(E=this.config)==null?void 0:E.widgetstyles)==null?void 0:M.__themes__,_=-1;return w&&(w.forEach((j,Z)=>{y==j.name&&(_=Z)}),_>=0)?(w.splice(_,1),!0):!1}getConfig(){return this.config}};m.\u0275fac=function(w){return new(w||m)(De(M0),De(Ue))},m.\u0275prov=Fe({token:m,factory:m.\u0275fac});let u=m;return u})();var D0=(()=>{let m=class m{constructor(y,w){this.changeDetector=y,this.jsf=w,this.frameworkInitialized=!1,this.formControl=null,this.debugOutput="",this.debug="",this.parentArray=null,this.isOrderable=!1}ngOnInit(){}ngOnChanges(){}};m.\u0275fac=function(w){return new(w||m)(Bt(Pr),Bt(In))},m.\u0275cmp=bn({type:m,selectors:[["bootstrap-4-framework"]],inputs:{layoutNode:"layoutNode",layoutIndex:"layoutIndex",dataIndex:"dataIndex"},features:[Wr],decls:2,vars:3,consts:[[3,"layoutNode","layoutIndex","dataIndex"]],template:function(w,_){w&1&&(q(0,"div"),at(1,"css-framework",0),Y()),w&2&&(P(),z("layoutNode",_.layoutNode)("layoutIndex",_.layoutIndex)("dataIndex",_.dataIndex))},dependencies:[go],styles:[`:host ::ng-deep .list-group-item .form-control-feedback{top:40px}:host ::ng-deep .checkbox,:host ::ng-deep .radio{margin-top:0;margin-bottom:0}:host ::ng-deep .checkbox-inline,:host ::ng-deep .checkbox-inline+.checkbox-inline,:host ::ng-deep .checkbox-inline+.radio-inline,:host ::ng-deep .radio-inline,:host ::ng-deep .radio-inline+.radio-inline,:host ::ng-deep .radio-inline+.checkbox-inline{margin-left:0;margin-right:10px}:host ::ng-deep .checkbox-inline:last-child,:host ::ng-deep .radio-inline:last-child{margin-right:0}:host ::ng-deep .ng-invalid.ng-touched{border:1px solid #f44336}.input-group .form-control:first-child,.input-group-text:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.input-group-text:first-child{border-right:0}.input-group .form-control:last-child,.input-group-text:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-text:last-child{border-left:0}.input-group .form-control:not(:first-child):not(:last-child),.input-group-text:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}
23
- `],encapsulation:2});let u=m;return u})(),B0={name:"bootstrap-4",text:"Bootstrap 4",scripts:["//cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js","//cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"],stylesheets:["//cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"],widgetstyles:{__themes__:[{name:"bootstrap4_default",text:"Bootstrap4 default"}],$ref:{fieldHtmlClass:"btn float-right btn-info"},__array_item_nonref__:{htmlClass:"list-group-item"},__form_group__:{htmlClass:"form-group"},__control_label__:{labelHtmlClass:"control-label"},__active__:{activeClass:"active"},__required_asterisk__:"text-danger",__screen_reader__:"sr-only",__remove_item__:"close float-right",__help_block__:"help-block",__field_addon_left__:"input-group-text input-group-prepend",__field_addon_right__:"input-group-text input-group-append","alt-date":{},"alt-datetime":{},__array__:{htmlClass:"list-group"},array:{},authfieldset:{},advancedfieldset:{},button:{fieldHtmlClass:"btn btn-sm btn-primary"},checkbox:{fieldHtmlClass:"checkbox"},checkboxes:{fieldHtmlClass:"checkbox"},checkboxbuttons:{fieldHtmlClass:"sr-only",htmlClass:"btn-group",itemLabelHtmlClass:"btn"},"checkboxes-inline":{htmlClass:"checkbox",itemLabelHtmlClass:"checkbox-inline"},date:{},"datetime-local":{},fieldset:{},integer:{},number:{},optionfieldset:{},password:{},radiobuttons:{fieldHtmlClass:"sr-only",htmlClass:"btn-group",itemLabelHtmlClass:"btn"},radio:{fieldHtmlClass:"radio"},radios:{fieldHtmlClass:"radio"},"radios-inline":{htmlClass:"radio",itemLabelHtmlClass:"radio-inline"},range:{},section:{},selectfieldset:{},select:{},submit:{fieldHtmlClass:"btn btn-primary"},text:{},tabs:{labelHtmlClass:"nav nav-tabs",htmlClass:"tab-content",fieldHtmlClass:"tab-pane"},tabarray:{labelHtmlClass:"nav nav-tabs",htmlClass:"tab-content",fieldHtmlClass:"tab-pane"},textarea:{},default:{fieldHtmlClass:"form-control"}}},k0=(()=>{let m=class m extends pl{constructor(y){super(B0,y),this.cssFWService=y,this.framework=D0}};m.\u0275fac=function(w){return new(w||m)(De(Ue))},m.\u0275prov=Fe({token:m,factory:m.\u0275fac});let u=m;return u})(),dl=(()=>{let m=class m{};m.\u0275fac=function(w){return new(w||m)},m.\u0275mod=ne({type:m}),m.\u0275inj=te({providers:[In,se,Ur,{provide:qr,useClass:k0,multi:!0}],imports:[Pe,ue,$r,hl,Pe]});let u=m;return u})();var nm=(()=>{let m=class m{};N(m,"\u0275fac",function(w){return new(w||m)}),N(m,"\u0275mod",ne({type:m})),N(m,"\u0275inj",te({imports:[ue,ol,dl,ul]}));let u=m;return u})();export{q0 as a,n_ as b,X0 as c,P0 as d,dl as e,nm as f};
@@ -1,14 +0,0 @@
1
- import{e as a0}from"./chunk-IGUSDGD6.js";var E0=a0((Eu,ou)=>{(function(R,b){typeof Eu=="object"&&typeof ou<"u"?ou.exports=b():typeof define=="function"&&define.amd?define(b):R.JSON5=b()})(Eu,function(){"use strict";function R(u,D){return D={exports:{}},u(D,D.exports),D.exports}var b=R(function(u){var D=u.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=D)}),_=R(function(u){var D=u.exports={version:"2.6.5"};typeof __e=="number"&&(__e=D)}),o0=_.version,J=function(u){return typeof u=="object"?u!==null:typeof u=="function"},fu=function(u){if(!J(u))throw TypeError(u+" is not an object!");return u},cu=function(u){try{return!!u()}catch{return!0}},Du=!cu(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),eu=b.document,gu=J(eu)&&J(eu.createElement),yu=function(u){return gu?eu.createElement(u):{}},bu=!Du&&!cu(function(){return Object.defineProperty(yu("div"),"a",{get:function(){return 7}}).a!=7}),wu=function(u,D){if(!J(u))return u;var t,r;if(D&&typeof(t=u.toString)=="function"&&!J(r=t.call(u))||typeof(t=u.valueOf)=="function"&&!J(r=t.call(u))||!D&&typeof(t=u.toString)=="function"&&!J(r=t.call(u)))return r;throw TypeError("Can't convert object to primitive value")},Su=Object.defineProperty,xu=Du?Object.defineProperty:function(D,t,r){if(fu(D),t=wu(t,!0),fu(r),bu)try{return Su(D,t,r)}catch{}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(D[t]=r.value),D},Pu={f:xu},_u=function(u,D){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:D}},U=Du?function(u,D,t){return Pu.f(u,D,_u(1,t))}:function(u,D,t){return u[D]=t,u},Nu={}.hasOwnProperty,Bu=function(u,D){return Nu.call(u,D)},Iu=0,ju=Math.random(),Ou=function(u){return"Symbol(".concat(u===void 0?"":u,")_",(++Iu+ju).toString(36))},Vu=!1,Lu=R(function(u){var D="__core-js_shared__",t=b[D]||(b[D]={});(u.exports=function(r,n){return t[r]||(t[r]=n!==void 0?n:{})})("versions",[]).push({version:_.version,mode:Vu?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})}),ru=Lu("native-function-to-string",Function.toString),Ju=R(function(u){var D=Ou("src"),t="toString",r=(""+ru).split(t);_.inspectSource=function(n){return ru.call(n)},(u.exports=function(n,A,E,g){var s=typeof E=="function";s&&(Bu(E,"name")||U(E,"name",A)),n[A]!==E&&(s&&(Bu(E,D)||U(E,D,n[A]?""+n[A]:r.join(String(A)))),n===b?n[A]=E:g?n[A]?n[A]=E:U(n,A,E):(delete n[A],U(n,A,E)))})(Function.prototype,t,function(){return typeof this=="function"&&this[D]||ru.call(this)})}),Mu=function(u){if(typeof u!="function")throw TypeError(u+" is not a function!");return u},su=function(u,D,t){if(Mu(u),D===void 0)return u;switch(t){case 1:return function(r){return u.call(D,r)};case 2:return function(r,n){return u.call(D,r,n)};case 3:return function(r,n,A){return u.call(D,r,n,A)}}return function(){return u.apply(D,arguments)}},tu="prototype",h=function(u,D,t){var r=u&h.F,n=u&h.G,A=u&h.S,E=u&h.P,g=u&h.B,s=n?b:A?b[D]||(b[D]={}):(b[D]||{})[tu],z=n?_:_[D]||(_[D]={}),q=z[tu]||(z[tu]={}),S,P,y,G;n&&(t=D);for(S in t)P=!r&&s&&s[S]!==void 0,y=(P?s:t)[S],G=g&&P?su(y,b):E&&typeof y=="function"?su(Function.call,y):y,s&&Ju(s,S,y,u&h.U),z[S]!=y&&U(z,S,G),E&&q[S]!=y&&(q[S]=y)};b.core=_,h.F=1,h.G=2,h.S=4,h.P=8,h.B=16,h.W=32,h.U=64,h.R=128;var Z=h,Tu=Math.ceil,zu=Math.floor,lu=function(u){return isNaN(u=+u)?0:(u>0?zu:Tu)(u)},$u=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u},Hu=function(u){return function(D,t){var r=String($u(D)),n=lu(t),A=r.length,E,g;return n<0||n>=A?u?"":void 0:(E=r.charCodeAt(n),E<55296||E>56319||n+1===A||(g=r.charCodeAt(n+1))<56320||g>57343?u?r.charAt(n):E:u?r.slice(n,n+2):(E-55296<<10)+(g-56320)+65536)}},Ru=Hu(!1);Z(Z.P,"String",{codePointAt:function(D){return Ru(this,D)}});var f0=_.String.codePointAt,qu=Math.max,Gu=Math.min,Uu=function(u,D){return u=lu(u),u<0?qu(u+D,0):Gu(u,D)},du=String.fromCharCode,vu=String.fromCodePoint;Z(Z.S+Z.F*(!!vu&&vu.length!=1),"String",{fromCodePoint:function(D){for(var t=arguments,r=[],n=arguments.length,A=0,E;n>A;){if(E=+t[A++],Uu(E,1114111)!==E)throw RangeError(E+" is not a valid code point");r.push(E<65536?du(E):du(((E-=65536)>>10)+55296,E%1024+56320))}return r.join("")}});var c0=_.String.fromCodePoint,Zu=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ku=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,Qu=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,nu={Space_Separator:Zu,ID_Start:Ku,ID_Continue:Qu},B={isSpaceSeparator:function(D){return typeof D=="string"&&nu.Space_Separator.test(D)},isIdStartChar:function(D){return typeof D=="string"&&(D>="a"&&D<="z"||D>="A"&&D<="Z"||D==="$"||D==="_"||nu.ID_Start.test(D))},isIdContinueChar:function(D){return typeof D=="string"&&(D>="a"&&D<="z"||D>="A"&&D<="Z"||D>="0"&&D<="9"||D==="$"||D==="_"||D==="\u200C"||D==="\u200D"||nu.ID_Continue.test(D))},isDigit:function(D){return typeof D=="string"&&/[0-9]/.test(D)},isHexDigit:function(D){return typeof D=="string"&&/[0-9A-Fa-f]/.test(D)}},Fu,m,N,W,V,w,l,Cu,K,Wu=function(D,t){Fu=String(D),m="start",N=[],W=0,V=1,w=0,l=void 0,Cu=void 0,K=void 0;do l=Xu(),u0[m]();while(l.type!=="eof");return typeof t=="function"?iu({"":K},"",t):K};function iu(u,D,t){var r=u[D];if(r!=null&&typeof r=="object")if(Array.isArray(r))for(var n=0;n<r.length;n++){var A=String(n),E=iu(r,A,t);E===void 0?delete r[A]:Object.defineProperty(r,A,{value:E,writable:!0,enumerable:!0,configurable:!0})}else for(var g in r){var s=iu(r,g,t);s===void 0?delete r[g]:Object.defineProperty(r,g,{value:s,writable:!0,enumerable:!0,configurable:!0})}return t.call(u,D,r)}var i,F,Q,I,a;function Xu(){for(i="default",F="",Q=!1,I=1;;){a=j();var u=pu[i]();if(u)return u}}function j(){if(Fu[W])return String.fromCodePoint(Fu.codePointAt(W))}function e(){var u=j();return u===`
2
- `?(V++,w=0):u?w+=u.length:w++,u&&(W+=u.length),u}var pu={default:function(){switch(a){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
3
- `:case"\r":case"\u2028":case"\u2029":e();return;case"/":e(),i="comment";return;case void 0:return e(),f("eof")}if(B.isSpaceSeparator(a)){e();return}return pu[m]()},comment:function(){switch(a){case"*":e(),i="multiLineComment";return;case"/":e(),i="singleLineComment";return}throw c(e())},multiLineComment:function(){switch(a){case"*":e(),i="multiLineCommentAsterisk";return;case void 0:throw c(e())}e()},multiLineCommentAsterisk:function(){switch(a){case"*":e();return;case"/":e(),i="default";return;case void 0:throw c(e())}e(),i="multiLineComment"},singleLineComment:function(){switch(a){case`
4
- `:case"\r":case"\u2028":case"\u2029":e(),i="default";return;case void 0:return e(),f("eof")}e()},value:function(){switch(a){case"{":case"[":return f("punctuator",e());case"n":return e(),M("ull"),f("null",null);case"t":return e(),M("rue"),f("boolean",!0);case"f":return e(),M("alse"),f("boolean",!1);case"-":case"+":e()==="-"&&(I=-1),i="sign";return;case".":F=e(),i="decimalPointLeading";return;case"0":F=e(),i="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":F=e(),i="decimalInteger";return;case"I":return e(),M("nfinity"),f("numeric",1/0);case"N":return e(),M("aN"),f("numeric",NaN);case'"':case"'":Q=e()==='"',F="",i="string";return}throw c(e())},identifierNameStartEscape:function(){if(a!=="u")throw c(e());e();var D=Au();switch(D){case"$":case"_":break;default:if(!B.isIdStartChar(D))throw hu();break}F+=D,i="identifierName"},identifierName:function(){switch(a){case"$":case"_":case"\u200C":case"\u200D":F+=e();return;case"\\":e(),i="identifierNameEscape";return}if(B.isIdContinueChar(a)){F+=e();return}return f("identifier",F)},identifierNameEscape:function(){if(a!=="u")throw c(e());e();var D=Au();switch(D){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!B.isIdContinueChar(D))throw hu();break}F+=D,i="identifierName"},sign:function(){switch(a){case".":F=e(),i="decimalPointLeading";return;case"0":F=e(),i="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":F=e(),i="decimalInteger";return;case"I":return e(),M("nfinity"),f("numeric",I*(1/0));case"N":return e(),M("aN"),f("numeric",NaN)}throw c(e())},zero:function(){switch(a){case".":F+=e(),i="decimalPoint";return;case"e":case"E":F+=e(),i="decimalExponent";return;case"x":case"X":F+=e(),i="hexadecimal";return}return f("numeric",I*0)},decimalInteger:function(){switch(a){case".":F+=e(),i="decimalPoint";return;case"e":case"E":F+=e(),i="decimalExponent";return}if(B.isDigit(a)){F+=e();return}return f("numeric",I*Number(F))},decimalPointLeading:function(){if(B.isDigit(a)){F+=e(),i="decimalFraction";return}throw c(e())},decimalPoint:function(){switch(a){case"e":case"E":F+=e(),i="decimalExponent";return}if(B.isDigit(a)){F+=e(),i="decimalFraction";return}return f("numeric",I*Number(F))},decimalFraction:function(){switch(a){case"e":case"E":F+=e(),i="decimalExponent";return}if(B.isDigit(a)){F+=e();return}return f("numeric",I*Number(F))},decimalExponent:function(){switch(a){case"+":case"-":F+=e(),i="decimalExponentSign";return}if(B.isDigit(a)){F+=e(),i="decimalExponentInteger";return}throw c(e())},decimalExponentSign:function(){if(B.isDigit(a)){F+=e(),i="decimalExponentInteger";return}throw c(e())},decimalExponentInteger:function(){if(B.isDigit(a)){F+=e();return}return f("numeric",I*Number(F))},hexadecimal:function(){if(B.isHexDigit(a)){F+=e(),i="hexadecimalInteger";return}throw c(e())},hexadecimalInteger:function(){if(B.isHexDigit(a)){F+=e();return}return f("numeric",I*Number(F))},string:function(){switch(a){case"\\":e(),F+=Yu();return;case'"':if(Q)return e(),f("string",F);F+=e();return;case"'":if(!Q)return e(),f("string",F);F+=e();return;case`
5
- `:case"\r":throw c(e());case"\u2028":case"\u2029":D0(a);break;case void 0:throw c(e())}F+=e()},start:function(){switch(a){case"{":case"[":return f("punctuator",e())}i="value"},beforePropertyName:function(){switch(a){case"$":case"_":F=e(),i="identifierName";return;case"\\":e(),i="identifierNameStartEscape";return;case"}":return f("punctuator",e());case'"':case"'":Q=e()==='"',i="string";return}if(B.isIdStartChar(a)){F+=e(),i="identifierName";return}throw c(e())},afterPropertyName:function(){if(a===":")return f("punctuator",e());throw c(e())},beforePropertyValue:function(){i="value"},afterPropertyValue:function(){switch(a){case",":case"}":return f("punctuator",e())}throw c(e())},beforeArrayValue:function(){if(a==="]")return f("punctuator",e());i="value"},afterArrayValue:function(){switch(a){case",":case"]":return f("punctuator",e())}throw c(e())},end:function(){throw c(e())}};function f(u,D){return{type:u,value:D,line:V,column:w}}function M(u){for(var D=0,t=u;D<t.length;D+=1){var r=t[D],n=j();if(n!==r)throw c(e());e()}}function Yu(){var u=j();switch(u){case"b":return e(),"\b";case"f":return e(),"\f";case"n":return e(),`
6
- `;case"r":return e(),"\r";case"t":return e()," ";case"v":return e(),"\v";case"0":if(e(),B.isDigit(j()))throw c(e());return"\0";case"x":return e(),ku();case"u":return e(),Au();case`
7
- `:case"\u2028":case"\u2029":return e(),"";case"\r":return e(),j()===`
8
- `&&e(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw c(e());case void 0:throw c(e())}return e()}function ku(){var u="",D=j();if(!B.isHexDigit(D)||(u+=e(),D=j(),!B.isHexDigit(D)))throw c(e());return u+=e(),String.fromCodePoint(parseInt(u,16))}function Au(){for(var u="",D=4;D-- >0;){var t=j();if(!B.isHexDigit(t))throw c(e());u+=e()}return String.fromCodePoint(parseInt(u,16))}var u0={start:function(){if(l.type==="eof")throw T();au()},beforePropertyName:function(){switch(l.type){case"identifier":case"string":Cu=l.value,m="afterPropertyName";return;case"punctuator":X();return;case"eof":throw T()}},afterPropertyName:function(){if(l.type==="eof")throw T();m="beforePropertyValue"},beforePropertyValue:function(){if(l.type==="eof")throw T();au()},beforeArrayValue:function(){if(l.type==="eof")throw T();if(l.type==="punctuator"&&l.value==="]"){X();return}au()},afterPropertyValue:function(){if(l.type==="eof")throw T();switch(l.value){case",":m="beforePropertyName";return;case"}":X()}},afterArrayValue:function(){if(l.type==="eof")throw T();switch(l.value){case",":m="beforeArrayValue";return;case"]":X()}},end:function(){}};function au(){var u;switch(l.type){case"punctuator":switch(l.value){case"{":u={};break;case"[":u=[];break}break;case"null":case"boolean":case"numeric":case"string":u=l.value;break}if(K===void 0)K=u;else{var D=N[N.length-1];Array.isArray(D)?D.push(u):Object.defineProperty(D,Cu,{value:u,writable:!0,enumerable:!0,configurable:!0})}if(u!==null&&typeof u=="object")N.push(u),Array.isArray(u)?m="beforeArrayValue":m="beforePropertyName";else{var t=N[N.length-1];t==null?m="end":Array.isArray(t)?m="afterArrayValue":m="afterPropertyValue"}}function X(){N.pop();var u=N[N.length-1];u==null?m="end":Array.isArray(u)?m="afterArrayValue":m="afterPropertyValue"}function c(u){return Y(u===void 0?"JSON5: invalid end of input at "+V+":"+w:"JSON5: invalid character '"+mu(u)+"' at "+V+":"+w)}function T(){return Y("JSON5: invalid end of input at "+V+":"+w)}function hu(){return w-=5,Y("JSON5: invalid identifier character at "+V+":"+w)}function D0(u){console.warn("JSON5: '"+mu(u)+"' in strings is not valid ECMAScript; consider escaping")}function mu(u){var D={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(D[u])return D[u];if(u<" "){var t=u.charCodeAt(0).toString(16);return"\\x"+("00"+t).substring(t.length)}return u}function Y(u){var D=new SyntaxError(u);return D.lineNumber=V,D.columnNumber=w,D}var e0=function(D,t,r){var n=[],A="",E,g,s="",z;if(t!=null&&typeof t=="object"&&!Array.isArray(t)&&(r=t.space,z=t.quote,t=t.replacer),typeof t=="function")g=t;else if(Array.isArray(t)){E=[];for(var q=0,S=t;q<S.length;q+=1){var P=S[q],y=void 0;typeof P=="string"?y=P:(typeof P=="number"||P instanceof String||P instanceof Number)&&(y=String(P)),y!==void 0&&E.indexOf(y)<0&&E.push(y)}}return r instanceof Number?r=Number(r):r instanceof String&&(r=String(r)),typeof r=="number"?r>0&&(r=Math.min(10,Math.floor(r)),s=" ".substr(0,r)):typeof r=="string"&&(s=r.substr(0,10)),G("",{"":D});function G(o,v){var C=v[o];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(o):typeof C.toJSON=="function"&&(C=C.toJSON(o))),g&&(C=g.call(v,o,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return k(C,!1);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?i0(C):F0(C)}function k(o){for(var v={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},d="",x=0;x<o.length;x++){var p=o[x];switch(p){case"'":case'"':v[p]++,d+=p;continue;case"\0":if(B.isDigit(o[x+1])){d+="\\x00";continue}}if(C[p]){d+=C[p];continue}if(p<" "){var $=p.charCodeAt(0).toString(16);d+="\\x"+("00"+$).substring($.length);continue}d+=p}var O=z||Object.keys(v).reduce(function(L,H){return v[L]<v[H]?L:H});return d=d.replace(new RegExp(O,"g"),C[O]),O+d+O}function F0(o){if(n.indexOf(o)>=0)throw TypeError("Converting circular structure to JSON5");n.push(o);var v=A;A=A+s;for(var C=E||Object.keys(o),d=[],x=0,p=C;x<p.length;x+=1){var $=p[x],O=G($,o);if(O!==void 0){var L=C0($)+":";s!==""&&(L+=" "),L+=O,d.push(L)}}var H;if(d.length===0)H="{}";else{var uu;if(s==="")uu=d.join(","),H="{"+uu+"}";else{var A0=`,
9
- `+A;uu=d.join(A0),H=`{
10
- `+A+uu+`,
11
- `+v+"}"}}return n.pop(),A=v,H}function C0(o){if(o.length===0)return k(o,!0);var v=String.fromCodePoint(o.codePointAt(0));if(!B.isIdStartChar(v))return k(o,!0);for(var C=v.length;C<o.length;C++)if(!B.isIdContinueChar(String.fromCodePoint(o.codePointAt(C))))return k(o,!0);return o}function i0(o){if(n.indexOf(o)>=0)throw TypeError("Converting circular structure to JSON5");n.push(o);var v=A;A=A+s;for(var C=[],d=0;d<o.length;d++){var x=G(String(d),o);C.push(x!==void 0?x:"null")}var p;if(C.length===0)p="[]";else if(s===""){var $=C.join(",");p="["+$+"]"}else{var O=`,
12
- `+A,L=C.join(O);p=`[
13
- `+A+L+`,
14
- `+v+"]"}return n.pop(),A=v,p}},r0={parse:Wu,stringify:e0},t0=r0,n0=t0;return n0})});export{E0 as a};
@@ -1 +0,0 @@
1
- import{m}from"./chunk-S4SOWUAW.js";import{W as c,Z as s,h as e,i as n,sc as f,t as a}from"./chunk-IGUSDGD6.js";var l=(()=>{let t=class t{constructor(o,r){e(this,"$router");e(this,"$settings");this.$router=o,this.$settings=r}canActivate(){return n(this,null,function*(){return this.$settings.settingsLoaded||(yield a(this.$settings.onSettingsLoaded)),this.$settings.env.setupWizardComplete===!1||this.$router.navigate(["/"]),!0})}};e(t,"\u0275fac",function(r){return new(r||t)(s(f),s(m))}),e(t,"\u0275prov",c({token:t,factory:t.\u0275fac,providedIn:"root"}));let i=t;return i})();export{l as a};
@@ -1 +0,0 @@
1
- import{c as de}from"./chunk-RIWBPQF3.js";import{b as pe}from"./chunk-S4SOWUAW.js";import{W as ue,Z as le,f as Ke,h as S,k as fe,l as X}from"./chunk-IGUSDGD6.js";var m=Object.create(null);m.open="0";m.close="1";m.ping="2";m.pong="3";m.message="4";m.upgrade="5";m.noop="6";var O=Object.create(null);Object.keys(m).forEach(r=>{O[m[r]]=r});var B={type:"error",data:"parser error"};var ge=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",_e=typeof ArrayBuffer=="function",be=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,N=({type:r,data:e},t,s)=>ge&&e instanceof Blob?t?s(e):me(e,s):_e&&(e instanceof ArrayBuffer||be(e))?t?s(e):me(new Blob([e]),s):s(m[r]+(e||"")),me=(r,e)=>{let t=new FileReader;return t.onload=function(){let s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(r)};function ye(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}var Q;function we(r,e){if(ge&&r.data instanceof Blob)return r.data.arrayBuffer().then(ye).then(e);if(_e&&(r.data instanceof ArrayBuffer||be(r.data)))return e(ye(r.data));N(r,!1,t=>{Q||(Q=new TextEncoder),e(Q.encode(t))})}var ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",L=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<ke.length;r++)L[ke.charCodeAt(r)]=r;var Ee=r=>{let e=r.length*.75,t=r.length,s,i=0,n,o,a,h;r[r.length-1]==="="&&(e--,r[r.length-2]==="="&&e--);let l=new ArrayBuffer(e),d=new Uint8Array(l);for(s=0;s<t;s+=4)n=L[r.charCodeAt(s)],o=L[r.charCodeAt(s+1)],a=L[r.charCodeAt(s+2)],h=L[r.charCodeAt(s+3)],d[i++]=n<<2|o>>4,d[i++]=(o&15)<<4|a>>2,d[i++]=(a&3)<<6|h&63;return l};var Ye=typeof ArrayBuffer=="function",P=(r,e)=>{if(typeof r!="string")return{type:"message",data:ve(r,e)};let t=r.charAt(0);return t==="b"?{type:"message",data:Je(r.substring(1),e)}:O[t]?r.length>1?{type:O[t],data:r.substring(1)}:{type:O[t]}:B},Je=(r,e)=>{if(Ye){let t=Ee(r);return ve(t,e)}else return{base64:!0,data:r}},ve=(r,e)=>{switch(e){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}};var xe="",Te=(r,e)=>{let t=r.length,s=new Array(t),i=0;r.forEach((n,o)=>{N(n,!1,a=>{s[o]=a,++i===t&&e(s.join(xe))})})},Ae=(r,e)=>{let t=r.split(xe),s=[];for(let i=0;i<t.length;i++){let n=P(t[i],e);if(s.push(n),n.type==="error")break}return s};function Re(){return new TransformStream({transform(r,e){we(r,t=>{let s=t.length,i;if(s<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,s);else if(s<65536){i=new Uint8Array(3);let n=new DataView(i.buffer);n.setUint8(0,126),n.setUint16(1,s)}else{i=new Uint8Array(9);let n=new DataView(i.buffer);n.setUint8(0,127),n.setBigUint64(1,BigInt(s))}r.data&&typeof r.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}var j;function V(r){return r.reduce((e,t)=>e+t.length,0)}function M(r,e){if(r[0].length===e)return r.shift();let t=new Uint8Array(e),s=0;for(let i=0;i<e;i++)t[i]=r[0][s++],s===r[0].length&&(r.shift(),s=0);return r.length&&s<r[0].length&&(r[0]=r[0].slice(s)),t}function Ce(r,e){j||(j=new TextDecoder);let t=[],s=0,i=-1,n=!1;return new TransformStream({transform(o,a){for(t.push(o);;){if(s===0){if(V(t)<1)break;let h=M(t,1);n=(h[0]&128)===128,i=h[0]&127,i<126?s=3:i===126?s=1:s=2}else if(s===1){if(V(t)<2)break;let h=M(t,2);i=new DataView(h.buffer,h.byteOffset,h.length).getUint16(0),s=3}else if(s===2){if(V(t)<8)break;let h=M(t,8),l=new DataView(h.buffer,h.byteOffset,h.length),d=l.getUint32(0);if(d>Math.pow(2,21)-1){a.enqueue(B);break}i=d*Math.pow(2,32)+l.getUint32(4),s=3}else{if(V(t)<i)break;let h=M(t,i);a.enqueue(P(n?h:j.decode(h),e)),s=0}if(i===0||i>r){a.enqueue(B);break}}}})}var G=4;function f(r){if(r)return $e(r)}function $e(r){for(var e in f.prototype)r[e]=f.prototype[e];return r}f.prototype.on=f.prototype.addEventListener=function(r,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(e),this};f.prototype.once=function(r,e){function t(){this.off(r,t),e.apply(this,arguments)}return t.fn=e,this.on(r,t),this};f.prototype.off=f.prototype.removeListener=f.prototype.removeAllListeners=f.prototype.removeEventListener=function(r,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+r];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var s,i=0;i<t.length;i++)if(s=t[i],s===e||s.fn===e){t.splice(i,1);break}return t.length===0&&delete this._callbacks["$"+r],this};f.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+r],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(t){t=t.slice(0);for(var s=0,i=t.length;s<i;++s)t[s].apply(this,e)}return this};f.prototype.emitReserved=f.prototype.emit;f.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]};f.prototype.hasListeners=function(r){return!!this.listeners(r).length};var y=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),u=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Se="arraybuffer";function H(r,...e){return e.reduce((t,s)=>(r.hasOwnProperty(s)&&(t[s]=r[s]),t),{})}var ze=u.setTimeout,Xe=u.clearTimeout;function g(r,e){e.useNativeTimers?(r.setTimeoutFn=ze.bind(u),r.clearTimeoutFn=Xe.bind(u)):(r.setTimeoutFn=u.setTimeout.bind(u),r.clearTimeoutFn=u.clearTimeout.bind(u))}var Qe=1.33;function Oe(r){return typeof r=="string"?je(r):Math.ceil((r.byteLength||r.size)*Qe)}function je(r){let e=0,t=0;for(let s=0,i=r.length;s<i;s++)e=r.charCodeAt(s),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(s++,t+=4);return t}function W(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Be(r){let e="";for(let t in r)r.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(r[t]));return e}function Ne(r){let e={},t=r.split("&");for(let s=0,i=t.length;s<i;s++){let n=t[s].split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return e}var K=class extends Error{constructor(e,t,s){super(e),this.description=t,this.context=s,this.type="TransportError"}},_=class extends f{constructor(e){super(),this.writable=!1,g(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,s){return super.emitReserved("error",new K(e,t,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){let t=P(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){let t=Be(e);return t.length?"?"+t:""}};var q=class extends _{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";let t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){let t=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};Ae(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){let e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,Te(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=W()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}};var Le=!1;try{Le=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}var Pe=Le;function Ge(){}var Z=class extends q{constructor(e){if(super(e),typeof location<"u"){let t=location.protocol==="https:",s=location.port;s||(s=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||s!==e.port}}doWrite(e,t){let s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(i,n)=>{this.onError("xhr post error",i,n)})}doPoll(){let e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}},Y=(()=>{class r extends f{constructor(t,s,i){super(),this.createRequest=t,g(this,i),this._opts=i,this._method=i.method||"GET",this._uri=s,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var t;let s=H(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;let i=this._xhr=this.createRequest(s);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let n in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(n)&&i.setRequestHeader(n,this._opts.extraHeaders[n])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var n;i.readyState===3&&((n=this._opts.cookieJar)===null||n===void 0||n.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(n){this.setTimeoutFn(()=>{this._onError(n)},0);return}typeof document<"u"&&(this._index=r.requestsCount++,r.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=Ge,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete r.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}return r.requestsCount=0,r.requests={},r})();if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",qe);else if(typeof addEventListener=="function"){let r="onpagehide"in u?"pagehide":"unload";addEventListener(r,qe,!1)}}function qe(){for(let r in Y.requests)Y.requests.hasOwnProperty(r)&&Y.requests[r].abort()}var Ze=function(){let r=De({xdomain:!1});return r&&r.responseType!==null}(),w=class extends Z{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=Ze&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new Y(De,this.uri(),e)}};function De(r){let e=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Pe))return new XMLHttpRequest}catch{}if(!e)try{return new u[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}var Fe=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",te=class extends _{get name(){return"websocket"}doOpen(){let e=this.uri(),t=this.opts.protocols,s=Fe?{}:H(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,s)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let s=e[t],i=t===e.length-1;N(s,this.supportsBinary,n=>{try{this.doWrite(s,n)}catch{}i&&y(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=W()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}},ee=u.WebSocket||u.MozWebSocket,k=class extends te{createSocket(e,t,s){return Fe?new ee(e,t,s):t?new ee(e,t):new ee(e)}doWrite(e,t){this.ws.send(t)}};var v=class extends _{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{let t=Ce(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),i=Re();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();let n=()=>{s.read().then(({done:a,value:h})=>{a||(this.onPacket(h),n())}).catch(a=>{})};n();let o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let s=e[t],i=t===e.length-1;this._writer.write(s).then(()=>{i&&y(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}};var se={websocket:k,webtransport:v,polling:w};var et=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,tt=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function x(r){if(r.length>8e3)throw"URI too long";let e=r,t=r.indexOf("["),s=r.indexOf("]");t!=-1&&s!=-1&&(r=r.substring(0,t)+r.substring(t,s).replace(/:/g,";")+r.substring(s,r.length));let i=et.exec(r||""),n={},o=14;for(;o--;)n[tt[o]]=i[o]||"";return t!=-1&&s!=-1&&(n.source=e,n.host=n.host.substring(1,n.host.length-1).replace(/;/g,":"),n.authority=n.authority.replace("[","").replace("]","").replace(/;/g,":"),n.ipv6uri=!0),n.pathNames=st(n,n.path),n.queryKey=rt(n,n.query),n}function st(r,e){let t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function rt(r,e){let t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,n){i&&(t[i]=n)}),t}var re=typeof addEventListener=="function"&&typeof removeEventListener=="function",J=[];re&&addEventListener("offline",()=>{J.forEach(r=>r())},!1);var $=(()=>{class r extends f{constructor(t,s){if(super(),this.binaryType=Se,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(s=t,t=null),t){let i=x(t);s.hostname=i.host,s.secure=i.protocol==="https"||i.protocol==="wss",s.port=i.port,i.query&&(s.query=i.query)}else s.host&&(s.hostname=x(s.host).host);g(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(i=>{let n=i.prototype.name;this.transports.push(n),this._transportsByName[n]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Ne(this.opts.query)),re&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},J.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let s=Object.assign({},this.opts.query);s.EIO=G,s.transport=t,this.id&&(s.sid=this.id);let i=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}let t=this.opts.rememberUpgrade&&r.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";let s=this.createTransport(t);s.open(),this.setTransport(s)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",r.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let s=new Error("server error");s.code=t.data,this._onError(s);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let i=0;i<this.writeBuffer.length;i++){let n=this.writeBuffer[i].data;if(n&&(s+=Oe(n)),i>0&&s>this._maxPayload)return this.writeBuffer.slice(0,i);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,y(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,s,i){return this._sendPacket("message",t,s,i),this}send(t,s,i){return this._sendPacket("message",t,s,i),this}_sendPacket(t,s,i,n){if(typeof s=="function"&&(n=s,s=void 0),typeof i=="function"&&(n=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;let o={type:t,data:s,options:i};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),n&&this.once("flush",n),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),t()},i=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():t()}):this.upgrading?i():t()),this}_onError(t){if(r.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),re&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let i=J.indexOf(this._offlineEventListener);i!==-1&&J.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}return r.protocol=G,r})(),z=class extends ${constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),s=!1;$.priorWebsocketSuccess=!1;let i=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",b=>{if(!s)if(b.type==="pong"&&b.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;$.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(d(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{let C=new Error("probe error");C.transport=t.name,this.emitReserved("upgradeError",C)}}))};function n(){s||(s=!0,d(),t.close(),t=null)}let o=b=>{let C=new Error("probe error: "+b);C.transport=t.name,n(),this.emitReserved("upgradeError",C)};function a(){o("transport closed")}function h(){o("socket closed")}function l(b){t&&b.name!==t.name&&n()}let d=()=>{t.removeListener("open",i),t.removeListener("error",o),t.removeListener("close",a),this.off("close",h),this.off("upgrading",l)};t.once("open",i),t.once("error",o),t.once("close",a),this.once("close",h),this.once("upgrading",l),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let s=0;s<e.length;s++)~this.transports.indexOf(e[s])&&t.push(e[s]);return t}},T=class extends z{constructor(e,t={}){let s=typeof e=="object"?e:t;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(i=>se[i]).filter(i=>!!i)),super(e,s)}};var ms=T.protocol;function Ie(r,e="",t){let s=r;t=t||typeof location<"u"&&location,r==null&&(r=t.protocol+"//"+t.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=t.protocol+r:r=t.host+r),/^(https?|wss?):\/\//.test(r)||(typeof t<"u"?r=t.protocol+"//"+r:r="https://"+r),s=x(r)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";let n=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+n+":"+s.port+e,s.href=s.protocol+"://"+n+(t&&t.port===s.port?"":":"+s.port),s}var he={};Ke(he,{Decoder:()=>ae,Encoder:()=>oe,PacketType:()=>c,protocol:()=>We});var nt=typeof ArrayBuffer=="function",ot=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,Ue=Object.prototype.toString,at=typeof Blob=="function"||typeof Blob<"u"&&Ue.call(Blob)==="[object BlobConstructor]",ct=typeof File=="function"||typeof File<"u"&&Ue.call(File)==="[object FileConstructor]";function F(r){return nt&&(r instanceof ArrayBuffer||ot(r))||at&&r instanceof Blob||ct&&r instanceof File}function D(r,e){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let t=0,s=r.length;t<s;t++)if(D(r[t]))return!0;return!1}if(F(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return D(r.toJSON(),!0);for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&D(r[t]))return!0;return!1}function Ve(r){let e=[],t=r.data,s=r;return s.data=ie(t,e),s.attachments=e.length,{packet:s,buffers:e}}function ie(r,e){if(!r)return r;if(F(r)){let t={_placeholder:!0,num:e.length};return e.push(r),t}else if(Array.isArray(r)){let t=new Array(r.length);for(let s=0;s<r.length;s++)t[s]=ie(r[s],e);return t}else if(typeof r=="object"&&!(r instanceof Date)){let t={};for(let s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=ie(r[s],e));return t}return r}function Me(r,e){return r.data=ne(r.data,e),delete r.attachments,r}function ne(r,e){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<e.length)return e[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let t=0;t<r.length;t++)r[t]=ne(r[t],e);else if(typeof r=="object")for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(r[t]=ne(r[t],e));return r}var ht=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],We=5,c=function(r){return r[r.CONNECT=0]="CONNECT",r[r.DISCONNECT=1]="DISCONNECT",r[r.EVENT=2]="EVENT",r[r.ACK=3]="ACK",r[r.CONNECT_ERROR=4]="CONNECT_ERROR",r[r.BINARY_EVENT=5]="BINARY_EVENT",r[r.BINARY_ACK=6]="BINARY_ACK",r}(c||{}),oe=class{constructor(e){this.replacer=e}encode(e){return(e.type===c.EVENT||e.type===c.ACK)&&D(e)?this.encodeAsBinary({type:e.type===c.EVENT?c.BINARY_EVENT:c.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===c.BINARY_EVENT||e.type===c.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t=Ve(e),s=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(s),i}};function He(r){return Object.prototype.toString.call(r)==="[object Object]"}var ae=class r extends f{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);let s=t.type===c.BINARY_EVENT;s||t.type===c.BINARY_ACK?(t.type=s?c.EVENT:c.ACK,this.reconstructor=new ce(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(F(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0,s={type:Number(e.charAt(0))};if(c[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===c.BINARY_EVENT||s.type===c.BINARY_ACK){let n=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);let o=e.substring(n,t);if(o!=Number(o)||e.charAt(t)!=="-")throw new Error("Illegal attachments");s.attachments=Number(o)}if(e.charAt(t+1)==="/"){let n=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););s.nsp=e.substring(n,t)}else s.nsp="/";let i=e.charAt(t+1);if(i!==""&&Number(i)==i){let n=t+1;for(;++t;){let o=e.charAt(t);if(o==null||Number(o)!=o){--t;break}if(t===e.length)break}s.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){let n=this.tryParse(e.substr(t));if(r.isPayloadValid(s.type,n))s.data=n;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case c.CONNECT:return He(t);case c.DISCONNECT:return t===void 0;case c.CONNECT_ERROR:return typeof t=="string"||He(t);case c.EVENT:case c.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&ht.indexOf(t[0])===-1);case c.ACK:case c.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}},ce=class{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){let t=Me(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}};function p(r,e,t){return r.on(e,t),function(){r.off(e,t)}}var ft=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),A=class extends f{constructor(e,t,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[p(e,"open",this.onopen.bind(this)),p(e,"packet",this.onpacket.bind(this)),p(e,"error",this.onerror.bind(this)),p(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var s,i,n;if(ft.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let o={type:c.EVENT,data:t};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){let d=this.ids++,b=t.pop();this._registerAckCallback(d,b),o.id=d}let a=(i=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||i===void 0?void 0:i.writable,h=this.connected&&!(!((n=this.io.engine)===null||n===void 0)&&n._hasPingExpired());return this.flags.volatile&&!a||(h?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(e,t){var s;let i=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(i===void 0){this.acks[e]=t;return}let n=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let a=0;a<this.sendBuffer.length;a++)this.sendBuffer[a].id===e&&this.sendBuffer.splice(a,1);t.call(this,new Error("operation has timed out"))},i),o=(...a)=>{this.io.clearTimeoutFn(n),t.apply(this,a)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise((s,i)=>{let n=(o,a)=>o?i(o):s(a);n.withError=!0,t.push(n),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());let s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...n)=>s!==this._queue[0]?void 0:(i!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(null,...n)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;let t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:c.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(s=>String(s.id)===e)){let s=this.acks[e];delete this.acks[e],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case c.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case c.EVENT:case c.BINARY_EVENT:this.onevent(e);break;case c.ACK:case c.BINARY_ACK:this.onack(e);break;case c.DISCONNECT:this.ondisconnect();break;case c.CONNECT_ERROR:this.destroy();let s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){let t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){let t=this._anyListeners.slice();for(let s of t)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,s=!1;return function(...i){s||(s=!0,t.packet({type:c.ACK,id:e,data:i}))}}onack(e){let t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:c.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){let t=this._anyOutgoingListeners.slice();for(let s of t)s.apply(this,e.data)}}};function E(r){r=r||{},this.ms=r.min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}E.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*r);r=Math.floor(e*10)&1?r+t:r-t}return Math.min(r,this.max)|0};E.prototype.reset=function(){this.attempts=0};E.prototype.setMin=function(r){this.ms=r};E.prototype.setMax=function(r){this.max=r};E.prototype.setJitter=function(r){this.jitter=r};var R=class extends f{constructor(e,t){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,g(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((s=t.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new E({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;let i=t.parser||he;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new T(this.uri,this.opts);let t=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;let i=p(t,"open",function(){s.onopen(),e&&e()}),n=a=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",a),e?e(a):this.maybeReconnectOnOpen()},o=p(t,"error",n);if(this._timeout!==!1){let a=this._timeout,h=this.setTimeoutFn(()=>{i(),n(new Error("timeout")),t.close()},a);this.opts.autoUnref&&h.unref(),this.subs.push(()=>{this.clearTimeoutFn(h)})}return this.subs.push(i),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let e=this.engine;this.subs.push(p(e,"ping",this.onping.bind(this)),p(e,"data",this.ondata.bind(this)),p(e,"error",this.onerror.bind(this)),p(e,"close",this.onclose.bind(this)),p(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){y(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new A(this,e,t),this.nsps[e]=s),s}_destroy(e){let t=Object.keys(this.nsps);for(let s of t)if(this.nsps[s].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let s=0;s<t.length;s++)this.engine.write(t[s],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}};var I={};function U(r,e){typeof r=="object"&&(e=r,r=void 0),e=e||{};let t=Ie(r,e.path||"/socket.io"),s=t.source,i=t.id,n=t.path,o=I[i]&&n in I[i].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||o,h;return a?h=new R(s,e):(I[i]||(I[i]=new R(s,e)),h=I[i]),t.query&&!e.query&&(e.query=t.queryKey),h.socket(t.path,e)}Object.assign(U,{Manager:R,Socket:A,io:U,connect:U});var or=(()=>{let e=class e{constructor(s){S(this,"$auth");S(this,"namespaceConnectionCache",{});this.$auth=s}connectToNamespace(s){if(this.namespaceConnectionCache[s]){let i=this.namespaceConnectionCache[s];return i.connected=new X,setTimeout(()=>{i.socket.connected&&i.connected.next(void 0)}),i.socket.on("connect",()=>{i.connected.next(void 0)}),i.end=()=>{i.socket.emit("end"),i.socket.removeAllListeners(),i.connected.complete()},this.namespaceConnectionCache[s]}else{let i=this.establishConnectionToNamespace(s);return i.connected=new X,i.socket.on("connect",()=>{i.connected.next(void 0)}),i.end=()=>{i.socket.emit("end"),i.socket.removeAllListeners(),i.connected.complete()},this.namespaceConnectionCache[s]=i,i}}getExistingNamespace(s){return this.namespaceConnectionCache[s]}establishConnectionToNamespace(s){let i=U(`${pe.api.socket}/${s}`,{query:{token:this.$auth.token}});return{socket:i,request:(o,a)=>new fe(h=>{i.emit(o,a,l=>{typeof l=="object"&&l.error?h.error(l):h.next(l),h.complete()})})}}};S(e,"\u0275fac",function(i){return new(i||e)(le(de))}),S(e,"\u0275prov",ue({token:e,factory:e.\u0275fac,providedIn:"root"}));let r=e;return r})();export{or as a};
@@ -1 +0,0 @@
1
- import{M as R}from"./chunk-WCDFKYP6.js";import{c as y,k as I}from"./chunk-S4SOWUAW.js";import{a as x,b as k}from"./chunk-F22FMU37.js";import{$,Ka as v,Ua as e,Va as c,Wa as b,ab as u,h as t,jb as p,kb as _,lb as h,sc as g,wa as i,xa as l,yb as r,zb as a}from"./chunk-IGUSDGD6.js";var D=(()=>{let n=class n{constructor(o,s,d,m,S){t(this,"$activeModal");t(this,"$api");t(this,"$router");t(this,"$toastr");t(this,"$translate");t(this,"fullRestart",!1);this.$activeModal=o,this.$api=s,this.$router=d,this.$toastr=m,this.$translate=S}onRestartHomebridgeClick(){if(!this.fullRestart){this.$router.navigate(["/restart"]),this.$activeModal.close();return}this.$api.put("/platform-tools/hb-service/set-full-service-restart-flag",{}).subscribe({next:()=>{this.$router.navigate(["/restart"]),this.$activeModal.close()},error:o=>{console.error(o),this.$toastr.error(o.message,this.$translate.instant("toast.title_error"))}})}};t(n,"\u0275fac",function(s){return new(s||n)(l(R),l(y),l(g),l(I),l(x))}),t(n,"\u0275cmp",$({type:n,selectors:[["ng-component"]],inputs:{fullRestart:"fullRestart"},decls:25,vars:18,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-dismiss","modal",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body","w-100","text-center"],[1,"fas","fa-fw","fa-power-off","primary-text","mb-4",2,"font-size","75px"],[1,"w-100"],[1,"modal-footer","justify-content-between"],[1,"text-left"],["type","button","data-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-center"],[1,"text-right"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(s,d){s&1&&(e(0,"div",0)(1,"div",1)(2,"h5",2),p(3),r(4,"translate"),c(),e(5,"button",3),r(6,"translate"),u("click",function(){return d.$activeModal.dismiss("Dismiss")}),e(7,"span",4),p(8,"\xD7"),c()()(),e(9,"div",5),b(10,"i",6),e(11,"p",7),p(12),r(13,"translate"),c()(),e(14,"div",8)(15,"div",9)(16,"button",10),r(17,"translate"),u("click",function(){return d.$activeModal.dismiss("Dismiss")}),p(18),r(19,"translate"),c()(),b(20,"div",11),e(21,"div",12)(22,"button",13),u("click",function(){return d.onRestartHomebridgeClick()}),p(23),r(24,"translate"),c()()()()),s&2&&(i(3),_(a(4,6,"platform.version.service_restart_required")),i(2),v("aria-label",a(6,8,"form.button_close")),i(7),_(a(13,10,"restart.homebridge")),i(4),v("aria-label",a(17,12,"form.button_close")),i(2),h(" ",a(19,14,"form.button_close")," "),i(5),h(" ",a(24,16,"menu.tooltip_restart")," "))},dependencies:[k],encapsulation:2}));let f=n;return f})();export{D as a};