homebridge-config-ui-x 5.4.2-beta.2 → 5.4.2-beta.21

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 (206) hide show
  1. package/CHANGELOG.md +25 -5
  2. package/dist/core/auth/auth.controller.d.ts +1 -0
  3. package/dist/core/config/config.service.d.ts +3 -1
  4. package/dist/core/config/config.service.js +3 -2
  5. package/dist/core/config/config.service.js.map +1 -1
  6. package/dist/core/config/config.startup.d.ts +1 -0
  7. package/dist/core/config/config.startup.js +13 -3
  8. package/dist/core/config/config.startup.js.map +1 -1
  9. package/dist/core/spa/spa-html.service.d.ts +5 -0
  10. package/dist/core/spa/spa-html.service.js +39 -0
  11. package/dist/core/spa/spa-html.service.js.map +1 -0
  12. package/dist/core/spa/spa.filter.d.ts +2 -0
  13. package/dist/core/spa/spa.filter.js +17 -2
  14. package/dist/core/spa/spa.filter.js.map +1 -1
  15. package/dist/main.js +8 -3
  16. package/dist/main.js.map +1 -1
  17. package/dist/modules/accessories/accessories.service.js +5 -1
  18. package/dist/modules/accessories/accessories.service.js.map +1 -1
  19. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js +1 -1
  20. package/dist/modules/custom-plugins/plugins-settings-ui/plugins-settings-ui.service.js.map +1 -1
  21. package/dist/modules/plugins/plugins.service.d.ts +1 -0
  22. package/dist/modules/plugins/plugins.service.js +27 -15
  23. package/dist/modules/plugins/plugins.service.js.map +1 -1
  24. package/package.json +18 -13
  25. package/public/3rdpartylicenses.txt +91 -91
  26. package/public/assets/monaco/ThirdPartyNotices.txt +448 -0
  27. package/public/assets/monaco/min/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  28. package/public/assets/monaco/min/vs/base/worker/workerMain.js +31 -0
  29. package/public/assets/monaco/min/vs/basic-languages/shell/shell.js +10 -0
  30. package/public/assets/monaco/min/vs/editor/editor.main.css +8 -0
  31. package/public/assets/monaco/min/vs/editor/editor.main.js +798 -0
  32. package/public/assets/monaco/min/vs/language/json/jsonMode.js +19 -0
  33. package/public/assets/monaco/min/vs/language/json/jsonWorker.js +42 -0
  34. package/public/assets/monaco/min/vs/loader.js +11 -0
  35. package/public/chunk-24MFIAJC.js +1 -0
  36. package/public/chunk-2GPXWXUT.js +1 -0
  37. package/public/chunk-3LEW5FOJ.js +5 -0
  38. package/public/chunk-5RI5TLFW.js +1 -0
  39. package/public/{chunk-QX6BFGHZ.js → chunk-5WYRGCHF.js} +1 -1
  40. package/public/chunk-5YEBXXYW.js +1 -0
  41. package/public/{chunk-ZUTM7S4U.js → chunk-7FVJXUCR.js} +1 -1
  42. package/public/chunk-AEEAPTXE.js +1 -0
  43. package/public/chunk-AM53KSWA.js +1 -0
  44. package/public/chunk-ANRLCCQG.js +1 -0
  45. package/public/chunk-BH4JDZF4.js +1 -0
  46. package/public/chunk-BHMKIJVI.js +1 -0
  47. package/public/{chunk-IWFKJHPR.js → chunk-BQMDK4YS.js} +2 -2
  48. package/public/{chunk-3POLSI6J.js → chunk-C64P3A75.js} +1 -1
  49. package/public/{chunk-WCOLHYTR.js → chunk-CCHRGHTT.js} +1 -1
  50. package/public/chunk-CDS2MSIW.js +1 -0
  51. package/public/{chunk-J6CJ26QN.js → chunk-CIVLN3HQ.js} +1 -1
  52. package/public/{chunk-CMOVUX6R.js → chunk-CTYK4ZDT.js} +1 -1
  53. package/public/chunk-DOOSRLOB.js +1 -0
  54. package/public/{chunk-OYULLXTP.js → chunk-E6AE64XW.js} +1 -1
  55. package/public/chunk-EKP4IO3L.js +4 -0
  56. package/public/{chunk-H45DK7IX.js → chunk-EWO5Q2EI.js} +2 -2
  57. package/public/{chunk-FXJWZ2UF.js → chunk-F3ULAZ4E.js} +1 -1
  58. package/public/chunk-F6VJ3EFY.js +1 -0
  59. package/public/chunk-FB6OF4XR.js +1 -0
  60. package/public/chunk-G5PK6IZW.js +2 -0
  61. package/public/chunk-GFPRNM6N.js +1 -0
  62. package/public/chunk-GTGO4A2X.js +1 -0
  63. package/public/chunk-IJXZNORX.js +1 -0
  64. package/public/chunk-KCX2WQ7I.js +20 -0
  65. package/public/{chunk-D7VCPH6W.js → chunk-KNZTEJFP.js} +1 -1
  66. package/public/{chunk-H5WTK5UT.js → chunk-KXMDG63G.js} +1 -1
  67. package/public/chunk-L432DR6J.js +1 -0
  68. package/public/chunk-LNGNBQBM.js +1 -0
  69. package/public/{chunk-2C3X2ESN.js → chunk-M7Q6VBJE.js} +1 -1
  70. package/public/chunk-MCMJ5GFL.js +1 -0
  71. package/public/chunk-MDV2S56W.js +1 -0
  72. package/public/chunk-MIOXSBCB.js +1 -0
  73. package/public/{chunk-TWIBESLE.js → chunk-MKVX26LQ.js} +1 -1
  74. package/public/chunk-MODJOHCZ.js +1 -0
  75. package/public/chunk-MVMZJM7B.js +9 -0
  76. package/public/chunk-NMHMMKMV.js +1 -0
  77. package/public/chunk-NVX4KPO6.js +1 -0
  78. package/public/chunk-OLGI5A27.js +1 -0
  79. package/public/chunk-P6VGWWMV.js +1 -0
  80. package/public/chunk-PCCN3UQI.js +49 -0
  81. package/public/chunk-POHAQOWN.js +1 -0
  82. package/public/chunk-PVFUJ4PR.js +4 -0
  83. package/public/chunk-QZJJX4BS.js +1 -0
  84. package/public/{chunk-WTDK2HE6.js → chunk-RH474C2P.js} +1 -1
  85. package/public/chunk-RN2CW4V7.js +4 -0
  86. package/public/chunk-SEYIRMYP.js +40 -0
  87. package/public/{chunk-6E4QOLAB.js → chunk-SJP6OUG5.js} +1 -1
  88. package/public/chunk-TXNEVPOK.js +14 -0
  89. package/public/chunk-UFFCOH7L.js +1 -0
  90. package/public/chunk-UO7UMJN3.js +1 -0
  91. package/public/{chunk-5E4D6S2D.js → chunk-UUM2722D.js} +1 -1
  92. package/public/chunk-VNH6VAIL.js +1 -0
  93. package/public/chunk-VSICB3TW.js +1 -0
  94. package/public/chunk-W5UULTHE.js +1 -0
  95. package/public/chunk-XBQ6GTWH.js +3 -0
  96. package/public/chunk-XHOBTVZN.js +1 -0
  97. package/public/chunk-XSTH4HOH.js +1 -0
  98. package/public/chunk-YBETHBKT.js +1 -0
  99. package/public/chunk-YGABEALD.js +1 -0
  100. package/public/chunk-YWY6NRRB.js +1 -0
  101. package/public/chunk-ZUW7E67I.js +1 -0
  102. package/public/index.html +2 -2
  103. package/public/main-CVBTY5OH.js +1 -0
  104. package/public/polyfills-5KWHJ7II.js +2 -0
  105. package/public/{styles-LKRXKJ7O.css → styles-AUT3PDLG.css} +1 -1
  106. package/public/assets/hap-icons/light-bulb.svg +0 -25
  107. package/public/assets/hap-icons/outlet.svg +0 -25
  108. package/public/assets/hap-icons/switch.svg +0 -25
  109. package/public/assets/hap-icons/unknown.svg +0 -25
  110. package/public/assets/monaco-0.21.3/README.md +0 -96
  111. package/public/assets/monaco-0.21.3/ThirdPartyNotices.txt +0 -283
  112. package/public/assets/monaco-0.21.3/min/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  113. package/public/assets/monaco-0.21.3/min/vs/base/worker/workerMain.js +0 -160
  114. package/public/assets/monaco-0.21.3/min/vs/basic-languages/shell/shell.js +0 -7
  115. package/public/assets/monaco-0.21.3/min/vs/editor/editor.main.css +0 -6
  116. package/public/assets/monaco-0.21.3/min/vs/editor/editor.main.js +0 -2368
  117. package/public/assets/monaco-0.21.3/min/vs/editor/editor.main.nls.js +0 -39
  118. package/public/assets/monaco-0.21.3/min/vs/language/json/jsonMode.js +0 -7
  119. package/public/assets/monaco-0.21.3/min/vs/language/json/jsonWorker.js +0 -7
  120. package/public/assets/monaco-0.21.3/min/vs/loader.js +0 -38
  121. package/public/assets/monaco-0.21.3/package.json +0 -38
  122. package/public/assets/service-icons/air-purifier.svg +0 -50
  123. package/public/assets/service-icons/air-quality-sensor.svg +0 -30
  124. package/public/assets/service-icons/carbon-dioxide-sensor.svg +0 -53
  125. package/public/assets/service-icons/carbon-monoxide-sensor.svg +0 -53
  126. package/public/assets/service-icons/contact-sensor.svg +0 -45
  127. package/public/assets/service-icons/door.svg +0 -49
  128. package/public/assets/service-icons/doorbell.svg +0 -7
  129. package/public/assets/service-icons/fan.svg +0 -15
  130. package/public/assets/service-icons/filter-maintenance.svg +0 -54
  131. package/public/assets/service-icons/garage-door.svg +0 -120
  132. package/public/assets/service-icons/irrigation-system.svg +0 -34
  133. package/public/assets/service-icons/leak-sensor.svg +0 -42
  134. package/public/assets/service-icons/light-sensor.svg +0 -34
  135. package/public/assets/service-icons/lock-mechanism.svg +0 -39
  136. package/public/assets/service-icons/microphone.svg +0 -12
  137. package/public/assets/service-icons/motion-sensor.svg +0 -84
  138. package/public/assets/service-icons/occupancy-sensor.svg +0 -49
  139. package/public/assets/service-icons/robot-vacuum.svg +0 -76
  140. package/public/assets/service-icons/security-system.svg +0 -19
  141. package/public/assets/service-icons/smoke-sensor.svg +0 -38
  142. package/public/assets/service-icons/speaker.svg +0 -28
  143. package/public/assets/service-icons/stateless-programmable-switch.svg +0 -18
  144. package/public/assets/service-icons/television.svg +0 -17
  145. package/public/assets/service-icons/valve-faucet.svg +0 -22
  146. package/public/assets/service-icons/valve-generic.svg +0 -25
  147. package/public/assets/service-icons/valve-irrigation.svg +0 -34
  148. package/public/assets/service-icons/valve-shower-head.svg +0 -32
  149. package/public/assets/service-icons/washing-machine.svg +0 -34
  150. package/public/assets/service-icons/window-covering.svg +0 -44
  151. package/public/assets/service-icons/window.svg +0 -71
  152. package/public/chunk-2H6KO42L.js +0 -1
  153. package/public/chunk-3M6IUC74.js +0 -1
  154. package/public/chunk-5PN3M3TS.js +0 -1
  155. package/public/chunk-5VJLO72Y.js +0 -1
  156. package/public/chunk-6CQ7JJUY.js +0 -1
  157. package/public/chunk-7EQFLCW4.js +0 -1
  158. package/public/chunk-7ZUAPFH6.js +0 -1
  159. package/public/chunk-A5YMO7NI.js +0 -1
  160. package/public/chunk-BEPC7IPQ.js +0 -23
  161. package/public/chunk-BG7RRQGG.js +0 -1
  162. package/public/chunk-BO3HTTPA.js +0 -1
  163. package/public/chunk-CN4SGKOR.js +0 -1
  164. package/public/chunk-DFFTJVRY.js +0 -1
  165. package/public/chunk-FCJZJIQL.js +0 -1
  166. package/public/chunk-FG5GS755.js +0 -1
  167. package/public/chunk-FMHXNJHJ.js +0 -1
  168. package/public/chunk-FSWVJTPN.js +0 -1
  169. package/public/chunk-FUTRU3DJ.js +0 -4
  170. package/public/chunk-FVKMBZOU.js +0 -9
  171. package/public/chunk-G3JSRG2Q.js +0 -2
  172. package/public/chunk-GHMFFLJG.js +0 -1
  173. package/public/chunk-HT7KLIKB.js +0 -1
  174. package/public/chunk-HWAWBYVQ.js +0 -1
  175. package/public/chunk-IOKYXV5M.js +0 -4
  176. package/public/chunk-JFPT3QXX.js +0 -30
  177. package/public/chunk-JL4UQXPL.js +0 -1
  178. package/public/chunk-KZKL7DGI.js +0 -1
  179. package/public/chunk-LDCR6K2U.js +0 -12
  180. package/public/chunk-LXAXEGMX.js +0 -1
  181. package/public/chunk-MHTCWHP3.js +0 -1
  182. package/public/chunk-NDBMU5RD.js +0 -14
  183. package/public/chunk-NHNGZ4PI.js +0 -1
  184. package/public/chunk-NORBG6QU.js +0 -1
  185. package/public/chunk-OA7Y3E5A.js +0 -2
  186. package/public/chunk-PA5E2G2J.js +0 -4
  187. package/public/chunk-Q3EG5UQP.js +0 -1
  188. package/public/chunk-QE27FJRU.js +0 -1
  189. package/public/chunk-QVCO7S7N.js +0 -20
  190. package/public/chunk-R3KUMAWN.js +0 -1
  191. package/public/chunk-RHZTPEXE.js +0 -1
  192. package/public/chunk-RZXCKXEZ.js +0 -1
  193. package/public/chunk-SL5FI37R.js +0 -1
  194. package/public/chunk-SULJOYSB.js +0 -3
  195. package/public/chunk-TR3AIWBS.js +0 -1
  196. package/public/chunk-V6JVOQNN.js +0 -1
  197. package/public/chunk-WX32WZFA.js +0 -1
  198. package/public/chunk-WYMH5QZG.js +0 -1
  199. package/public/chunk-X5YIKTO6.js +0 -1
  200. package/public/chunk-Z2T4OZ7I.js +0 -1
  201. package/public/chunk-ZAIVLZNZ.js +0 -1
  202. package/public/chunk-ZKQAULZM.js +0 -1
  203. package/public/chunk-ZLYGOSRJ.js +0 -1
  204. package/public/main-ILQAVUPM.js +0 -1
  205. package/public/polyfills-WE4HA5DL.js +0 -2
  206. /package/public/assets/{monaco-0.21.3 → monaco}/LICENSE +0 -0
