dealpos 25.41.2 → 25.42.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 (253) hide show
  1. package/browser/{chunk-CMQAUCAH.js → chunk-23PJKOTU.js} +1 -1
  2. package/browser/{chunk-G6C75N4Q.js → chunk-2OWHEMAL.js} +1 -1
  3. package/browser/{chunk-D3RDKDIY.js → chunk-2YDEXJE5.js} +1 -1
  4. package/browser/{chunk-HVMUCZ5I.js → chunk-2YMLZZTQ.js} +1 -1
  5. package/browser/{chunk-GGJKYPV4.js → chunk-3AW2HE63.js} +1 -1
  6. package/browser/{chunk-OI2RWAOV.js → chunk-3GOO5E5D.js} +1 -1
  7. package/browser/{chunk-3NJFM55L.js → chunk-3LBZDIW2.js} +1 -1
  8. package/browser/{chunk-6BL2JKZG.js → chunk-3YKVLHZG.js} +1 -1
  9. package/browser/{chunk-ATYFAKRP.js → chunk-42T2PR4J.js} +1 -1
  10. package/browser/{chunk-4SOJX57D.js → chunk-46DETXA6.js} +1 -1
  11. package/browser/{chunk-TNLZPCYK.js → chunk-4E2KYPJT.js} +1 -1
  12. package/browser/{chunk-JXJUXV43.js → chunk-4HEESH5A.js} +1 -1
  13. package/browser/chunk-4MOSTNVA.js +3 -0
  14. package/browser/{chunk-T6MTT57B.js → chunk-4QQTEPQT.js} +1 -1
  15. package/browser/{chunk-ZCQOFB7U.js → chunk-4SKJU2FQ.js} +1 -1
  16. package/browser/chunk-55U65HSD.js +1 -0
  17. package/browser/{chunk-UQKBA274.js → chunk-57Q3ENW2.js} +1 -1
  18. package/browser/{chunk-V3YO2TDM.js → chunk-5AJG5HDI.js} +1 -1
  19. package/browser/{chunk-YYR3XEAQ.js → chunk-5BE43QU3.js} +1 -1
  20. package/browser/{chunk-AKTKAREU.js → chunk-5BKBBN4I.js} +1 -1
  21. package/browser/chunk-5EJERM6E.js +1 -0
  22. package/browser/chunk-5EKTXVHQ.js +1 -0
  23. package/browser/{chunk-SSE7KV5S.js → chunk-5HJ6VGWE.js} +1 -1
  24. package/browser/{chunk-LKFDM7AC.js → chunk-5HX73JZ3.js} +1 -1
  25. package/browser/{chunk-OMVUFMMZ.js → chunk-5JJSLRVS.js} +1 -1
  26. package/browser/{chunk-I2O3VGCS.js → chunk-5M3JINH2.js} +1 -1
  27. package/browser/{chunk-4E2C3JC6.js → chunk-5MPRE3II.js} +1 -1
  28. package/browser/{chunk-BAORXMVG.js → chunk-5NDP4IKK.js} +1 -1
  29. package/browser/{chunk-ZIQAYIU4.js → chunk-5SEFV3QG.js} +1 -1
  30. package/browser/{chunk-MFIRFGE2.js → chunk-5VIFPZ5D.js} +1 -1
  31. package/browser/{chunk-UBMYMSUW.js → chunk-5Y67S5BV.js} +1 -1
  32. package/browser/{chunk-LDEAORXA.js → chunk-5ZIFEEGI.js} +1 -1
  33. package/browser/{chunk-IJ7U2UFN.js → chunk-6774R2EL.js} +1 -1
  34. package/browser/{chunk-W4BJ4JBG.js → chunk-6CAS42OB.js} +1 -1
  35. package/browser/{chunk-NW73SHIZ.js → chunk-6JAL37Y4.js} +1 -1
  36. package/browser/{chunk-YDXY6QHK.js → chunk-6OOS5QHG.js} +4 -4
  37. package/browser/{chunk-R7MOZHCP.js → chunk-6PGUQ3CR.js} +1 -1
  38. package/browser/{chunk-GHC4BCCW.js → chunk-6ZN7JR6K.js} +1 -1
  39. package/browser/chunk-7BNQDGUO.js +1 -0
  40. package/browser/{chunk-ZY3EJSWW.js → chunk-7ENDP7TZ.js} +1 -1
  41. package/browser/{chunk-G5HGRNM6.js → chunk-7IDMO3VZ.js} +1 -1
  42. package/browser/{chunk-T2PXIPKB.js → chunk-7QWJJPNG.js} +1 -1
  43. package/browser/{chunk-ZFNJGBST.js → chunk-7SC45GNA.js} +1 -1
  44. package/browser/{chunk-VYFU4BSG.js → chunk-7WKHBXTJ.js} +1 -1
  45. package/browser/chunk-7WNL4VON.js +1 -0
  46. package/browser/{chunk-FRO3O6SU.js → chunk-AAI6JWC5.js} +1 -1
  47. package/browser/{chunk-H54MTXKN.js → chunk-ADE4IPMV.js} +2 -2
  48. package/browser/{chunk-CHSEYRJF.js → chunk-AEHOR4RJ.js} +1 -1
  49. package/browser/{chunk-UKTKBEVE.js → chunk-AGTR6PKD.js} +1 -1
  50. package/browser/{chunk-6CLFZ6DE.js → chunk-APF7PDRI.js} +1 -1
  51. package/browser/{chunk-KMA5VOEA.js → chunk-AY5QZ3W6.js} +1 -1
  52. package/browser/{chunk-R5IO2SN4.js → chunk-AZO64X7U.js} +1 -1
  53. package/browser/{chunk-GVI4QM2F.js → chunk-B4HMFP42.js} +1 -1
  54. package/browser/{chunk-KVJTNXOJ.js → chunk-B5SDXVDR.js} +1 -1
  55. package/browser/{chunk-SOM7CDGS.js → chunk-B5VF422M.js} +1 -1
  56. package/browser/{chunk-LGCRFIIA.js → chunk-BEPFMRGE.js} +1 -1
  57. package/browser/{chunk-DPKYMDVN.js → chunk-BKUC3UED.js} +1 -1
  58. package/browser/chunk-BSIHS2EA.js +5 -0
  59. package/browser/{chunk-QGNOVY53.js → chunk-BXQFYW4R.js} +1 -1
  60. package/browser/{chunk-B56YVUVP.js → chunk-C2CGBWBH.js} +1 -1
  61. package/browser/{chunk-FBOZUHXS.js → chunk-C2KD7R6L.js} +1 -1
  62. package/browser/{chunk-7C4FPJKC.js → chunk-C6DVD3VG.js} +1 -1
  63. package/browser/{chunk-BYNEFOC3.js → chunk-CSQD5JSK.js} +1 -1
  64. package/browser/{chunk-4L5G4WC4.js → chunk-CWITQVZH.js} +1 -1
  65. package/browser/{chunk-65CKGM2C.js → chunk-D5K5VZVN.js} +1 -1
  66. package/browser/{chunk-WOZLNXGI.js → chunk-DAIHPIA2.js} +1 -1
  67. package/browser/{chunk-2F5STFEV.js → chunk-DLONNLPI.js} +1 -1
  68. package/browser/{chunk-IRAEKG7Q.js → chunk-ECOW7JD7.js} +1 -1
  69. package/browser/{chunk-OE7PM4Y4.js → chunk-EEEAUYZ6.js} +1 -1
  70. package/browser/{chunk-45BASVRZ.js → chunk-EFDAS2KA.js} +1 -1
  71. package/browser/{chunk-24OZA3GF.js → chunk-EGIDHMPA.js} +1 -1
  72. package/browser/{chunk-EYV7AZ42.js → chunk-EGQ2HW7A.js} +1 -1
  73. package/browser/{chunk-RZFAYPJW.js → chunk-EKKU5TMC.js} +1 -1
  74. package/browser/{chunk-VP42CBUF.js → chunk-ENTVT5C2.js} +1 -1
  75. package/browser/{chunk-7QDLYX4Z.js → chunk-ENVG4BZI.js} +1 -1
  76. package/browser/{chunk-FO3DCWRP.js → chunk-EWZ63XSS.js} +1 -1
  77. package/browser/{chunk-PPWXHE7X.js → chunk-F6Z777C5.js} +1 -1
  78. package/browser/chunk-FKDZ5OWB.js +297 -0
  79. package/browser/{chunk-3XMWVJ2L.js → chunk-FLCAZ4FS.js} +1 -1
  80. package/browser/{chunk-MZQRC3WK.js → chunk-FMHXEKSH.js} +1 -1
  81. package/browser/{chunk-GHLCUW72.js → chunk-FOWSNZZX.js} +1 -1
  82. package/browser/{chunk-7UFQPOGN.js → chunk-FP4HFB5J.js} +1 -1
  83. package/browser/{chunk-3VQLYVVB.js → chunk-GHA3WIJU.js} +1 -1
  84. package/browser/{chunk-FZNAOCWZ.js → chunk-GNAF5D23.js} +2 -2
  85. package/browser/{chunk-WEAIMPRM.js → chunk-H3ARLDNZ.js} +1 -1
  86. package/browser/{chunk-UERDXH3W.js → chunk-HFCVE2EL.js} +3 -3
  87. package/browser/{chunk-7KXMZBQB.js → chunk-HG3CFH36.js} +1 -1
  88. package/browser/{chunk-Z3OYXF5N.js → chunk-HIKFNCGX.js} +1 -1
  89. package/browser/{chunk-NHTMJTLV.js → chunk-HMER2IC5.js} +1 -1
  90. package/browser/{chunk-XJD4HFEN.js → chunk-HWEYOOFD.js} +1 -1
  91. package/browser/{chunk-XUVY2IO6.js → chunk-I3ZGST4N.js} +1 -1
  92. package/browser/{chunk-Z7LRKY4R.js → chunk-IC3DZAMU.js} +1 -1
  93. package/browser/{chunk-AFYPHUZX.js → chunk-IC7LV3SK.js} +1 -1
  94. package/browser/{chunk-IXEK3QVA.js → chunk-IQHU4MKW.js} +1 -1
  95. package/browser/{chunk-LID6CN6L.js → chunk-ITQF6HII.js} +1 -1
  96. package/browser/chunk-IW63ASKB.js +14 -0
  97. package/browser/{chunk-GZ2EJLH3.js → chunk-IYF464XX.js} +1 -1
  98. package/browser/{chunk-I45IV26L.js → chunk-JKLJ4KAW.js} +1 -1
  99. package/browser/{chunk-XOQ4SW2R.js → chunk-JOXTERIM.js} +1 -1
  100. package/browser/{chunk-GZAARWM2.js → chunk-JPXXXD26.js} +1 -1
  101. package/browser/{chunk-ILF7FISN.js → chunk-JUT3PXG2.js} +1 -1
  102. package/browser/{chunk-NQTQPZ6C.js → chunk-K7KRPIN7.js} +1 -1
  103. package/browser/{chunk-3MDUYQJU.js → chunk-KCZNKMQH.js} +1 -1
  104. package/browser/chunk-KGLFSTLG.js +1 -0
  105. package/browser/{chunk-KVCJJEYJ.js → chunk-KHILQH3P.js} +1 -1
  106. package/browser/chunk-KPXHDKIY.js +1 -0
  107. package/browser/{chunk-Y4MHZTLF.js → chunk-KTBBWEI2.js} +1 -1
  108. package/browser/{chunk-2LFFOWKW.js → chunk-KTCV3KOE.js} +1 -1
  109. package/browser/{chunk-OQCGVZVB.js → chunk-KZDE63UL.js} +1 -1
  110. package/browser/chunk-L7RHCBKX.js +1 -0
  111. package/browser/{chunk-2GQKEX5I.js → chunk-L7YSVT7G.js} +1 -1
  112. package/browser/{chunk-T2PMKO3M.js → chunk-LE3BKIDY.js} +1 -1
  113. package/browser/{chunk-HPLAMF75.js → chunk-LMJVRREP.js} +1 -1
  114. package/browser/{chunk-4CRQAT4Y.js → chunk-LO3FAFDO.js} +1 -1
  115. package/browser/{chunk-KS37A3HL.js → chunk-M3HHWYKD.js} +1 -1
  116. package/browser/{chunk-34DMF3QT.js → chunk-MCQ4J3UT.js} +3 -3
  117. package/browser/{chunk-3M5M2T4L.js → chunk-MFCXEITE.js} +1 -1
  118. package/browser/{chunk-5MZEP3D7.js → chunk-MGQ5I7BK.js} +1 -1
  119. package/browser/chunk-MH6ADXRE.js +1 -0
  120. package/browser/{chunk-3CCOX4FN.js → chunk-MPSML3FA.js} +1 -1
  121. package/browser/{chunk-X4LYU5XA.js → chunk-MQKEWZMW.js} +1 -1
  122. package/browser/{chunk-CN5SHMHF.js → chunk-MUJ6277G.js} +1 -1
  123. package/browser/{chunk-PJHIUSNN.js → chunk-N23TC7B4.js} +1 -1
  124. package/browser/{chunk-EPYFG6SH.js → chunk-N47VNTBG.js} +1 -1
  125. package/browser/{chunk-W2NHEKCW.js → chunk-N5UW2RHA.js} +1 -1
  126. package/browser/{chunk-DOTR5PYR.js → chunk-N6QITTR2.js} +1 -1
  127. package/browser/{chunk-DINWVJP7.js → chunk-NJS6IQX6.js} +1 -1
  128. package/browser/{chunk-ZBYQ3WOC.js → chunk-NMR7EZWC.js} +1 -1
  129. package/browser/{chunk-RP636SRQ.js → chunk-NPUWXK3K.js} +1 -1
  130. package/browser/{chunk-Z76AR3IW.js → chunk-NVWJ6HZD.js} +1 -1
  131. package/browser/{chunk-M7EO4UVO.js → chunk-O2QTP22K.js} +1 -1
  132. package/browser/chunk-O47TK53N.js +1 -0
  133. package/browser/chunk-OEARSIZR.js +1 -0
  134. package/browser/{chunk-D5LBI5TH.js → chunk-OIQL44PV.js} +1 -1
  135. package/browser/{chunk-ZEZ2K35X.js → chunk-OISKO6QJ.js} +1 -1
  136. package/browser/{chunk-3AIABMW2.js → chunk-OKIBXXRJ.js} +1 -1
  137. package/browser/chunk-OXQJYOVG.js +1 -0
  138. package/browser/{chunk-ZFYF7PEH.js → chunk-OYSMMJMB.js} +1 -1
  139. package/browser/{chunk-TLWH7QTW.js → chunk-OZ5JEMRA.js} +1 -1
  140. package/browser/{chunk-GMX2JWEW.js → chunk-PAXXDG73.js} +1 -1
  141. package/browser/{chunk-E4R5MW6J.js → chunk-PDJ7PMBB.js} +2 -2
  142. package/browser/chunk-PGWC5FQQ.js +1 -0
  143. package/browser/{chunk-OPCIBNIJ.js → chunk-PIYM2FOP.js} +1 -1
  144. package/browser/{chunk-NA7ZJQET.js → chunk-PVDNKSRC.js} +1 -1
  145. package/browser/{chunk-BADUP5JT.js → chunk-Q4CKRRGM.js} +1 -1
  146. package/browser/{chunk-UAI7BPPY.js → chunk-QHRP323Q.js} +1 -1
  147. package/browser/chunk-QMRUEU6Q.js +1 -0
  148. package/browser/{chunk-ISWF7KQF.js → chunk-QUHI6RHC.js} +1 -1
  149. package/browser/{chunk-BT6BH634.js → chunk-QYWAJKFK.js} +1 -1
  150. package/browser/{chunk-SDADDOK4.js → chunk-R3KCKK52.js} +1 -1
  151. package/browser/{chunk-5DDIIEIO.js → chunk-RDXTLLRW.js} +1 -1
  152. package/browser/{chunk-IXHBD564.js → chunk-RFAAXFT5.js} +1 -1
  153. package/browser/{chunk-K3367VWX.js → chunk-RIRZVGFR.js} +1 -1
  154. package/browser/{chunk-QHYHGORX.js → chunk-RK5QSVFP.js} +1 -1
  155. package/browser/{chunk-WIB47ZGF.js → chunk-ROQHG6JX.js} +1 -1
  156. package/browser/{chunk-QE22VQQ7.js → chunk-RTE36RZ4.js} +1 -1
  157. package/browser/{chunk-CB33ZMNF.js → chunk-RVXZOIFQ.js} +1 -1
  158. package/browser/{chunk-XZQMVGBQ.js → chunk-RX7JS4CO.js} +1 -1
  159. package/browser/{chunk-MYMQ5FSS.js → chunk-S4Z6ZYZ4.js} +1 -1
  160. package/browser/{chunk-GVSOBS5Q.js → chunk-SA6YKTKS.js} +4 -4
  161. package/browser/{chunk-WUDGY4TW.js → chunk-SEFALU4U.js} +1 -1
  162. package/browser/{chunk-XU5SOTZS.js → chunk-SIRUW7U2.js} +1 -1
  163. package/browser/chunk-STIS4QW6.js +1 -0
  164. package/browser/chunk-STUDNF4L.js +1 -0
  165. package/browser/{chunk-CSAGSFL3.js → chunk-SZPU2EUQ.js} +1 -1
  166. package/browser/{chunk-6CJCT6YT.js → chunk-T26KVRGE.js} +1 -1
  167. package/browser/{chunk-Y3CUYCSX.js → chunk-T2IJ4MCB.js} +1 -1
  168. package/browser/{chunk-WA5AGHFF.js → chunk-TBHZV7EF.js} +1 -1
  169. package/browser/{chunk-PZID6T4A.js → chunk-TFE7D7VV.js} +2 -2
  170. package/browser/{chunk-3CCLSY4U.js → chunk-TLXGEI76.js} +1 -1
  171. package/browser/{chunk-52NDCK4A.js → chunk-TSEZZNO5.js} +1 -1
  172. package/browser/{chunk-HV6ZFQAQ.js → chunk-TVEGYRXE.js} +1 -1
  173. package/browser/{chunk-JJK4XCMN.js → chunk-U4U76CXH.js} +1 -1
  174. package/browser/{chunk-ROG4PCGU.js → chunk-UBWKI2NL.js} +1 -1
  175. package/browser/{chunk-CIEDGY7H.js → chunk-UECAH6V7.js} +1 -1
  176. package/browser/{chunk-DNLMIUJF.js → chunk-UMT5IJRJ.js} +1 -1
  177. package/browser/{chunk-5PE5X2VB.js → chunk-UOWOBHQL.js} +1 -1
  178. package/browser/{chunk-7USMFPWJ.js → chunk-UU55EO4X.js} +1 -1
  179. package/browser/{chunk-OHZN3Z7O.js → chunk-UWGTJ4UH.js} +1 -1
  180. package/browser/{chunk-DJOHANFC.js → chunk-UXRO4UFY.js} +3 -3
  181. package/browser/{chunk-FBH7LG5C.js → chunk-UY6FY532.js} +1 -1
  182. package/browser/{chunk-N22LFPQL.js → chunk-VAMTYISE.js} +2 -2
  183. package/browser/{chunk-QCBXPOJL.js → chunk-VFTGIP5A.js} +1 -1
  184. package/browser/{chunk-BZHL4W7T.js → chunk-VGPJKK3G.js} +1 -1
  185. package/browser/{chunk-QMCAG2HX.js → chunk-VHAM2DWK.js} +1 -1
  186. package/browser/{chunk-SO3422SX.js → chunk-VIJ7B625.js} +1 -1
  187. package/browser/{chunk-B73NC3X2.js → chunk-W4UISTRM.js} +1 -1
  188. package/browser/{chunk-BAL3IIDS.js → chunk-W7I2T4SZ.js} +1 -1
  189. package/browser/{chunk-6IW4MVP2.js → chunk-WDQ4UKKY.js} +1 -1
  190. package/browser/{chunk-5TV4QYNO.js → chunk-WM2AITL6.js} +1 -1
  191. package/browser/{chunk-7S5F6JOF.js → chunk-WNVQWJ2T.js} +1 -1
  192. package/browser/{chunk-GOLWWX2Q.js → chunk-WO3LDDSF.js} +1 -1
  193. package/browser/{chunk-EPBMDUPY.js → chunk-WPFMJVWU.js} +1 -1
  194. package/browser/{chunk-M7G3WT32.js → chunk-WRBZW62O.js} +1 -1
  195. package/browser/{chunk-OFGVLEEZ.js → chunk-WTP4E6M5.js} +1 -1
  196. package/browser/{chunk-F4FAZ5ZL.js → chunk-X2WGP6SP.js} +1 -1
  197. package/browser/{chunk-3R5GV4J5.js → chunk-XA6BOS45.js} +1 -1
  198. package/browser/{chunk-QJWMNNK6.js → chunk-XHG7GWS5.js} +2 -2
  199. package/browser/{chunk-6IIF7CKF.js → chunk-XJ25XOBC.js} +2 -2
  200. package/browser/{chunk-I6E6PXQU.js → chunk-XKUQPHUA.js} +1 -1
  201. package/browser/{chunk-7LXPGNYF.js → chunk-XMYLHF4C.js} +1 -1
  202. package/browser/{chunk-HBC5DBVS.js → chunk-XO6RYTAS.js} +1 -1
  203. package/browser/chunk-XPZUZ5XJ.js +1 -0
  204. package/browser/{chunk-3GV7FUAX.js → chunk-XYB3YDKL.js} +1 -1
  205. package/browser/{chunk-UZFW2WNI.js → chunk-XYZNPGYI.js} +1 -1
  206. package/browser/{chunk-PRKAXHSJ.js → chunk-XZELBTQR.js} +1 -1
  207. package/browser/{chunk-NDM2ODJP.js → chunk-XZR3IMWZ.js} +1 -1
  208. package/browser/{chunk-QHX74QID.js → chunk-XZRKMN4V.js} +1 -1
  209. package/browser/{chunk-G7VSP6EW.js → chunk-XZWMENTO.js} +1 -1
  210. package/browser/{chunk-O3HYW3PV.js → chunk-YAWVVMMS.js} +1 -1
  211. package/browser/chunk-YEDKRNXU.js +1 -0
  212. package/browser/{chunk-HUMRIGHZ.js → chunk-YIKW3UR6.js} +1 -1
  213. package/browser/{chunk-J3C5CJEH.js → chunk-YN74XRON.js} +1 -1
  214. package/browser/{chunk-QWZ5AM3L.js → chunk-YNDNTAII.js} +1 -1
  215. package/browser/{chunk-SN3DTCGO.js → chunk-YPFMEFOD.js} +1 -1
  216. package/browser/{chunk-L2PLXSAS.js → chunk-YPOODN5H.js} +1 -1
  217. package/browser/chunk-YQL4ALTP.js +127 -0
  218. package/browser/{chunk-O5PHF6GW.js → chunk-YRGGDRUH.js} +1 -1
  219. package/browser/{chunk-NPTTEU4B.js → chunk-YWGXM2C3.js} +1 -1
  220. package/browser/{chunk-RWRT75NX.js → chunk-Z2LCSWV4.js} +1 -1
  221. package/browser/{chunk-UESUOHI6.js → chunk-Z56AQWHN.js} +1 -1
  222. package/browser/{chunk-REQUYIUO.js → chunk-ZHY3BUQJ.js} +1 -1
  223. package/browser/{chunk-KZTKYVZF.js → chunk-ZJ23VRN3.js} +1 -1
  224. package/browser/chunk-ZRCTLVL4.js +1 -0
  225. package/browser/{chunk-6BXO4MVU.js → chunk-ZSOLQ2F4.js} +1 -1
  226. package/browser/{chunk-N5QWMN2M.js → chunk-ZTHPT62A.js} +1 -1
  227. package/browser/chunk-ZWBEJM56.js +112 -0
  228. package/browser/{chunk-TYBAV5LT.js → chunk-ZZGSAFGO.js} +1 -1
  229. package/browser/index.html +3 -3
  230. package/browser/{main-6UNPCULN.js → main-SZ6HFSZZ.js} +2 -2
  231. package/browser/{styles-2TXD27TS.css → styles-EM6OTRT2.css} +1 -1
  232. package/package.json +1 -1
  233. package/browser/chunk-2EQ7Y56O.js +0 -5
  234. package/browser/chunk-2F5C3IAG.js +0 -1
  235. package/browser/chunk-4VMXYBU3.js +0 -3
  236. package/browser/chunk-6ZEEVCRE.js +0 -1
  237. package/browser/chunk-7E6SMB44.js +0 -1
  238. package/browser/chunk-AAR4B3HZ.js +0 -112
  239. package/browser/chunk-AD5C5J25.js +0 -1
  240. package/browser/chunk-DE2STA2G.js +0 -14
  241. package/browser/chunk-DWOLAWQN.js +0 -1
  242. package/browser/chunk-EZCQYLCW.js +0 -1
  243. package/browser/chunk-JY5XX3QX.js +0 -127
  244. package/browser/chunk-LOMNHHBV.js +0 -1
  245. package/browser/chunk-PQUVDF3D.js +0 -1
  246. package/browser/chunk-S4FLFLTR.js +0 -1
  247. package/browser/chunk-SQC25JWL.js +0 -1
  248. package/browser/chunk-TLANLIUC.js +0 -1
  249. package/browser/chunk-XHAPRGGF.js +0 -1
  250. package/browser/chunk-YQEL63SF.js +0 -1
  251. package/browser/chunk-ZC4V4XIM.js +0 -1
  252. package/browser/chunk-ZHDKGVTO.js +0 -1
  253. package/browser/chunk-ZKRFSVUW.js +0 -297
