marketplacepos 5.46.7 → 5.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/Marketplace/3rdpartylicenses.txt +80 -28
  2. package/Marketplace/chunk-2F4DTZCZ.js +2 -0
  3. package/Marketplace/chunk-2J7P6ENI.js +1 -0
  4. package/Marketplace/chunk-2USFVKEX.js +1 -0
  5. package/Marketplace/chunk-327AAICB.js +1 -0
  6. package/Marketplace/chunk-36U7D4LI.js +1 -0
  7. package/Marketplace/chunk-3JRUKSV3.js +251 -0
  8. package/Marketplace/chunk-3L7Y6LG6.js +1 -0
  9. package/Marketplace/chunk-3LTTPECO.js +1 -0
  10. package/Marketplace/chunk-3TPMCGA5.js +1 -0
  11. package/Marketplace/chunk-3WRXJBHF.js +380 -0
  12. package/Marketplace/chunk-4ILDFTIG.js +34 -0
  13. package/Marketplace/chunk-4JDI3AL5.js +1 -0
  14. package/Marketplace/chunk-4RG5YR7N.js +54 -0
  15. package/Marketplace/chunk-4RLWHMI6.js +1 -0
  16. package/Marketplace/chunk-4VNQYYVV.js +1 -0
  17. package/Marketplace/chunk-4YCSITNV.js +1 -0
  18. package/Marketplace/chunk-5BSPSA4O.js +2 -0
  19. package/Marketplace/chunk-5G3OIF3V.js +1 -0
  20. package/Marketplace/chunk-5MV3UFJQ.js +88 -0
  21. package/Marketplace/chunk-5PMKN6PM.js +151 -0
  22. package/Marketplace/{chunk-7TI3OR34.js → chunk-5X2E3W32.js} +3 -3
  23. package/Marketplace/chunk-63I3I3MX.js +5 -0
  24. package/Marketplace/chunk-64EV3KZS.js +1 -0
  25. package/Marketplace/chunk-6EORXONU.js +4 -0
  26. package/Marketplace/chunk-6KWG6O5L.js +2 -0
  27. package/Marketplace/{chunk-63ANFYRV.js → chunk-6OJQRHIZ.js} +3 -3
  28. package/Marketplace/chunk-6PW6S7MI.js +2 -0
  29. package/Marketplace/{chunk-6L7TD5DW.js → chunk-6Q6L5NUD.js} +1 -1
  30. package/Marketplace/chunk-6XDT56RT.js +2 -0
  31. package/Marketplace/chunk-6Z2CE7TK.js +1 -0
  32. package/Marketplace/chunk-6ZE3KI6C.js +2 -0
  33. package/Marketplace/chunk-7GY4O2UX.js +157 -0
  34. package/Marketplace/chunk-7JQEF4XX.js +1 -0
  35. package/Marketplace/chunk-7WHUYSBD.js +1 -0
  36. package/Marketplace/chunk-A6QXXKPR.js +1 -0
  37. package/Marketplace/chunk-A7PUMY67.js +1 -0
  38. package/Marketplace/chunk-AAUBUT4Y.js +1 -0
  39. package/Marketplace/chunk-AFCA7VVG.js +1 -0
  40. package/Marketplace/chunk-AFDI4TD4.js +104 -0
  41. package/Marketplace/chunk-AFIF6VRM.js +4 -0
  42. package/Marketplace/chunk-AGBJEXIM.js +1 -0
  43. package/Marketplace/chunk-AZOCRKXK.js +1 -0
  44. package/Marketplace/chunk-BJH4EGMC.js +2 -0
  45. package/Marketplace/chunk-BKR7YPEW.js +1 -0
  46. package/Marketplace/chunk-BXYXVBXP.js +1 -0
  47. package/Marketplace/chunk-BYTWGXP7.js +1 -0
  48. package/Marketplace/chunk-C7N6EI73.js +1 -0
  49. package/Marketplace/chunk-CG7UNGPF.js +1413 -0
  50. package/Marketplace/{chunk-RNNH3EZC.js → chunk-CM3B2UZ7.js} +1 -1
  51. package/Marketplace/chunk-CT6UFONR.js +1 -0
  52. package/Marketplace/chunk-D3VVBQYY.js +1 -0
  53. package/Marketplace/chunk-DAUML5UD.js +2 -0
  54. package/Marketplace/chunk-DHPNXR6E.js +1 -0
  55. package/Marketplace/chunk-DTAHV4GM.js +1 -0
  56. package/Marketplace/chunk-DXYMG6QK.js +2 -0
  57. package/Marketplace/chunk-E3EBAWLJ.js +1 -0
  58. package/Marketplace/chunk-E66QUDQF.js +1 -0
  59. package/Marketplace/chunk-E6AMKEQR.js +149 -0
  60. package/Marketplace/chunk-E6ZWL77N.js +1 -0
  61. package/Marketplace/chunk-EDEZ3JLR.js +4 -0
  62. package/Marketplace/chunk-EYT2YJGK.js +1 -0
  63. package/Marketplace/chunk-FCEXPGTK.js +5 -0
  64. package/Marketplace/chunk-FHER4TFY.js +1 -0
  65. package/Marketplace/chunk-FKGKMEDE.js +2 -0
  66. package/Marketplace/{chunk-HVCIQI7B.js → chunk-FULVA6QB.js} +1 -1
  67. package/Marketplace/chunk-GF6B54DH.js +5 -0
  68. package/Marketplace/chunk-GG3MDS4C.js +1 -0
  69. package/Marketplace/chunk-GPHNPV7O.js +2 -0
  70. package/Marketplace/chunk-GTIJJRTW.js +1 -0
  71. package/Marketplace/chunk-GURSK3ZV.js +1 -0
  72. package/Marketplace/chunk-HK5FXZE4.js +40 -0
  73. package/Marketplace/{chunk-W3JTS22H.js → chunk-HPINZVE4.js} +1 -1
  74. package/Marketplace/chunk-HUECAZ5I.js +1 -0
  75. package/Marketplace/chunk-I3Q5TAIL.js +1 -0
  76. package/Marketplace/chunk-I7C6W3RB.js +1 -0
  77. package/Marketplace/chunk-IGKMJFKP.js +90 -0
  78. package/Marketplace/chunk-ILW6ZFFV.js +1 -0
  79. package/Marketplace/chunk-IM5M2CAI.js +1 -0
  80. package/Marketplace/chunk-IODYBTLK.js +1 -0
  81. package/Marketplace/chunk-ISMIPSYN.js +1 -0
  82. package/Marketplace/chunk-ITGVXYDV.js +1 -0
  83. package/Marketplace/chunk-IU36PH6K.js +1 -0
  84. package/Marketplace/chunk-IWFUFVCC.js +1 -0
  85. package/Marketplace/chunk-IX6JJ6BJ.js +1 -0
  86. package/Marketplace/chunk-IYDRCUIT.js +1 -0
  87. package/Marketplace/chunk-J6CZKQ53.js +264 -0
  88. package/Marketplace/chunk-JBEKD57G.js +1 -0
  89. package/Marketplace/chunk-JKRH5WGR.js +1 -0
  90. package/Marketplace/chunk-JW7NES7L.js +1 -0
  91. package/Marketplace/chunk-KB3CRZC5.js +1 -0
  92. package/Marketplace/chunk-KJE5GRQ4.js +1 -0
  93. package/Marketplace/chunk-KVDREHOE.js +1 -0
  94. package/Marketplace/chunk-L3W6SG2T.js +1 -0
  95. package/Marketplace/chunk-L76NLJD7.js +149 -0
  96. package/Marketplace/chunk-L7WZ6U4T.js +15 -0
  97. package/Marketplace/chunk-LNJUGHOX.js +2 -0
  98. package/Marketplace/chunk-LOWGZOML.js +1 -0
  99. package/Marketplace/chunk-M2BYW5SR.js +1 -0
  100. package/Marketplace/chunk-M4ZE35XK.js +61 -0
  101. package/Marketplace/chunk-MRT6ZM2A.js +1 -0
  102. package/Marketplace/{chunk-JVNHFIYT.js → chunk-N5AE5WMQ.js} +1 -1
  103. package/Marketplace/chunk-NCKPMA6Q.js +1 -0
  104. package/Marketplace/chunk-NSBKRFO7.js +1 -0
  105. package/Marketplace/chunk-NWB7EVME.js +112 -0
  106. package/Marketplace/chunk-O2YF5VGD.js +2 -0
  107. package/Marketplace/chunk-O4EO3YBL.js +1 -0
  108. package/Marketplace/chunk-OBF4XVU7.js +1 -0
  109. package/Marketplace/chunk-OPXITNRF.js +1 -0
  110. package/Marketplace/chunk-OXWPYJNB.js +1 -0
  111. package/Marketplace/chunk-PDCVMSLL.js +1 -0
  112. package/Marketplace/chunk-PMVDQ2OP.js +1 -0
  113. package/Marketplace/{chunk-KXU32D3B.js → chunk-PUUZQ4N5.js} +1 -1
  114. package/Marketplace/chunk-Q2QX5AAJ.js +1130 -0
  115. package/Marketplace/chunk-Q4AWQ7IC.js +7 -0
  116. package/Marketplace/chunk-Q4TAOZ73.js +1 -0
  117. package/Marketplace/chunk-Q7MU7DBD.js +2 -0
  118. package/Marketplace/chunk-QFSA7CU4.js +2 -0
  119. package/Marketplace/chunk-QSBCJIQ3.js +1 -0
  120. package/Marketplace/chunk-QXRG5XYP.js +1 -0
  121. package/Marketplace/chunk-R2XT5M5F.js +3 -0
  122. package/Marketplace/chunk-RASTACH2.js +1 -0
  123. package/Marketplace/chunk-RDS3OGH2.js +1 -0
  124. package/Marketplace/chunk-RNWHARPK.js +92 -0
  125. package/Marketplace/chunk-RQQWNLDZ.js +1 -0
  126. package/Marketplace/chunk-RUBV3KX2.js +149 -0
  127. package/Marketplace/{chunk-TGMCGROM.js → chunk-RXLMJGUY.js} +3 -3
  128. package/Marketplace/chunk-RXZ43ZSY.js +1 -0
  129. package/Marketplace/chunk-S5R6MCNP.js +5 -0
  130. package/Marketplace/chunk-S7CKRTJV.js +2 -0
  131. package/Marketplace/chunk-SFZDUON5.js +2 -0
  132. package/Marketplace/chunk-SGTGXMFX.js +1 -0
  133. package/Marketplace/{chunk-QS22J2SC.js → chunk-SHUYFOQI.js} +2 -2
  134. package/Marketplace/chunk-SJ5MC42H.js +257 -0
  135. package/Marketplace/chunk-SJT5OMJM.js +1 -0
  136. package/Marketplace/chunk-STYL7ETF.js +3 -0
  137. package/Marketplace/chunk-T7HRAMHR.js +1 -0
  138. package/Marketplace/chunk-TJYYRHZZ.js +1 -0
  139. package/Marketplace/chunk-TLPRODFI.js +1 -0
  140. package/Marketplace/chunk-TOATNIRC.js +1 -0
  141. package/Marketplace/chunk-TXOZULMZ.js +1 -0
  142. package/Marketplace/chunk-TYQY4WPY.js +1 -0
  143. package/Marketplace/chunk-UH5C5HXK.js +1 -0
  144. package/Marketplace/chunk-UIZJMH4U.js +1 -0
  145. package/Marketplace/chunk-VWX2IX64.js +1 -0
  146. package/Marketplace/chunk-WFMAM73Y.js +1 -0
  147. package/Marketplace/chunk-WHHW4IZT.js +2 -0
  148. package/Marketplace/chunk-WIYPRMVW.js +266 -0
  149. package/Marketplace/chunk-WNUTNP6I.js +39 -0
  150. package/Marketplace/chunk-X5X4R6MJ.js +1 -0
  151. package/Marketplace/chunk-XBIHN6D3.js +1 -0
  152. package/Marketplace/chunk-XF2QZL6C.js +1 -0
  153. package/Marketplace/chunk-XLIPGDSC.js +2 -0
  154. package/Marketplace/chunk-XLNRT52E.js +5 -0
  155. package/Marketplace/chunk-XRLXIT7I.js +1 -0
  156. package/Marketplace/chunk-YTHY4IFS.js +1 -0
  157. package/Marketplace/chunk-ZEF5FMYQ.js +1 -0
  158. package/Marketplace/chunk-ZETUYNFJ.js +1 -0
  159. package/Marketplace/chunk-ZKIO2ZQ6.js +2 -0
  160. package/Marketplace/chunk-ZME22WYI.js +1 -0
  161. package/Marketplace/chunk-ZRTEGBXK.js +7 -0
  162. package/Marketplace/chunk-ZSUWHVKX.js +1 -0
  163. package/Marketplace/chunk-ZTHO6JJM.js +2 -0
  164. package/Marketplace/chunk-ZVTFMONF.js +15 -0
  165. package/Marketplace/chunk-ZW2TMVZP.js +10 -0
  166. package/Marketplace/chunk-ZYJ6LAJ3.js +4 -0
  167. package/Marketplace/index.html +2 -2
  168. package/Marketplace/main-T7D6R6TU.js +1 -0
  169. package/Marketplace/{polyfills-BUUDEW7V.js → polyfills-5FDKUQTZ.js} +1 -1
  170. package/Marketplace/scripts-2STIAS5P.js +5 -0
  171. package/Marketplace/styles-ANCVZJP7.css +1 -0
  172. package/package.json +1 -1
  173. package/Marketplace/chunk-25345PS7.js +0 -257
  174. package/Marketplace/chunk-2UIK6NRS.js +0 -1
  175. package/Marketplace/chunk-37MIOA6D.js +0 -1
  176. package/Marketplace/chunk-3DCFDJVG.js +0 -1
  177. package/Marketplace/chunk-3GDM5JNY.js +0 -2
  178. package/Marketplace/chunk-3X5SEOLP.js +0 -1
  179. package/Marketplace/chunk-4G7SG2H6.js +0 -1
  180. package/Marketplace/chunk-4NEKWRL7.js +0 -1
  181. package/Marketplace/chunk-4RTDKHTN.js +0 -1
  182. package/Marketplace/chunk-4VJ3SIJF.js +0 -1
  183. package/Marketplace/chunk-5CKVZBHM.js +0 -102
  184. package/Marketplace/chunk-5EIQGYTB.js +0 -1
  185. package/Marketplace/chunk-5G3N7OU5.js +0 -1
  186. package/Marketplace/chunk-5KNFEBH5.js +0 -1
  187. package/Marketplace/chunk-5PS6ZS3N.js +0 -1
  188. package/Marketplace/chunk-5QO5B7YG.js +0 -1
  189. package/Marketplace/chunk-67HPC5Y3.js +0 -2
  190. package/Marketplace/chunk-6H2KAYSB.js +0 -1088
  191. package/Marketplace/chunk-6NRH3MJL.js +0 -1
  192. package/Marketplace/chunk-6OMSPZZC.js +0 -2
  193. package/Marketplace/chunk-6QFP63YQ.js +0 -1
  194. package/Marketplace/chunk-7G6GQTSH.js +0 -33
  195. package/Marketplace/chunk-7KN3UVZI.js +0 -1
  196. package/Marketplace/chunk-7L3UKJDU.js +0 -1
  197. package/Marketplace/chunk-A6PXM4YX.js +0 -1
  198. package/Marketplace/chunk-ABYG6YZT.js +0 -2
  199. package/Marketplace/chunk-ACIMXBIC.js +0 -1
  200. package/Marketplace/chunk-AGURPBGY.js +0 -5
  201. package/Marketplace/chunk-AGZCB65X.js +0 -1
  202. package/Marketplace/chunk-BDBETNFT.js +0 -137
  203. package/Marketplace/chunk-BKRCW7SH.js +0 -79
  204. package/Marketplace/chunk-BMYBLBSP.js +0 -3
  205. package/Marketplace/chunk-BTO76EDH.js +0 -1
  206. package/Marketplace/chunk-BVDLO6WD.js +0 -1235
  207. package/Marketplace/chunk-CGOB6Y3X.js +0 -1
  208. package/Marketplace/chunk-CMBQCMTZ.js +0 -1
  209. package/Marketplace/chunk-CVM573KF.js +0 -1
  210. package/Marketplace/chunk-CWNZ6HAV.js +0 -1
  211. package/Marketplace/chunk-CYG42H2K.js +0 -1
  212. package/Marketplace/chunk-DAXM2MPK.js +0 -1
  213. package/Marketplace/chunk-DNNH5AQJ.js +0 -1
  214. package/Marketplace/chunk-DPAQQ77L.js +0 -222
  215. package/Marketplace/chunk-DXPLB6OB.js +0 -252
  216. package/Marketplace/chunk-EAA6S4WB.js +0 -1
  217. package/Marketplace/chunk-EHBCYQSG.js +0 -1
  218. package/Marketplace/chunk-EHUVS2VB.js +0 -1
  219. package/Marketplace/chunk-ERXVXBTU.js +0 -1
  220. package/Marketplace/chunk-EU2KAMEK.js +0 -1
  221. package/Marketplace/chunk-EUYQST7Q.js +0 -1
  222. package/Marketplace/chunk-EYONZQ2W.js +0 -1
  223. package/Marketplace/chunk-F2T43CJB.js +0 -51
  224. package/Marketplace/chunk-F2XHUFJC.js +0 -157
  225. package/Marketplace/chunk-F4Z47C2S.js +0 -15
  226. package/Marketplace/chunk-FJYAC47U.js +0 -2
  227. package/Marketplace/chunk-FXQKRJWU.js +0 -2
  228. package/Marketplace/chunk-GCECFUOP.js +0 -1
  229. package/Marketplace/chunk-GH5FTODR.js +0 -1
  230. package/Marketplace/chunk-GHVAGYK3.js +0 -2
  231. package/Marketplace/chunk-GJTQNOXV.js +0 -1
  232. package/Marketplace/chunk-GRYGUILI.js +0 -2
  233. package/Marketplace/chunk-GUO3DTDP.js +0 -1
  234. package/Marketplace/chunk-GZKOMS4T.js +0 -2
  235. package/Marketplace/chunk-HBVCUV6A.js +0 -7
  236. package/Marketplace/chunk-HERZ7KEM.js +0 -1
  237. package/Marketplace/chunk-HIC5QC3Y.js +0 -1
  238. package/Marketplace/chunk-HJXYT6MI.js +0 -4
  239. package/Marketplace/chunk-HZKRKNLA.js +0 -5
  240. package/Marketplace/chunk-IHSGQFDX.js +0 -2
  241. package/Marketplace/chunk-IITU3NV6.js +0 -1
  242. package/Marketplace/chunk-IQ3ER4NM.js +0 -1
  243. package/Marketplace/chunk-JAWWMIGP.js +0 -1
  244. package/Marketplace/chunk-JBT7GBCM.js +0 -5
  245. package/Marketplace/chunk-JGEU4EJT.js +0 -1
  246. package/Marketplace/chunk-JP6HRQLK.js +0 -2
  247. package/Marketplace/chunk-JZC463X6.js +0 -1
  248. package/Marketplace/chunk-K4NTJPH5.js +0 -1
  249. package/Marketplace/chunk-KS7ACI26.js +0 -10
  250. package/Marketplace/chunk-KSHWHTCH.js +0 -2
  251. package/Marketplace/chunk-KTB223SK.js +0 -1
  252. package/Marketplace/chunk-KWHVCPX2.js +0 -1
  253. package/Marketplace/chunk-LBDA5KP3.js +0 -1
  254. package/Marketplace/chunk-LBMUKJV5.js +0 -1
  255. package/Marketplace/chunk-LDL3A7NM.js +0 -1
  256. package/Marketplace/chunk-LETC4UBH.js +0 -1
  257. package/Marketplace/chunk-LVZDOEKQ.js +0 -1
  258. package/Marketplace/chunk-LW3PTNRL.js +0 -1
  259. package/Marketplace/chunk-LYCCI55Z.js +0 -1
  260. package/Marketplace/chunk-LYPHZP72.js +0 -2
  261. package/Marketplace/chunk-MAQ6FWVP.js +0 -1
  262. package/Marketplace/chunk-MFMD6ZSP.js +0 -234
  263. package/Marketplace/chunk-MFQQEEHJ.js +0 -3
  264. package/Marketplace/chunk-MO53T3IK.js +0 -1
  265. package/Marketplace/chunk-MX5SR3SR.js +0 -94
  266. package/Marketplace/chunk-MYPTLVUU.js +0 -1
  267. package/Marketplace/chunk-NAGQF4JJ.js +0 -1
  268. package/Marketplace/chunk-NCLAP5OW.js +0 -1
  269. package/Marketplace/chunk-NFGFM7TW.js +0 -1
  270. package/Marketplace/chunk-NNOI3AG4.js +0 -1
  271. package/Marketplace/chunk-NTGU2UMX.js +0 -1
  272. package/Marketplace/chunk-NX4WQMFK.js +0 -1
  273. package/Marketplace/chunk-O2YNPIYM.js +0 -5
  274. package/Marketplace/chunk-O3ADJ3YS.js +0 -1
  275. package/Marketplace/chunk-OJMQBH6T.js +0 -7
  276. package/Marketplace/chunk-OMPJUICC.js +0 -1
  277. package/Marketplace/chunk-OR6TBLPO.js +0 -33
  278. package/Marketplace/chunk-OXWPLJEW.js +0 -93
  279. package/Marketplace/chunk-OZ7LWNOK.js +0 -15
  280. package/Marketplace/chunk-PE5AFID4.js +0 -1
  281. package/Marketplace/chunk-PFY5UG5D.js +0 -4
  282. package/Marketplace/chunk-PHUHUFYL.js +0 -2
  283. package/Marketplace/chunk-PIBVGTHJ.js +0 -1
  284. package/Marketplace/chunk-PYXL7UF7.js +0 -2
  285. package/Marketplace/chunk-Q4N2QUV6.js +0 -30
  286. package/Marketplace/chunk-QOP7KZK7.js +0 -1
  287. package/Marketplace/chunk-QPLUVWFA.js +0 -158
  288. package/Marketplace/chunk-QW4EOJRM.js +0 -1
  289. package/Marketplace/chunk-QWISVEBT.js +0 -141
  290. package/Marketplace/chunk-R5KKW4LC.js +0 -1
  291. package/Marketplace/chunk-RAQRGWCZ.js +0 -2
  292. package/Marketplace/chunk-RC5PUUVM.js +0 -193
  293. package/Marketplace/chunk-RGAWEFPQ.js +0 -1
  294. package/Marketplace/chunk-RGY4FVTG.js +0 -1
  295. package/Marketplace/chunk-RHHHL4OR.js +0 -5
  296. package/Marketplace/chunk-S3FZRSRP.js +0 -1
  297. package/Marketplace/chunk-SCHKXMJN.js +0 -2
  298. package/Marketplace/chunk-T27ABFCP.js +0 -1
  299. package/Marketplace/chunk-T2OSIFLN.js +0 -78
  300. package/Marketplace/chunk-TLEH7QMI.js +0 -1
  301. package/Marketplace/chunk-TUHKMG57.js +0 -1
  302. package/Marketplace/chunk-U7WCPDIV.js +0 -1
  303. package/Marketplace/chunk-UGYIOLBR.js +0 -1
  304. package/Marketplace/chunk-UMP6ZMEJ.js +0 -1
  305. package/Marketplace/chunk-UQWB6RQP.js +0 -2
  306. package/Marketplace/chunk-V3USB3ZU.js +0 -1
  307. package/Marketplace/chunk-VFATXJRG.js +0 -1
  308. package/Marketplace/chunk-VLF5RZ3X.js +0 -1
  309. package/Marketplace/chunk-VRPKQ2HJ.js +0 -1
  310. package/Marketplace/chunk-W3DTXPRM.js +0 -1
  311. package/Marketplace/chunk-WN5DZGA4.js +0 -1
  312. package/Marketplace/chunk-WRJFUNM3.js +0 -1
  313. package/Marketplace/chunk-WUKVYBD3.js +0 -1
  314. package/Marketplace/chunk-XHAXYWZ7.js +0 -1
  315. package/Marketplace/chunk-XONEJSCE.js +0 -1
  316. package/Marketplace/chunk-XPCRS7AL.js +0 -1
  317. package/Marketplace/chunk-XXT6F2ZS.js +0 -5
  318. package/Marketplace/chunk-YERZ6W22.js +0 -1
  319. package/Marketplace/chunk-YFDFIBAG.js +0 -1
  320. package/Marketplace/chunk-YHT4EYQJ.js +0 -397
  321. package/Marketplace/chunk-YQLOB7IQ.js +0 -70
  322. package/Marketplace/chunk-YTCIQBSO.js +0 -2
  323. package/Marketplace/chunk-YU2SDRUC.js +0 -1
  324. package/Marketplace/chunk-Z3ITXK3D.js +0 -1
  325. package/Marketplace/chunk-ZHPHANAW.js +0 -3
  326. package/Marketplace/main-HRVNLZTX.js +0 -1
  327. package/Marketplace/scripts-BTEOQWVQ.js +0 -5
  328. package/Marketplace/styles-EW2SXTVD.css +0 -1
  329. /package/Marketplace/{chunk-SDUUFQUI.js → chunk-D2J64VUP.js} +0 -0