@@ -1 +1 @@
1
- import{c as t}from"./chunk-BG7RRQGG.js";import{b as i}from"./chunk-J6CJ26QN.js";import{ha as o,nb as r}from"./chunk-IOKYXV5M.js";var f=(()=>{class e{static \u0275fac=function(s){return new(s||e)};static \u0275mod=r({type:e});static \u0275inj=o({providers:[t],imports:[i]})}return e})();export{f as a};
1
+ import{c as t}from"./chunk-GTGO4A2X.js";import{b as i}from"./chunk-CIVLN3HQ.js";import{Xa as r,fa as o}from"./chunk-3LEW5FOJ.js";var f=(()=>{class e{static \u0275fac=function(s){return new(s||e)};static \u0275mod=r({type:e});static \u0275inj=o({providers:[t],imports:[i]})}return e})();export{f as a};
@@ -0,0 +1,14 @@
1
+ import{m as Bt}from"./chunk-BQMDK4YS.js";import{b as hu,d as yu}from"./chunk-MDV2S56W.js";import{k as gu,l as ht,n as Bu,q as bu}from"./chunk-FB6OF4XR.js";import{Hb as ye,La as U,Vb as ue,Wa as gt,Wb as Le,Xb as Me,e as ca,h as Au,ja as Ae,kb as qe,mc as Q,nc as k,ob as Fu,pb as Eu,qb as xu,vb as $,w as Cu,wb as X,xb as Ve}from"./chunk-3LEW5FOJ.js";var tD=ca((iu,fu)=>{(function(e,t){typeof iu=="object"&&typeof fu<"u"?fu.exports=t():typeof define=="function"&&define.amd?define(t):e.JSON5=t()})(iu,function(){"use strict";function e(r,a){return a={exports:{}},r(a,a.exports),a.exports}var t=e(function(r){var a=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=a)}),u=e(function(r){var a=r.exports={version:"2.6.5"};typeof __e=="number"&&(__e=a)}),o=u.version,f=function(r){return typeof r=="object"?r!==null:typeof r=="function"},i=function(r){if(!f(r))throw TypeError(r+" is not an object!");return r},D=function(r){try{return!!r()}catch{return!0}},l=!D(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),m=t.document,g=f(m)&&f(m.createElement),B=function(r){return g?m.createElement(r):{}},h=!l&&!D(function(){return Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a!=7}),b=function(r,a){if(!f(r))return r;var p,s;if(a&&typeof(p=r.toString)=="function"&&!f(s=p.call(r))||typeof(p=r.valueOf)=="function"&&!f(s=p.call(r))||!a&&typeof(p=r.toString)=="function"&&!f(s=p.call(r)))return s;throw TypeError("Can't convert object to primitive value")},M=Object.defineProperty,I=l?Object.defineProperty:function(a,p,s){if(i(a),p=b(p,!0),i(s),h)try{return M(a,p,s)}catch{}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");return"value"in s&&(a[p]=s.value),a},H={f:I},j=function(r,a){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}},T=l?function(r,a,p){return H.f(r,a,j(1,p))}:function(r,a,p){return r[a]=p,r},pe={}.hasOwnProperty,nt=function(r,a){return pe.call(r,a)},Ge=0,Ue=Math.random(),Go=function(r){return"Symbol(".concat(r===void 0?"":r,")_",(++Ge+Ue).toString(36))},Uo=!1,$o=e(function(r){var a="__core-js_shared__",p=t[a]||(t[a]={});(r.exports=function(s,d){return p[s]||(p[s]=d!==void 0?d:{})})("versions",[]).push({version:u.version,mode:Uo?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})}),Yt=$o("native-function-to-string",Function.toString),Ho=e(function(r){var a=Go("src"),p="toString",s=(""+Yt).split(p);u.inspectSource=function(d){return Yt.call(d)},(r.exports=function(d,F,x,J){var N=typeof x=="function";N&&(nt(x,"name")||T(x,"name",F)),d[F]!==x&&(N&&(nt(x,a)||T(x,a,d[F]?""+d[F]:s.join(String(F)))),d===t?d[F]=x:J?d[F]?d[F]=x:T(d,F,x):(delete d[F],T(d,F,x)))})(Function.prototype,p,function(){return typeof this=="function"&&this[a]||Yt.call(this)})}),qo=function(r){if(typeof r!="function")throw TypeError(r+" is not a function!");return r},su=function(r,a,p){if(qo(r),a===void 0)return r;switch(p){case 1:return function(s){return r.call(a,s)};case 2:return function(s,d){return r.call(a,s,d)};case 3:return function(s,d,F){return r.call(a,s,d,F)}}return function(){return r.apply(a,arguments)}},Xt="prototype",z=function(r,a,p){var s=r&z.F,d=r&z.G,F=r&z.S,x=r&z.P,J=r&z.B,N=d?t:F?t[a]||(t[a]={}):(t[a]||{})[Xt],Ie=d?u:u[a]||(u[a]={}),$e=Ie[Xt]||(Ie[Xt]={}),ae,ie,Y,He;d&&(p=a);for(ae in p)ie=!s&&N&&N[ae]!==void 0,Y=(ie?N:p)[ae],He=J&&ie?su(Y,t):x&&typeof Y=="function"?su(Function.call,Y):Y,N&&Ho(N,ae,Y,r&z.U),Ie[ae]!=Y&&T(Ie,ae,He),x&&$e[ae]!=Y&&($e[ae]=Y)};t.core=u,z.F=1,z.G=2,z.S=4,z.P=8,z.B=16,z.W=32,z.U=64,z.R=128;var it=z,Vo=Math.ceil,Wo=Math.floor,Du=function(r){return isNaN(r=+r)?0:(r>0?Wo:Vo)(r)},zo=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r},Ko=function(r){return function(a,p){var s=String(zo(a)),d=Du(p),F=s.length,x,J;return d<0||d>=F?r?"":void 0:(x=s.charCodeAt(d),x<55296||x>56319||d+1===F||(J=s.charCodeAt(d+1))<56320||J>57343?r?s.charAt(d):x:r?s.slice(d,d+2):(x-55296<<10)+(J-56320)+65536)}},Jo=Ko(!1);it(it.P,"String",{codePointAt:function(a){return Jo(this,a)}});var uD=u.String.codePointAt,Yo=Math.max,Xo=Math.min,Zo=function(r,a){return r=Du(r),r<0?Yo(r+a,0):Xo(r,a)},pu=String.fromCharCode,lu=String.fromCodePoint;it(it.S+it.F*(!!lu&&lu.length!=1),"String",{fromCodePoint:function(a){for(var p=arguments,s=[],d=arguments.length,F=0,x;d>F;){if(x=+p[F++],Zo(x,1114111)!==x)throw RangeError(x+" is not a valid code point");s.push(x<65536?pu(x):pu(((x-=65536)>>10)+55296,x%1024+56320))}return s.join("")}});var rD=u.String.fromCodePoint,Qo=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ko=/[\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]/,ea=/[\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]/,Zt={Space_Separator:Qo,ID_Start:ko,ID_Continue:ea},O={isSpaceSeparator:function(a){return typeof a=="string"&&Zt.Space_Separator.test(a)},isIdStartChar:function(a){return typeof a=="string"&&(a>="a"&&a<="z"||a>="A"&&a<="Z"||a==="$"||a==="_"||Zt.ID_Start.test(a))},isIdContinueChar:function(a){return typeof a=="string"&&(a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"||a==="$"||a==="_"||a==="\u200C"||a==="\u200D"||Zt.ID_Continue.test(a))},isDigit:function(a){return typeof a=="string"&&/[0-9]/.test(a)},isHexDigit:function(a){return typeof a=="string"&&/[0-9A-Fa-f]/.test(a)}},Qt,K,le,At,Be,oe,R,kt,ft,ta=function(a,p){Qt=String(a),K="start",le=[],At=0,Be=1,oe=0,R=void 0,kt=void 0,ft=void 0;do R=ua(),aa[K]();while(R.type!=="eof");return typeof p=="function"?eu({"":ft},"",p):ft};function eu(r,a,p){var s=r[a];if(s!=null&&typeof s=="object")if(Array.isArray(s))for(var d=0;d<s.length;d++){var F=String(d),x=eu(s,F,p);x===void 0?delete s[F]:Object.defineProperty(s,F,{value:x,writable:!0,enumerable:!0,configurable:!0})}else for(var J in s){var N=eu(s,J,p);N===void 0?delete s[J]:Object.defineProperty(s,J,{value:N,writable:!0,enumerable:!0,configurable:!0})}return p.call(r,a,s)}var C,c,st,me,E;function ua(){for(C="default",c="",st=!1,me=1;;){E=de();var r=mu[C]();if(r)return r}}function de(){if(Qt[At])return String.fromCodePoint(Qt.codePointAt(At))}function n(){var r=de();return r===`
2
+ `?(Be++,oe=0):r?oe+=r.length:oe++,r&&(At+=r.length),r}var mu={default:function(){switch(E){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
3
+ `:case"\r":case"\u2028":case"\u2029":n();return;case"/":n(),C="comment";return;case void 0:return n(),_("eof")}if(O.isSpaceSeparator(E)){n();return}return mu[K]()},comment:function(){switch(E){case"*":n(),C="multiLineComment";return;case"/":n(),C="singleLineComment";return}throw S(n())},multiLineComment:function(){switch(E){case"*":n(),C="multiLineCommentAsterisk";return;case void 0:throw S(n())}n()},multiLineCommentAsterisk:function(){switch(E){case"*":n();return;case"/":n(),C="default";return;case void 0:throw S(n())}n(),C="multiLineComment"},singleLineComment:function(){switch(E){case`
4
+ `:case"\r":case"\u2028":case"\u2029":n(),C="default";return;case void 0:return n(),_("eof")}n()},value:function(){switch(E){case"{":case"[":return _("punctuator",n());case"n":return n(),Oe("ull"),_("null",null);case"t":return n(),Oe("rue"),_("boolean",!0);case"f":return n(),Oe("alse"),_("boolean",!1);case"-":case"+":n()==="-"&&(me=-1),C="sign";return;case".":c=n(),C="decimalPointLeading";return;case"0":c=n(),C="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":c=n(),C="decimalInteger";return;case"I":return n(),Oe("nfinity"),_("numeric",1/0);case"N":return n(),Oe("aN"),_("numeric",NaN);case'"':case"'":st=n()==='"',c="",C="string";return}throw S(n())},identifierNameStartEscape:function(){if(E!=="u")throw S(n());n();var a=tu();switch(a){case"$":case"_":break;default:if(!O.isIdStartChar(a))throw du();break}c+=a,C="identifierName"},identifierName:function(){switch(E){case"$":case"_":case"\u200C":case"\u200D":c+=n();return;case"\\":n(),C="identifierNameEscape";return}if(O.isIdContinueChar(E)){c+=n();return}return _("identifier",c)},identifierNameEscape:function(){if(E!=="u")throw S(n());n();var a=tu();switch(a){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!O.isIdContinueChar(a))throw du();break}c+=a,C="identifierName"},sign:function(){switch(E){case".":c=n(),C="decimalPointLeading";return;case"0":c=n(),C="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":c=n(),C="decimalInteger";return;case"I":return n(),Oe("nfinity"),_("numeric",me*(1/0));case"N":return n(),Oe("aN"),_("numeric",NaN)}throw S(n())},zero:function(){switch(E){case".":c+=n(),C="decimalPoint";return;case"e":case"E":c+=n(),C="decimalExponent";return;case"x":case"X":c+=n(),C="hexadecimal";return}return _("numeric",me*0)},decimalInteger:function(){switch(E){case".":c+=n(),C="decimalPoint";return;case"e":case"E":c+=n(),C="decimalExponent";return}if(O.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},decimalPointLeading:function(){if(O.isDigit(E)){c+=n(),C="decimalFraction";return}throw S(n())},decimalPoint:function(){switch(E){case"e":case"E":c+=n(),C="decimalExponent";return}if(O.isDigit(E)){c+=n(),C="decimalFraction";return}return _("numeric",me*Number(c))},decimalFraction:function(){switch(E){case"e":case"E":c+=n(),C="decimalExponent";return}if(O.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},decimalExponent:function(){switch(E){case"+":case"-":c+=n(),C="decimalExponentSign";return}if(O.isDigit(E)){c+=n(),C="decimalExponentInteger";return}throw S(n())},decimalExponentSign:function(){if(O.isDigit(E)){c+=n(),C="decimalExponentInteger";return}throw S(n())},decimalExponentInteger:function(){if(O.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},hexadecimal:function(){if(O.isHexDigit(E)){c+=n(),C="hexadecimalInteger";return}throw S(n())},hexadecimalInteger:function(){if(O.isHexDigit(E)){c+=n();return}return _("numeric",me*Number(c))},string:function(){switch(E){case"\\":n(),c+=ra();return;case'"':if(st)return n(),_("string",c);c+=n();return;case"'":if(!st)return n(),_("string",c);c+=n();return;case`
5
+ `:case"\r":throw S(n());case"\u2028":case"\u2029":na(E);break;case void 0:throw S(n())}c+=n()},start:function(){switch(E){case"{":case"[":return _("punctuator",n())}C="value"},beforePropertyName:function(){switch(E){case"$":case"_":c=n(),C="identifierName";return;case"\\":n(),C="identifierNameStartEscape";return;case"}":return _("punctuator",n());case'"':case"'":st=n()==='"',C="string";return}if(O.isIdStartChar(E)){c+=n(),C="identifierName";return}throw S(n())},afterPropertyName:function(){if(E===":")return _("punctuator",n());throw S(n())},beforePropertyValue:function(){C="value"},afterPropertyValue:function(){switch(E){case",":case"}":return _("punctuator",n())}throw S(n())},beforeArrayValue:function(){if(E==="]")return _("punctuator",n());C="value"},afterArrayValue:function(){switch(E){case",":case"]":return _("punctuator",n())}throw S(n())},end:function(){throw S(n())}};function _(r,a){return{type:r,value:a,line:Be,column:oe}}function Oe(r){for(var a=0,p=r;a<p.length;a+=1){var s=p[a],d=de();if(d!==s)throw S(n());n()}}function ra(){var r=de();switch(r){case"b":return n(),"\b";case"f":return n(),"\f";case"n":return n(),`
6
+ `;case"r":return n(),"\r";case"t":return n()," ";case"v":return n(),"\v";case"0":if(n(),O.isDigit(de()))throw S(n());return"\0";case"x":return n(),oa();case"u":return n(),tu();case`
7
+ `:case"\u2028":case"\u2029":return n(),"";case"\r":return n(),de()===`
8
+ `&&n(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw S(n());case void 0:throw S(n())}return n()}function oa(){var r="",a=de();if(!O.isHexDigit(a)||(r+=n(),a=de(),!O.isHexDigit(a)))throw S(n());return r+=n(),String.fromCodePoint(parseInt(r,16))}function tu(){for(var r="",a=4;a-- >0;){var p=de();if(!O.isHexDigit(p))throw S(n());r+=n()}return String.fromCodePoint(parseInt(r,16))}var aa={start:function(){if(R.type==="eof")throw Pe();uu()},beforePropertyName:function(){switch(R.type){case"identifier":case"string":kt=R.value,K="afterPropertyName";return;case"punctuator":Ct();return;case"eof":throw Pe()}},afterPropertyName:function(){if(R.type==="eof")throw Pe();K="beforePropertyValue"},beforePropertyValue:function(){if(R.type==="eof")throw Pe();uu()},beforeArrayValue:function(){if(R.type==="eof")throw Pe();if(R.type==="punctuator"&&R.value==="]"){Ct();return}uu()},afterPropertyValue:function(){if(R.type==="eof")throw Pe();switch(R.value){case",":K="beforePropertyName";return;case"}":Ct()}},afterArrayValue:function(){if(R.type==="eof")throw Pe();switch(R.value){case",":K="beforeArrayValue";return;case"]":Ct()}},end:function(){}};function uu(){var r;switch(R.type){case"punctuator":switch(R.value){case"{":r={};break;case"[":r=[];break}break;case"null":case"boolean":case"numeric":case"string":r=R.value;break}if(ft===void 0)ft=r;else{var a=le[le.length-1];Array.isArray(a)?a.push(r):Object.defineProperty(a,kt,{value:r,writable:!0,enumerable:!0,configurable:!0})}if(r!==null&&typeof r=="object")le.push(r),Array.isArray(r)?K="beforeArrayValue":K="beforePropertyName";else{var p=le[le.length-1];p==null?K="end":Array.isArray(p)?K="afterArrayValue":K="afterPropertyValue"}}function Ct(){le.pop();var r=le[le.length-1];r==null?K="end":Array.isArray(r)?K="afterArrayValue":K="afterPropertyValue"}function S(r){return Ft(r===void 0?"JSON5: invalid end of input at "+Be+":"+oe:"JSON5: invalid character '"+cu(r)+"' at "+Be+":"+oe)}function Pe(){return Ft("JSON5: invalid end of input at "+Be+":"+oe)}function du(){return oe-=5,Ft("JSON5: invalid identifier character at "+Be+":"+oe)}function na(r){console.warn("JSON5: '"+cu(r)+"' in strings is not valid ECMAScript; consider escaping")}function cu(r){var a={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(a[r])return a[r];if(r<" "){var p=r.charCodeAt(0).toString(16);return"\\x"+("00"+p).substring(p.length)}return r}function Ft(r){var a=new SyntaxError(r);return a.lineNumber=Be,a.columnNumber=oe,a}var ia=function(a,p,s){var d=[],F="",x,J,N="",Ie;if(p!=null&&typeof p=="object"&&!Array.isArray(p)&&(s=p.space,Ie=p.quote,p=p.replacer),typeof p=="function")J=p;else if(Array.isArray(p)){x=[];for(var $e=0,ae=p;$e<ae.length;$e+=1){var ie=ae[$e],Y=void 0;typeof ie=="string"?Y=ie:(typeof ie=="number"||ie instanceof String||ie instanceof Number)&&(Y=String(ie)),Y!==void 0&&x.indexOf(Y)<0&&x.push(Y)}}return s instanceof Number?s=Number(s):s instanceof String&&(s=String(s)),typeof s=="number"?s>0&&(s=Math.min(10,Math.floor(s)),N=" ".substr(0,s)):typeof s=="string"&&(N=s.substr(0,10)),He("",{"":a});function He(y,q){var A=q[y];switch(A!=null&&(typeof A.toJSON5=="function"?A=A.toJSON5(y):typeof A.toJSON=="function"&&(A=A.toJSON(y))),J&&(A=J.call(q,y,A)),A instanceof Number?A=Number(A):A instanceof String?A=String(A):A instanceof Boolean&&(A=A.valueOf()),A){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof A=="string")return Et(A,!1);if(typeof A=="number")return String(A);if(typeof A=="object")return Array.isArray(A)?ma(A):pa(A)}function Et(y){for(var q={"'":.1,'"':.2},A={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},G="",ne=0;ne<y.length;ne++){var V=y[ne];switch(V){case"'":case'"':q[V]++,G+=V;continue;case"\0":if(O.isDigit(y[ne+1])){G+="\\x00";continue}}if(A[V]){G+=A[V];continue}if(V<" "){var je=V.charCodeAt(0).toString(16);G+="\\x"+("00"+je).substring(je.length);continue}G+=V}var ce=Ie||Object.keys(q).reduce(function(he,Ne){return q[he]<q[Ne]?he:Ne});return G=G.replace(new RegExp(ce,"g"),A[ce]),ce+G+ce}function pa(y){if(d.indexOf(y)>=0)throw TypeError("Converting circular structure to JSON5");d.push(y);var q=F;F=F+N;for(var A=x||Object.keys(y),G=[],ne=0,V=A;ne<V.length;ne+=1){var je=V[ne],ce=He(je,y);if(ce!==void 0){var he=la(je)+":";N!==""&&(he+=" "),he+=ce,G.push(he)}}var Ne;if(G.length===0)Ne="{}";else{var xt;if(N==="")xt=G.join(","),Ne="{"+xt+"}";else{var da=`,
9
+ `+F;xt=G.join(da),Ne=`{
10
+ `+F+xt+`,
11
+ `+q+"}"}}return d.pop(),F=q,Ne}function la(y){if(y.length===0)return Et(y,!0);var q=String.fromCodePoint(y.codePointAt(0));if(!O.isIdStartChar(q))return Et(y,!0);for(var A=q.length;A<y.length;A++)if(!O.isIdContinueChar(String.fromCodePoint(y.codePointAt(A))))return Et(y,!0);return y}function ma(y){if(d.indexOf(y)>=0)throw TypeError("Converting circular structure to JSON5");d.push(y);var q=F;F=F+N;for(var A=[],G=0;G<y.length;G++){var ne=He(String(G),y);A.push(ne!==void 0?ne:"null")}var V;if(A.length===0)V="[]";else if(N===""){var je=A.join(",");V="["+je+"]"}else{var ce=`,
12
+ `+F,he=A.join(ce);V=`[
13
+ `+F+he+`,
14
+ `+q+"]"}return d.pop(),F=q,V}},fa={parse:ta,stringify:ia},sa=fa,Da=sa;return Da})});function Aa(){this.__data__=[],this.size=0}var vu=Aa;function Ca(e,t){return e===t||e!==e&&t!==t}var fe=Ca;function Fa(e,t){for(var u=e.length;u--;)if(fe(e[u][0],t))return u;return-1}var be=Fa;var Ea=Array.prototype,xa=Ea.splice;function ga(e){var t=this.__data__,u=be(t,e);if(u<0)return!1;var o=t.length-1;return u==o?t.pop():xa.call(t,u,1),--this.size,!0}var _u=ga;function Ba(e){var t=this.__data__,u=be(t,e);return u<0?void 0:t[u][1]}var Su=Ba;function ha(e){return be(this.__data__,e)>-1}var wu=ha;function ya(e,t){var u=this.__data__,o=be(u,e);return o<0?(++this.size,u.push([e,t])):u[o][1]=t,this}var Tu=ya;function We(e){var t=-1,u=e==null?0:e.length;for(this.clear();++t<u;){var o=e[t];this.set(o[0],o[1])}}We.prototype.clear=vu;We.prototype.delete=_u;We.prototype.get=Su;We.prototype.has=wu;We.prototype.set=Tu;var ve=We;function ba(){this.__data__=new ve,this.size=0}var Ou=ba;function va(e){var t=this.__data__,u=t.delete(e);return this.size=t.size,u}var Pu=va;function _a(e){return this.__data__.get(e)}var Iu=_a;function Sa(e){return this.__data__.has(e)}var ju=Sa;var wa=typeof global=="object"&&global&&global.Object===Object&&global,yt=wa;var Ta=typeof self=="object"&&self&&self.Object===Object&&self,Oa=yt||Ta||Function("return this")(),P=Oa;var Pa=P.Symbol,Z=Pa;var Nu=Object.prototype,Ia=Nu.hasOwnProperty,ja=Nu.toString,Dt=Z?Z.toStringTag:void 0;function Na(e){var t=Ia.call(e,Dt),u=e[Dt];try{e[Dt]=void 0;var o=!0}catch{}var f=ja.call(e);return o&&(t?e[Dt]=u:delete e[Dt]),f}var Lu=Na;var La=Object.prototype,Ma=La.toString;function Ra(e){return Ma.call(e)}var Mu=Ra;var Ga="[object Null]",Ua="[object Undefined]",Ru=Z?Z.toStringTag:void 0;function $a(e){return e==null?e===void 0?Ua:Ga:Ru&&Ru in Object(e)?Lu(e):Mu(e)}var re=$a;function Ha(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var W=Ha;var qa="[object AsyncFunction]",Va="[object Function]",Wa="[object GeneratorFunction]",za="[object Proxy]";function Ka(e){if(!W(e))return!1;var t=re(e);return t==Va||t==Wa||t==qa||t==za}var ze=Ka;var Ja=P["__core-js_shared__"],bt=Ja;var Gu=(function(){var e=/[^.]+$/.exec(bt&&bt.keys&&bt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Ya(e){return!!Gu&&Gu in e}var Uu=Ya;var Xa=Function.prototype,Za=Xa.toString;function Qa(e){if(e!=null){try{return Za.call(e)}catch{}try{return e+""}catch{}}return""}var Ce=Qa;var ka=/[\\^$.*+?()[\]{}|]/g,en=/^\[object .+?Constructor\]$/,tn=Function.prototype,un=Object.prototype,rn=tn.toString,on=un.hasOwnProperty,an=RegExp("^"+rn.call(on).replace(ka,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nn(e){if(!W(e)||Uu(e))return!1;var t=ze(e)?an:en;return t.test(Ce(e))}var $u=nn;function fn(e,t){return e?.[t]}var Hu=fn;function sn(e,t){var u=Hu(e,t);return $u(u)?u:void 0}var ee=sn;var Dn=ee(P,"Map"),_e=Dn;var pn=ee(Object,"create"),Fe=pn;function ln(){this.__data__=Fe?Fe(null):{},this.size=0}var qu=ln;function mn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Vu=mn;var dn="__lodash_hash_undefined__",cn=Object.prototype,An=cn.hasOwnProperty;function Cn(e){var t=this.__data__;if(Fe){var u=t[e];return u===dn?void 0:u}return An.call(t,e)?t[e]:void 0}var Wu=Cn;var Fn=Object.prototype,En=Fn.hasOwnProperty;function xn(e){var t=this.__data__;return Fe?t[e]!==void 0:En.call(t,e)}var zu=xn;var gn="__lodash_hash_undefined__";function Bn(e,t){var u=this.__data__;return this.size+=this.has(e)?0:1,u[e]=Fe&&t===void 0?gn:t,this}var Ku=Bn;function Ke(e){var t=-1,u=e==null?0:e.length;for(this.clear();++t<u;){var o=e[t];this.set(o[0],o[1])}}Ke.prototype.clear=qu;Ke.prototype.delete=Vu;Ke.prototype.get=Wu;Ke.prototype.has=zu;Ke.prototype.set=Ku;var ru=Ke;function hn(){this.size=0,this.__data__={hash:new ru,map:new(_e||ve),string:new ru}}var Ju=hn;function yn(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Yu=yn;function bn(e,t){var u=e.__data__;return Yu(t)?u[typeof t=="string"?"string":"hash"]:u.map}var Se=bn;function vn(e){var t=Se(this,e).delete(e);return this.size-=t?1:0,t}var Xu=vn;function _n(e){return Se(this,e).get(e)}var Zu=_n;function Sn(e){return Se(this,e).has(e)}var Qu=Sn;function wn(e,t){var u=Se(this,e),o=u.size;return u.set(e,t),this.size+=u.size==o?0:1,this}var ku=wn;function Je(e){var t=-1,u=e==null?0:e.length;for(this.clear();++t<u;){var o=e[t];this.set(o[0],o[1])}}Je.prototype.clear=Ju;Je.prototype.delete=Xu;Je.prototype.get=Zu;Je.prototype.has=Qu;Je.prototype.set=ku;var vt=Je;var Tn=200;function On(e,t){var u=this.__data__;if(u instanceof ve){var o=u.__data__;if(!_e||o.length<Tn-1)return o.push([e,t]),this.size=++u.size,this;u=this.__data__=new vt(o)}return u.set(e,t),this.size=u.size,this}var er=On;function Ye(e){var t=this.__data__=new ve(e);this.size=t.size}Ye.prototype.clear=Ou;Ye.prototype.delete=Pu;Ye.prototype.get=Iu;Ye.prototype.has=ju;Ye.prototype.set=er;var we=Ye;var Pn="__lodash_hash_undefined__";function In(e){return this.__data__.set(e,Pn),this}var tr=In;function jn(e){return this.__data__.has(e)}var ur=jn;function _t(e){var t=-1,u=e==null?0:e.length;for(this.__data__=new vt;++t<u;)this.add(e[t])}_t.prototype.add=_t.prototype.push=tr;_t.prototype.has=ur;var rr=_t;function Nn(e,t){for(var u=-1,o=e==null?0:e.length;++u<o;)if(t(e[u],u,e))return!0;return!1}var or=Nn;function Ln(e,t){return e.has(t)}var ar=Ln;var Mn=1,Rn=2;function Gn(e,t,u,o,f,i){var D=u&Mn,l=e.length,m=t.length;if(l!=m&&!(D&&m>l))return!1;var g=i.get(e),B=i.get(t);if(g&&B)return g==t&&B==e;var h=-1,b=!0,M=u&Rn?new rr:void 0;for(i.set(e,t),i.set(t,e);++h<l;){var I=e[h],H=t[h];if(o)var j=D?o(H,I,h,t,e,i):o(I,H,h,e,t,i);if(j!==void 0){if(j)continue;b=!1;break}if(M){if(!or(t,function(T,pe){if(!ar(M,pe)&&(I===T||f(I,T,u,o,i)))return M.push(pe)})){b=!1;break}}else if(!(I===H||f(I,H,u,o,i))){b=!1;break}}return i.delete(e),i.delete(t),b}var St=Gn;var Un=P.Uint8Array,Xe=Un;function $n(e){var t=-1,u=Array(e.size);return e.forEach(function(o,f){u[++t]=[f,o]}),u}var nr=$n;function Hn(e){var t=-1,u=Array(e.size);return e.forEach(function(o){u[++t]=o}),u}var ir=Hn;var qn=1,Vn=2,Wn="[object Boolean]",zn="[object Date]",Kn="[object Error]",Jn="[object Map]",Yn="[object Number]",Xn="[object RegExp]",Zn="[object Set]",Qn="[object String]",kn="[object Symbol]",ei="[object ArrayBuffer]",ti="[object DataView]",fr=Z?Z.prototype:void 0,ou=fr?fr.valueOf:void 0;function ui(e,t,u,o,f,i,D){switch(u){case ti:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ei:return!(e.byteLength!=t.byteLength||!i(new Xe(e),new Xe(t)));case Wn:case zn:case Yn:return fe(+e,+t);case Kn:return e.name==t.name&&e.message==t.message;case Xn:case Qn:return e==t+"";case Jn:var l=nr;case Zn:var m=o&qn;if(l||(l=ir),e.size!=t.size&&!m)return!1;var g=D.get(e);if(g)return g==t;o|=Vn,D.set(e,t);var B=St(l(e),l(t),o,f,i,D);return D.delete(e),B;case kn:if(ou)return ou.call(e)==ou.call(t)}return!1}var sr=ui;function ri(e,t){for(var u=-1,o=t.length,f=e.length;++u<o;)e[f+u]=t[u];return e}var wt=ri;var oi=Array.isArray,te=oi;function ai(e,t,u){var o=t(e);return te(e)?o:wt(o,u(e))}var Tt=ai;function ni(e,t){for(var u=-1,o=e==null?0:e.length,f=0,i=[];++u<o;){var D=e[u];t(D,u,e)&&(i[f++]=D)}return i}var Dr=ni;function ii(){return[]}var Ot=ii;var fi=Object.prototype,si=fi.propertyIsEnumerable,pr=Object.getOwnPropertySymbols,Di=pr?function(e){return e==null?[]:(e=Object(e),Dr(pr(e),function(t){return si.call(e,t)}))}:Ot,Ze=Di;function pi(e,t){for(var u=-1,o=Array(e);++u<e;)o[u]=t(u);return o}var lr=pi;function li(e){return e!=null&&typeof e=="object"}var L=li;var mi="[object Arguments]";function di(e){return L(e)&&re(e)==mi}var au=di;var mr=Object.prototype,ci=mr.hasOwnProperty,Ai=mr.propertyIsEnumerable,Ci=au((function(){return arguments})())?au:function(e){return L(e)&&ci.call(e,"callee")&&!Ai.call(e,"callee")},pt=Ci;function Fi(){return!1}var dr=Fi;var Cr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,cr=Cr&&typeof module=="object"&&module&&!module.nodeType&&module,Ei=cr&&cr.exports===Cr,Ar=Ei?P.Buffer:void 0,xi=Ar?Ar.isBuffer:void 0,gi=xi||dr,Ee=gi;var Bi=9007199254740991,hi=/^(?:0|[1-9]\d*)$/;function yi(e,t){var u=typeof e;return t=t??Bi,!!t&&(u=="number"||u!="symbol"&&hi.test(e))&&e>-1&&e%1==0&&e<t}var Pt=yi;var bi=9007199254740991;function vi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=bi}var It=vi;var _i="[object Arguments]",Si="[object Array]",wi="[object Boolean]",Ti="[object Date]",Oi="[object Error]",Pi="[object Function]",Ii="[object Map]",ji="[object Number]",Ni="[object Object]",Li="[object RegExp]",Mi="[object Set]",Ri="[object String]",Gi="[object WeakMap]",Ui="[object ArrayBuffer]",$i="[object DataView]",Hi="[object Float32Array]",qi="[object Float64Array]",Vi="[object Int8Array]",Wi="[object Int16Array]",zi="[object Int32Array]",Ki="[object Uint8Array]",Ji="[object Uint8ClampedArray]",Yi="[object Uint16Array]",Xi="[object Uint32Array]",w={};w[Hi]=w[qi]=w[Vi]=w[Wi]=w[zi]=w[Ki]=w[Ji]=w[Yi]=w[Xi]=!0;w[_i]=w[Si]=w[Ui]=w[wi]=w[$i]=w[Ti]=w[Oi]=w[Pi]=w[Ii]=w[ji]=w[Ni]=w[Li]=w[Mi]=w[Ri]=w[Gi]=!1;function Zi(e){return L(e)&&It(e.length)&&!!w[re(e)]}var Fr=Zi;function Qi(e){return function(t){return e(t)}}var Qe=Qi;var Er=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lt=Er&&typeof module=="object"&&module&&!module.nodeType&&module,ki=lt&&lt.exports===Er,nu=ki&&yt.process,ef=(function(){try{var e=lt&&lt.require&&lt.require("util").types;return e||nu&&nu.binding&&nu.binding("util")}catch{}})(),xe=ef;var xr=xe&&xe.isTypedArray,tf=xr?Qe(xr):Fr,ke=tf;var uf=Object.prototype,rf=uf.hasOwnProperty;function of(e,t){var u=te(e),o=!u&&pt(e),f=!u&&!o&&Ee(e),i=!u&&!o&&!f&&ke(e),D=u||o||f||i,l=D?lr(e.length,String):[],m=l.length;for(var g in e)(t||rf.call(e,g))&&!(D&&(g=="length"||f&&(g=="offset"||g=="parent")||i&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||Pt(g,m)))&&l.push(g);return l}var jt=of;var af=Object.prototype;function nf(e){var t=e&&e.constructor,u=typeof t=="function"&&t.prototype||af;return e===u}var et=nf;function ff(e,t){return function(u){return e(t(u))}}var Nt=ff;var sf=Nt(Object.keys,Object),gr=sf;var Df=Object.prototype,pf=Df.hasOwnProperty;function lf(e){if(!et(e))return gr(e);var t=[];for(var u in Object(e))pf.call(e,u)&&u!="constructor"&&t.push(u);return t}var Br=lf;function mf(e){return e!=null&&It(e.length)&&!ze(e)}var Te=mf;function df(e){return Te(e)?jt(e):Br(e)}var tt=df;function cf(e){return Tt(e,tt,Ze)}var mt=cf;var Af=1,Cf=Object.prototype,Ff=Cf.hasOwnProperty;function Ef(e,t,u,o,f,i){var D=u&Af,l=mt(e),m=l.length,g=mt(t),B=g.length;if(m!=B&&!D)return!1;for(var h=m;h--;){var b=l[h];if(!(D?b in t:Ff.call(t,b)))return!1}var M=i.get(e),I=i.get(t);if(M&&I)return M==t&&I==e;var H=!0;i.set(e,t),i.set(t,e);for(var j=D;++h<m;){b=l[h];var T=e[b],pe=t[b];if(o)var nt=D?o(pe,T,b,t,e,i):o(T,pe,b,e,t,i);if(!(nt===void 0?T===pe||f(T,pe,u,o,i):nt)){H=!1;break}j||(j=b=="constructor")}if(H&&!j){var Ge=e.constructor,Ue=t.constructor;Ge!=Ue&&"constructor"in e&&"constructor"in t&&!(typeof Ge=="function"&&Ge instanceof Ge&&typeof Ue=="function"&&Ue instanceof Ue)&&(H=!1)}return i.delete(e),i.delete(t),H}var hr=Ef;var xf=ee(P,"DataView"),Lt=xf;var gf=ee(P,"Promise"),Mt=gf;var Bf=ee(P,"Set"),Rt=Bf;var hf=ee(P,"WeakMap"),Gt=hf;var yr="[object Map]",yf="[object Object]",br="[object Promise]",vr="[object Set]",_r="[object WeakMap]",Sr="[object DataView]",bf=Ce(Lt),vf=Ce(_e),_f=Ce(Mt),Sf=Ce(Rt),wf=Ce(Gt),Re=re;(Lt&&Re(new Lt(new ArrayBuffer(1)))!=Sr||_e&&Re(new _e)!=yr||Mt&&Re(Mt.resolve())!=br||Rt&&Re(new Rt)!=vr||Gt&&Re(new Gt)!=_r)&&(Re=function(e){var t=re(e),u=t==yf?e.constructor:void 0,o=u?Ce(u):"";if(o)switch(o){case bf:return Sr;case vf:return yr;case _f:return br;case Sf:return vr;case wf:return _r}return t});var ge=Re;var Tf=1,wr="[object Arguments]",Tr="[object Array]",Ut="[object Object]",Of=Object.prototype,Or=Of.hasOwnProperty;function Pf(e,t,u,o,f,i){var D=te(e),l=te(t),m=D?Tr:ge(e),g=l?Tr:ge(t);m=m==wr?Ut:m,g=g==wr?Ut:g;var B=m==Ut,h=g==Ut,b=m==g;if(b&&Ee(e)){if(!Ee(t))return!1;D=!0,B=!1}if(b&&!B)return i||(i=new we),D||ke(e)?St(e,t,u,o,f,i):sr(e,t,m,u,o,f,i);if(!(u&Tf)){var M=B&&Or.call(e,"__wrapped__"),I=h&&Or.call(t,"__wrapped__");if(M||I){var H=M?e.value():e,j=I?t.value():t;return i||(i=new we),f(H,j,u,o,i)}}return b?(i||(i=new we),hr(e,t,u,o,f,i)):!1}var Pr=Pf;function Ir(e,t,u,o,f){return e===t?!0:e==null||t==null||!L(e)&&!L(t)?e!==e&&t!==t:Pr(e,t,u,o,Ir,f)}var jr=Ir;function If(e,t){return jr(e,t)}var jf=If;var Nf="[object Symbol]";function Lf(e){return typeof e=="symbol"||L(e)&&re(e)==Nf}var Nr=Lf;function Mf(e,t){for(var u=-1,o=e==null?0:e.length,f=Array(o);++u<o;)f[u]=t(e[u],u,e);return f}var Lr=Mf;var Rf=1/0,Mr=Z?Z.prototype:void 0,Rr=Mr?Mr.toString:void 0;function Gr(e){if(typeof e=="string")return e;if(te(e))return Lr(e,Gr)+"";if(Nr(e))return Rr?Rr.call(e):"";var t=e+"";return t=="0"&&1/e==-Rf?"-0":t}var Ur=Gr;function Gf(e){return e}var $t=Gf;var $r=Object.create,Uf=(function(){function e(){}return function(t){if(!W(t))return{};if($r)return $r(t);e.prototype=t;var u=new e;return e.prototype=void 0,u}})(),Hr=Uf;function $f(e,t,u){switch(u.length){case 0:return e.call(t);case 1:return e.call(t,u[0]);case 2:return e.call(t,u[0],u[1]);case 3:return e.call(t,u[0],u[1],u[2])}return e.apply(t,u)}var qr=$f;function Hf(e,t){var u=-1,o=e.length;for(t||(t=Array(o));++u<o;)t[u]=e[u];return t}var Ht=Hf;var qf=800,Vf=16,Wf=Date.now;function zf(e){var t=0,u=0;return function(){var o=Wf(),f=Vf-(o-u);if(u=o,f>0){if(++t>=qf)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Vr=zf;function Kf(e){return function(){return e}}var Wr=Kf;var Jf=(function(){try{var e=ee(Object,"defineProperty");return e({},"",{}),e}catch{}})(),ut=Jf;var Yf=ut?function(e,t){return ut(e,"toString",{configurable:!0,enumerable:!1,value:Wr(t),writable:!0})}:$t,zr=Yf;var Xf=Vr(zr),Kr=Xf;function Zf(e,t){for(var u=-1,o=e==null?0:e.length;++u<o&&t(e[u],u,e)!==!1;);return e}var Jr=Zf;function Qf(e,t,u){t=="__proto__"&&ut?ut(e,t,{configurable:!0,enumerable:!0,value:u,writable:!0}):e[t]=u}var rt=Qf;var kf=Object.prototype,e0=kf.hasOwnProperty;function t0(e,t,u){var o=e[t];(!(e0.call(e,t)&&fe(o,u))||u===void 0&&!(t in e))&&rt(e,t,u)}var qt=t0;function u0(e,t,u,o){var f=!u;u||(u={});for(var i=-1,D=t.length;++i<D;){var l=t[i],m=o?o(u[l],e[l],l,u,e):void 0;m===void 0&&(m=e[l]),f?rt(u,l,m):qt(u,l,m)}return u}var se=u0;var Yr=Math.max;function r0(e,t,u){return t=Yr(t===void 0?e.length-1:t,0),function(){for(var o=arguments,f=-1,i=Yr(o.length-t,0),D=Array(i);++f<i;)D[f]=o[t+f];f=-1;for(var l=Array(t+1);++f<t;)l[f]=o[f];return l[t]=u(D),qr(e,this,l)}}var Xr=r0;function o0(e,t){return Kr(Xr(e,t,$t),e+"")}var Zr=o0;function a0(e,t,u){if(!W(u))return!1;var o=typeof t;return(o=="number"?Te(u)&&Pt(t,u.length):o=="string"&&t in u)?fe(u[t],e):!1}var Qr=a0;function n0(e){return Zr(function(t,u){var o=-1,f=u.length,i=f>1?u[f-1]:void 0,D=f>2?u[2]:void 0;for(i=e.length>3&&typeof i=="function"?(f--,i):void 0,D&&Qr(u[0],u[1],D)&&(i=f<3?void 0:i,f=1),t=Object(t);++o<f;){var l=u[o];l&&e(t,l,o,i)}return t})}var kr=n0;function i0(e){var t=[];if(e!=null)for(var u in Object(e))t.push(u);return t}var eo=i0;var f0=Object.prototype,s0=f0.hasOwnProperty;function D0(e){if(!W(e))return eo(e);var t=et(e),u=[];for(var o in e)o=="constructor"&&(t||!s0.call(e,o))||u.push(o);return u}var to=D0;function p0(e){return Te(e)?jt(e,!0):to(e)}var De=p0;function l0(e){return e==null?"":Ur(e)}var uo=l0;var m0=Nt(Object.getPrototypeOf,Object),ot=m0;var d0="[object Object]",c0=Function.prototype,A0=Object.prototype,ro=c0.toString,C0=A0.hasOwnProperty,F0=ro.call(Object);function E0(e){if(!L(e)||re(e)!=d0)return!1;var t=ot(e);if(t===null)return!0;var u=C0.call(t,"constructor")&&t.constructor;return typeof u=="function"&&u instanceof u&&ro.call(u)==F0}var oo=E0;function x0(e,t){return e&&se(t,tt(t),e)}var ao=x0;function g0(e,t){return e&&se(t,De(t),e)}var no=g0;var Do=typeof exports=="object"&&exports&&!exports.nodeType&&exports,io=Do&&typeof module=="object"&&module&&!module.nodeType&&module,B0=io&&io.exports===Do,fo=B0?P.Buffer:void 0,so=fo?fo.allocUnsafe:void 0;function h0(e,t){if(t)return e.slice();var u=e.length,o=so?so(u):new e.constructor(u);return e.copy(o),o}var Vt=h0;function y0(e,t){return se(e,Ze(e),t)}var po=y0;var b0=Object.getOwnPropertySymbols,v0=b0?function(e){for(var t=[];e;)wt(t,Ze(e)),e=ot(e);return t}:Ot,Wt=v0;function _0(e,t){return se(e,Wt(e),t)}var lo=_0;function S0(e){return Tt(e,De,Wt)}var mo=S0;var w0=Object.prototype,T0=w0.hasOwnProperty;function O0(e){var t=e.length,u=new e.constructor(t);return t&&typeof e[0]=="string"&&T0.call(e,"index")&&(u.index=e.index,u.input=e.input),u}var co=O0;function P0(e){var t=new e.constructor(e.byteLength);return new Xe(t).set(new Xe(e)),t}var at=P0;function I0(e,t){var u=t?at(e.buffer):e.buffer;return new e.constructor(u,e.byteOffset,e.byteLength)}var Ao=I0;var j0=/\w*$/;function N0(e){var t=new e.constructor(e.source,j0.exec(e));return t.lastIndex=e.lastIndex,t}var Co=N0;var Fo=Z?Z.prototype:void 0,Eo=Fo?Fo.valueOf:void 0;function L0(e){return Eo?Object(Eo.call(e)):{}}var xo=L0;function M0(e,t){var u=t?at(e.buffer):e.buffer;return new e.constructor(u,e.byteOffset,e.length)}var zt=M0;var R0="[object Boolean]",G0="[object Date]",U0="[object Map]",$0="[object Number]",H0="[object RegExp]",q0="[object Set]",V0="[object String]",W0="[object Symbol]",z0="[object ArrayBuffer]",K0="[object DataView]",J0="[object Float32Array]",Y0="[object Float64Array]",X0="[object Int8Array]",Z0="[object Int16Array]",Q0="[object Int32Array]",k0="[object Uint8Array]",es="[object Uint8ClampedArray]",ts="[object Uint16Array]",us="[object Uint32Array]";function rs(e,t,u){var o=e.constructor;switch(t){case z0:return at(e);case R0:case G0:return new o(+e);case K0:return Ao(e,u);case J0:case Y0:case X0:case Z0:case Q0:case k0:case es:case ts:case us:return zt(e,u);case U0:return new o;case $0:case V0:return new o(e);case H0:return Co(e);case q0:return new o;case W0:return xo(e)}}var go=rs;function os(e){return typeof e.constructor=="function"&&!et(e)?Hr(ot(e)):{}}var Kt=os;var as="[object Map]";function ns(e){return L(e)&&ge(e)==as}var Bo=ns;var ho=xe&&xe.isMap,is=ho?Qe(ho):Bo,yo=is;var fs="[object Set]";function ss(e){return L(e)&&ge(e)==fs}var bo=ss;var vo=xe&&xe.isSet,Ds=vo?Qe(vo):bo,_o=Ds;var ps=1,ls=2,ms=4,So="[object Arguments]",ds="[object Array]",cs="[object Boolean]",As="[object Date]",Cs="[object Error]",wo="[object Function]",Fs="[object GeneratorFunction]",Es="[object Map]",xs="[object Number]",To="[object Object]",gs="[object RegExp]",Bs="[object Set]",hs="[object String]",ys="[object Symbol]",bs="[object WeakMap]",vs="[object ArrayBuffer]",_s="[object DataView]",Ss="[object Float32Array]",ws="[object Float64Array]",Ts="[object Int8Array]",Os="[object Int16Array]",Ps="[object Int32Array]",Is="[object Uint8Array]",js="[object Uint8ClampedArray]",Ns="[object Uint16Array]",Ls="[object Uint32Array]",v={};v[So]=v[ds]=v[vs]=v[_s]=v[cs]=v[As]=v[Ss]=v[ws]=v[Ts]=v[Os]=v[Ps]=v[Es]=v[xs]=v[To]=v[gs]=v[Bs]=v[hs]=v[ys]=v[Is]=v[js]=v[Ns]=v[Ls]=!0;v[Cs]=v[wo]=v[bs]=!1;function Jt(e,t,u,o,f,i){var D,l=t&ps,m=t&ls,g=t&ms;if(u&&(D=f?u(e,o,f,i):u(e)),D!==void 0)return D;if(!W(e))return e;var B=te(e);if(B){if(D=co(e),!l)return Ht(e,D)}else{var h=ge(e),b=h==wo||h==Fs;if(Ee(e))return Vt(e,l);if(h==To||h==So||b&&!f){if(D=m||b?{}:Kt(e),!l)return m?lo(e,no(D,e)):po(e,ao(D,e))}else{if(!v[h])return f?e:{};D=go(e,h,l)}}i||(i=new we);var M=i.get(e);if(M)return M;i.set(e,D),_o(e)?e.forEach(function(j){D.add(Jt(j,t,u,j,e,i))}):yo(e)&&e.forEach(function(j,T){D.set(T,Jt(j,t,u,T,e,i))});var I=g?m?mo:mt:m?De:tt,H=B?void 0:I(e);return Jr(H||e,function(j,T){H&&(T=j,j=e[T]),qt(D,T,Jt(j,t,u,T,e,i))}),D}var Oo=Jt;var Ms=1,Rs=4;function Gs(e){return Oo(e,Ms|Rs)}var Us=Gs;function $s(e){return function(t,u,o){for(var f=-1,i=Object(t),D=o(t),l=D.length;l--;){var m=D[e?l:++f];if(u(i[m],m,i)===!1)break}return t}}var Po=$s;var Hs=Po(),Io=Hs;function qs(e,t,u){(u!==void 0&&!fe(e[t],u)||u===void 0&&!(t in e))&&rt(e,t,u)}var dt=qs;function Vs(e){return L(e)&&Te(e)}var jo=Vs;function Ws(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ct=Ws;function zs(e){return se(e,De(e))}var No=zs;function Ks(e,t,u,o,f,i,D){var l=ct(e,u),m=ct(t,u),g=D.get(m);if(g){dt(e,u,g);return}var B=i?i(l,m,u+"",e,t,D):void 0,h=B===void 0;if(h){var b=te(m),M=!b&&Ee(m),I=!b&&!M&&ke(m);B=m,b||M||I?te(l)?B=l:jo(l)?B=Ht(l):M?(h=!1,B=Vt(m,!0)):I?(h=!1,B=zt(m,!0)):B=[]:oo(m)||pt(m)?(B=l,pt(l)?B=No(l):(!W(l)||ze(l))&&(B=Kt(m))):h=!1}h&&(D.set(m,B),f(B,m,o,i,D),D.delete(m)),dt(e,u,B)}var Lo=Ks;function Mo(e,t,u,o,f){e!==t&&Io(t,function(i,D){if(f||(f=new we),W(i))Lo(e,t,D,u,Mo,o,f);else{var l=o?o(ct(e,D),i,D+"",e,t,f):void 0;l===void 0&&(l=i),dt(e,D,l)}},De)}var Ro=Mo;var Js=kr(function(e,t,u){Ro(e,t,u)}),Ys=Js;var Xs=0;function Zs(e){var t=++Xs;return uo(e)+t}var Qs=Zs;function eD(e,t){if(e&1&&($(0,"li"),ue(1),$(2,"span",14),ue(3),X(),ue(4,")"),X()),e&2){let u=t.$implicit;U(),Me("",u.name," ("),U(2),Le(u.username)}}var QA=(()=>{class e{$activeModal=Ae(Bt);$api=Ae(bu);$toastr=Ae(Bu);$translate=Ae(gu);bridges=[];onRestartChildBridgeClick(){return Au(this,null,function*(){try{for(let u of this.bridges)yield Cu(this.$api.put(`/server/restart/${u.username}`,{}));this.$toastr.success(this.$translate.instant("plugins.manage.child_bridge_restart"),this.$translate.instant("toast.title_success"))}catch(u){console.error(u),this.$toastr.error(this.$translate.instant("plugins.manage.child_bridge_restart_failed"),this.$translate.instant("toast.title_error"))}finally{this.$activeModal.close()}})}dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=gt({type:e,selectors:[["ng-component"]],inputs:{bridges:"bridges"},decls:27,vars:18,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[1,"fas","fa-fw","fa-power-off","primary-text","mb-3",2,"font-size","75px"],[1,"w-100"],[1,"text-center"],[1,"d-inline-block","text-start","mb-0"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-end"],["type","button",1,"btn","btn-primary",3,"click"],[1,"font-monospace"]],template:function(o,f){o&1&&($(0,"div",0)(1,"div",1)(2,"h5",2),ue(3),Q(4,"translate"),X(),$(5,"button",3),Q(6,"translate"),ye("click",function(){return f.dismissModal()}),X()(),$(7,"div",4),Ve(8,"i",5),$(9,"p",6),ue(10),Q(11,"translate"),X(),$(12,"div",7)(13,"ul",8),Eu(14,eD,5,2,"li",null,Fu),X()()(),$(16,"div",9)(17,"div",10)(18,"button",11),Q(19,"translate"),ye("click",function(){return f.dismissModal()}),ue(20),Q(21,"translate"),X()(),Ve(22,"div",7),$(23,"div",12)(24,"button",13),ye("click",function(){return f.onRestartChildBridgeClick()}),ue(25),Q(26,"translate"),X()()()()),o&2&&(U(3),Le(k(4,6,"platform.version.service_restart_required")),U(2),qe("aria-label",k(6,8,"form.button_close")),U(5),Le(k(11,10,"restart.child_bridge_list")),U(4),xu(f.bridges),U(4),qe("aria-label",k(19,12,"form.button_close")),U(2),Me(" ",k(21,14,"form.button_close")," "),U(5),Me(" ",k(26,16,"menu.tooltip_restart")," "))},dependencies:[ht],encapsulation:2})}return e})();var nC=(()=>{class e{$activeModal=Ae(Bt);$route=Ae(hu);$router=Ae(yu);onRestartHomebridgeClick(){this.$router.navigate(["/restart"],{relativeTo:this.$route}),this.$activeModal.close()}dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=gt({type:e,selectors:[["ng-component"]],decls:23,vars:18,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[1,"fas","fa-fw","fa-power-off","primary-text","mb-3",2,"font-size","75px"],[1,"mb-0"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"text-center"],[1,"text-end"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(o,f){o&1&&($(0,"div",0)(1,"div",1)(2,"h5",2),ue(3),Q(4,"translate"),X(),$(5,"button",3),Q(6,"translate"),ye("click",function(){return f.dismissModal()}),X()(),$(7,"div",4),Ve(8,"i",5),$(9,"p",6),ue(10),Q(11,"translate"),X()(),$(12,"div",7)(13,"div",8)(14,"button",9),Q(15,"translate"),ye("click",function(){return f.dismissModal()}),ue(16),Q(17,"translate"),X()(),Ve(18,"div",10),$(19,"div",11)(20,"button",12),ye("click",function(){return f.onRestartHomebridgeClick()}),ue(21),Q(22,"translate"),X()()()()),o&2&&(U(3),Le(k(4,6,"platform.version.service_restart_required")),U(2),qe("aria-label",k(6,8,"form.button_close")),U(5),Le(k(11,10,"plugins.settings.restart_required")),U(4),qe("aria-label",k(15,12,"form.button_close")),U(2),Me(" ",k(17,14,"form.button_close")," "),U(5),Me(" ",k(22,16,"menu.tooltip_restart")," "))},dependencies:[ht],encapsulation:2})}return e})();export{Us as a,jf as b,Ys as c,Qs as d,QA as e,nC as f,tD as g};
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-F6VJ3EFY.js";import{g as i}from"./chunk-MDV2S56W.js";import"./chunk-5RI5TLFW.js";import"./chunk-FB6OF4XR.js";import{Xa as r,fa as o}from"./chunk-3LEW5FOJ.js";var a=[{path:"",loadComponent:()=>import("./chunk-G5PK6IZW.js").then(t=>t.SetupWizardComponent)}],u=(()=>{class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=r({type:t});static \u0275inj=o({imports:[i.forChild(a),i]})}return t})();var l=(()=>{class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=r({type:t});static \u0275inj=o({providers:[n],imports:[u]})}return t})();export{l as SetupWizardModule};
@@ -0,0 +1 @@
1
+ import{b as pe}from"./chunk-BH4JDZF4.js";import{p as le}from"./chunk-FB6OF4XR.js";import{ea as fe,f as We,ja as ue,k as he,n as X}from"./chunk-3LEW5FOJ.js";var d=Object.create(null);d.open="0";d.close="1";d.ping="2";d.pong="3";d.message="4";d.upgrade="5";d.noop="6";var S=Object.create(null);Object.keys(d).forEach(r=>{S[d[r]]=r});var O={type:"error",data:"parser error"};var ye=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",ge=typeof ArrayBuffer=="function",_e=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,B=({type:r,data:e},t,s)=>ye&&e instanceof Blob?t?s(e):de(e,s):ge&&(e instanceof ArrayBuffer||_e(e))?t?s(e):de(new Blob([e]),s):s(d[r]+(e||"")),de=(r,e)=>{let t=new FileReader;return t.onload=function(){let s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(r)};function me(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}var $;function be(r,e){if(ye&&r.data instanceof Blob)return r.data.arrayBuffer().then(me).then(e);if(ge&&(r.data instanceof ArrayBuffer||_e(r.data)))return e(me(r.data));B(r,!1,t=>{$||($=new TextEncoder),e($.encode(t))})}var we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",N=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<we.length;r++)N[we.charCodeAt(r)]=r;var ke=r=>{let e=r.length*.75,t=r.length,s,i=0,n,o,c,a;r[r.length-1]==="="&&(e--,r[r.length-2]==="="&&e--);let m=new ArrayBuffer(e),p=new Uint8Array(m);for(s=0;s<t;s+=4)n=N[r.charCodeAt(s)],o=N[r.charCodeAt(s+1)],c=N[r.charCodeAt(s+2)],a=N[r.charCodeAt(s+3)],p[i++]=n<<2|o>>4,p[i++]=(o&15)<<4|c>>2,p[i++]=(c&3)<<6|a&63;return m};var Ke=typeof ArrayBuffer=="function",L=(r,e)=>{if(typeof r!="string")return{type:"message",data:Ee(r,e)};let t=r.charAt(0);return t==="b"?{type:"message",data:Ye(r.substring(1),e)}:S[t]?r.length>1?{type:S[t],data:r.substring(1)}:{type:S[t]}:O},Ye=(r,e)=>{if(Ke){let t=ke(r);return Ee(t,e)}else return{base64:!0,data:r}},Ee=(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 ve="",xe=(r,e)=>{let t=r.length,s=new Array(t),i=0;r.forEach((n,o)=>{B(n,!1,c=>{s[o]=c,++i===t&&e(s.join(ve))})})},Te=(r,e)=>{let t=r.split(ve),s=[];for(let i=0;i<t.length;i++){let n=L(t[i],e);if(s.push(n),n.type==="error")break}return s};function Ae(){return new TransformStream({transform(r,e){be(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 Q;function U(r){return r.reduce((e,t)=>e+t.length,0)}function V(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 Re(r,e){Q||(Q=new TextDecoder);let t=[],s=0,i=-1,n=!1;return new TransformStream({transform(o,c){for(t.push(o);;){if(s===0){if(U(t)<1)break;let a=V(t,1);n=(a[0]&128)===128,i=a[0]&127,i<126?s=3:i===126?s=1:s=2}else if(s===1){if(U(t)<2)break;let a=V(t,2);i=new DataView(a.buffer,a.byteOffset,a.length).getUint16(0),s=3}else if(s===2){if(U(t)<8)break;let a=V(t,8),m=new DataView(a.buffer,a.byteOffset,a.length),p=m.getUint32(0);if(p>Math.pow(2,21)-1){c.enqueue(O);break}i=p*Math.pow(2,32)+m.getUint32(4),s=3}else{if(U(t)<i)break;let a=V(t,i);c.enqueue(L(n?a:Q.decode(a),e)),s=0}if(i===0||i>r){c.enqueue(O);break}}}})}var j=4;function f(r){if(r)return Je(r)}function Je(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")(),Ce="arraybuffer";function M(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 $e=1.33;function Se(r){return typeof r=="string"?Qe(r):Math.ceil((r.byteLength||r.size)*$e)}function Qe(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 H(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Oe(r){let e="";for(let t in r)r.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(r[t]));return e}function Be(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 W=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 W(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=L(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=Oe(e);return t.length?"?"+t:""}};var P=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)};Te(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,xe(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]=H()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}};var Ne=!1;try{Ne=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}var Le=Ne;function je(){}var G=class extends P{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}},K=(()=>{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=M(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=je,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",Pe);else if(typeof addEventListener=="function"){let r="onpagehide"in u?"pagehide":"unload";addEventListener(r,Pe,!1)}}function Pe(){for(let r in K.requests)K.requests.hasOwnProperty(r)&&K.requests[r].abort()}var Ge=(function(){let r=qe({xdomain:!1});return r&&r.responseType!==null})(),w=class extends G{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=Ge&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new K(qe,this.uri(),e)}};function qe(r){let e=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Le))return new XMLHttpRequest}catch{}if(!e)try{return new u[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}var De=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",ee=class extends _{get name(){return"websocket"}doOpen(){let e=this.uri(),t=this.opts.protocols,s=De?{}:M(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;B(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]=H()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}},Z=u.WebSocket||u.MozWebSocket,k=class extends ee{createSocket(e,t,s){return De?new Z(e,t,s):t?new Z(e,t):new Z(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=Re(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),i=Ae();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();let n=()=>{s.read().then(({done:c,value:a})=>{c||(this.onPacket(a),n())}).catch(c=>{})};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 te={websocket:k,webtransport:v,polling:w};var Ze=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,et=["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=Ze.exec(r||""),n={},o=14;for(;o--;)n[et[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=tt(n,n.path),n.queryKey=st(n,n.query),n}function tt(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 st(r,e){let t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,n){i&&(t[i]=n)}),t}var se=typeof addEventListener=="function"&&typeof removeEventListener=="function",Y=[];se&&addEventListener("offline",()=>{Y.forEach(r=>r())},!1);var J=(()=>{class r extends f{constructor(t,s){if(super(),this.binaryType=Ce,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=Be(this.opts.query)),se&&(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"})},Y.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let s=Object.assign({},this.opts.query);s.EIO=j,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+=Se(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(),se&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let i=Y.indexOf(this._offlineEventListener);i!==-1&&Y.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}return r.protocol=j,r})(),z=class extends J{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;J.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;J.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(p(),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,p(),t.close(),t=null)}let o=b=>{let C=new Error("probe error: "+b);C.transport=t.name,n(),this.emitReserved("upgradeError",C)};function c(){o("transport closed")}function a(){o("socket closed")}function m(b){t&&b.name!==t.name&&n()}let p=()=>{t.removeListener("open",i),t.removeListener("error",o),t.removeListener("close",c),this.off("close",a),this.off("upgrading",m)};t.once("open",i),t.once("error",o),t.once("close",c),this.once("close",a),this.once("upgrading",m),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=>te[i]).filter(i=>!!i)),super(e,s)}};var ds=T.protocol;function Fe(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 ae={};We(ae,{Decoder:()=>oe,Encoder:()=>ne,PacketType:()=>h,protocol:()=>He});var it=typeof ArrayBuffer=="function",nt=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,Ie=Object.prototype.toString,ot=typeof Blob=="function"||typeof Blob<"u"&&Ie.call(Blob)==="[object BlobConstructor]",ct=typeof File=="function"||typeof File<"u"&&Ie.call(File)==="[object FileConstructor]";function D(r){return it&&(r instanceof ArrayBuffer||nt(r))||ot&&r instanceof Blob||ct&&r instanceof File}function q(r,e){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let t=0,s=r.length;t<s;t++)if(q(r[t]))return!0;return!1}if(D(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return q(r.toJSON(),!0);for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&q(r[t]))return!0;return!1}function Ue(r){let e=[],t=r.data,s=r;return s.data=re(t,e),s.attachments=e.length,{packet:s,buffers:e}}function re(r,e){if(!r)return r;if(D(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]=re(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]=re(r[s],e));return t}return r}function Ve(r,e){return r.data=ie(r.data,e),delete r.attachments,r}function ie(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]=ie(r[t],e);else if(typeof r=="object")for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(r[t]=ie(r[t],e));return r}var at=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],He=5,h=(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})(h||{}),ne=class{constructor(e){this.replacer=e}encode(e){return(e.type===h.EVENT||e.type===h.ACK)&&q(e)?this.encodeAsBinary({type:e.type===h.EVENT?h.BINARY_EVENT:h.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===h.BINARY_EVENT||e.type===h.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=Ue(e),s=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(s),i}};function Me(r){return Object.prototype.toString.call(r)==="[object Object]"}var oe=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===h.BINARY_EVENT;s||t.type===h.BINARY_ACK?(t.type=s?h.EVENT:h.ACK,this.reconstructor=new ce(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(D(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(h[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===h.BINARY_EVENT||s.type===h.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 h.CONNECT:return Me(t);case h.DISCONNECT:return t===void 0;case h.CONNECT_ERROR:return typeof t=="string"||Me(t);case h.EVENT:case h.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&at.indexOf(t[0])===-1);case h.ACK:case h.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=Ve(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}};function l(r,e,t){return r.on(e,t),function(){r.off(e,t)}}var ht=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=[l(e,"open",this.onopen.bind(this)),l(e,"packet",this.onpacket.bind(this)),l(e,"error",this.onerror.bind(this)),l(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(ht.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:h.EVENT,data:t};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){let p=this.ids++,b=t.pop();this._registerAckCallback(p,b),o.id=p}let c=(i=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||i===void 0?void 0:i.writable,a=this.connected&&!(!((n=this.io.engine)===null||n===void 0)&&n._hasPingExpired());return this.flags.volatile&&!c||(a?(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 c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===e&&this.sendBuffer.splice(c,1);t.call(this,new Error("operation has timed out"))},i),o=(...c)=>{this.io.clearTimeoutFn(n),t.apply(this,c)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise((s,i)=>{let n=(o,c)=>o?i(o):s(c);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:h.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 h.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 h.EVENT:case h.BINARY_EVENT:this.onevent(e);break;case h.ACK:case h.BINARY_ACK:this.onack(e);break;case h.DISCONNECT:this.ondisconnect();break;case h.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:h.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:h.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)==0?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||ae;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=l(t,"open",function(){s.onopen(),e&&e()}),n=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),e?e(c):this.maybeReconnectOnOpen()},o=l(t,"error",n);if(this._timeout!==!1){let c=this._timeout,a=this.setTimeoutFn(()=>{i(),n(new Error("timeout")),t.close()},c);this.opts.autoUnref&&a.unref(),this.subs.push(()=>{this.clearTimeoutFn(a)})}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(l(e,"ping",this.onping.bind(this)),l(e,"data",this.ondata.bind(this)),l(e,"error",this.onerror.bind(this)),l(e,"close",this.onclose.bind(this)),l(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 F={};function I(r,e){typeof r=="object"&&(e=r,r=void 0),e=e||{};let t=Fe(r,e.path||"/socket.io"),s=t.source,i=t.id,n=t.path,o=F[i]&&n in F[i].nsps,c=e.forceNew||e["force new connection"]||e.multiplex===!1||o,a;return c?a=new R(s,e):(F[i]||(F[i]=new R(s,e)),a=F[i]),t.query&&!e.query&&(e.query=t.queryKey),a.socket(t.path,e)}Object.assign(I,{Manager:R,Socket:A,io:I,connect:I});var cr=(()=>{class r{$auth=ue(pe);namespaceConnectionCache={};connectToNamespace(t){if(this.namespaceConnectionCache[t]){let s=this.namespaceConnectionCache[t];return s.connected=new X,setTimeout(()=>{s.socket.connected&&s.connected.next(void 0)}),s.socket.on("connect",()=>{s.connected.next(void 0)}),s.end=()=>{s.socket.emit("end"),s.socket.removeAllListeners(),s.connected.complete()},this.namespaceConnectionCache[t]}else{let s=this.establishConnectionToNamespace(t);return s.connected=new X,s.socket.on("connect",()=>{s.connected.next(void 0)}),s.end=()=>{s.socket.emit("end"),s.socket.removeAllListeners(),s.connected.complete()},this.namespaceConnectionCache[t]=s,s}}getExistingNamespace(t){return this.namespaceConnectionCache[t]}establishConnectionToNamespace(t){let s=I(`${le.api.socket}/${t}`,{query:{token:this.$auth.token}});return{socket:s,request:(n,o)=>new he(c=>{s.emit(n,o,a=>{typeof a=="object"&&a.error?c.error(a):c.next(a),c.complete()})})}}static \u0275fac=function(s){return new(s||r)};static \u0275prov=fe({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{cr as a};
@@ -1 +1 @@
1
- import{b as H}from"./chunk-H45DK7IX.js";import{a as L,b as S}from"./chunk-J6CJ26QN.js";import{m as T}from"./chunk-IWFKJHPR.js";import{b as B}from"./chunk-KZKL7DGI.js";import{Ac as I,Hb as C,Ib as r,Jb as l,Jc as g,Kc as _,Ob as p,Pb as i,Qb as a,Rb as m,Xa as u,Ya as O,_b as k,ab as o,bc as b,dc as d,la as h,mb as v,pc as y,qc as f,ra as x,rc as w,sa as P,sc as M}from"./chunk-IOKYXV5M.js";function E(t,c){if(t&1&&m(0,"i",16),t&2){let n=d();y(I("fas fa-fw ",n.faIconClass," mb-3"))}}function z(t,c){if(t&1&&m(0,"h5",6),t&2){let n=d();p("innerHTML",n.subtitle,u)}}function V(t,c){if(t&1&&m(0,"p",8),t&2){let n=d();p("innerHTML",n.message2,u)}}function D(t,c){if(t&1&&m(0,"markdown",9),t&2){let n=d();p("data",n.markdownMessage2)}}function N(t,c){if(t&1){let n=k();i(0,"button",17),g(1,"translate"),b("click",function(){x(n);let e=d();return P(e.dismissModal())}),f(2),g(3,"translate"),a()}t&2&&(C("aria-label",_(1,2,"form.button_close")),o(2),M(" ",_(3,4,"form.button_close")," "))}function j(t,c){if(t&1){let n=k();i(0,"button",17),g(1,"translate"),b("click",function(){x(n);let e=d();return P(e.dismissModal())}),f(2),g(3,"translate"),a()}t&2&&(C("aria-label",_(1,2,"form.button_close")),o(2),M(" ",_(3,4,"form.button_close")," "))}function A(t,c){if(t&1&&(i(0,"a",15),f(1),m(2,"i",18),a()),t&2){let n=d();p("href",n.ctaButtonLink,O),o(),M(" ",n.ctaButtonLabel," ")}}var X=(()=>{class t{$activeModal=h(T);title;subtitle;message;message2;ctaButtonLabel;ctaButtonLink;faIconClass;markdownMessage2;dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(s){return new(s||t)};static \u0275cmp=v({type:t,selectors:[["ng-component"]],inputs:{title:"title",subtitle:"subtitle",message:"message",message2:"message2",ctaButtonLabel:"ctaButtonLabel",ctaButtonLink:"ctaButtonLink",faIconClass:"faIconClass",markdownMessage2:"markdownMessage2"},decls:19,vars:12,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[2,"font-size","75px",3,"class"],[1,"mb-3",3,"innerHTML"],[1,"mb-0",3,"innerHTML"],[1,"mb-0","mt-3",3,"innerHTML"],[1,"plugin-md",3,"data"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant"],[1,"text-center"],[1,"text-end"],["target","_blank","rel","noopener noreferrer",1,"btn","btn-primary","text-decoration-none",3,"href"],[2,"font-size","75px"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"fas","fa-fw","fa-external-link-alt"]],template:function(s,e){s&1&&(i(0,"div",0)(1,"div",1)(2,"h5",2),f(3),a(),i(4,"button",3),g(5,"translate"),b("click",function(){return e.dismissModal()}),a()(),i(6,"div",4),r(7,E,1,3,"i",5),r(8,z,1,1,"h5",6),m(9,"p",7),r(10,V,1,1,"p",8),r(11,D,1,1,"markdown",9),a(),i(12,"div",10)(13,"div",11),r(14,N,4,6,"button",12),a(),i(15,"div",13),r(16,j,4,6,"button",12),a(),i(17,"div",14),r(18,A,3,2,"a",15),a()()()),s&2&&(o(3),w(e.title),o(),C("aria-label",_(5,10,"form.button_close")),o(3),l(e.faIconClass?7:-1),o(),l(e.subtitle?8:-1),o(),p("innerHTML",e.message,u),o(),l(e.message2?10:-1),o(),l(e.markdownMessage2?11:-1),o(3),l(e.ctaButtonLink?14:-1),o(2),l(e.ctaButtonLink?-1:16),o(2),l(e.ctaButtonLink?18:-1))},dependencies:[S,L,H,B],styles:["[_nghost-%COMP%] .plugin-md{display:block!important;background-color:#f6f8fa!important;border-radius:6px!important;padding:16px!important;margin:16px auto!important;width:100%!important;max-width:632px!important}[_nghost-%COMP%] .plugin-md table{width:100%;max-width:600px;margin:0 auto!important;border-collapse:collapse;border:1px solid #d0d7de!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif!important;font-size:14px!important;color:#24292e!important}[_nghost-%COMP%] .plugin-md th, [_nghost-%COMP%] .plugin-md td{padding:6px 13px!important;border:1px solid #d0d7de!important;text-align:left;color:#24292e!important}[_nghost-%COMP%] .plugin-md th{background-color:#f6f8fa!important;font-weight:600!important;text-align:center!important}[_nghost-%COMP%] .plugin-md td[align=center]{text-align:center!important}[_nghost-%COMP%] .plugin-md tr{color:#24292e!important}[_nghost-%COMP%] .plugin-md tr:nth-child(odd){background-color:#fff!important}[_nghost-%COMP%] .plugin-md tr:nth-child(2n){background-color:#f6f8fa!important}[_nghost-%COMP%] .plugin-md tr:hover{background-color:#f0f2f5!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%]{background-color:#2b2b2b!important;color:#fff!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] table[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] th[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#fff!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#3c3c3c!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(odd){background-color:#323232!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#2b2b2b!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#454545!important}"]})}return t})();export{X as a};
1
+ import{b as H}from"./chunk-EWO5Q2EI.js";import{a as L,b as S}from"./chunk-CIVLN3HQ.js";import{m as T}from"./chunk-BQMDK4YS.js";import{l as B}from"./chunk-FB6OF4XR.js";import{Db as k,Ga as u,Gb as b,Ha as O,Ib as d,La as o,Ub as y,Vb as f,Wa as v,Wb as w,Xb as M,dc as I,ja as h,kb as C,lb as r,mb as l,mc as g,nc as _,oa as x,pa as P,rb as p,sb as i,tb as a,ub as m}from"./chunk-3LEW5FOJ.js";function E(t,c){if(t&1&&m(0,"i",16),t&2){let n=d();y(I("fas fa-fw ",n.faIconClass," mb-3"))}}function z(t,c){if(t&1&&m(0,"h5",6),t&2){let n=d();p("innerHTML",n.subtitle,u)}}function V(t,c){if(t&1&&m(0,"p",8),t&2){let n=d();p("innerHTML",n.message2,u)}}function D(t,c){if(t&1&&m(0,"markdown",9),t&2){let n=d();p("data",n.markdownMessage2)}}function N(t,c){if(t&1){let n=k();i(0,"button",17),g(1,"translate"),b("click",function(){x(n);let e=d();return P(e.dismissModal())}),f(2),g(3,"translate"),a()}t&2&&(C("aria-label",_(1,2,"form.button_close")),o(2),M(" ",_(3,4,"form.button_close")," "))}function j(t,c){if(t&1){let n=k();i(0,"button",17),g(1,"translate"),b("click",function(){x(n);let e=d();return P(e.dismissModal())}),f(2),g(3,"translate"),a()}t&2&&(C("aria-label",_(1,2,"form.button_close")),o(2),M(" ",_(3,4,"form.button_close")," "))}function A(t,c){if(t&1&&(i(0,"a",15),f(1),m(2,"i",18),a()),t&2){let n=d();p("href",n.ctaButtonLink,O),o(),M(" ",n.ctaButtonLabel," ")}}var X=(()=>{class t{$activeModal=h(T);title;subtitle;message;message2;ctaButtonLabel;ctaButtonLink;faIconClass;markdownMessage2;dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(s){return new(s||t)};static \u0275cmp=v({type:t,selectors:[["ng-component"]],inputs:{title:"title",subtitle:"subtitle",message:"message",message2:"message2",ctaButtonLabel:"ctaButtonLabel",ctaButtonLink:"ctaButtonLink",faIconClass:"faIconClass",markdownMessage2:"markdownMessage2"},decls:19,vars:12,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click"],[1,"modal-body","text-center"],[2,"font-size","75px",3,"class"],[1,"mb-3",3,"innerHTML"],[1,"mb-0",3,"innerHTML"],[1,"mb-0","mt-3",3,"innerHTML"],[1,"plugin-md",3,"data"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant"],[1,"text-center"],[1,"text-end"],["target","_blank","rel","noopener noreferrer",1,"btn","btn-primary","text-decoration-none",3,"href"],[2,"font-size","75px"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"fas","fa-fw","fa-external-link-alt"]],template:function(s,e){s&1&&(i(0,"div",0)(1,"div",1)(2,"h5",2),f(3),a(),i(4,"button",3),g(5,"translate"),b("click",function(){return e.dismissModal()}),a()(),i(6,"div",4),r(7,E,1,3,"i",5),r(8,z,1,1,"h5",6),m(9,"p",7),r(10,V,1,1,"p",8),r(11,D,1,1,"markdown",9),a(),i(12,"div",10)(13,"div",11),r(14,N,4,6,"button",12),a(),i(15,"div",13),r(16,j,4,6,"button",12),a(),i(17,"div",14),r(18,A,3,2,"a",15),a()()()),s&2&&(o(3),w(e.title),o(),C("aria-label",_(5,10,"form.button_close")),o(3),l(e.faIconClass?7:-1),o(),l(e.subtitle?8:-1),o(),p("innerHTML",e.message,u),o(),l(e.message2?10:-1),o(),l(e.markdownMessage2?11:-1),o(3),l(e.ctaButtonLink?14:-1),o(2),l(e.ctaButtonLink?-1:16),o(2),l(e.ctaButtonLink?18:-1))},dependencies:[S,L,H,B],styles:["[_nghost-%COMP%] .plugin-md{display:block!important;background-color:#f6f8fa!important;border-radius:6px!important;padding:16px!important;margin:16px auto!important;width:100%!important;max-width:632px!important}[_nghost-%COMP%] .plugin-md table{width:100%;max-width:600px;margin:0 auto!important;border-collapse:collapse;border:1px solid #d0d7de!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif!important;font-size:14px!important;color:#24292e!important}[_nghost-%COMP%] .plugin-md th, [_nghost-%COMP%] .plugin-md td{padding:6px 13px!important;border:1px solid #d0d7de!important;text-align:left;color:#24292e!important}[_nghost-%COMP%] .plugin-md th{background-color:#f6f8fa!important;font-weight:600!important;text-align:center!important}[_nghost-%COMP%] .plugin-md td[align=center]{text-align:center!important}[_nghost-%COMP%] .plugin-md tr{color:#24292e!important}[_nghost-%COMP%] .plugin-md tr:nth-child(odd){background-color:#fff!important}[_nghost-%COMP%] .plugin-md tr:nth-child(2n){background-color:#f6f8fa!important}[_nghost-%COMP%] .plugin-md tr:hover{background-color:#f0f2f5!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%]{background-color:#2b2b2b!important;color:#fff!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] table[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] th[_ngcontent-%COMP%], [_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#fff!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#3c3c3c!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(odd){background-color:#323232!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#2b2b2b!important}[_nghost-%COMP%] body.dark-mode[_ngcontent-%COMP%] .plugin-md[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#454545!important}"]})}return t})();export{X as a};
@@ -0,0 +1 @@
1
+ import{a as D}from"./chunk-UO7UMJN3.js";import"./chunk-BH4JDZF4.js";import{b as E,d as R}from"./chunk-MDV2S56W.js";import{b as U}from"./chunk-5RI5TLFW.js";import{k,l as I,n as O,q as B}from"./chunk-FB6OF4XR.js";import{Db as b,Gb as y,Ib as d,Jc as T,La as i,Vb as s,Wa as C,Wb as p,Xb as v,gc as S,hc as x,ja as c,lb as f,mb as h,mc as o,nc as l,oa as $,pa as w,rb as _,sb as r,tb as n,ub as g}from"./chunk-3LEW5FOJ.js";var F=(t,m)=>({"fas fa-fw fa-spinner fa-spin":t,"far fa-fw fa-check-circle":m}),P=t=>({"grey-text":t}),j=(t,m)=>({"far fa-fw fa-circle":t,"fas fa-fw fa-spinner fa-spin":m});function A(t,m){if(t&1&&(r(0,"div",7),s(1),n()),t&2){let e=d();i(),p(e.error)}}function M(t,m){if(t&1&&(r(0,"p",9),s(1),o(2,"translate"),n(),r(3,"div",10)(4,"div",11)(5,"span"),g(6,"i",12),s(7),o(8,"translate"),n()(),r(9,"div",11)(10,"span",12),g(11,"i",12),s(12),o(13,"translate"),n()()()),t&2){let e=d();i(),p(l(2,6,"restart.please_wait_while_server_restarts")),i(5),_("ngClass",x(12,F,!e.uiOnline,e.uiOnline)),i(),v(" ",l(8,8,"restart.ui_online")," "),i(3),_("ngClass",S(15,P,!e.uiOnline)),i(),_("ngClass",x(17,j,!e.uiOnline,e.uiOnline)),i(),v(" ",l(13,10,"restart.service_ready")," ")}}function V(t,m){if(t&1){let e=b();r(0,"p",15)(1,"button",16),y("click",function(){$(e);let u=d(2);return w(u.viewLogs())}),s(2),o(3,"translate"),n()()}t&2&&(i(2),p(l(3,1,"menu.tooltip_view_logs")))}function W(t,m){if(t&1&&(r(0,"div",8)(1,"p"),s(2),o(3,"translate"),n(),r(4,"p",13),s(5),o(6,"translate"),r(7,"span",14),s(8),n()(),f(9,V,4,3,"p",15),n()),t&2){let e=d();i(2),p(l(3,4,"restart.server_is_taking_long_time_to_restart")),i(3),v(" ",l(6,6,"restart.label_restart_command_executed"),": "),i(3),p(e.resp.command||"End Process"),i(),h(e.uiOnline?9:-1)}}var Y=(()=>{class t{$api=c(B);$route=c(E);$router=c(R);$settings=c(U);$toastr=c(O);$translate=c(k);$ws=c(D);checkTimeout;checkDelay;io;uiOnline=!1;error=!1;resp={};timeout=!1;ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$router.parseUrl(this.$router.url).queryParams.restarting?(this.uiOnline=!0,this.checkIfServerUp()):this.$api.put("/server/restart",{}).subscribe({next:a=>{this.resp=a,this.checkIfServerUp(),a.restartingUI||(this.uiOnline=!0)},error:a=>{console.error(a),this.error=this.$translate.instant("restart.toast_server_restart_error"),this.$toastr.error(this.$translate.instant("restart.toast_server_restart_error"),this.$translate.instant("toast.title_error"))}})}viewLogs(){this.$settings.webroot!==this.$settings.originalWebroot?this.$router.navigate(!this.$settings.webroot||this.$settings.webroot==="/"?["/logs"]:[`${this.$settings.webroot}/logs`],{replaceUrl:!0}):this.$router.navigate(["/logs"],{relativeTo:this.$route})}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{this.uiOnline=!0,(e.status==="up"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("restart.toast_server_restarted"),this.$translate.instant("toast.title_success")),this.$settings.webroot!==this.$settings.originalWebroot?this.$router.navigate(!this.$settings.webroot||this.$settings.webroot==="/"?["/"]:[`${this.$settings.webroot}/`],{replaceUrl:!0}):this.$router.navigate(["/"],{relativeTo:this.$route}))})},7e3),this.checkTimeout=setTimeout(()=>{this.$toastr.warning(this.$translate.instant("restart.toast_server_restart_timeout"),this.$translate.instant("toast.title_warning"),{timeOut:1e4}),this.timeout=!0},4e4)}static \u0275fac=function(a){return new(a||t)};static \u0275cmp=C({type:t,selectors:[["ng-component"]],decls:14,vars:8,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-fw","fa-power-off",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"alert","alert-warning","my-4"],[1,"grey-text"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[3,"ngClass"],[1,"grey-text","mb-0"],[1,"font-monospace"],[1,"mt-2","mb-0"],[1,"btn","btn-primary","mb-0",3,"click"]],template:function(a,u){a&1&&(r(0,"div",0)(1,"h3",1),s(2),o(3,"translate"),n()(),r(4,"div",2)(5,"div",3),g(6,"i",4),n(),r(7,"div",5)(8,"h4",6),s(9),o(10,"translate"),n(),f(11,A,2,1,"div",7)(12,M,14,20),f(13,W,10,8,"div",8),n()()),a&2&&(i(2),p(l(3,4,"menu.restart.title")),i(7),p(l(10,6,"restart.title_restart")),i(2),h(u.error?11:12),i(2),h(u.timeout?13:-1))},dependencies:[T,I],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{Y as RestartComponent};
@@ -0,0 +1 @@
1
+ import{a as E}from"./chunk-7FVJXUCR.js";import{n as S,t as k}from"./chunk-BQMDK4YS.js";import"./chunk-AM53KSWA.js";import{b as P,d as O}from"./chunk-MDV2S56W.js";import{b as B}from"./chunk-5RI5TLFW.js";import{k as T,l as y,n as I,q as V}from"./chunk-FB6OF4XR.js";import{Db as h,Gb as m,Ib as b,La as i,Vb as c,Wa as x,Wb as $,Xb as u,ja as o,lb as f,mb as v,mc as s,nc as l,oa as d,pa as _,rb as g,sb as a,tb as r,ub as C}from"./chunk-3LEW5FOJ.js";function R(e,w){if(e&1){let t=h();a(0,"p",5)(1,"button",6),m("click",function(){d(t);let n=b();return _(n.restartServer())}),c(2),s(3,"translate"),r()()}e&2&&(i(2),u(" ",l(3,1,"menu.linux.label_restart_server")," "))}function D(e,w){if(e&1){let t=h();a(0,"p",5)(1,"button",6),m("click",function(){d(t);let n=b();return _(n.shutdownServer())}),c(2),s(3,"translate"),r()()}e&2&&(i(2),u(" ",l(3,1,"menu.linux.label_shutdown_server")," "))}function M(e,w){if(e&1){let t=h();a(0,"p",5)(1,"button",6),m("click",function(){d(t);let n=b();return _(n.dockerRestartContainer())}),c(2),s(3,"translate"),r()()}e&2&&(i(2),u(" ",l(3,1,"menu.docker.restart_container")," "))}var Q=(()=>{class e{$api=o(V);$modal=o(S);$route=o(P);$router=o(O);$settings=o(B);$toastr=o(I);$translate=o(T);canShutdownRestartHost=this.$settings.env.canShutdownRestartHost;runningInDocker=this.$settings.env.runningInDocker;restartHomebridge(){this.$router.navigate(["/restart"],{relativeTo:this.$route})}restartHomebridgeService(){this.$api.put("/platform-tools/hb-service/set-full-service-restart-flag",{}).subscribe({next:()=>{this.$router.navigate(["/restart"],{relativeTo:this.$route})},error:t=>{console.error(t),this.$toastr.error(t.message,this.$translate.instant("toast.title_error"))}})}restartServer(){this.$router.navigate(["/platform-tools/linux/restart-server"],{relativeTo:this.$route})}shutdownServer(){let t=this.$modal.open(E,{size:"lg",backdrop:"static"});t.componentInstance.title=this.$translate.instant("menu.linux.label_shutdown_server"),t.componentInstance.message=this.$translate.instant("menu.linux.label_shutdown_modal"),t.componentInstance.confirmButtonLabel=this.$translate.instant("form.button_continue"),t.componentInstance.faIconClass="fa fa-fw fa-power-off primary-text",t.result.then(()=>{this.$router.navigate(["/platform-tools/linux/shutdown-server"],{relativeTo:this.$route})}).catch(()=>{})}dockerRestartContainer(){this.$router.navigate(["/platform-tools/docker/restart-container"],{relativeTo:this.$route})}static \u0275fac=function(p){return new(p||e)};static \u0275cmp=x({type:e,selectors:[["ng-component"]],decls:19,vars:16,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-fw","fa-power-off",2,"font-size","75px"],[1,"w-100","text-center","my-5"],["type","button",1,"btn","btn-primary","p-3","my-0",2,"width","85%",3,"click"],["type","button","container","body","triggers","hover",1,"btn","btn-primary","p-3","my-0",2,"width","85%",3,"click","openDelay","ngbTooltip"]],template:function(p,n){p&1&&(a(0,"div",0)(1,"h3",1),c(2),s(3,"translate"),r()(),a(4,"div",2)(5,"div",3),C(6,"i",4),r(),a(7,"p",5)(8,"button",6),m("click",function(){return n.restartHomebridge()}),c(9),s(10,"translate"),r()(),a(11,"p",5)(12,"button",7),s(13,"translate"),m("click",function(){return n.restartHomebridgeService()}),c(14),s(15,"translate"),r()(),f(16,R,4,3,"p",5),f(17,D,4,3,"p",5),f(18,M,4,3,"p",5),r()),p&2&&(i(2),$(l(3,8,"menu.restart.title")),i(7),u(" ",l(10,10,"menu.hbrestart.confirm_hb")," "),i(3),g("openDelay",150)("ngbTooltip",l(13,12,"reset.force_restart_hb_help_text")),i(2),u(" ",l(15,14,"menu.hbrestart.confirm_ui")," "),i(2),v(n.canShutdownRestartHost?16:-1),i(),v(n.canShutdownRestartHost?17:-1),i(),v(n.runningInDocker?18:-1))},dependencies:[k,y],encapsulation:2})}return e})();export{Q as PowerOptionsComponent};
@@ -0,0 +1 @@
1
+ import{a as w}from"./chunk-UO7UMJN3.js";import"./chunk-BH4JDZF4.js";import{b as $,d as y}from"./chunk-MDV2S56W.js";import{b as T}from"./chunk-5RI5TLFW.js";import{k as g,l as _,n as E,q as S}from"./chunk-FB6OF4XR.js";import{Ib as v,La as r,Vb as a,Wa as x,Wb as s,ja as n,lb as c,mb as d,mc as m,nc as l,vb as o,wb as i,xb as u}from"./chunk-3LEW5FOJ.js";function C(t,f){if(t&1&&(o(0,"div",7),a(1),i()),t&2){let e=v();r(),s(e.error)}}function k(t,f){t&1&&(o(0,"p",9),a(1),m(2,"translate"),i(),o(3,"div",10)(4,"div",11),u(5,"i",12),i()()),t&2&&(r(),s(l(2,1,"restart.please_wait_while_server_restarts")))}function b(t,f){t&1&&(o(0,"div",8),a(1),m(2,"translate"),i()),t&2&&(r(),s(l(2,1,"platform.linux.long_time")))}var z=(()=>{class t{$api=n(S);$route=n($);$router=n(y);$settings=n(T);$toastr=n(E);$translate=n(g);$ws=n(w);checkTimeout;checkDelay;io;resp={};timeout=!1;error=!1;ngOnInit(){this.io=this.$ws.connectToNamespace("status"),this.io.connected.subscribe(()=>{this.io.socket.emit("monitor-server-status"),this.$settings.getAppSettings().catch(()=>{})}),this.$api.put("/platform-tools/linux/restart-host",{}).subscribe({next:e=>{this.resp=e,this.checkIfServerUp()},error:e=>{console.error(e),this.error=this.$translate.instant("platform.linux.server_restart_error"),this.$toastr.error(this.$translate.instant("platform.linux.server_restart_error"),this.$translate.instant("toast.title_error"))}})}ngOnDestroy(){this.io.end(),clearTimeout(this.checkDelay),clearTimeout(this.checkTimeout)}checkIfServerUp(){this.checkDelay=setTimeout(()=>{this.io.socket.on("homebridge-status",e=>{(e.status==="up"||e.status==="pending")&&(this.$toastr.success(this.$translate.instant("platform.linux.server_restarted"),this.$translate.instant("toast.title_success")),this.$router.navigate(["/"],{relativeTo:this.$route}))})},3e4),this.checkTimeout=setTimeout(()=>{this.$toastr.warning(this.$translate.instant("platform.linux.server_taking_long_time"),this.$translate.instant("toast.title_warning"),{timeOut:1e4}),this.timeout=!0},12e4)}static \u0275fac=function(p){return new(p||t)};static \u0275cmp=x({type:t,selectors:[["ng-component"]],decls:14,vars:8,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-fw","fa-power-off",2,"font-size","75px"],[1,"text-center"],[1,"primary-text","mb-4"],[1,"alert","alert-error","my-4"],[1,"alert","alert-warning","my-4"],[1,"grey-text"],[1,"justify-content-center","my-4"],[1,"restart-progress-box","primary-text"],[1,"fas","fa-fw","fa-spinner","fa-spin"]],template:function(p,h){p&1&&(o(0,"div",0)(1,"h3",1),a(2),m(3,"translate"),i()(),o(4,"div",2)(5,"div",3),u(6,"i",4),i(),o(7,"div",5)(8,"h4",6),a(9),m(10,"translate"),i(),c(11,C,2,1,"div",7)(12,k,6,3),c(13,b,3,3,"div",8),i()()),p&2&&(r(2),s(l(3,4,"menu.restart.title")),r(7),s(l(10,6,"platform.linux.restarting_server")),r(2),d(h.error?11:12),r(2),d(h.timeout?13:-1))},dependencies:[_],styles:[".restart-progress-box[_ngcontent-%COMP%]{font-size:22px;font-weight:300;margin-top:15px}"]})}return t})();export{z as RestartLinuxComponent};