@@ -1 +1 @@
1
- import{a as Ce}from"./chunk-X4LYU5XA.js";import{a as Me}from"./chunk-QWZ5AM3L.js";import{a as Pe}from"./chunk-5MZEP3D7.js";import{a as ve}from"./chunk-7LXPGNYF.js";import{b as be,c as Se}from"./chunk-XOQ4SW2R.js";import{a as ue}from"./chunk-GHC4BCCW.js";import"./chunk-GIKR6Y2K.js";import"./chunk-REQUYIUO.js";import{F as he,b as de,h as me,o as fe}from"./chunk-CB33ZMNF.js";import{a as T,c as h}from"./chunk-TLWH7QTW.js";import{a as ge}from"./chunk-TNLZPCYK.js";import{a as M,d as I}from"./chunk-TYBAV5LT.js";import{a as ce}from"./chunk-O3HYW3PV.js";import{$ as H,$a as c,Bc as te,E,Ib as o,Jb as s,Kb as p,Nd as oe,Pd as ae,Qb as C,Qd as b,Rb as Q,Rd as se,Sd as le,Td as B,Vb as Z,Vd as pe,Wa as J,Wc as ie,Yc as ne,d as G,da as D,db as v,ec as m,fc as V,gc as $,ja as d,jd as re,ka as y,kb as q,lb as x,ma as _,na as l,qb as j,rc as K,sc as X,ub as Y,vb as f,xb as W,zb as F,zc as ee}from"./chunk-DJOHANFC.js";import"./chunk-7DCB7DB2.js";var r=class e{constructor(i,t){this.authService=i;this.router=t}canLoad(i,t){return this.authService.isTokenExpired()?(this.authService.returnUrl=this.getUrlRedirect(t),this.router.navigate(["/"]),!1):!0}getUrlRedirect(i){let t="/menu";i.forEach(a=>t+=`/${a.path}`);let n=this.router.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(n).forEach((a,g)=>{g==0?t=`${t}?${a}=${n[a]}`:t=`${t}&${a}=${n[a]}`}),t}static \u0275fac=function(t){return new(t||e)(_(h),_(b))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var w=class e{constructor(i){this.toastrService=i;this.initPermissionToastr=!1}isPermissionGranted;initPermissionToastr;initPermission(){try{this.initPermissionToastr||Notification.requestPermission().then(t=>{this.isPermissionGranted=!1,t=="granted"&&(this.isPermissionGranted=!0),this.initPermissionToastr=!0})}catch(i){console.error(i)}}showAlert(i,t,n,u){let a=6e4;if(this.isPermissionGranted)try{let g=new Notification(t,{body:i,icon:u});g.onerror=R=>{this.toastrService.info(this.setBody(i,n),t,{timeOut:a,enableHtml:this.hasUrl(n)})}}catch(g){console.error(g)}else this.toastrService.info(this.setBody(i,n),t,{timeOut:a,enableHtml:this.hasUrl(n)})}setBody(i,t){return this.hasUrl(t)&&(i=`<a href="${t}" target="_blank" class="ps-0">${i}</a>`),i}hasUrl(i){return!!(i&&i.length!==0)}static \u0275fac=function(t){return new(t||e)(_(pe))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var _e=[{T:"Dashboard",U:"/menu/Dashboard",I:"fa-solid fa-chart-pie"},{T:"Products",U:"/menu/Products",I:"fa-solid fa-tag"},{T:"Estimate",U:"/menu/Estimate",I:"fa-solid fa-clipboard"},{T:"Sell",U:"/menu/Sell",I:"fa-solid fa-cart-shopping"},{T:"Shift",U:"/menu/Shift/",I:"fa-solid fa-user-clock"},{T:"Reports",U:"/menu/Reports",I:"fa-solid fa-chart-area"},{T:"Contacts",U:"/menu/Contacts",I:"fas fa-address-book"},{T:"Orders",U:"/menu/Orders",I:"fas fa-file-invoice"},{T:"Payment",U:"/menu/Payment",I:"fas fa-money-bill-alt"},{T:"Debt",U:"/menu/Debt",I:"fas fa-dollar-sign"},{T:"Inventory",U:"/menu/Inventory",I:"fas fa-archive"},{T:"Adjustment",U:"/menu/Adjustment",I:"fas fa-scanner-gun"},{T:"Buy",U:"/menu/Buy",I:"fa-solid fa-cart-arrow-down"},{T:"Logistics",U:"/menu/Logistics",I:"fas fa-truck"},{T:"Fulfillment",U:"/menu/Fulfillment",I:"fas fa-dolly"},{T:"Manufacture",U:"/menu/Manufacture",I:"fas fa-industry"},{T:"Prepaid Package",U:"/menu/Prepaid_Package",I:"fa-solid fa-id-card"},{T:"Promotion",U:"/menu/Promotion",I:"fas fa-bullhorn"},{T:"Users",U:"/menu/Users",I:"fas fa-user"},{T:"Outlets",U:"/menu/Outlets",I:"fas fa-map-marker-alt"},{T:"Setup",U:"/menu/Setup",I:"fas fa-gear"},{T:"Developer",U:"/menu/Developer",I:"fas fa-code"}];var k=class e{role=l(I);authService=l(h);menu=_e;filteredMenu=[];initFilteredMenu(){this.filteredMenu=this.menu.filter(i=>i.T==="Dashboard"?this.role.dashboard.View:i.T==="Products"?this.role.product.View:i.T==="Estimate"?this.role.estimate.Create:i.T==="Sell"?this.role.sell.Create:i.T==="Shift"?this.role.sell.Create:i.T==="Reports"?this.role.report.View:i.T==="Contacts"?this.role.contact.View:i.T==="Orders"?this.role.order.View:i.T==="Payment"?this.role.payment.View:i.T==="Debt"?this.role.debt.View:i.T==="Inventory"?this.role.inventory.View:i.T==="Adjustment"?this.role.adjustment.View:i.T==="Buy"?this.role.buy.Create:i.T==="Logistics"?this.role.logistic.View:i.T==="Manufacture"?this.role.manufacture.View:i.T==="Fulfillment"?this.role.fulfillment.View:i.T==="Prepaid Package"?this.role.prepaidPackage.View:i.T==="Promotion"?this.role.promotion.View:i.T==="Users"?this.role.users.View:i.T==="Outlets"?this.role.outlets.View:i.T==="Setup"?this.role.setup.View:i.T==="Developer"?this.role.developer.View:!0),this.filterBySubscriptionStatus()}filterBySubscriptionStatus(){let i=this.authService.getSubscriptionStatus();this.filteredMenu=this.filteredMenu.filter(t=>{switch(i){case 2:return t.T=="Sell"||t.T=="Shift";case 3:return!1;default:return!0}})}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var Oe=[{T:"My Profile",U:"Profile/Main/My_Profile",I:"fas fa-user"},{T:"My Subscription",U:"Profile/Main/My_Subscription",I:"fa-solid fa-credit-card"},{T:"Notification",U:"Profile/Notification/Push",I:"fas fa-bell"},{T:"My Sales",U:"Profile/Main/My_Sales",I:"fas fa-history"}];var A=class e{role=l(I);authService=l(h);filteredMenu=[];initFilteredMenu(){let i=this.authService.getSubscriptionStatus();this.filteredMenu=Oe.filter(t=>t.T=="My Profile"?this.role.profile.View:t.T=="My Subscription"?this.role.profile.Subscription:t.T=="Notification"?this.role.profile.Notification&&i!=2&&i!=3:t.T=="My Sales"?i!=2&&i!=3:!0)}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var Le=(e,i)=>({"full-container":e,"subscription-bar-visible":i}),Ue=e=>[e];function Ne(e,i){if(e&1&&(o(0,"a",35),p(1,"i",36),o(2,"span"),m(3),s()()),e&2){let t=i.$implicit;f("routerLink",t==null?null:t.U),c(),F((t==null?null:t.I)+" me-2"),c(2),V(t==null?null:t.T)}}function Re(e,i){if(e&1&&(o(0,"li",37,0)(2,"a",38),p(3,"i"),o(4,"p"),m(5),s()()()),e&2){let t=i.$implicit,n=Q();f("routerLinkActiveOptions",n.isActiveMatchOptions),Y("data-cy",t==null?null:t.T),c(2),f("matTooltip",n.toggleSideMenu?t==null?null:t.T:"")("routerLink",K(7,Ue,t==null?null:t.U)),c(),F(t==null?null:t.I),c(2),V(t==null?null:t.T)}}var P=class e{constructor(i,t,n,u,a,g,R,z){this.toggleSidebar=i;this.signalRClientService=t;this.notificationAlertService=n;this.router=u;this.authService=a;this.intercomService=g;R.initFilteredMenu(),z.initFilteredMenu(),this.leftSidebarMenu=R.filteredMenu,this.topMenu=z.filteredMenu,this.accountInfo=JSON.parse(localStorage.getItem("AccountInfo")),this.toggleSidebar.toggleState$.subscribe(xe=>this.isNavOpen=xe),this.destroy$=new G,this.initNotificationPermission()}isActiveMatchOptions={matrixParams:"subset",queryParams:"subset",paths:"subset",fragment:"exact"};toggleSideMenu=!1;isNavOpen;destroy$;activeMenu;appVersion=ce.version;currentSubStatus;subsStatusEnum=T;isFullContainer=!1;isHideIntercomLauncher;leftSidebarMenu;topMenu;accountInfo;ngOnInit(){this.subscribeToPushNotification(),this.getCurrentSubscriptionStatus(),this.initFullContainer()}initFullContainer(){this.router.events.pipe(E(i=>i instanceof oe),H(null),D(this.destroy$)).subscribe(i=>{this.isFullContainer=!1,(this.router.url.includes("Sell")&&!this.router.url.includes("v2")&&!this.router.url.includes("Offline")||this.router.url.includes("Buy")||this.router.url.includes("menu/Estimate")||this.router.url.includes("Transfer_Order/Form")||this.router.url.includes("Adjustment/Archive/Form")||this.router.url.includes("Job_Order/Archive/Form")||this.router.url.includes("/menu/Debt/Debt/Join_Invoice/Form")||this.router.url.includes("/menu/Debt/Debt/Join_Bill/New_Join_Bill"))&&(this.isFullContainer=!0)})}initNotificationPermission(){this.notificationAlertService.initPermission()}getCurrentSubscriptionStatus(){this.currentSubStatus=this.authService.getSubscriptionStatus()}subscribeToPushNotification(){let i=localStorage.getItem("NotificationOutletID");M.IsNotEmpty(i)&&M.isGuid(i)?this.signalRClientService.SubscribeGroup(i):this.signalRClientService.startConnection(),this.signalRClientService.OnReceivePushNotification.pipe(D(this.destroy$),E(t=>M.IsNotEmpty(t))).subscribe(t=>{if(M.IsNotEmpty(t)){let n=JSON.parse(t),u="//res.cloudinary.com/pos/image/upload/v1657006791/icons/info-new.png";M.IsNotEmpty(n.Icon)&&(u=n.Icon),this.notificationAlertService.showAlert(n.Body,n.Header,n.URL,u)}})}ngAfterViewInit(){this.intercomService.inititalizeIntercom()}toggleMenu(){this.toggleSideMenu=!this.toggleSideMenu}logout(){this.authService.logout()}isNotEmpty(i){return M.IsNotEmpty(i)}onShowDropdown(){this.isHideIntercomLauncher=this.intercomService.isHideLauncher()}chatToggleChange(){this.isHideIntercomLauncher==!1?this.intercomService.hideLauncher():this.intercomService.showLauncher(),this.onShowDropdown()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static \u0275fac=function(t){return new(t||e)(v(ve),v(ue),v(w),v(b),v(h),v(ge),v(k),v(A))};static \u0275cmp=q({type:e,selectors:[["POS-menu-master"]],standalone:!1,decls:52,vars:19,consts:[["rla","routerLinkActive"],[1,"wrapper"],["data-color","blue",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-lg-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fa-solid",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-cy","companyName","data-bs-toggle","dropdown","aria-expanded","false","matTooltipPosition","above",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center",2,"cursor","pointer",3,"click","matTooltip"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],["class","dropdown-item h5",3,"routerLink",4,"ngFor","ngForOf"],[1,"dropdown-item","h5",2,"cursor","pointer"],[1,"d-flex","align-items-center","justify-content-between"],[1,"fa-solid","fa-comment-dots","me-2"],[1,"checkbox_toggle","ms-3",3,"click"],["type","checkbox","id","chatToggle","name","ChatToggle",3,"ngModelChange","ngModel"],["for","chatToggle",1,"position-relative","rounded-pill","pointer"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fa-solid","fa-sign-out-alt","me-2"],[1,"divider"],[1,"dropdown-header","border-top"],["target","_blank",1,"dropdown-item","h5","changelog",3,"href"],["aria-hidden","true",1,"fa-solid","fa-sparkles","me-2"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],["target","_blank","href","http://support.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-book","me-2"],["target","_blank","href","https://www.dealpos.app/",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-table-cells-large","me-2"],["target","_blank","href","http://blog.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-brands","fa-blogger","me-2"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",3,"routerLinkActiveOptions",4,"ngFor","ngForOf"],["id","full-container",1,"main-panel",3,"ngClass"],[1,"dropdown-item","h5",3,"routerLink"],["aria-hidden","true"],["routerLinkActive","active",3,"routerLinkActiveOptions"],["matTooltipPosition","above",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"]],template:function(t,n){t&1&&(o(0,"div",1)(1,"div",2)(2,"button",3),C("click",function(){return n.toggleMenu()}),p(3,"i",4),s(),o(4,"div",5)(5,"div",6)(6,"a",7),C("click",function(){return n.onShowDropdown()}),m(7),ee(8,"limitText"),s(),o(9,"div",8)(10,"div",9),m(11),s(),p(12,"div",10),j(13,Ne,4,4,"a",11),o(14,"a",12)(15,"div",13)(16,"div"),p(17,"i",14),o(18,"span"),m(19,"Chat Support"),s()(),o(20,"div",15),C("click",function(a){return a.stopPropagation()}),o(21,"input",16),C("ngModelChange",function(){return n.chatToggleChange()}),s(),p(22,"label",17),s()()(),o(23,"a",18),C("click",function(){return n.logout()}),p(24,"i",19),o(25,"span"),m(26,"Log Out"),s()(),p(27,"div",20),o(28,"div",21),m(29," Links "),s(),o(30,"a",22),p(31,"i",23),o(32,"span"),m(33,"What's New"),p(34,"i",24),s()(),o(35,"a",25),p(36,"i",26),o(37,"span"),m(38,"Help Center"),s()(),o(39,"a",27),p(40,"i",28),o(41,"span"),m(42,"App Store"),s()(),o(43,"a",29),p(44,"i",30),o(45,"span"),m(46,"Company Blog"),s()()()()(),o(47,"div",31)(48,"ul",32),j(49,Re,6,9,"li",33),s()()(),o(50,"div",34),p(51,"router-outlet"),s()()),t&2&&(W("nav-open",n.isNavOpen),c(),f("ngClass",n.toggleSideMenu?"collapses":""),c(2),f("ngClass",n.toggleSideMenu?"fa-angle-left cursor":"fa-angle-right cursor"),c(3),f("matTooltip",n.accountInfo==null?null:n.accountInfo.BrandName),c(),$(" ",te(8,13,n.accountInfo==null?null:n.accountInfo.BrandName,12)," "),c(4),$("",n.accountInfo==null?null:n.accountInfo.UserName," "),c(2),f("ngForOf",n.topMenu),c(8),f("ngModel",!n.isHideIntercomLauncher),c(9),Z("href","https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",n.appVersion,"",J),c(19),f("ngForOf",n.leftSidebarMenu),c(),f("ngClass",X(16,Le,n.isFullContainer,n.isNotEmpty(n.currentSubStatus)&&n.currentSubStatus!==n.subsStatusEnum.PAID)))},dependencies:[be,ae,se,le,de,me,fe,ie,ne,Me],styles:['.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%], body[_ngcontent-%COMP%] > .navbar-collapse[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important}.sidebar-wrapper[_ngcontent-%COMP%]{max-height:calc(100% - 61px)!important;min-height:calc(100% - 61px)!important}@media (max-width: 991px){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (pointer: coarse){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (max-width: 468px){.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media only screen and (min-width: 992px){.sidebar[_ngcontent-%COMP%]{z-index:1050!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%], .sidebar.collapses[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{width:70px;transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .simple-text[_ngcontent-%COMP%]{background-color:#ffffff3b;border-radius:20px;height:40px;width:40px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important;height:50px;text-align:center;margin:10px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{padding-left:70px}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{left:70px!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]{position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1;background-color:#fff;position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border:0;border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;padding:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1}}.full-container[_ngcontent-%COMP%]{padding-top:0!important}.changelog[_ngcontent-%COMP%]{color:#0006b1!important}.changelog[_ngcontent-%COMP%]:visited{color:#2e2e2e!important}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited:hover span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#e9ecef!important;position:absolute;top:-4px;right:-18px}.subscription-bar-visible[_ngcontent-%COMP%]{padding-top:98px}.checkbox_toggle[_ngcontent-%COMP%]{position:relative}.checkbox_toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#868686;display:inline-block;padding-right:38px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:23px;height:14px;background-color:#ccc;top:2.2px;right:0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#1f77d0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{left:10px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;border-radius:50%;position:absolute;top:.8px;left:1px;transition:all .1s;background-color:#fff}']})};function Ee(e){let i=l(b),t="/menu";e.forEach(a=>t+=`/${a.path}`);let n=i.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(n).forEach((a,g)=>{g==0?t=`${t}?${a}=${n[a]}`:t=`${t}&${a}=${n[a]}`}),t}var O=(e,i)=>{let t=l(h),n=t.isTokenExpired(),u=l(b);return n?(t.returnUrl=Ee(i),u.navigate(["/"]),!1):e.path=="Dashboard"?De():!0};function De(){let e=l(b),i=l(h),t=!1,n=i.getRedirectUrl();return t=n.includes("Dashboard"),t==!1&&e.navigate([n]),t}var L=class e{paymentStorageService=l(Ce);canActivate(i,t){return this.paymentStorageService.clear(),!0}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var U=class e{reportService=l(Pe);canActivate(i,t){return this.reportService.resetFilter(),!0}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var je=[{path:"",component:P,children:[{path:"Inventory",loadChildren:()=>import("./chunk-ZKRFSVUW.js").then(e=>e.InventoryModule),canLoad:[r]},{path:"Reports",loadChildren:()=>import("./chunk-AAR4B3HZ.js").then(e=>e.ReportsModule),canLoad:[r],canActivate:[U]},{path:"Sell",loadChildren:()=>import("./chunk-GVSOBS5Q.js").then(e=>e.routes),canLoad:[r]},{path:"Print",loadChildren:()=>import("./chunk-YQEL63SF.js").then(e=>e.PrintModule),canLoad:[r]},{path:"Buy",loadComponent:()=>import("./chunk-YDXY6QHK.js").then(e=>e.BuyV2Component),canMatch:[O]},{path:"Sell/V2",loadComponent:()=>import("./chunk-7S5F6JOF.js").then(e=>e.SellV2Component),canMatch:[O]},{path:"Dashboard",loadComponent:()=>import("./chunk-6IIF7CKF.js").then(e=>e.DashboardV2Component),canMatch:[O]},{path:"Products",loadChildren:()=>import("./chunk-JY5XX3QX.js").then(e=>e.ProductModule),canLoad:[r]},{path:"Shift",loadChildren:()=>import("./chunk-I45IV26L.js").then(e=>e.ShiftModule),canLoad:[r]},{path:"Debt",loadChildren:()=>import("./chunk-E4R5MW6J.js").then(e=>e.DebtModule),canLoad:[r]},{path:"Logistics",loadChildren:()=>import("./chunk-4VMXYBU3.js").then(e=>e.DeliveryModule),canLoad:[r]},{path:"Users",loadChildren:()=>import("./chunk-2EQ7Y56O.js").then(e=>e.UsersModule),canLoad:[r]},{path:"Setup",loadChildren:()=>import("./chunk-N22LFPQL.js").then(e=>e.SetupModule),canLoad:[r]},{path:"Developer",loadChildren:()=>import("./chunk-ZIQAYIU4.js").then(e=>e.DeveloperModule),canLoad:[r]},{path:"Contacts",loadChildren:()=>import("./chunk-HVMUCZ5I.js").then(e=>e.ContactsModule),canLoad:[r]},{path:"Outlets",loadChildren:()=>import("./chunk-QJWMNNK6.js").then(e=>e.OutletsModule),canLoad:[r]},{path:"Orders",loadChildren:()=>import("./chunk-DE2STA2G.js").then(e=>e.OrdersModule),canLoad:[r]},{path:"Profile",loadChildren:()=>import("./chunk-RZFAYPJW.js").then(e=>e.ProfileModule),canLoad:[r]},{path:"Estimate",loadComponent:()=>import("./chunk-ZC4V4XIM.js").then(e=>e.EstimateV2Component),canMatch:[O]},{path:"Adjustment",loadChildren:()=>import("./chunk-PZID6T4A.js").then(e=>e.AdjustmentModule),canLoad:[r]},{path:"Payment",loadChildren:()=>import("./chunk-CIEDGY7H.js").then(e=>e.PaymentModule),canLoad:[r],canActivate:[L]},{path:"Promotion",loadChildren:()=>import("./chunk-HBC5DBVS.js").then(e=>e.PromotionModule),canLoad:[r]},{path:"Manufacture",loadChildren:()=>import("./chunk-FZNAOCWZ.js").then(e=>e.ManufactureModule),canLoad:[r]},{path:"Prepaid_Package",loadChildren:()=>import("./chunk-LDEAORXA.js").then(e=>e.PrepaidPackageModule),canLoad:[r]},{path:"Fulfillment",loadChildren:()=>import("./chunk-QHX74QID.js").then(e=>e.FulfillmentModule),canLoad:[r]},{path:"Unauthorized",loadChildren:()=>import("./chunk-SO3422SX.js").then(e=>e.UnauthorizedModule),canLoad:[r]},{path:"Not_Found",loadChildren:()=>import("./chunk-AFYPHUZX.js").then(e=>e.NotFoundModule),canLoad:[r]},{path:"",redirectTo:"/menu/Dashboard",pathMatch:"full"},{path:"**",redirectTo:"Not_Found"}]}],N=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=x({type:e});static \u0275inj=y({imports:[B.forChild(je),B]})};var ye=class e{constructor(){}static \u0275fac=function(t){return new(t||e)};static \u0275mod=x({type:e,bootstrap:[P]});static \u0275inj=y({imports:[Se,N,he,re]})};export{ye as MenuMasterModule};
1
+ import{a as Ce}from"./chunk-MQKEWZMW.js";import{a as Me}from"./chunk-YNDNTAII.js";import{a as Pe}from"./chunk-MGQ5I7BK.js";import{a as ve}from"./chunk-XMYLHF4C.js";import{b as be,c as Se}from"./chunk-JOXTERIM.js";import{a as ue}from"./chunk-6ZN7JR6K.js";import"./chunk-GIKR6Y2K.js";import"./chunk-ZHY3BUQJ.js";import{F as he,b as de,h as me,o as fe}from"./chunk-RVXZOIFQ.js";import{a as T,c as h}from"./chunk-OZ5JEMRA.js";import{a as ge}from"./chunk-4E2KYPJT.js";import{a as M,d as I}from"./chunk-ZZGSAFGO.js";import{a as ce}from"./chunk-YAWVVMMS.js";import{$ as H,$a as c,Bc as te,E,Ib as o,Jb as s,Kb as p,Nd as oe,Pd as ae,Qb as C,Qd as b,Rb as Q,Rd as se,Sd as le,Td as B,Vb as Z,Vd as pe,Wa as J,Wc as ie,Yc as ne,d as G,da as D,db as v,ec as m,fc as V,gc as $,ja as d,jd as re,ka as y,kb as q,lb as x,ma as _,na as l,qb as j,rc as K,sc as X,ub as Y,vb as f,xb as W,zb as F,zc as ee}from"./chunk-UXRO4UFY.js";import"./chunk-7DCB7DB2.js";var r=class e{constructor(i,t){this.authService=i;this.router=t}canLoad(i,t){return this.authService.isTokenExpired()?(this.authService.returnUrl=this.getUrlRedirect(t),this.router.navigate(["/"]),!1):!0}getUrlRedirect(i){let t="/menu";i.forEach(a=>t+=`/${a.path}`);let n=this.router.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(n).forEach((a,g)=>{g==0?t=`${t}?${a}=${n[a]}`:t=`${t}&${a}=${n[a]}`}),t}static \u0275fac=function(t){return new(t||e)(_(h),_(b))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var w=class e{constructor(i){this.toastrService=i;this.initPermissionToastr=!1}isPermissionGranted;initPermissionToastr;initPermission(){try{this.initPermissionToastr||Notification.requestPermission().then(t=>{this.isPermissionGranted=!1,t=="granted"&&(this.isPermissionGranted=!0),this.initPermissionToastr=!0})}catch(i){console.error(i)}}showAlert(i,t,n,u){let a=6e4;if(this.isPermissionGranted)try{let g=new Notification(t,{body:i,icon:u});g.onerror=R=>{this.toastrService.info(this.setBody(i,n),t,{timeOut:a,enableHtml:this.hasUrl(n)})}}catch(g){console.error(g)}else this.toastrService.info(this.setBody(i,n),t,{timeOut:a,enableHtml:this.hasUrl(n)})}setBody(i,t){return this.hasUrl(t)&&(i=`<a href="${t}" target="_blank" class="ps-0">${i}</a>`),i}hasUrl(i){return!!(i&&i.length!==0)}static \u0275fac=function(t){return new(t||e)(_(pe))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var _e=[{T:"Dashboard",U:"/menu/Dashboard",I:"fa-solid fa-chart-pie"},{T:"Products",U:"/menu/Products",I:"fa-solid fa-tag"},{T:"Estimate",U:"/menu/Estimate",I:"fa-solid fa-clipboard"},{T:"Sell",U:"/menu/Sell",I:"fa-solid fa-cart-shopping"},{T:"Shift",U:"/menu/Shift/",I:"fa-solid fa-user-clock"},{T:"Reports",U:"/menu/Reports",I:"fa-solid fa-chart-area"},{T:"Contacts",U:"/menu/Contacts",I:"fas fa-address-book"},{T:"Orders",U:"/menu/Orders",I:"fas fa-file-invoice"},{T:"Payment",U:"/menu/Payment",I:"fas fa-money-bill-alt"},{T:"Debt",U:"/menu/Debt",I:"fas fa-dollar-sign"},{T:"Inventory",U:"/menu/Inventory",I:"fas fa-archive"},{T:"Adjustment",U:"/menu/Adjustment",I:"fas fa-scanner-gun"},{T:"Buy",U:"/menu/Buy",I:"fa-solid fa-cart-arrow-down"},{T:"Logistics",U:"/menu/Logistics",I:"fas fa-truck"},{T:"Fulfillment",U:"/menu/Fulfillment",I:"fas fa-dolly"},{T:"Manufacture",U:"/menu/Manufacture",I:"fas fa-industry"},{T:"Prepaid Package",U:"/menu/Prepaid_Package",I:"fa-solid fa-id-card"},{T:"Promotion",U:"/menu/Promotion",I:"fas fa-bullhorn"},{T:"Users",U:"/menu/Users",I:"fas fa-user"},{T:"Outlets",U:"/menu/Outlets",I:"fas fa-map-marker-alt"},{T:"Setup",U:"/menu/Setup",I:"fas fa-gear"},{T:"Developer",U:"/menu/Developer",I:"fas fa-code"}];var k=class e{role=l(I);authService=l(h);menu=_e;filteredMenu=[];initFilteredMenu(){this.filteredMenu=this.menu.filter(i=>i.T==="Dashboard"?this.role.dashboard.View:i.T==="Products"?this.role.product.View:i.T==="Estimate"?this.role.estimate.Create:i.T==="Sell"?this.role.sell.Create:i.T==="Shift"?this.role.sell.Create:i.T==="Reports"?this.role.report.View:i.T==="Contacts"?this.role.contact.View:i.T==="Orders"?this.role.order.View:i.T==="Payment"?this.role.payment.View:i.T==="Debt"?this.role.debt.View:i.T==="Inventory"?this.role.inventory.View:i.T==="Adjustment"?this.role.adjustment.View:i.T==="Buy"?this.role.buy.Create:i.T==="Logistics"?this.role.logistic.View:i.T==="Manufacture"?this.role.manufacture.View:i.T==="Fulfillment"?this.role.fulfillment.View:i.T==="Prepaid Package"?this.role.prepaidPackage.View:i.T==="Promotion"?this.role.promotion.View:i.T==="Users"?this.role.users.View:i.T==="Outlets"?this.role.outlets.View:i.T==="Setup"?this.role.setup.View:i.T==="Developer"?this.role.developer.View:!0),this.filterBySubscriptionStatus()}filterBySubscriptionStatus(){let i=this.authService.getSubscriptionStatus();this.filteredMenu=this.filteredMenu.filter(t=>{switch(i){case 2:return t.T=="Sell"||t.T=="Shift";case 3:return!1;default:return!0}})}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var Oe=[{T:"My Profile",U:"Profile/Main/My_Profile",I:"fas fa-user"},{T:"My Subscription",U:"Profile/Main/My_Subscription",I:"fa-solid fa-credit-card"},{T:"Notification",U:"Profile/Notification/Push",I:"fas fa-bell"},{T:"My Sales",U:"Profile/Main/My_Sales",I:"fas fa-history"}];var A=class e{role=l(I);authService=l(h);filteredMenu=[];initFilteredMenu(){let i=this.authService.getSubscriptionStatus();this.filteredMenu=Oe.filter(t=>t.T=="My Profile"?this.role.profile.View:t.T=="My Subscription"?this.role.profile.Subscription:t.T=="Notification"?this.role.profile.Notification&&i!=2&&i!=3:t.T=="My Sales"?i!=2&&i!=3:!0)}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var Le=(e,i)=>({"full-container":e,"subscription-bar-visible":i}),Ue=e=>[e];function Ne(e,i){if(e&1&&(o(0,"a",35),p(1,"i",36),o(2,"span"),m(3),s()()),e&2){let t=i.$implicit;f("routerLink",t==null?null:t.U),c(),F((t==null?null:t.I)+" me-2"),c(2),V(t==null?null:t.T)}}function Re(e,i){if(e&1&&(o(0,"li",37,0)(2,"a",38),p(3,"i"),o(4,"p"),m(5),s()()()),e&2){let t=i.$implicit,n=Q();f("routerLinkActiveOptions",n.isActiveMatchOptions),Y("data-cy",t==null?null:t.T),c(2),f("matTooltip",n.toggleSideMenu?t==null?null:t.T:"")("routerLink",K(7,Ue,t==null?null:t.U)),c(),F(t==null?null:t.I),c(2),V(t==null?null:t.T)}}var P=class e{constructor(i,t,n,u,a,g,R,z){this.toggleSidebar=i;this.signalRClientService=t;this.notificationAlertService=n;this.router=u;this.authService=a;this.intercomService=g;R.initFilteredMenu(),z.initFilteredMenu(),this.leftSidebarMenu=R.filteredMenu,this.topMenu=z.filteredMenu,this.accountInfo=JSON.parse(localStorage.getItem("AccountInfo")),this.toggleSidebar.toggleState$.subscribe(xe=>this.isNavOpen=xe),this.destroy$=new G,this.initNotificationPermission()}isActiveMatchOptions={matrixParams:"subset",queryParams:"subset",paths:"subset",fragment:"exact"};toggleSideMenu=!1;isNavOpen;destroy$;activeMenu;appVersion=ce.version;currentSubStatus;subsStatusEnum=T;isFullContainer=!1;isHideIntercomLauncher;leftSidebarMenu;topMenu;accountInfo;ngOnInit(){this.subscribeToPushNotification(),this.getCurrentSubscriptionStatus(),this.initFullContainer()}initFullContainer(){this.router.events.pipe(E(i=>i instanceof oe),H(null),D(this.destroy$)).subscribe(i=>{this.isFullContainer=!1,(this.router.url.includes("Sell")&&!this.router.url.includes("v2")&&!this.router.url.includes("Offline")||this.router.url.includes("Buy")||this.router.url.includes("menu/Estimate")||this.router.url.includes("Transfer_Order/Form")||this.router.url.includes("Adjustment/Archive/Form")||this.router.url.includes("Job_Order/Archive/Form")||this.router.url.includes("/menu/Debt/Debt/Join_Invoice/Form")||this.router.url.includes("/menu/Debt/Debt/Join_Bill/New_Join_Bill"))&&(this.isFullContainer=!0)})}initNotificationPermission(){this.notificationAlertService.initPermission()}getCurrentSubscriptionStatus(){this.currentSubStatus=this.authService.getSubscriptionStatus()}subscribeToPushNotification(){let i=localStorage.getItem("NotificationOutletID");M.IsNotEmpty(i)&&M.isGuid(i)?this.signalRClientService.SubscribeGroup(i):this.signalRClientService.startConnection(),this.signalRClientService.OnReceivePushNotification.pipe(D(this.destroy$),E(t=>M.IsNotEmpty(t))).subscribe(t=>{if(M.IsNotEmpty(t)){let n=JSON.parse(t),u="//res.cloudinary.com/pos/image/upload/v1657006791/icons/info-new.png";M.IsNotEmpty(n.Icon)&&(u=n.Icon),this.notificationAlertService.showAlert(n.Body,n.Header,n.URL,u)}})}ngAfterViewInit(){this.intercomService.inititalizeIntercom()}toggleMenu(){this.toggleSideMenu=!this.toggleSideMenu}logout(){this.authService.logout()}isNotEmpty(i){return M.IsNotEmpty(i)}onShowDropdown(){this.isHideIntercomLauncher=this.intercomService.isHideLauncher()}chatToggleChange(){this.isHideIntercomLauncher==!1?this.intercomService.hideLauncher():this.intercomService.showLauncher(),this.onShowDropdown()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static \u0275fac=function(t){return new(t||e)(v(ve),v(ue),v(w),v(b),v(h),v(ge),v(k),v(A))};static \u0275cmp=q({type:e,selectors:[["POS-menu-master"]],standalone:!1,decls:52,vars:19,consts:[["rla","routerLinkActive"],[1,"wrapper"],["data-color","blue",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-lg-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fa-solid",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-cy","companyName","data-bs-toggle","dropdown","aria-expanded","false","matTooltipPosition","above",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center",2,"cursor","pointer",3,"click","matTooltip"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],["class","dropdown-item h5",3,"routerLink",4,"ngFor","ngForOf"],[1,"dropdown-item","h5",2,"cursor","pointer"],[1,"d-flex","align-items-center","justify-content-between"],[1,"fa-solid","fa-comment-dots","me-2"],[1,"checkbox_toggle","ms-3",3,"click"],["type","checkbox","id","chatToggle","name","ChatToggle",3,"ngModelChange","ngModel"],["for","chatToggle",1,"position-relative","rounded-pill","pointer"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fa-solid","fa-sign-out-alt","me-2"],[1,"divider"],[1,"dropdown-header","border-top"],["target","_blank",1,"dropdown-item","h5","changelog",3,"href"],["aria-hidden","true",1,"fa-solid","fa-sparkles","me-2"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],["target","_blank","href","http://support.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-book","me-2"],["target","_blank","href","https://www.dealpos.app/",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-table-cells-large","me-2"],["target","_blank","href","http://blog.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-brands","fa-blogger","me-2"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",3,"routerLinkActiveOptions",4,"ngFor","ngForOf"],["id","full-container",1,"main-panel",3,"ngClass"],[1,"dropdown-item","h5",3,"routerLink"],["aria-hidden","true"],["routerLinkActive","active",3,"routerLinkActiveOptions"],["matTooltipPosition","above",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"]],template:function(t,n){t&1&&(o(0,"div",1)(1,"div",2)(2,"button",3),C("click",function(){return n.toggleMenu()}),p(3,"i",4),s(),o(4,"div",5)(5,"div",6)(6,"a",7),C("click",function(){return n.onShowDropdown()}),m(7),ee(8,"limitText"),s(),o(9,"div",8)(10,"div",9),m(11),s(),p(12,"div",10),j(13,Ne,4,4,"a",11),o(14,"a",12)(15,"div",13)(16,"div"),p(17,"i",14),o(18,"span"),m(19,"Chat Support"),s()(),o(20,"div",15),C("click",function(a){return a.stopPropagation()}),o(21,"input",16),C("ngModelChange",function(){return n.chatToggleChange()}),s(),p(22,"label",17),s()()(),o(23,"a",18),C("click",function(){return n.logout()}),p(24,"i",19),o(25,"span"),m(26,"Log Out"),s()(),p(27,"div",20),o(28,"div",21),m(29," Links "),s(),o(30,"a",22),p(31,"i",23),o(32,"span"),m(33,"What's New"),p(34,"i",24),s()(),o(35,"a",25),p(36,"i",26),o(37,"span"),m(38,"Help Center"),s()(),o(39,"a",27),p(40,"i",28),o(41,"span"),m(42,"App Store"),s()(),o(43,"a",29),p(44,"i",30),o(45,"span"),m(46,"Company Blog"),s()()()()(),o(47,"div",31)(48,"ul",32),j(49,Re,6,9,"li",33),s()()(),o(50,"div",34),p(51,"router-outlet"),s()()),t&2&&(W("nav-open",n.isNavOpen),c(),f("ngClass",n.toggleSideMenu?"collapses":""),c(2),f("ngClass",n.toggleSideMenu?"fa-angle-left cursor":"fa-angle-right cursor"),c(3),f("matTooltip",n.accountInfo==null?null:n.accountInfo.BrandName),c(),$(" ",te(8,13,n.accountInfo==null?null:n.accountInfo.BrandName,12)," "),c(4),$("",n.accountInfo==null?null:n.accountInfo.UserName," "),c(2),f("ngForOf",n.topMenu),c(8),f("ngModel",!n.isHideIntercomLauncher),c(9),Z("href","https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",n.appVersion,"",J),c(19),f("ngForOf",n.leftSidebarMenu),c(),f("ngClass",X(16,Le,n.isFullContainer,n.isNotEmpty(n.currentSubStatus)&&n.currentSubStatus!==n.subsStatusEnum.PAID)))},dependencies:[be,ae,se,le,de,me,fe,ie,ne,Me],styles:['.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%], body[_ngcontent-%COMP%] > .navbar-collapse[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important}.sidebar-wrapper[_ngcontent-%COMP%]{max-height:calc(100% - 61px)!important;min-height:calc(100% - 61px)!important}@media (max-width: 991px){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (pointer: coarse){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (max-width: 468px){.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media only screen and (min-width: 992px){.sidebar[_ngcontent-%COMP%]{z-index:1050!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%], .sidebar.collapses[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{width:70px;transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .simple-text[_ngcontent-%COMP%]{background-color:#ffffff3b;border-radius:20px;height:40px;width:40px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important;height:50px;text-align:center;margin:10px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{padding-left:70px}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{left:70px!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]{position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1;background-color:#fff;position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border:0;border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;padding:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1}}.full-container[_ngcontent-%COMP%]{padding-top:0!important}.changelog[_ngcontent-%COMP%]{color:#0006b1!important}.changelog[_ngcontent-%COMP%]:visited{color:#2e2e2e!important}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited:hover span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#e9ecef!important;position:absolute;top:-4px;right:-18px}.subscription-bar-visible[_ngcontent-%COMP%]{padding-top:98px}.checkbox_toggle[_ngcontent-%COMP%]{position:relative}.checkbox_toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#868686;display:inline-block;padding-right:38px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:23px;height:14px;background-color:#ccc;top:2.2px;right:0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#1f77d0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{left:10px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;border-radius:50%;position:absolute;top:.8px;left:1px;transition:all .1s;background-color:#fff}']})};function Ee(e){let i=l(b),t="/menu";e.forEach(a=>t+=`/${a.path}`);let n=i.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(n).forEach((a,g)=>{g==0?t=`${t}?${a}=${n[a]}`:t=`${t}&${a}=${n[a]}`}),t}var O=(e,i)=>{let t=l(h),n=t.isTokenExpired(),u=l(b);return n?(t.returnUrl=Ee(i),u.navigate(["/"]),!1):e.path=="Dashboard"?De():!0};function De(){let e=l(b),i=l(h),t=!1,n=i.getRedirectUrl();return t=n.includes("Dashboard"),t==!1&&e.navigate([n]),t}var L=class e{paymentStorageService=l(Ce);canActivate(i,t){return this.paymentStorageService.clear(),!0}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var U=class e{reportService=l(Pe);canActivate(i,t){return this.reportService.resetFilter(),!0}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var je=[{path:"",component:P,children:[{path:"Inventory",loadChildren:()=>import("./chunk-7WNL4VON.js").then(e=>e.InventoryModule),canLoad:[r]},{path:"Reports",loadChildren:()=>import("./chunk-ZWBEJM56.js").then(e=>e.ReportsModule),canLoad:[r],canActivate:[U]},{path:"Sell",loadChildren:()=>import("./chunk-SA6YKTKS.js").then(e=>e.routes),canLoad:[r]},{path:"Print",loadChildren:()=>import("./chunk-ZRCTLVL4.js").then(e=>e.PrintModule),canLoad:[r]},{path:"Buy",loadComponent:()=>import("./chunk-6OOS5QHG.js").then(e=>e.BuyV2Component),canMatch:[O]},{path:"Sell/V2",loadComponent:()=>import("./chunk-WNVQWJ2T.js").then(e=>e.SellV2Component),canMatch:[O]},{path:"Dashboard",loadComponent:()=>import("./chunk-XJ25XOBC.js").then(e=>e.DashboardV2Component),canMatch:[O]},{path:"Products",loadChildren:()=>import("./chunk-YQL4ALTP.js").then(e=>e.ProductModule),canLoad:[r]},{path:"Shift",loadChildren:()=>import("./chunk-JKLJ4KAW.js").then(e=>e.ShiftModule),canLoad:[r]},{path:"Debt",loadChildren:()=>import("./chunk-PDJ7PMBB.js").then(e=>e.DebtModule),canLoad:[r]},{path:"Logistics",loadChildren:()=>import("./chunk-4MOSTNVA.js").then(e=>e.DeliveryModule),canLoad:[r]},{path:"Users",loadChildren:()=>import("./chunk-BSIHS2EA.js").then(e=>e.UsersModule),canLoad:[r]},{path:"Setup",loadChildren:()=>import("./chunk-VAMTYISE.js").then(e=>e.SetupModule),canLoad:[r]},{path:"Developer",loadChildren:()=>import("./chunk-5SEFV3QG.js").then(e=>e.DeveloperModule),canLoad:[r]},{path:"Contacts",loadChildren:()=>import("./chunk-2YMLZZTQ.js").then(e=>e.ContactsModule),canLoad:[r]},{path:"Outlets",loadChildren:()=>import("./chunk-XHG7GWS5.js").then(e=>e.OutletsModule),canLoad:[r]},{path:"Orders",loadChildren:()=>import("./chunk-IW63ASKB.js").then(e=>e.OrdersModule),canLoad:[r]},{path:"Profile",loadChildren:()=>import("./chunk-EKKU5TMC.js").then(e=>e.ProfileModule),canLoad:[r]},{path:"Estimate",loadComponent:()=>import("./chunk-55U65HSD.js").then(e=>e.EstimateV2Component),canMatch:[O]},{path:"Adjustment",loadChildren:()=>import("./chunk-TFE7D7VV.js").then(e=>e.AdjustmentModule),canLoad:[r]},{path:"Payment",loadChildren:()=>import("./chunk-UECAH6V7.js").then(e=>e.PaymentModule),canLoad:[r],canActivate:[L]},{path:"Promotion",loadChildren:()=>import("./chunk-XO6RYTAS.js").then(e=>e.PromotionModule),canLoad:[r]},{path:"Manufacture",loadChildren:()=>import("./chunk-GNAF5D23.js").then(e=>e.ManufactureModule),canLoad:[r]},{path:"Prepaid_Package",loadChildren:()=>import("./chunk-5ZIFEEGI.js").then(e=>e.PrepaidPackageModule),canLoad:[r]},{path:"Fulfillment",loadChildren:()=>import("./chunk-XZRKMN4V.js").then(e=>e.FulfillmentModule),canLoad:[r]},{path:"Unauthorized",loadChildren:()=>import("./chunk-VIJ7B625.js").then(e=>e.UnauthorizedModule),canLoad:[r]},{path:"Not_Found",loadChildren:()=>import("./chunk-IC7LV3SK.js").then(e=>e.NotFoundModule),canLoad:[r]},{path:"",redirectTo:"/menu/Dashboard",pathMatch:"full"},{path:"**",redirectTo:"Not_Found"}]}],N=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=x({type:e});static \u0275inj=y({imports:[B.forChild(je),B]})};var ye=class e{constructor(){}static \u0275fac=function(t){return new(t||e)};static \u0275mod=x({type:e,bootstrap:[P]});static \u0275inj=y({imports:[Se,N,he,re]})};export{ye as MenuMasterModule};