@@ -1,70 +0,0 @@
1
- import{b as B,e as c}from"./chunk-OZ7LWNOK.js";import{a as R}from"./chunk-YFDFIBAG.js";import{B as s,M as z,a as h,aa as P,f as $,fa as A,g as M,h as V,k as n,m as f,o as k,q as g}from"./chunk-RC5PUUVM.js";import{o as I}from"./chunk-FXQKRJWU.js";import{Ca as O,Hb as x,Ib as D,Kb as S,La as y,Qc as H,ja as m,ka as b,od as p,pa as L,pd as r,tb as E,xa as T,xb as u,zb as w}from"./chunk-OJMQBH6T.js";import{a}from"./chunk-66YHNWRR.js";var F=({dt:e})=>`
2
- .p-tooltip {
3
- position: absolute;
4
- display: none;
5
- max-width: ${e("tooltip.max.width")};
6
- }
7
-
8
- .p-tooltip-right,
9
- .p-tooltip-left {
10
- padding: 0 ${e("tooltip.gutter")};
11
- }
12
-
13
- .p-tooltip-top,
14
- .p-tooltip-bottom {
15
- padding: ${e("tooltip.gutter")} 0;
16
- }
17
-
18
- .p-tooltip-text {
19
- white-space: pre-line;
20
- word-break: break-word;
21
- background: ${e("tooltip.background")};
22
- color: ${e("tooltip.color")};
23
- padding: ${e("tooltip.padding")};
24
- box-shadow: ${e("tooltip.shadow")};
25
- border-radius: ${e("tooltip.border.radius")};
26
- }
27
-
28
- .p-tooltip-arrow {
29
- position: absolute;
30
- width: 0;
31
- height: 0;
32
- border-color: transparent;
33
- border-style: solid;
34
- scale: 2;
35
- }
36
-
37
- .p-tooltip-right .p-tooltip-arrow {
38
- top: 50%;
39
- left: 0;
40
- margin-top: calc(-1 * ${e("tooltip.gutter")});
41
- border-width: ${e("tooltip.gutter")} ${e("tooltip.gutter")} ${e("tooltip.gutter")} 0;
42
- border-right-color: ${e("tooltip.background")};
43
- }
44
-
45
- .p-tooltip-left .p-tooltip-arrow {
46
- top: 50%;
47
- right: 0;
48
- margin-top: calc(-1 * ${e("tooltip.gutter")});
49
- border-width: ${e("tooltip.gutter")} 0 ${e("tooltip.gutter")} ${e("tooltip.gutter")};
50
- border-left-color: ${e("tooltip.background")};
51
- }
52
-
53
- .p-tooltip-top .p-tooltip-arrow {
54
- bottom: 0;
55
- left: 50%;
56
- margin-left: calc(-1 * ${e("tooltip.gutter")});
57
- border-width: ${e("tooltip.gutter")} ${e("tooltip.gutter")} 0 ${e("tooltip.gutter")};
58
- border-top-color: ${e("tooltip.background")};
59
- border-bottom-color: ${e("tooltip.background")};
60
- }
61
-
62
- .p-tooltip-bottom .p-tooltip-arrow {
63
- top: 0;
64
- left: 50%;
65
- margin-left: calc(-1 * ${e("tooltip.gutter")});
66
- border-width: 0 ${e("tooltip.gutter")} ${e("tooltip.gutter")} ${e("tooltip.gutter")};
67
- border-top-color: ${e("tooltip.background")};
68
- border-bottom-color: ${e("tooltip.background")};
69
- }
70
- `,N={root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"},Z=(()=>{class e extends A{name="tooltip";theme=F;classes=N;static \u0275fac=(()=>{let t;return function(o){return(t||(t=O(e)))(o||e)}})();static \u0275prov=m({token:e,factory:e.\u0275fac})}return e})();var tt=(()=>{class e extends R{zone;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:P("pn_id_")+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;documentEscapeListener;scrollHandler;resizeListener;_componentStyle=L(Z);interactionInProgress=!1;constructor(t,i){super(),this.zone=t,this.viewContainer=i}ngAfterViewInit(){super.ngAfterViewInit(),I(this.platformId)&&this.zone.runOutsideAngular(()=>{let t=this.getOption("tooltipEvent");if((t==="hover"||t==="both")&&(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener)),t==="focus"||t==="both"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let i=this.el.nativeElement.querySelector(".p-component");i||(i=this.getTarget(this.el.nativeElement)),i.addEventListener("focus",this.focusListener),i.addEventListener("blur",this.blurListener)}})}ngOnChanges(t){super.ngOnChanges(t),t.tooltipPosition&&this.setOption({tooltipPosition:t.tooltipPosition.currentValue}),t.tooltipEvent&&this.setOption({tooltipEvent:t.tooltipEvent.currentValue}),t.appendTo&&this.setOption({appendTo:t.appendTo.currentValue}),t.positionStyle&&this.setOption({positionStyle:t.positionStyle.currentValue}),t.tooltipStyleClass&&this.setOption({tooltipStyleClass:t.tooltipStyleClass.currentValue}),t.tooltipZIndex&&this.setOption({tooltipZIndex:t.tooltipZIndex.currentValue}),t.escape&&this.setOption({escape:t.escape.currentValue}),t.showDelay&&this.setOption({showDelay:t.showDelay.currentValue}),t.hideDelay&&this.setOption({hideDelay:t.hideDelay.currentValue}),t.life&&this.setOption({life:t.life.currentValue}),t.positionTop&&this.setOption({positionTop:t.positionTop.currentValue}),t.positionLeft&&this.setOption({positionLeft:t.positionLeft.currentValue}),t.disabled&&this.setOption({disabled:t.disabled.currentValue}),t.content&&(this.setOption({tooltipLabel:t.content.currentValue}),this.active&&(t.content.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),t.autoHide&&this.setOption({autoHide:t.autoHide.currentValue}),t.id&&this.setOption({id:t.id.currentValue}),t.tooltipOptions&&(this._tooltipOptions=a(a({},this._tooltipOptions),t.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(t){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(t){this.isAutoHide()?this.deactivate():!(h(t.relatedTarget,"p-tooltip")||h(t.relatedTarget,"p-tooltip-text")||h(t.relatedTarget,"p-tooltip-arrow"))&&this.deactivate()}onFocus(t){this.activate()}onBlur(t){this.deactivate()}onInputClick(t){this.deactivate()}activate(){if(!this.interactionInProgress){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let t=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},t)}this.getOption("hideOnEscape")&&(this.documentEscapeListener=this.renderer.listen("document","keydown.escape",()=>{this.deactivate(),this.documentEscapeListener()})),this.interactionInProgress=!0}}deactivate(){this.interactionInProgress=!1,this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide(),this.documentEscapeListener&&this.documentEscapeListener()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let t=document.createElement("div");t.className="p-tooltip-arrow",this.container.appendChild(t),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),this.getOption("appendTo")==="body"?document.body.appendChild(this.container):this.getOption("appendTo")==="target"?f(this.container,this.el.nativeElement):f(this.getOption("appendTo"),this.container),this.container.style.display="none",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){if(!this.containerMouseleaveListener){let t=this.container??this.container.nativeElement;this.containerMouseleaveListener=this.renderer.listen(t,"mouseleave",i=>{this.deactivate()})}}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){if(!this.getOption("tooltipLabel")||this.getOption("disabled"))return;this.create(),this.el.nativeElement.closest("p-dialog")?setTimeout(()=>{this.container&&(this.container.style.display="inline-block"),this.container&&this.align()},100):(this.container.style.display="inline-block",this.align()),k(this.container,250),this.getOption("tooltipZIndex")==="auto"?c.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener()}hide(){this.getOption("tooltipZIndex")==="auto"&&c.clear(this.container),this.remove()}updateText(){let t=this.getOption("tooltipLabel");if(t instanceof E){let i=this.viewContainer.createEmbeddedView(t);i.detectChanges(),i.rootNodes.forEach(o=>this.tooltipText.appendChild(o))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(t))):this.tooltipText.innerHTML=t}align(){let t=this.getOption("tooltipPosition"),i={top:[this.alignTop,this.alignBottom,this.alignRight,this.alignLeft],bottom:[this.alignBottom,this.alignTop,this.alignRight,this.alignLeft],left:[this.alignLeft,this.alignRight,this.alignTop,this.alignBottom],right:[this.alignRight,this.alignLeft,this.alignTop,this.alignBottom]};for(let[o,l]of i[t].entries())if(o===0)l.call(this);else if(this.isOutOfBounds())l.call(this);else break}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let t=this.el.nativeElement.getBoundingClientRect(),i=t.left+M(),o=t.top+V();return{left:i,top:o}}else return{left:0,top:0}}get activeElement(){return this.el.nativeElement.nodeName.startsWith("P-")?g(this.el.nativeElement,".p-component"):this.el.nativeElement}alignRight(){this.preAlign("right");let t=this.activeElement,i=n(t),o=(s(t)-s(this.container))/2;this.alignTooltip(i,o)}alignLeft(){this.preAlign("left");let t=n(this.container),i=(s(this.el.nativeElement)-s(this.container))/2;this.alignTooltip(-t,i)}alignTop(){this.preAlign("top");let t=(n(this.el.nativeElement)-n(this.container))/2,i=s(this.container);this.alignTooltip(t,-i)}alignBottom(){this.preAlign("bottom");let t=(n(this.el.nativeElement)-n(this.container))/2,i=s(this.el.nativeElement);this.alignTooltip(t,i)}alignTooltip(t,i){let o=this.getHostOffset(),l=o.left+t,d=o.top+i;this.container.style.left=l+this.getOption("positionLeft")+"px",this.container.style.top=d+this.getOption("positionTop")+"px"}setOption(t){this._tooltipOptions=a(a({},this._tooltipOptions),t)}getOption(t){return this._tooltipOptions[t]}getTarget(t){return h(t,"p-inputwrapper")?g(t,"input"):t}preAlign(t){this.container.style.left="-999px",this.container.style.top="-999px";let i="p-tooltip p-component p-tooltip-"+t;this.container.className=this.getOption("tooltipStyleClass")?i+" "+this.getOption("tooltipStyleClass"):i}isOutOfBounds(){let t=this.container.getBoundingClientRect(),i=t.top,o=t.left,l=n(this.container),d=s(this.container),v=$();return o+l>v.width||o<0||i<0||i+d>v.height}onWindowResize(t){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new B(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){let t=this.getOption("tooltipEvent");if((t==="hover"||t==="both")&&(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener)),t==="focus"||t==="both"){let i=this.el.nativeElement.querySelector(".p-component");i||(i=this.getTarget(this.el.nativeElement)),i.removeEventListener("focus",this.focusListener),i.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):z(this.getOption("appendTo"),this.container)),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),super.ngOnDestroy(),this.container&&c.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.documentEscapeListener&&this.documentEscapeListener()}static \u0275fac=function(i){return new(i||e)(u(y),u(w))};static \u0275dir=D({type:e,selectors:[["","pTooltip",""]],inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:[2,"escape","escape",p],showDelay:[2,"showDelay","showDelay",r],hideDelay:[2,"hideDelay","hideDelay",r],life:[2,"life","life",r],positionTop:[2,"positionTop","positionTop",r],positionLeft:[2,"positionLeft","positionLeft",r],autoHide:[2,"autoHide","autoHide",p],fitContent:[2,"fitContent","fitContent",p],hideOnEscape:[2,"hideOnEscape","hideOnEscape",p],content:[0,"pTooltip","content"],disabled:[0,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[H([Z]),S,T]})}return e})(),et=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=x({type:e});static \u0275inj=b({})}return e})();export{tt as a,et as b};
@@ -1,2 +0,0 @@
1
- import{a as K}from"./chunk-W3JTS22H.js";import{d as J}from"./chunk-6OMSPZZC.js";import{a as $}from"./chunk-JVNHFIYT.js";import{a as Q,d as U}from"./chunk-5PS6ZS3N.js";import{M as v,k as H,m as Y,v as Z}from"./chunk-GZKOMS4T.js";import{Aa as M,Ac as F,Bc as P,Cc as N,Fa as z,Fc as G,Gb as E,Hb as T,Ka as _,Mb as R,Pa as x,Qc as X,Xa as D,Xb as h,Yb as m,_b as g,ac as S,dc as L,ia as y,ic as d,jc as r,jd as j,ka as k,kc as l,ma as I,oc as A,od as o,pa as a,pc as q,pd as B,rb as n,tc as p,vc as V,wc as O,xa as C,ya as b,za as u}from"./chunk-OJMQBH6T.js";var ie=["switch"],ce=["*"];function ae(c,f){c&1&&(d(0,"span",10),M(),d(1,"svg",12),l(2,"path",13),r(),d(3,"svg",14),l(4,"path",15),r()())}var de=new I("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),se={provide:Q,useExisting:y(()=>W),multi:!0},w=class{source;checked;constructor(f,t){this.source=f,this.checked=t}},W=(()=>{class c{_elementRef=a(x);_focusMonitor=a(H);_changeDetectorRef=a(j);defaults=a(de);_onChange=t=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(t){return new w(this,t)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations;_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(t){this._checked=t,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new _;toggleChange=new _;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){a(Y).load($);let t=a(new z("tabindex"),{optional:!0}),i=this.defaults,e=a(D,{optional:!0});this.tabIndex=t==null?0:parseInt(t)||0,this.color=i.color||"accent",this._noopAnimations=e==="NoopAnimations",this.id=this._uniqueId=a(Z).getId("mat-mdc-slide-toggle-"),this.hideIcon=i.hideIcon??!1,this.disabledInteractive=i.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t==="keyboard"||t==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):t||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(t){t.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorOnChange=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new w(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||c)};static \u0275cmp=E({type:c,selectors:[["mat-slide-toggle"]],viewQuery:function(i,e){if(i&1&&F(ie,5),i&2){let s;P(s=N())&&(e._switchElement=s.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,e){i&2&&(q("id",e.id),h("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),S(e.color?"mat-"+e.color:""),g("mat-mdc-slide-toggle-focused",e._focused)("mat-mdc-slide-toggle-checked",e.checked)("_mat-animation-noopable",e._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",o],color:"color",disabled:[2,"disabled","disabled",o],disableRipple:[2,"disableRipple","disableRipple",o],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:B(t)],checked:[2,"checked","checked",o],hideIcon:[2,"hideIcon","hideIcon",o],disabledInteractive:[2,"disabledInteractive","disabledInteractive",o]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[X([se,{provide:U,useExisting:c,multi:!0}]),C],ngContentSelectors:ce,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,e){if(i&1){let s=A();V(),d(0,"div",1)(1,"button",2,0),p("click",function(){return b(s),u(e._handleClick())}),l(3,"span",3),d(4,"span",4)(5,"span",5)(6,"span",6),l(7,"span",7),r(),d(8,"span",8),l(9,"span",9),r(),R(10,ae,5,0,"span",10),r()()(),d(11,"label",11),p("click",function(te){return b(s),u(te.stopPropagation())}),O(12),r()()}if(i&2){let s=G(2);m("labelPosition",e.labelPosition),n(),g("mdc-switch--selected",e.checked)("mdc-switch--unselected",!e.checked)("mdc-switch--checked",e.checked)("mdc-switch--disabled",e.disabled)("mat-mdc-slide-toggle-disabled-interactive",e.disabledInteractive),m("tabIndex",e.disabled&&!e.disabledInteractive?-1:e.tabIndex)("disabled",e.disabled&&!e.disabledInteractive),h("id",e.buttonId)("name",e.name)("aria-label",e.ariaLabel)("aria-labelledby",e._getAriaLabelledBy())("aria-describedby",e.ariaDescribedby)("aria-required",e.required||null)("aria-checked",e.checked)("aria-disabled",e.disabled&&e.disabledInteractive?"true":null),n(8),m("matRippleTrigger",s)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0),n(),L(e.hideIcon?-1:10),n(),m("for",e.buttonId),h("id",e._labelId)}},dependencies:[J,K],styles:[`.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height, 32px);border-radius:var(--mdc-switch-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width, 2px);border-color:var(--mat-switch-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width, 2px);border-color:var(--mat-switch-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity, 1);transition:var(--mat-switch-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity, 0);transition:var(--mat-switch-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-sys-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size, 16px);height:var(--mat-switch-unselected-handle-size, 16px);margin:var(--mat-switch-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size, 24px);height:var(--mat-switch-selected-handle-size, 24px);margin:var(--mat-switch-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size, 24px);height:var(--mat-switch-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size, 28px);height:var(--mat-switch-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity, 0.38)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size, 40px);height:var(--mdc-switch-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 16px);height:var(--mdc-switch-unselected-icon-size, 16px);fill:var(--mdc-switch-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 16px);height:var(--mdc-switch-selected-icon-size, 16px);fill:var(--mdc-switch-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-sys-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}
2
- `],encapsulation:2,changeDetection:0})}return c})();var De=(()=>{class c{static \u0275fac=function(i){return new(i||c)};static \u0275mod=T({type:c});static \u0275inj=k({imports:[W,v,v]})}return c})();export{W as a,De as b};
@@ -1 +0,0 @@
1
- import{a as T}from"./chunk-UMP6ZMEJ.js";import{a as H}from"./chunk-63ANFYRV.js";import{c as Z}from"./chunk-EUYQST7Q.js";import{A as N}from"./chunk-5PS6ZS3N.js";import{b as j,c as L}from"./chunk-ERXVXBTU.js";import{r as $,s as A}from"./chunk-MFQQEEHJ.js";import{d as U,f as F,g as M,n as z}from"./chunk-FXQKRJWU.js";import{Fc as S,Gb as B,Gc as u,Hc as k,Ic as D,Ka as b,Mb as d,Sc as h,Tc as V,Vc as R,Yb as _,cd as y,dc as w,ic as r,jc as c,kc as s,lc as p,mc as m,oc as x,pb as E,rb as o,tc as f,uc as a,xb as I,xc as O,ya as C,za as g}from"./chunk-OJMQBH6T.js";var W=(t,i,n,l)=>[t,i,n,l],v=t=>[t],q=(t,i)=>[t,i],J=t=>({"me-3":t}),K=t=>({"border-bottom pb-2":t});function G(t,i){if(t&1){let n=x();p(0),r(1,"img",19),f("click",function(e){C(n);let P=a();return g(P.openBiggerPicture(e))}),c(),m()}if(t&2){let n=a();o(),_("src",n.image,E)}}function Q(t,i){t&1&&s(0,"img",20)}function X(t,i){if(t&1&&(p(0),r(1,"span",24)(2,"a",25),s(3,"i",26),c()(),m()),t&2){let n=a(2);o(2),_("href",n.redirectUrl,E)}}function Y(t,i){if(t&1&&(r(0,"div",21),s(1,"i",22),r(2,"span"),u(3),c(),d(4,X,4,1,"ng-container",23),c()),t&2){let n=a();o(3),k(n.code),o(),_("ngIf",n.code!=="SKU not assigned"&&n.showRedirectIcon)}}function tt(t,i){if(t&1){let n=x();r(0,"div",27),f("click",function(){C(n);let e=a();return g(e.onEventDesc())}),s(1,"i",28),r(2,"span"),u(3),c()()}if(t&2){let n=a();o(3),k(n.description)}}function nt(t,i){if(t&1){let n=x();r(0,"div",30)(1,"input",31),f("change",function(e){C(n);let P=a(2);return g(P.onCheck(e.target.checked))}),c()()}}function et(t,i){if(t&1&&(p(0),d(1,nt,2,0,"div",29),m()),t&2){let n=a();o(),_("ngIf",n.showCheckBox)}}function it(t,i){if(t&1){let n=x();r(0,"button",34),f("click",function(){C(n);let e=a(3);return g(e.onDownload())}),s(1,"i",35),u(2,"Download "),c()}}function ot(t,i){if(t&1&&(p(0),d(1,it,3,0,"button",33),m()),t&2){let n=a(2);o(),_("ngIf",n.downloadButton)}}function at(t,i){}function rt(t,i){if(t&1){let n=x();r(0,"li")(1,"a",42),f("click",function(){C(n);let e=a(6);return g(e.onScan())}),s(2,"i",43),u(3,"Scan "),c()()}}function ct(t,i){if(t&1&&(p(0),d(1,rt,4,0,"li"),m()),t&2){let n=a(5);o(),w(n.scanButton?1:-1)}}function lt(t,i){if(t&1){let n=x();r(0,"li")(1,"a",44),f("click",function(){C(n);let e=a(6);return g(e.onDetach())}),s(2,"i",45),u(3,"Detach "),c()()}}function _t(t,i){if(t&1&&(p(0),d(1,lt,4,0,"li"),m()),t&2){let n=a(5);o(),w(n.detachButton?1:-1)}}function dt(t,i){if(t&1&&(p(0),r(1,"div",39),s(2,"button",40),r(3,"ul",41),d(4,ct,2,1,"ng-container",17)(5,_t,2,1,"ng-container",17),c()(),m()),t&2){let n=a(4);o(4),_("ngxPermissionsOnly",h(2,v,n.productScanRole)),o(),_("ngxPermissionsOnly",h(4,v,n.productDetachRole))}}function st(t,i){if(t&1){let n=x();r(0,"button",37),f("click",function(){C(n);let e=a(3);return g(e.onUpload())}),s(1,"i",38),u(2,"Upload "),c(),d(3,dt,6,6,"ng-container",17)}if(t&2){let n=a(3);o(3),_("ngxPermissionsOnly",V(1,q,n.productScanRole,n.productDetachRole))}}function pt(t,i){if(t&1){let n=x();r(0,"button",34),f("click",function(){C(n);let e=a(5);return g(e.onScan())}),s(1,"i",47),u(2," Scan "),c()}}function mt(t,i){if(t&1&&(p(0),d(1,pt,3,0,"button",46),m()),t&2){let n=a(4);o(),w(n.scanButton?1:-1)}}function ut(t,i){if(t&1){let n=x();r(0,"button",49),f("click",function(){C(n);let e=a(5);return g(e.onDetach())}),s(1,"i",45),u(2,"Detach "),c()}}function Ct(t,i){if(t&1&&(p(0),d(1,ut,3,0,"button",48),m()),t&2){let n=a(4);o(),w(n.detachButton?1:-1)}}function gt(t,i){if(t&1&&d(0,mt,2,1,"ng-container",17)(1,Ct,2,1,"ng-container",17),t&2){let n=a(3);_("ngxPermissionsOnly",h(2,v,n.productScanRole)),o(),_("ngxPermissionsOnly",h(4,v,n.productDetachRole))}}function xt(t,i){if(t&1&&(r(0,"div",32),d(1,at,0,0,"ng-template",36)(2,st,4,4,"ng-template",null,1,y)(4,gt,2,6,"ng-template",null,2,y),c()),t&2){let n=S(3),l=S(5),e=a(2);o(),_("ngxPermissionsOnly",h(3,v,e.productUploadRole))("ngxPermissionsOnlyThen",n)("ngxPermissionsOnlyElse",l)}}function ft(t,i){if(t&1){let n=x();r(0,"button",34),f("click",function(){C(n);let e=a(4);return g(e.onScan())}),s(1,"i",47),u(2," Scan "),c()}}function ht(t,i){if(t&1&&(p(0),d(1,ft,3,0,"button",46),m()),t&2){let n=a(3);o(),w(n.scanButton?1:-1)}}function wt(t,i){if(t&1){let n=x();r(0,"button",51),f("click",function(){C(n);let e=a(4);return g(e.onDetach())}),s(1,"i",45),u(2,"Detach "),c()}}function vt(t,i){if(t&1&&(p(0),d(1,wt,3,0,"button",50),m()),t&2){let n=a(3);o(),w(n.detachButton?1:-1)}}function Pt(t,i){if(t&1&&d(0,ht,2,1,"ng-container",17)(1,vt,2,1,"ng-container",17),t&2){let n=a(2);_("ngxPermissionsOnly",h(2,v,n.productScanRole)),o(),_("ngxPermissionsOnly",h(4,v,n.productDetachRole))}}function bt(t,i){if(t&1&&(p(0),r(1,"a",53),s(2,"img",54),c(),m()),t&2){let n=i.$implicit,l=i.index,e=a(4);o(),O("href",n.Url,E),o(),_("ngClass",h(4,J,l!=e.channels.length-1))("src",e.getChannelLogo(n),E)("matTooltip",n.Title?n.Title:n.Name)}}function Et(t,i){if(t&1&&(p(0),d(1,bt,3,6,"ng-container",52),m()),t&2){let n=a(3);o(),_("ngForOf",n.channels)}}function St(t,i){if(t&1&&(r(0,"li")(1,"div",58)(2,"div",59)(3,"a",53),s(4,"img",60),r(5,"span",61),u(6),c()()()()()),t&2){let n=i.$implicit,l=i.index,e=a(4);o(2),_("ngClass",h(4,K,l!=e.channels.length-1)),o(),_("href",n.Url,E),o(),_("src",e.getChannelLogo(n),E),o(2),k(n.Title)}}function yt(t,i){if(t&1&&(r(0,"div",55)(1,"button",56),u(2),c(),r(3,"ul",57),d(4,St,7,6,"li",52),c()()),t&2){let n=a(3);o(2),D(" ",n.channels.length," CHANNELS "),o(2),_("ngForOf",n.channels)}}function Tt(t,i){if(t&1&&(r(0,"div"),d(1,Et,2,1,"ng-container",10)(2,yt,5,2,"ng-template",null,3,y),c()),t&2){let n=S(3),l=a(2);o(),_("ngIf",l.channels.length<4)("ngIfElse",n)}}function kt(t,i){if(t&1&&(r(0,"div",18)(1,"div"),d(2,ot,2,1,"ng-container",17)(3,xt,6,5,"div",32)(4,Pt,2,6),c(),d(5,Tt,4,2,"div"),c()),t&2){let n=a();o(2),_("ngxPermissionsOnly",h(3,v,n.productDownloadRole)),o(),w(n.uploadButton?3:4),o(2),w(n.channels&&(n.channels==null?null:n.channels.length)>0?5:-1)}}var Ht=(()=>{class t{constructor(n){this.biggerPictureService=n,this.uploadButton=!1,this.scanButton=!1,this.showCheckBox=!1,this.downloadButton=!1,this.showFooter=!0,this.detachButton=!1,this.hasZoom=!0,this.showRedirectIcon=!0,this.productUploadRole=T.ProductUpload,this.productScanRole=T.ProductScan,this.productDownloadRole=T.ProductDownload,this.productDetachRole=T.ProductDetach,this.onUploadEvent=new b,this.onScanEvent=new b,this.checkBoxChange=new b,this.onDescEvent=new b,this.onDownloadEvent=new b,this.onDetachEvent=new b}ngAfterContentInit(){this.initRedirectUrl()}initRedirectUrl(){let n=localStorage.getItem("Authorization"),l=JSON.parse(n)?.Host;this.redirectUrl=`https://${l}/menu/Products/Catalog/Products/Info?ID=${this.productId}`}onUpload(){this.onUploadEvent.emit()}onScan(){this.onScanEvent.emit()}onCheck(n){this.checkBoxChange.emit(n)}onEventDesc(){this.onDescEvent.emit()}onDownload(){this.onDownloadEvent.emit()}onDetach(){this.onDetachEvent.emit()}getChannelLogo(n){return Z.getChannelLogoByTypeId(n.TypeID)}openBiggerPicture(n){this.biggerPictureService.openBiggerPicture(n,this.imageForZoom)}static{this.\u0275fac=function(l){return new(l||t)(I(H))}}static{this.\u0275cmp=B({type:t,selectors:[["app-product-card"]],inputs:{productId:"productId",uploadButton:"uploadButton",scanButton:"scanButton",showCheckBox:"showCheckBox",downloadButton:"downloadButton",showFooter:"showFooter",detachButton:"detachButton",image:"image",title:"title",code:"code",description:"description",channels:"channels",check:"check",imageForZoom:"imageForZoom",hasZoom:"hasZoom",showRedirectIcon:"showRedirectIcon"},outputs:{onUploadEvent:"onUpload",onScanEvent:"onScan",checkBoxChange:"onCheckBoxChange",onDescEvent:"onDescEvent",onDownloadEvent:"onDownload",onDetachEvent:"onDetach"},decls:18,vars:13,consts:[["elsePic",""],["thenBlock",""],["elseBlock",""],["DROPDOWN",""],[1,"card",2,"margin-bottom","0px"],[1,"card-body","py-6"],[1,"row"],[1,"col-4"],[1,"productUpload_defaultSize","me-2","image-upload"],[1,"imgContainer"],[4,"ngIf","ngIfElse"],[1,"col-7","d-inline-block","justify-content-between","gx-0",2,"padding-left","0px"],[1,"itemTitle","cursor-pointer",3,"click","matTooltip"],["class","description cursor-pointer",4,"ngIf"],["class","description cursor-pointer",3,"click",4,"ngIf"],[1,"col-1","gx-0","d-flex","justify-content-center"],[1,"text-end"],[4,"ngxPermissionsOnly"],[1,"card-footer","d-flex","justify-content-between","py-5","bg-footer","align-items-center",2,"border-top","0.1px solid rgb(220 220 220)"],[1,"rounded","imgUpload","float-left",3,"click","src"],["src","https://resc.cloudinary.com/pos/image/upload/w_110/POS/Images/Icon/products_thumb.png",1,"rounded","float-left","imgUpload"],[1,"description","cursor-pointer"],[1,"fa","fa-barcode","me-2"],[4,"ngIf"],[1,"ms-2"],["target","_blank",2,"color","#0976b4",3,"href"],[1,"fa-solid","fa-arrow-up-right-from-square","external-link-custom"],[1,"description","cursor-pointer",3,"click"],[1,"fa","fa-tag","me-2"],["class","text-end gx-0",4,"ngIf"],[1,"text-end","gx-0"],["type","checkbox",3,"change"],["role","group","aria-label","Scan button with other button",1,"btn-group","btn-sm"],["class","fs-6 btn btn-light btn-sm me-3",3,"click",4,"ngIf"],[1,"fs-6","btn","btn-light","btn-sm","me-3",3,"click"],["aria-hidden","true",1,"fa","fa-download","me-1"],[3,"ngxPermissionsOnly","ngxPermissionsOnlyThen","ngxPermissionsOnlyElse"],["type","button",1,"fs-6","btn","btn-light","btn-sm",3,"click"],["aria-hidden","true",1,"fa","fa-upload","me-1"],["role","group",1,"btn-group"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"fs-6","btn","btn-light","btn-sm","dropdown-toggle","ps-3"],[1,"dropdown-menu",2,"min-width","100px !important"],[1,"dropdown-item","cursor-pointer",3,"click"],[1,"fa","fa-spinner","me-2"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"dropdown-item","cursor-pointer",3,"click"],[1,"fa-sharp","fa-link-slash","me-2"],[1,"fs-6","btn","btn-light","btn-sm","me-3"],[1,"fa","fa-spinner","me-1"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"fs-6","btn","btn-light","btn-sm"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"fs-6","btn","btn-light","btn-sm",3,"click"],[1,"fs-6","btn","btn-light","btn-sm"],[1,"fs-6","btn","btn-light","btn-sm",3,"click"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],["alt","",1,"img-logo",3,"ngClass","src","matTooltip"],[1,"dropdown"],["type","button","id","dropdownMenuButton1","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","fs-6","btn-sm","btn-light","dropdown-toggle"],[1,"dropdown-menu"],[1,"dropdown-item","py-2",2,"cursor","pointer"],[3,"ngClass"],[1,"img-logo",3,"src"],[1,"ms-4"]],template:function(l,e){if(l&1){let P=x();r(0,"div",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8)(5,"div",9),d(6,G,2,1,"ng-container",10)(7,Q,1,0,"ng-template",null,0,y),c()()(),r(9,"div",11)(10,"h4",12),f("click",function(){return C(P),g(e.onEventDesc())}),u(11),c(),d(12,Y,5,2,"div",13)(13,tt,4,1,"div",14),c(),r(14,"div",15)(15,"div",16),d(16,et,2,1,"ng-container",17),c()()()(),d(17,kt,6,5,"div",18),c()}if(l&2){let P=S(8);o(6),_("ngIf",e.image)("ngIfElse",P),o(4),_("matTooltip",(e.title==null?null:e.title.length)>25?e.title:""),o(),D(" ",e.title," "),o(),_("ngIf",e.code),o(),_("ngIf",e.description),o(3),_("ngxPermissionsOnly",R(8,W,e.productDownloadRole,e.productScanRole,e.productUploadRole,e.productDetachRole)),o(),w(e.showFooter?17:-1)}},dependencies:[z,U,F,M,N,A,$,L,j],styles:[".img-logo[_ngcontent-%COMP%]{height:24px;width:24px}.itemTitle[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}.bg-footer[_ngcontent-%COMP%]{background-color:#ededed69}.description[_ngcontent-%COMP%]{font-weight:300;margin-left:2px}.productUpload_defaultSize[_ngcontent-%COMP%]{max-width:100px!important;max-height:100px!important;width:auto!important;height:auto!important}.image-upload[_ngcontent-%COMP%]{position:relative}.imgContainer[_ngcontent-%COMP%]{width:100%;height:100px}.imgUpload[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down;cursor:pointer}.dropdown[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:unset!important}"]})}}return t})();export{Ht as a};
@@ -1 +0,0 @@
1
- var u=function(n){return n.USER="user",n.CHANNELS="channels",n.AUTHORIZATION="Authorization",n.INTERCOM="Intercom",n}(u||{});export{u as a};
@@ -1,3 +0,0 @@
1
- import{a as T}from"./chunk-Z3ITXK3D.js";import{a as Ke,b as me,c as ze,d as Ve,e as Se,f as qe,g as ve,h as Ge,i as J,j as we,k as y}from"./chunk-TGMCGROM.js";import{a as Xe}from"./chunk-CGOB6Y3X.js";import{e as re}from"./chunk-WN5DZGA4.js";import{b as ge,c as j}from"./chunk-EUYQST7Q.js";import{b as Je}from"./chunk-V3USB3ZU.js";import{a as Ze}from"./chunk-ERXVXBTU.js";import{G as We,n as Ue,o as $e,p as He}from"./chunk-FXQKRJWU.js";import{F as Oe,G as Ne,Hb as H,La as U,O as de,Ra as te,T as Me,Wa as $,Z as he,aa as x,ba as pe,c as g,dd as Le,ea as q,ed as Fe,f as Q,id as G,j as xe,ja as A,k as Re,ka as L,ma as E,n as z,o as ee,oa as h,p as R,pa as F,q as V,qa as Be,ua as fe,v as D,w as je}from"./chunk-OJMQBH6T.js";import{a as ue,i as b}from"./chunk-66YHNWRR.js";var Ye={production:!0,version:"5.46.7",firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},news:"https://changelog.dealpos.app/umbraco/delivery/api/v2/content?fetch=children:omni&sort=sortOrder:asc"};var wt="firebase",kt="11.10.0";J(wt,kt,"app");var W=new Le("ANGULARFIRE2_VERSION");var Qe=(r,s)=>{let e=s?[s]:Ge(),t=[];return e.forEach(n=>{n.container.getProvider(r).instances.forEach(i=>{t.includes(i)||t.push(i)})}),t},ke=function(r){return r[r.SILENT=0]="SILENT",r[r.WARN=1]="WARN",r[r.VERBOSE=2]="VERBOSE",r}(ke||{}),Pr=G()&&typeof Zone<"u"?ke.WARN:ke.SILENT;var ne=class{zone;delegate;constructor(s,e=Re){this.zone=s,this.delegate=e}now(){return this.delegate.now()}schedule(s,e,t){let n=this.zone,o=function(i){n?n.runGuarded(()=>{s.apply(this,[i])}):s.apply(this,[i])};return this.delegate.schedule(o,e,t)}},Ae=(()=>{class r{outsideAngular;insideAngular;constructor(){let e=F(U);this.outsideAngular=e.runOutsideAngular(()=>new ne(typeof Zone>"u"?void 0:Zone.current)),this.insideAngular=e.run(()=>new ne(typeof Zone>"u"?void 0:Zone.current,xe))}static \u0275fac=function(t){return new(t||r)};static \u0275prov=A({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var It=new Map,bt={activated:!1,tokenObservers:[]},Et={initialized:!1,enabled:!1};function C(r){return It.get(r)||Object.assign({},bt)}function nt(){return Et}var Tt="https://content-firebaseappcheck.googleapis.com/v1";var yt="exchangeDebugToken",et={OFFSET_DURATION:5*60*1e3,RETRIAL_MIN_WAIT:30*1e3,RETRIAL_MAX_WAIT:16*60*1e3},Fr=24*60*60*1e3;var Ee=class{constructor(s,e,t,n,o){if(this.operation=s,this.retryPolicy=e,this.getWaitDuration=t,this.lowerBound=n,this.upperBound=o,this.pending=null,this.nextErrorWaitInterval=n,n>o)throw new Error("Proactive refresh lower bound greater than upper bound!")}start(){this.nextErrorWaitInterval=this.lowerBound,this.process(!0).catch(()=>{})}stop(){this.pending&&(this.pending.reject("cancelled"),this.pending=null)}isRunning(){return!!this.pending}process(s){return b(this,null,function*(){this.stop();try{this.pending=new me,this.pending.promise.catch(e=>{}),yield Ct(this.getNextRun(s)),this.pending.resolve(),yield this.pending.promise,this.pending=new me,this.pending.promise.catch(e=>{}),yield this.operation(),this.pending.resolve(),yield this.pending.promise,this.process(!0).catch(()=>{})}catch(e){this.retryPolicy(e)?this.process(!1).catch(()=>{}):this.stop()}})}getNextRun(s){if(s)return this.nextErrorWaitInterval=this.lowerBound,this.getWaitDuration();{let e=this.nextErrorWaitInterval;return this.nextErrorWaitInterval*=2,this.nextErrorWaitInterval>this.upperBound&&(this.nextErrorWaitInterval=this.upperBound),e}}};function Ct(r){return new Promise(s=>{setTimeout(s,r)})}var Pt={"already-initialized":"You have already called initializeAppCheck() for FirebaseApp {$appName} with different options. To avoid this error, call initializeAppCheck() with the same options as when it was originally called. This will return the already initialized instance.","use-before-activation":"App Check is being used before initializeAppCheck() is called for FirebaseApp {$appName}. Call initializeAppCheck() before instantiating other Firebase services.","fetch-network-error":"Fetch failed to connect to a network. Check Internet connection. Original error: {$originalErrorMessage}.","fetch-parse-error":"Fetch client could not parse response. Original error: {$originalErrorMessage}.","fetch-status-error":"Fetch server returned an HTTP error status. HTTP status: {$httpStatus}.","storage-open":"Error thrown when opening storage. Original error: {$originalErrorMessage}.","storage-get":"Error thrown when reading from storage. Original error: {$originalErrorMessage}.","storage-set":"Error thrown when writing to storage. Original error: {$originalErrorMessage}.","recaptcha-error":"ReCAPTCHA error.","initial-throttle":"{$httpStatus} error. Attempts allowed again after {$time}",throttled:"Requests throttled due to previous {$httpStatus} error. Attempts allowed again after {$time}"},N=new Ve("appCheck","AppCheck",Pt);function ot(r){if(!C(r).activated)throw N.create("use-before-activation",{appName:r.name})}function it(t,n){return b(this,arguments,function*({url:r,body:s},e){let o={"Content-Type":"application/json"},i=e.getImmediate({optional:!0});if(i){let f=yield i.getHeartbeatsHeader();f&&(o["X-Firebase-Client"]=f)}let a={method:"POST",body:JSON.stringify(s),headers:o},l;try{l=yield fetch(r,a)}catch(f){throw N.create("fetch-network-error",{originalErrorMessage:f?.message})}if(l.status!==200)throw N.create("fetch-status-error",{httpStatus:l.status});let c;try{c=yield l.json()}catch(f){throw N.create("fetch-parse-error",{originalErrorMessage:f?.message})}let d=c.ttl.match(/^([\d.]+)(s)$/);if(!d||!d[2]||isNaN(Number(d[1])))throw N.create("fetch-parse-error",{originalErrorMessage:`ttl field (timeToLive) is not in standard Protobuf Duration format: ${c.ttl}`});let u=Number(d[1])*1e3,p=Date.now();return{token:c.token,expireTimeMillis:p+u,issuedAtTimeMillis:p}})}function st(r,s){let{projectId:e,appId:t,apiKey:n}=r.options;return{url:`${Tt}/projects/${e}/apps/${t}:${yt}?key=${n}`,body:{debug_token:s}}}var Dt="firebase-app-check-database",_t=1,Te="firebase-app-check-store";var oe=null;function xt(){return oe||(oe=new Promise((r,s)=>{try{let e=indexedDB.open(Dt,_t);e.onsuccess=t=>{r(t.target.result)},e.onerror=t=>{var n;s(N.create("storage-open",{originalErrorMessage:(n=t.target.error)===null||n===void 0?void 0:n.message}))},e.onupgradeneeded=t=>{let n=t.target.result;switch(t.oldVersion){case 0:n.createObjectStore(Te,{keyPath:"compositeKey"})}}}catch(e){s(N.create("storage-open",{originalErrorMessage:e?.message}))}}),oe)}function Rt(r,s){return jt(Ot(r),s)}function jt(r,s){return b(this,null,function*(){let t=(yield xt()).transaction(Te,"readwrite"),o=t.objectStore(Te).put({compositeKey:r,value:s});return new Promise((i,a)=>{o.onsuccess=l=>{i()},t.onerror=l=>{var c;a(N.create("storage-set",{originalErrorMessage:(c=l.target.error)===null||c===void 0?void 0:c.message}))}})})}function Ot(r){return`${r.options.appId}-${r.name}`}var Z=new qe("@firebase/app-check");function Ie(r,s){return ze()?Rt(r,s).catch(e=>{Z.warn(`Failed to write token to IndexedDB. Error: ${e}`)}):Promise.resolve()}function at(){return nt().enabled}function ct(){return b(this,null,function*(){let r=nt();if(r.enabled&&r.token)return r.token.promise;throw Error(`
2
- Can't get debug token in production mode.
3
- `)})}var Nt={error:"UNKNOWN_ERROR"};function Mt(r){return Ke.encodeString(JSON.stringify(r),!1)}function ye(r,s=!1,e=!1){return b(this,null,function*(){let t=r.app;ot(t);let n=C(t),o=n.token,i;if(o&&!X(o)&&(n.token=void 0,o=void 0),!o){let c=yield n.cachedTokenPromise;c&&(X(c)?o=c:yield Ie(t,void 0))}if(!s&&o&&X(o))return{token:o.token};let a=!1;if(at())try{n.exchangeTokenPromise||(n.exchangeTokenPromise=it(st(t,yield ct()),r.heartbeatServiceProvider).finally(()=>{n.exchangeTokenPromise=void 0}),a=!0);let c=yield n.exchangeTokenPromise;return yield Ie(t,c),n.token=c,{token:c.token}}catch(c){return c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?Z.warn(c.message):e&&Z.error(c),be(c)}try{n.exchangeTokenPromise||(n.exchangeTokenPromise=n.provider.getToken().finally(()=>{n.exchangeTokenPromise=void 0}),a=!0),o=yield C(t).exchangeTokenPromise}catch(c){c.code==="appCheck/throttled"||c.code==="appCheck/initial-throttle"?Z.warn(c.message):e&&Z.error(c),i=c}let l;return o?i?X(o)?l={token:o.token,internalError:i}:l=be(i):(l={token:o.token},n.token=o,yield Ie(t,o)):l=be(i),a&&Ut(t,l),l})}function Bt(r){return b(this,null,function*(){let s=r.app;ot(s);let{provider:e}=C(s);if(at()){let t=yield ct(),{token:n}=yield it(st(s,t),r.heartbeatServiceProvider);return{token:n}}else{let{token:t}=yield e.getToken();return{token:t}}})}function Lt(r,s,e,t){let{app:n}=r,o=C(n),i={next:e,error:t,type:s};if(o.tokenObservers=[...o.tokenObservers,i],o.token&&X(o.token)){let a=o.token;Promise.resolve().then(()=>{e({token:a.token}),tt(r)}).catch(()=>{})}o.cachedTokenPromise.then(()=>tt(r))}function lt(r,s){let e=C(r),t=e.tokenObservers.filter(n=>n.next!==s);t.length===0&&e.tokenRefresher&&e.tokenRefresher.isRunning()&&e.tokenRefresher.stop(),e.tokenObservers=t}function tt(r){let{app:s}=r,e=C(s),t=e.tokenRefresher;t||(t=Ft(r),e.tokenRefresher=t),!t.isRunning()&&e.isTokenAutoRefreshEnabled&&t.start()}function Ft(r){let{app:s}=r;return new Ee(()=>b(null,null,function*(){let e=C(s),t;if(e.token?t=yield ye(r,!0):t=yield ye(r),t.error)throw t.error;if(t.internalError)throw t.internalError}),()=>!0,()=>{let e=C(s);if(e.token){let t=e.token.issuedAtTimeMillis+(e.token.expireTimeMillis-e.token.issuedAtTimeMillis)*.5+3e5,n=e.token.expireTimeMillis-5*60*1e3;return t=Math.min(t,n),Math.max(0,t-Date.now())}else return 0},et.RETRIAL_MIN_WAIT,et.RETRIAL_MAX_WAIT)}function Ut(r,s){let e=C(r).tokenObservers;for(let t of e)try{t.type==="EXTERNAL"&&s.error!=null?t.error(s.error):t.next(s)}catch{}}function X(r){return r.expireTimeMillis-Date.now()>0}function be(r){return{token:Mt(Nt),error:r}}var Ce=class{constructor(s,e){this.app=s,this.heartbeatServiceProvider=e}_delete(){let{tokenObservers:s}=C(this.app);for(let e of s)lt(this.app,e.next);return Promise.resolve()}};function $t(r,s){return new Ce(r,s)}function Ht(r){return{getToken:s=>ye(r,s),getLimitedUseToken:()=>Bt(r),addTokenListener:s=>Lt(r,"INTERNAL",s),removeTokenListener:s=>lt(r.app,s)}}var Wt="@firebase/app-check",Kt="0.10.1";var zt="app-check",rt="app-check-internal";function Vt(){ve(new Se(zt,r=>{let s=r.getProvider("app").getImmediate(),e=r.getProvider("heartbeat");return $t(s,e)},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((r,s,e)=>{r.getProvider(rt).initialize()})),ve(new Se(rt,r=>{let s=r.getProvider("app-check").getImmediate();return Ht(s)},"PUBLIC").setInstantiationMode("EXPLICIT")),J(Wt,Kt)}Vt();var qt="app-check";var ie=class{constructor(){return Qe(qt)}};var Gt=["localhost","0.0.0.0","127.0.0.1"],en=typeof window<"u"&&Gt.includes(window.location.hostname);var ut=(()=>{class r{constructor(){}getParseToken(){let e=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken(e.Token.access_token)}GetRoles(){let t=this.getParseToken()["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"];return typeof t=="string"&&(t=[t]),t||[]}ParseToken(e){try{let n=e.split(".")[0].replace("-","+").replace("_","/"),o=JSON.parse(window.atob(n)),a=e.split(".")[1].replace("-","+").replace("_","/"),l=JSON.parse(window.atob(a));return l.header=o,l}catch{return!1}}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=A({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Xt="firebase",Yt="11.10.0";y.registerVersion(Xt,Yt,"app-compat");var Qt=["ngOnDestroy"],ht=(r,s,e,t={})=>new Proxy(r,{get:(n,o)=>e.runOutsideAngular(()=>{if(r[o])return t?.spy?.get&&t.spy.get(o,r[o]),r[o];if(Qt.indexOf(o)>-1)return()=>{};let i=s.toPromise().then(a=>{let l=a?.[o];return typeof l=="function"?l.bind(a):l?.then?l.then(c=>e.run(()=>c)):e.run(()=>l)});return new Proxy(()=>{},{get:(a,l)=>i[l],apply:(a,l,c)=>i.then(d=>{let u=d?.(...c);return t?.spy?.apply&&t.spy.apply(o,c,u),u})})})});var se=class{constructor(s){return s}},ae=new E("angularfire2.app.options"),ce=new E("angularfire2.app.name");function Pe(r,s,e){let t=typeof e=="string"&&e||"[DEFAULT]",n=typeof e=="object"&&e||{};n.name=n.name||t;let i=y.apps.filter(a=>a&&a.name===n.name)[0]||s.runOutsideAngular(()=>y.initializeApp(r,n));try{if(JSON.stringify(r)!==JSON.stringify(i.options)){let a=!!module.hot;er("error",`${i.name} Firebase App already initialized with different options${a?", you may need to reload as Firebase is not HMR aware.":"."}`)}}catch{}return new se(i)}var er=(r,...s)=>{G()&&typeof console<"u"&&console[r](...s)},tr={provide:se,useFactory:Pe,deps:[ae,U,[new Be,ce]]},Go=(()=>{class r{static initializeApp(e,t){return{ngModule:r,providers:[{provide:ae,useValue:e},{provide:ce,useValue:t}]}}constructor(e){y.registerVersion("angularfire",W.full,"core"),y.registerVersion("angularfire",W.full,"app-compat"),y.registerVersion("angular",Fe.full,e.toString())}static \u0275fac=function(t){return new(t||r)(h($))};static \u0275mod=H({type:r});static \u0275inj=L({providers:[tr]})}return r})();function pt(r,s,e,t,n){let[,o,i]=globalThis.\u0275AngularfireInstanceCache.find(a=>a[0]===r)||[];if(o)return rr(n,i)||(dt("error",`${s} was already initialized on the ${e} Firebase App with different settings.${nr?" You may need to reload as Firebase is not HMR aware.":""}`),dt("warn",{is:n,was:i})),o;{let a=t();return globalThis.\u0275AngularfireInstanceCache.push([r,a,n]),a}}function rr(r,s){try{return r.toString()===s.toString()}catch{return r===s}}var nr=typeof module<"u"&&!!module.hot,dt=(r,...s)=>{G()&&typeof console<"u"&&console[r](...s)};globalThis.\u0275AngularfireInstanceCache||=[];var or=new E("angularfire2.auth.use-emulator"),ir=new E("angularfire2.auth.settings"),sr=new E("angularfire2.auth.tenant-id"),ar=new E("angularfire2.auth.langugage-code"),cr=new E("angularfire2.auth.use-device-language"),lr=new E("angularfire.auth.persistence"),ur=(r,s,e,t,n,o,i,a)=>pt(`${r.name}.auth`,"AngularFireAuth",r.name,()=>{let l=s.runOutsideAngular(()=>r.auth());if(e&&l.useEmulator(...e),t&&(l.tenantId=t),l.languageCode=n,o&&l.useDeviceLanguage(),i)for(let[c,d]of Object.entries(i))l.settings[c]=d;return a&&l.setPersistence(a),l},[e,t,n,o,i,a]),De=(()=>{class r{injector=F(fe);authState;idToken;user;idTokenResult;credential;constructor(e,t,n,o,i,a,l,c,d,u,p,f){let K=new Q,M=V(void 0).pipe(z(i.outsideAngular),x(()=>o.runOutsideAngular(()=>import("./chunk-GCECFUOP.js"))),D(()=>Pe(e,o,t)),D(P=>ur(P,o,a,c,d,u,l,p)),he({bufferSize:1,refCount:!1}));if(He(n))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=V(null);else{M.pipe(Me()).subscribe();let P=M.pipe(x(S=>S.getRedirectResult().then(_=>_,()=>null)),Je(this.injector),he({bufferSize:1,refCount:!1})),Y=M.pipe(x(S=>new g(_=>({unsubscribe:o.runOutsideAngular(()=>S.onAuthStateChanged(B=>_.next(B),B=>_.error(B),()=>_.complete()))})))),le=M.pipe(x(S=>new g(_=>({unsubscribe:o.runOutsideAngular(()=>S.onIdTokenChanged(B=>_.next(B),B=>_.error(B),()=>_.complete()))}))));this.authState=P.pipe(pe(Y),ee(i.outsideAngular),z(i.insideAngular)),this.user=P.pipe(pe(le),ee(i.outsideAngular),z(i.insideAngular)),this.idToken=this.user.pipe(x(S=>S?R(S.getIdToken()):V(null))),this.idTokenResult=this.user.pipe(x(S=>S?R(S.getIdTokenResult()):V(null))),this.credential=Oe(P,K,this.authState.pipe(Ne(S=>!S))).pipe(D(S=>S?.user?S:null),ee(i.outsideAngular),z(i.insideAngular))}return ht(this,M,o,{spy:{apply:(P,Y,le)=>{(P.startsWith("signIn")||P.startsWith("createUser"))&&le.then(S=>K.next(S))}}})}static \u0275fac=function(t){return new(t||r)(h(ae),h(ce,8),h($),h(U),h(Ae),h(or,8),h(ir,8),h(sr,8),h(ar,8),h(cr,8),h(lr,8),h(ie,8))};static \u0275prov=A({token:r,factory:r.\u0275fac,providedIn:"any"})}return r})(),ui=(()=>{class r{constructor(){y.registerVersion("angularfire",W.full,"auth-compat")}static \u0275fac=function(t){return new(t||r)};static \u0275mod=H({type:r});static \u0275inj=L({providers:[De]})}return r})();function m(r,s,e,t){return new Promise((n,o)=>{r||o("IndexedDB not available");let i=r.open(s,e),a;i.onsuccess=l=>{a=i.result,n(a)},i.onerror=l=>{o(`IndexedDB error: ${i.error}`)},typeof t=="function"&&(i.onupgradeneeded=l=>{t(l,a)})})}function ft(r,s,e,t,n){if(!r)return;let o=r.open(s,e);o.onupgradeneeded=i=>{let a=i.target.result;t.forEach(c=>{if(!a.objectStoreNames.contains(c.store)){let d=a.createObjectStore(c.store,c.storeConfig);c.storeSchema.forEach(u=>{d.createIndex(u.name,u.keypath,u.options)})}});let l=n&&n();l&&Object.keys(l).map(c=>parseInt(c,10)).filter(c=>c>i.oldVersion).sort((c,d)=>c-d).forEach(c=>{l[c](a,o.transaction)}),a.close()},o.onsuccess=i=>{i.target.result.close()}}function hr(r,s,e){if(!r||!s||!e)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new g(t=>{try{let n=s+1,o=indexedDB.open(r,n);o.onupgradeneeded=i=>{let a=i.target.result;a.deleteObjectStore(e),a.close(),console.log("onupgradeneeded"),t.next(!0),t.complete()},o.onerror=i=>t.error(i)}catch(n){t.error(n)}})}function pr(r,s){return r.objectStoreNames.contains(s)}function I(r,s,e){r||e("You need to use the openDatabase function to create a database before you query it!"),pr(r,s)||e(`objectStore does not exists: ${s}`)}function w(r,s){let e=r.transaction(s.storeName,s.dbMode);return e.onerror=s.error,e.onabort=s.abort,e}function k(r,s,e,t){return{storeName:s,dbMode:r,error:n=>{e(n)},abort:n=>{e(n)}}}var v=function(r){return r.readonly="readonly",r.readwrite="readwrite",r}(v||{}),gt=new E(null),_e=(()=>{class r{constructor(e,t){if(this.dbConfig=e,this.platformId=t,!e.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!e.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=$e(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,ft(this.indexedDB,e.name,e.version,e.objectStoresMeta,e.migrationFactory),m(this.indexedDB,e.name).then(n=>{n.version!==e.version&&(this.dbConfig.version=n.version)}))}createObjectStore(e,t){let n=[e];ft(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,n,t)}add(e,t,n){return new g(o=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(i=>{let l=w(i,k(v.readwrite,e,d=>o.error(d))).objectStore(e),c=n?l.add(t,n):l.add(t);c.onsuccess=d=>b(this,null,function*(){let u=d.target.result,p=l.get(u);p.onsuccess=f=>{o.next(f.target.result),o.complete()}})}).catch(i=>o.error(i))})}bulkAdd(e,t){let n=new Promise((o,i)=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(a=>{let c=w(a,k(v.readwrite,e,o,i)).objectStore(e),d=t.map(u=>new Promise((p,f)=>{let K=u.key;delete u.key;let M=K?c.add(u,K):c.add(u);M.onsuccess=P=>{let Y=P.target.result;p(Y)}}));o(Promise.all(d))}).catch(a=>i(a))});return R(n)}bulkDelete(e,t){let n=t.map(o=>new Promise((i,a)=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(l=>{let c=w(l,k(v.readwrite,e,a,i));c.objectStore(e).delete(o),c.oncomplete=()=>{this.getAll(e).pipe(de(1)).subscribe(u=>{i(u)})}}).catch(l=>a(l))}));return R(Promise.all(n))}getByKey(e,t){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{let l=w(o,k(v.readonly,e,n.error)).objectStore(e).get(t);l.onsuccess=c=>{n.next(c.target.result),n.complete()},l.onerror=c=>{n.error(c)}}).catch(o=>n.error(o))})}bulkGet(e,t){let n=t.map(o=>this.getByKey(e,o));return new g(o=>{je(n).subscribe(i=>{o.next(i),o.complete()})})}getByID(e,t){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{I(o,e,c=>n.error(c));let l=w(o,k(v.readonly,e,n.error,n.next)).objectStore(e).get(t);l.onsuccess=c=>{n.next(c.target.result)}}).catch(o=>n.error(o))})}getByIndex(e,t,n){return new g(o=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(i=>{I(i,e,u=>o.error(u));let d=w(i,k(v.readonly,e,o.error)).objectStore(e).index(t).get(n);d.onsuccess=u=>{o.next(u.target.result),o.complete()}}).catch(i=>o.error(i))})}getAll(e){return new g(t=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(n=>{I(n,e,l=>t.error(l));let a=w(n,k(v.readonly,e,t.error,t.next)).objectStore(e).getAll();a.onerror=l=>{t.error(l)},a.onsuccess=({target:{result:l}})=>{t.next(l),t.complete()}}).catch(n=>t.error(n))})}update(e,t){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{I(o,e,c=>n.error(c));let a=w(o,k(v.readwrite,e,c=>n.error(c))).objectStore(e),l=a.put(t);l.onsuccess=c=>b(this,null,function*(){let d=c.target.result,u=a.get(d);u.onsuccess=p=>{n.next(p.target.result),n.complete()}})}).catch(o=>n.error(o))})}delete(e,t){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{I(o,e,l=>n.error(l));let i=w(o,k(v.readwrite,e,l=>n.error(l)));i.objectStore(e).delete(t),i.oncomplete=()=>{this.getAll(e).pipe(de(1)).subscribe(l=>{n.next(l),n.complete()})}}).catch(o=>n.error(o))})}deleteByKey(e,t){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{I(o,e,l=>n.error(l));let i=w(o,k(v.readwrite,e,l=>n.error(l))),a=i.objectStore(e);i.oncomplete=()=>{n.next(!0),n.complete()},a.delete(t)}).catch(o=>n.error(o))})}clear(e){return new g(t=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(n=>{I(n,e,a=>t.error(a));let o=w(n,k(v.readwrite,e,a=>t.error(a)));o.objectStore(e).clear(),o.oncomplete=()=>{t.next(!0),t.complete()}}).catch(n=>t.error(n))})}deleteDatabase(){return new g(e=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(t=>b(this,null,function*(){yield t.close();let n=this.indexedDB.deleteDatabase(this.dbConfig.name);n.onsuccess=()=>{e.next(!0),e.complete()},n.onerror=o=>e.error(o),n.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}})).catch(t=>e.error(t))})}openCursor(e,t){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{I(o,e,c=>n.error(c));let a=w(o,k(v.readonly,e,n.error)).objectStore(e),l=t===void 0?a.openCursor():a.openCursor(t);l.onsuccess=c=>{n.next(c),n.complete()}}).catch(o=>n.error(o))})}openCursorByIndex(e,t,n,o=v.readonly){let i=new Q;return m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(a=>{I(a,e,p=>{i.error(p)});let u=w(a,k(o,e,p=>{i.error(p)},()=>{i.next()})).objectStore(e).index(t).openCursor(n);u.onsuccess=p=>{i.next(p)}}).catch(a=>i.error(a)),i}getAllByIndex(e,t,n){let o=[];return new g(i=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(a=>{I(a,e,p=>i.error(p));let u=w(a,k(v.readonly,e,i.error)).objectStore(e).index(t).openCursor(n);u.onsuccess=p=>{let f=p.target.result;f?(o.push(f.value),f.continue()):(i.next(o),i.complete())}}).catch(a=>i.error(a))})}getAllKeysByIndex(e,t,n){let o=[];return new g(i=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(a=>{I(a,e,p=>i.error(p));let u=w(a,k(v.readonly,e,i.error)).objectStore(e).index(t).openKeyCursor(n);u.onsuccess=p=>{let f=p.target.result;f?(o.push({primaryKey:f.primaryKey,key:f.key}),f.continue()):(i.next(o),i.complete())}}).catch(a=>i.error(a))})}count(e,t){return new g(n=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(o=>{I(o,e,c=>n.error(c));let l=w(o,k(v.readonly,e,n.error)).objectStore(e).count(t);l.onerror=c=>n.error(c),l.onsuccess=c=>{n.next(c.target.result),n.complete()}}).catch(o=>n.error(o))})}countByIndex(e,t,n){return new g(o=>{m(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(i=>{I(i,e,u=>o.error(u));let d=w(i,k(v.readonly,e,o.error)).objectStore(e).index(t).count(n);d.onerror=u=>o.error(u),d.onsuccess=u=>{o.next(u.target.result),o.complete()}}).catch(i=>o.error(i))})}deleteObjectStore(e){return hr(this.dbConfig.name,++this.dbConfig.version,e)}}return r.\u0275fac=function(e){return new(e||r)(h(gt),h($))},r.\u0275prov=A({token:r,factory:r.\u0275fac}),r})(),vi=(()=>{class r{static forRoot(e){return{ngModule:r,providers:[_e,{provide:gt,useValue:e}]}}}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=H({type:r}),r.\u0275inj=L({imports:[[Ue]]}),r})();var mt=(()=>{class r{constructor(e){this.db=e,this.DATABASE="Categories"}saveCategoriesByChannelType(e,t){let n=this.getKey(t);return this.db.add(this.DATABASE,e,n).pipe(D(o=>e))}getCategoriesByChannelType(e){let t=this.getKey(e);return this.db.getByKey(this.DATABASE,t)}getKey(e){let t="";switch(e){case ge.Lazada:t="Lazada";break;case ge.Tokopedia:t="Tokopedia";break}return t}clearDatabase(){this.db.clear(this.DATABASE)}getHostName(){let e=localStorage.getItem("Authorization");return this.hostName=JSON.parse(e)?.Host,this.hostName}static{this.\u0275fac=function(t){return new(t||r)(h(_e))}}static{this.\u0275prov=A({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var St=(()=>{class r{inititalizeIntercom(){let e=this.getFromLocalStorage();e?.Enabled&&window.Intercom("boot",{app_id:"xv1oomgl",name:e.Name,email:e.Email,created_at:e.Created,user_hash:e.Hash})}shutdown(){this.getFromLocalStorage()?.Enabled&&(window.Intercom("shutdown"),this.clearStorage())}clearStorage(){localStorage.removeItem("Intercom")}updateLocalStorage(e){let t={Enabled:!0};e&&(t=ue(ue({},t),e)),localStorage.setItem("Intercom",JSON.stringify(t))}getFromLocalStorage(){let e=localStorage.getItem("Intercom");return JSON.parse(e)}hideLauncher(){let e=this.getFromLocalStorage();e?.Enabled&&(window.Intercom("update",{app_id:"xv1oomgl",hide_default_launcher:!0}),e.hide_default_launcher=!0,this.updateLocalStorage(e))}showLauncher(){let e=this.getFromLocalStorage();e?.Enabled&&(window.Intercom("update",{app_id:"xv1oomgl",hide_default_launcher:!1}),e.hide_default_launcher=!1,this.updateLocalStorage(e))}isHideLauncher(){let e=this.getFromLocalStorage();return j.IsEmpty(e?.hide_default_launcher)?!1:e?.hide_default_launcher}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=A({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var vt=(()=>{class r{constructor(){this.httpService=F(re),this.currentUser=te(null),this.tokenValue=te(null),this.channels=te([])}refreshToken(){return this.httpService.get(Xe.RefreshToken).pipe(q(e=>{this.updateTokenInLocalStorage(e)}))}updateTokenInLocalStorage(e){this.saveUserToLocalStorage(e),this.saveChannelsToLocalStorage(e.Channels)}saveUserToLocalStorage(e){let t=JSON.stringify(e);localStorage.setItem(T.USER,t)}getUser(){if(this.currentUser())return this.currentUser();{let e=localStorage.getItem(T.USER);return this.currentUser.set(e?JSON.parse(e):null),this.currentUser()}}getTokenValue(){let e=this.getUser();if(!this.tokenValue()){let t=j.parseJwt(e?.Token.access_token);this.tokenValue.set(t)}return this.tokenValue()}saveChannelsToLocalStorage(e){let t=JSON.stringify(e);localStorage.setItem(T.CHANNELS,t)}getChannels(){if(this.channels().length==0){let e=localStorage.getItem(T.CHANNELS),t=e?JSON.parse(e):[];t=this.assignChannelsLogo(t),this.channels.set(t)}return this.channels()}assignChannelsLogo(e){return e.map(t=>(t.logo=j.getChannelLogoByTypeId(t.TypeID),t.Img=j.getChannelLogoByTypeId(t.TypeID),t))}clearStorage(){localStorage.removeItem(T.USER),localStorage.removeItem(T.CHANNELS),this.currentUser.set(null),this.tokenValue.set(null),this.channels.set([])}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=A({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var Fi=(()=>{class r{constructor(e,t,n,o,i,a,l,c){this.httpService=e,this.tokenDecodeService=t,this.afAuth=n,this.ngxPermission=o,this.localDataService=i,this.router=a,this.intercomService=l,this.tokenService=c}login(e){return this.httpService.post("/api/token/Login",e).pipe(q(t=>{this.setLocalStorage(t,e.Host,e.Username),this.loadPermissions()}))}getNews(){return this.httpService.get(Ye.news).pipe(D(e=>e?.items?.map(t=>t?.properties)))}loginWithGoogle(e,t){e.preventDefault();let n=new we;return n.setCustomParameters({prompt:"select_account"}),R(this.afAuth.signInWithPopup(n)).pipe(D(o=>o.credential),D(o=>o.idToken),x(o=>this.httpService.post("/api/token/LoginWithSocialProvider",JSON.stringify({IDToken:o,Host:t}))),q(o=>{this.setLocalStorage(o,t,null),this.loadPermissions()}))}setLocalStorage(e,t,n){this.tokenService.updateTokenInLocalStorage(e),localStorage.setItem(T.AUTHORIZATION,JSON.stringify({Host:t,username:n})),this.intercomService.updateLocalStorage(e.IntercomWidget),this.intercomService.inititalizeIntercom()}loadPermissions(){this.ngxPermission.loadPermissions([]);let e=localStorage.getItem(T.USER);if(j.IsNotEmpty(e)){let t=this.tokenDecodeService.GetRoles();this.ngxPermission.loadPermissions(t)}}getChannels(){return this.tokenService.getChannels()}logout(){this.clearLocalStorage(),this.ngxPermission.flushPermissions()}isActiveToken(){let e=this.tokenService.getUser(),t=new Date;if(e!=null){let n=new Date(e.Token.expiredAt);return t<n?!0:(this.clearLocalStorage(),!1)}else return!1}getDomain(){if(!this.domain){let e=localStorage.getItem(T.AUTHORIZATION);this.domain="https://"+JSON.parse(e).Host}return this.domain}clearLocalStorage(){this.domain=null,this.tokenService.clearStorage(),this.intercomService.shutdown(),this.localDataService.clearDatabase(),this.router.navigate([""])}static{this.\u0275fac=function(t){return new(t||r)(h(re),h(ut),h(De),h(Ze),h(mt),h(We),h(St),h(vt))}}static{this.\u0275prov=A({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();export{Ye as a,ut as b,Go as c,ui as d,vi as e,mt as f,St as g,vt as h,Fi as i};