marketplacepos 3.7.2 → 3.7.4

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 (71) hide show
  1. package/Marketplace/{chunk-QOBUHJEC.js → chunk-2SA7SVYH.js} +1 -1
  2. package/Marketplace/{chunk-H65R6LYY.js → chunk-2UI4YTN6.js} +1 -1
  3. package/Marketplace/chunk-2V7GCWY7.js +1 -0
  4. package/Marketplace/{chunk-EJ4H3OFV.js → chunk-2YI2WW5U.js} +1 -1
  5. package/Marketplace/{chunk-ULZ3J3BD.js → chunk-4AQ3EZML.js} +1 -1
  6. package/Marketplace/{chunk-GSZSRSYG.js → chunk-5XRAHMC6.js} +1 -1
  7. package/Marketplace/{chunk-MQUFUG4I.js → chunk-644NU43G.js} +1 -1
  8. package/Marketplace/{chunk-4SAZAICQ.js → chunk-7I7KV673.js} +1 -1
  9. package/Marketplace/{chunk-IANWTXDM.js → chunk-7QIOC7BK.js} +1 -1
  10. package/Marketplace/{chunk-MG7FPXZX.js → chunk-7XITKPS5.js} +1 -1
  11. package/Marketplace/{chunk-H65V337R.js → chunk-BGCBCSHC.js} +1 -1
  12. package/Marketplace/{chunk-AE6IHJSI.js → chunk-BTKXSJ5K.js} +1 -1
  13. package/Marketplace/{chunk-LQUPRVED.js → chunk-CHDEJCV7.js} +1 -1
  14. package/Marketplace/{chunk-KOEWWMXB.js → chunk-COKR3NPC.js} +1 -1
  15. package/Marketplace/{chunk-6GVQC3OR.js → chunk-COLVGV5B.js} +1 -1
  16. package/Marketplace/{chunk-NY3NDLUY.js → chunk-CS62TIAP.js} +1 -1
  17. package/Marketplace/{chunk-QWKP6LGP.js → chunk-CSUJ7V36.js} +1 -1
  18. package/Marketplace/{chunk-3KV2JLZD.js → chunk-CUYZKVZ3.js} +1 -1
  19. package/Marketplace/{chunk-CQJJCQOZ.js → chunk-DJCANNYC.js} +1 -1
  20. package/Marketplace/{chunk-JHT6TPR2.js → chunk-ELFNCSQS.js} +1 -1
  21. package/Marketplace/{chunk-ZA6GABVQ.js → chunk-ENOOLWKX.js} +1 -1
  22. package/Marketplace/{chunk-LU4CQUNV.js → chunk-FGEVVKEH.js} +1 -1
  23. package/Marketplace/{chunk-T4IQWUBV.js → chunk-FZ3LLUFV.js} +1 -1
  24. package/Marketplace/{chunk-VM5LF2AQ.js → chunk-GQU66EJO.js} +1 -1
  25. package/Marketplace/{chunk-7QK5UPRO.js → chunk-H4UMXVLS.js} +1 -1
  26. package/Marketplace/{chunk-2SYJDDTX.js → chunk-HAU6K6GW.js} +1 -1
  27. package/Marketplace/{chunk-ONRH4TTU.js → chunk-HX36ACUF.js} +1 -1
  28. package/Marketplace/{chunk-4Z75AP5X.js → chunk-IL2DK2XK.js} +1 -1
  29. package/Marketplace/{chunk-WIPT5BVZ.js → chunk-IMUZFXPJ.js} +2 -2
  30. package/Marketplace/{chunk-NE4U3Z2F.js → chunk-IPVDR333.js} +1 -1
  31. package/Marketplace/{chunk-LV7NKX2V.js → chunk-IZ3HV6DV.js} +1 -1
  32. package/Marketplace/{chunk-GSZGHECR.js → chunk-JB6W2UTC.js} +1 -1
  33. package/Marketplace/{chunk-F2WJC5YO.js → chunk-K5HNYUX4.js} +2 -2
  34. package/Marketplace/{chunk-HD4CTBL2.js → chunk-KQRK4CTQ.js} +1 -1
  35. package/Marketplace/{chunk-RNMZG2RU.js → chunk-KSDM566S.js} +1 -1
  36. package/Marketplace/{chunk-QHJPUEQJ.js → chunk-LSBFWGC6.js} +1 -1
  37. package/Marketplace/{chunk-MCTEEYBG.js → chunk-MPHWSDOT.js} +1 -1
  38. package/Marketplace/{chunk-PSAPUCAJ.js → chunk-N5YIZS6Z.js} +1 -1
  39. package/Marketplace/{chunk-JOI2R7DA.js → chunk-O7MAOFLA.js} +1 -1
  40. package/Marketplace/chunk-OGL675J6.js +1 -0
  41. package/Marketplace/{chunk-37MHCWTD.js → chunk-OKATPNAY.js} +1 -1
  42. package/Marketplace/{chunk-B2H2LMDP.js → chunk-Q4LQRXK4.js} +1 -1
  43. package/Marketplace/{chunk-W5LP6HWA.js → chunk-R4XC3TIR.js} +1 -1
  44. package/Marketplace/{chunk-JEIL7GTU.js → chunk-S5TAVCV2.js} +1 -1
  45. package/Marketplace/{chunk-P7MI7GDE.js → chunk-SCSHD4KU.js} +1 -1
  46. package/Marketplace/{chunk-JGSLR6Q7.js → chunk-SKMUHTVE.js} +1 -1
  47. package/Marketplace/{chunk-LPD77TVJ.js → chunk-SMV45LT2.js} +1 -1
  48. package/Marketplace/{chunk-UUY6BTJU.js → chunk-TNBAGDLT.js} +1 -1
  49. package/Marketplace/{chunk-VZO27DX6.js → chunk-TO2VHTUR.js} +3 -3
  50. package/Marketplace/{chunk-HIX2BUDB.js → chunk-U7MYN4C4.js} +1 -1
  51. package/Marketplace/{chunk-CBW7JGFJ.js → chunk-UGTOBS2B.js} +1 -1
  52. package/Marketplace/{chunk-RQWHADXY.js → chunk-VAE6Y2B3.js} +1 -1
  53. package/Marketplace/{chunk-T5BNV4KL.js → chunk-WGXKB6XB.js} +1 -1
  54. package/Marketplace/{chunk-N6VKSGEM.js → chunk-WOOLZ22H.js} +1 -1
  55. package/Marketplace/{chunk-ZSK75YJW.js → chunk-WP6G47JB.js} +1 -1
  56. package/Marketplace/{chunk-F7PVCSNW.js → chunk-X5NF5S2H.js} +1 -1
  57. package/Marketplace/{chunk-27IVVEQ5.js → chunk-X6UUIC3F.js} +1 -1
  58. package/Marketplace/{chunk-ZMMTX4YX.js → chunk-Y3GV3L67.js} +1 -1
  59. package/Marketplace/{chunk-I66FBNYV.js → chunk-YBPTSF4K.js} +1 -1
  60. package/Marketplace/{chunk-PL4TRYLK.js → chunk-ZAKCXPP7.js} +1 -1
  61. package/Marketplace/index.html +2 -2
  62. package/Marketplace/{main-AUAZAZGD.js → main-FSM7S3E4.js} +1 -1
  63. package/Marketplace/{styles-DC4DACOA.css → styles-VY4XPEM3.css} +1 -1
  64. package/package.json +1 -1
  65. package/Marketplace/chunk-5CBOZ77Z.js +0 -1
  66. package/Marketplace/chunk-FX4KZMXX.js +0 -1
  67. /package/Marketplace/{chunk-5DL35YCG.js → chunk-322JBPYB.js} +0 -0
  68. /package/Marketplace/{chunk-VS4FYYKI.js → chunk-EF3W3UUA.js} +0 -0
  69. /package/Marketplace/{chunk-QYP6WXYL.js → chunk-MKDJJ5L7.js} +0 -0
  70. /package/Marketplace/{chunk-FG5W5K4B.js → chunk-R7J6AS67.js} +0 -0
  71. /package/Marketplace/{polyfills-FXABYPWM.js → polyfills-5ZPLRT7K.js} +0 -0
@@ -1 +1 @@
1
- import{$ as n,Ic as s,ca as a}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-CQJJCQOZ.js";var p=(()=>{let e=class e{constructor(r){this.router=r}canActivate(r,o){let i=JSON.parse(window.localStorage.getItem("user")),c=new Date;if(i!=null){let l=new Date(i.Token.expiredAt);return c<l?!0:(this.router.navigate([""]),!1)}else return this.router.navigate([""]),!1}};e.\u0275fac=function(o){return new(o||e)(a(s))},e.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();export{p as a};
1
+ import{$ as n,Ic as s,ca as a}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-DJCANNYC.js";var p=(()=>{let e=class e{constructor(r){this.router=r}canActivate(r,o){let i=JSON.parse(window.localStorage.getItem("user")),c=new Date;if(i!=null){let l=new Date(i.Token.expiredAt);return c<l?!0:(this.router.navigate([""]),!1)}else return this.router.navigate([""]),!1}};e.\u0275fac=function(o){return new(o||e)(a(s))},e.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();export{p as a};
@@ -17,8 +17,8 @@
17
17
  <script>
18
18
  (function () { var w = window; var ic = w.Intercom; if (typeof ic === "function") { ic('reattach_activator'); ic('update', w.intercomSettings); } else { var d = document; var i = function () { i.c(arguments); }; i.q = []; i.c = function (args) { i.q.push(args); }; w.Intercom = i; var l = function () { var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://widget.intercom.io/widget/xv1oomgl'; var x = d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); }; if (w.attachEvent) { w.attachEvent('onload', l); } else { w.addEventListener('load', l, false); } } })();
19
19
  </script>
20
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/styles-DC4DACOA.css"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-F7PVCSNW.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-WIPT5BVZ.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-JGSLR6Q7.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-MG7FPXZX.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-VM5LF2AQ.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-ZSK75YJW.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-T4IQWUBV.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-7QK5UPRO.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-QYP6WXYL.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-CQJJCQOZ.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-FG5W5K4B.js"></head>
20
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/styles-VY4XPEM3.css"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-X5NF5S2H.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-IMUZFXPJ.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-SKMUHTVE.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-7XITKPS5.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-GQU66EJO.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-WP6G47JB.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-FZ3LLUFV.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-H4UMXVLS.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-MKDJJ5L7.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-DJCANNYC.js"><link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-R7J6AS67.js"></head>
21
21
  <body>
22
22
  <app-root></app-root>
23
- <script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/polyfills-FXABYPWM.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/scripts-M46NWPTC.js" defer></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/main-AUAZAZGD.js" type="module"></script></body>
23
+ <script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/polyfills-5ZPLRT7K.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/scripts-M46NWPTC.js" defer></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/main-FSM7S3E4.js" type="module"></script></body>
24
24
  </html>
@@ -1 +1 @@
1
- import{a as F}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-F7PVCSNW.js";import{a as Ie,b as we,c as Fe,e as Be}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-WIPT5BVZ.js";import{a as xe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-JGSLR6Q7.js";import{a as _e,b as ve,c as ye,d as Pe,e as Me}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-MG7FPXZX.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-VM5LF2AQ.js";import{c as Te}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-ZSK75YJW.js";import{f as He}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-T4IQWUBV.js";import{p as Re}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-7QK5UPRO.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-QYP6WXYL.js";import{$ as P,$a as c,$b as pe,A as J,B as N,C as Z,Cb as se,Db as ae,Fa as i,Fc as Oe,G as E,Ga as f,Gc as Se,Hc as De,Ic as T,K,La as m,Lc as Y,M as Q,Na as $,Oa as a,Ob as ce,Pa as s,Qa as b,Ra as D,T as L,Ua as y,X as ee,Xb as le,Yb as de,Za as d,_a as p,_b as I,aa as _,bc as ue,ca as S,cb as oe,db as q,e as B,ea as g,fa as v,fc as ge,ga as te,hb as A,ja as j,jb as l,ka as U,kc as w,lc as me,na as k,nc as fe,oc as ke,pb as M,pc as be,q as R,qb as ie,rb as re,s as X,sc as Ce,tc as V,wb as x,wc as C,xc as he,y as H,ya as ne,yc as W,zc as G}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-CQJJCQOZ.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-FG5W5K4B.js";function ze(e,o){e&1&&oe(0)}function Xe(e,o){if(e&1&&c(0,"sk-cube-grid",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Je(e,o){if(e&1&&c(0,"sk-chasing-dots",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Ze(e,o){if(e&1&&c(0,"sk-double-bounce",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Ke(e,o){if(e&1&&c(0,"sk-rotating-plane",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Qe(e,o){if(e&1&&c(0,"sk-spinner-pulse",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function et(e,o){if(e&1&&c(0,"sk-three-bounce",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function tt(e,o){if(e&1&&c(0,"sk-wandering-cubes",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function nt(e,o){if(e&1&&c(0,"sk-wave",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}var ot=e=>({"background-color":e});function it(e,o){if(e&1&&(d(0,"div",1),y(1,ze,1,0,"ng-container",2)(2,Xe,1,1,"sk-cube-grid",3)(3,Je,1,1,"sk-chasing-dots",3)(4,Ze,1,1,"sk-double-bounce",3)(5,Ke,1,1,"sk-rotating-plane",3)(6,Qe,1,1,"sk-spinner-pulse",3)(7,et,1,1,"sk-three-bounce",3)(8,tt,1,1,"sk-wandering-cubes",3)(9,nt,1,1,"sk-wave",3),p()),e&2){let t=l();s("opacity",t.opacity),b("backdrop",t.backdrop),a("ngStyle",x(14,ot,t.backdrop?t.backdropBackgroundColor:"transparent")),i(1),a("ngComponentOutlet",t.entryComponent),i(1),a("ngIf",t.spinner===t.spinkit.skCubeGrid),i(1),a("ngIf",t.spinner===t.spinkit.skChasingDots),i(1),a("ngIf",t.spinner===t.spinkit.skDoubleBounce),i(1),a("ngIf",t.spinner===t.spinkit.skRotatingPlane),i(1),a("ngIf",t.spinner===t.spinkit.skSpinnerPulse),i(1),a("ngIf",t.spinner===t.spinkit.skThreeBounce),i(1),a("ngIf",t.spinner===t.spinkit.skWanderingCubes),i(1),a("ngIf",t.spinner===t.spinkit.skWave)}}var h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=te({type:e,inputs:{backgroundColor:"backgroundColor"}}),e})(),rt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-chasing-dots"]],features:[m],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),st=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-cube-grid"]],features:[m],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),e})(),at=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-double-bounce"]],features:[m],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),ct=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-rotating-plane"]],features:[m],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(t,n){t&1&&c(0,"div",0),t&2&&s("background-color",n.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),e})(),lt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-spinner-pulse"]],features:[m],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(t,n){t&1&&c(0,"div",0),t&2&&s("background-color",n.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),e})(),dt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-three-bounce"]],features:[m],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),e})(),pt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wandering-cubes"]],features:[m],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),e})(),ut=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wave"]],features:[m],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),e})(),Ne={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};var z=(()=>{class e{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new B(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(t){this._filteredMethods=t}set filteredHeaders(t){this._filteredHeaders=t}set forceByPass(t){this._forceByPass=t}shouldBypassUrl(t){return this._filteredUrlPatterns.some(n=>n.test(t))}shouldBypassMethod(t){return this._filteredMethods.some(n=>n.toUpperCase()===t.method.toUpperCase())}shouldBypassHeader(t){return this._filteredHeaders.some(n=>t.headers.has(n))}shouldBypass(t){return this._forceByPass||this.shouldBypassUrl(t.urlWithParams)||this.shouldBypassMethod(t)||this.shouldBypassHeader(t)}intercept(t,n){let r=this.shouldBypass(t);return r||(this._pendingRequests++,this._pendingRequests===1&&this._pendingRequestsStatus$.next(!0)),n.handle(t).pipe(Q(()=>{r||(this._pendingRequests--,this._pendingRequests===0&&this._pendingRequestsStatus$.next(!1))}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),gt=[{provide:w,useExisting:z,multi:!0}],mt=(()=>{class e{constructor(t){this.pendingRequestsInterceptor=t,this._visibility$=new B(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return e.\u0275fac=function(t){return new(t||e)(S(z))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ee=(()=>{class e{constructor(t,n){this.pendingRequestsInterceptor=t,this.spinnerVisibility=n,this.spinkit=Ne,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=Ne.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){let[t,n]=Z(this.pendingRequestsInterceptor.pendingRequestsStatus$,r=>r);this.isVisible$=J(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe(L(()=>t.pipe(E(()=>H(this.debounceDelay))))),t.pipe(L(()=>n.pipe(E(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(K(),ee(r=>this.updateExpirationDelay(r)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(t=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(t)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(t){t&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return H(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return e.\u0275fac=function(t){return new(t||e)(f(z),f(mt))},e.\u0275cmp=g({type:e,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(t,n){t&1&&(y(0,it,10,16,"div",0),se(1,"async")),t&2&&a("ngIf",ae(1,1,n.isVisible$))},dependencies:[de,I,pe,st,rt,at,ct,lt,dt,pt,ut,ue],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),e})(),Le=(()=>{class e{static forRoot(){return{ngModule:e,providers:[gt]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=v({type:e}),e.\u0275inj=_({imports:[ge]}),e})();var kt=[{path:"",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-LV7NKX2V.js").then(e=>e.LoginModule)},{path:"menu",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.7.2/Marketplace/chunk-CBW7JGFJ.js").then(e=>e.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}],je=(()=>{let o=class o{};o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=v({type:o}),o.\u0275inj=_({imports:[Y.forRoot(kt,{}),Y]});let e=o;return e})();var Ue=(()=>{let o=class o{constructor(n,r,u){this._router=n,this.titleService=r,this.activatedRoute=u}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe(N(n=>n instanceof Oe)).pipe(R(()=>this.activatedRoute),R(n=>{for(;n.firstChild;)n=n.firstChild;return n}),N(n=>n.outlet==="primary"),X(n=>n.data)).subscribe(n=>{let r=" | Marketplace";n.title=="Dealpos x Marketplace"&&(r=""),this.titleService.setTitle(n.title+r)})}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+n(this.getMonth()+1)+"-"+n(this.getDate())+"T"+n(this.getHours())+":"+n(this.getMinutes())+":"+n(this.getSeconds())+".000"};function n(r){return r<10?"0"+r:r}}};o.\u0275fac=function(r){return new(r||o)(f(T),f(be),f(Se))},o.\u0275cmp=g({type:o,selectors:[["app-root"]],decls:2,vars:0,template:function(r,u){r&1&&c(0,"ng-http-loader")(1,"router-outlet")},dependencies:[De,Ee]});let e=o;return e})();var $e=(()=>{let o=class o{constructor(n){this._router=n}intercept(n,r){let u=JSON.parse(window.localStorage.getItem("user")),We=new Date;if(u!=null){let Ge=new Date(u.Token.expiredAt);We<Ge?n=n.clone({setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${u.Token.access_token}`}}):n=n.clone({setHeaders:{"Content-Type":"application/json"}})}else n=n.clone({setHeaders:{"Content-Type":"application/json"}});return r.handle(n)}};o.\u0275fac=function(r){return new(r||o)(S(T))},o.\u0275prov=P({token:o,factory:o.\u0275fac});let e=o;return e})();var ht=["custom-toast-component",""];function _t(e,o){if(e&1){let t=q();d(0,"a",10),A("click",function(){j(t);let r=l(2);return U(r.remove())}),M(1," x "),p()}}function vt(e,o){if(e&1&&(d(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),M(4),p()()(),d(5,"div",8),y(6,_t,2,0,"a",9),p()()),e&2){let t=l();s("display",t.state.value==="inactive"?"none":""),i(2),D(t.options.titleClass),$("aria-label",t.title),i(2),ie(t.title),i(2),a("ngIf",t.options.closeButton)}}var qe=e=>({notitle:e});function yt(e,o){if(e&1&&c(0,"div",11),e&2){let t=l();D(t.options.messageClass),a("ngClass",x(4,qe,t.title==null))("innerHTML",t.message,ne)}}function Pt(e,o){if(e&1&&(d(0,"div",12),M(1),p()),e&2){let t=l();D(t.options.messageClass),a("ngClass",x(5,qe,t.title==null)),$("aria-label",t.message),i(1),re(" ",t.message," ")}}function Mt(e,o){if(e&1){let t=q();d(0,"a",10),A("click",function(){j(t);let r=l();return U(r.remove())}),M(1," x "),p()}}function xt(e,o){if(e&1&&(d(0,"div"),c(1,"div",13),p()),e&2){let t=l();i(1),s("width",t.width+"%")}}var Ae=(()=>{let o=class o extends ye{constructor(n,r){super(n,r),this.toastrService=n,this.toastPackage=r}ngOnInit(){}action(n){return n.stopPropagation(),this.toastPackage.triggerAction(),!1}};o.\u0275fac=function(r){return new(r||o)(f(ve),f(_e))},o.\u0275cmp=g({type:o,selectors:[["","custom-toast-component",""]],features:[m],attrs:ht,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","g-0"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(r,u){r&1&&(d(0,"div",0),y(1,vt,7,7,"div",1)(2,yt,1,6,"div",2)(3,Pt,2,7,"div",3)(4,Mt,2,0,"a",4)(5,xt,2,2,"div",5),p()),r&2&&(i(1),a("ngIf",u.title),i(1),a("ngIf",u.message&&u.options.enableHtml),i(1),a("ngIf",u.message&&!u.options.enableHtml),i(1),a("ngIf",u.options.closeButton&&u.title==null),i(1),a("ngIf",u.options.progressBar))},dependencies:[le,I],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:0}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0;margin-left:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[Ce("flyInOut",[he("inactive",C({opacity:0})),G("inactive => active",V("400ms ease-out",W([C({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),C({transform:"skewX(20deg)",opacity:1}),C({transform:"skewX(-5deg)",opacity:1}),C({transform:"none",opacity:1})]))),G("active => removed",V("400ms ease-out",W([C({opacity:1}),C({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let e=o;return e})();var Ot={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]},Ve=(()=>{let o=class o{};o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=v({type:o,bootstrap:[Ue]}),o.\u0275inj=_({providers:[{provide:w,useClass:$e,multi:!0},{provide:He,useValue:{subscriptSizing:"dynamic"}},Me,xe,{provide:ce,useFactory:n=>function(){n.loadPermissions()},deps:[Be],multi:!0}],imports:[ke,je,Re,Pe.forRoot({toastComponent:Ae,positionClass:"toast-bottom-right",closeButton:!0}),me,Fe.forRoot(Ot),Le.forRoot(),Ie.initializeApp(F.firebaseConfig),we,Te.forRoot()]});let e=o;return e})();F.production&&void 0;fe().bootstrapModule(Ve).catch(e=>console.error(e));
1
+ import{a as F}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-X5NF5S2H.js";import{a as Ie,b as we,c as Fe,e as Be}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-IMUZFXPJ.js";import{a as xe}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-SKMUHTVE.js";import{a as _e,b as ve,c as ye,d as Pe,e as Me}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-7XITKPS5.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-GQU66EJO.js";import{c as Te}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-WP6G47JB.js";import{f as He}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-FZ3LLUFV.js";import{p as Re}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-H4UMXVLS.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-MKDJJ5L7.js";import{$ as P,$a as c,$b as pe,A as J,B as N,C as Z,Cb as se,Db as ae,Fa as i,Fc as Oe,G as E,Ga as f,Gc as Se,Hc as De,Ic as T,K,La as m,Lc as Y,M as Q,Na as $,Oa as a,Ob as ce,Pa as s,Qa as b,Ra as D,T as L,Ua as y,X as ee,Xb as le,Yb as de,Za as d,_a as p,_b as I,aa as _,bc as ue,ca as S,cb as oe,db as q,e as B,ea as g,fa as v,fc as ge,ga as te,hb as A,ja as j,jb as l,ka as U,kc as w,lc as me,na as k,nc as fe,oc as ke,pb as M,pc as be,q as R,qb as ie,rb as re,s as X,sc as Ce,tc as V,wb as x,wc as C,xc as he,y as H,ya as ne,yc as W,zc as G}from"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-DJCANNYC.js";import"https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-R7J6AS67.js";function ze(e,o){e&1&&oe(0)}function Xe(e,o){if(e&1&&c(0,"sk-cube-grid",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Je(e,o){if(e&1&&c(0,"sk-chasing-dots",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Ze(e,o){if(e&1&&c(0,"sk-double-bounce",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Ke(e,o){if(e&1&&c(0,"sk-rotating-plane",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function Qe(e,o){if(e&1&&c(0,"sk-spinner-pulse",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function et(e,o){if(e&1&&c(0,"sk-three-bounce",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function tt(e,o){if(e&1&&c(0,"sk-wandering-cubes",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}function nt(e,o){if(e&1&&c(0,"sk-wave",4),e&2){let t=l(2);a("backgroundColor",t.backgroundColor)}}var ot=e=>({"background-color":e});function it(e,o){if(e&1&&(d(0,"div",1),y(1,ze,1,0,"ng-container",2)(2,Xe,1,1,"sk-cube-grid",3)(3,Je,1,1,"sk-chasing-dots",3)(4,Ze,1,1,"sk-double-bounce",3)(5,Ke,1,1,"sk-rotating-plane",3)(6,Qe,1,1,"sk-spinner-pulse",3)(7,et,1,1,"sk-three-bounce",3)(8,tt,1,1,"sk-wandering-cubes",3)(9,nt,1,1,"sk-wave",3),p()),e&2){let t=l();s("opacity",t.opacity),b("backdrop",t.backdrop),a("ngStyle",x(14,ot,t.backdrop?t.backdropBackgroundColor:"transparent")),i(1),a("ngComponentOutlet",t.entryComponent),i(1),a("ngIf",t.spinner===t.spinkit.skCubeGrid),i(1),a("ngIf",t.spinner===t.spinkit.skChasingDots),i(1),a("ngIf",t.spinner===t.spinkit.skDoubleBounce),i(1),a("ngIf",t.spinner===t.spinkit.skRotatingPlane),i(1),a("ngIf",t.spinner===t.spinkit.skSpinnerPulse),i(1),a("ngIf",t.spinner===t.spinkit.skThreeBounce),i(1),a("ngIf",t.spinner===t.spinkit.skWanderingCubes),i(1),a("ngIf",t.spinner===t.spinkit.skWave)}}var h=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=te({type:e,inputs:{backgroundColor:"backgroundColor"}}),e})(),rt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-chasing-dots"]],features:[m],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),st=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-cube-grid"]],features:[m],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),e})(),at=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-double-bounce"]],features:[m],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),e})(),ct=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-rotating-plane"]],features:[m],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(t,n){t&1&&c(0,"div",0),t&2&&s("background-color",n.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),e})(),lt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-spinner-pulse"]],features:[m],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(t,n){t&1&&c(0,"div",0),t&2&&s("background-color",n.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),e})(),dt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-three-bounce"]],features:[m],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),e})(),pt=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wandering-cubes"]],features:[m],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),e})(),ut=(()=>{class e extends h{}return e.\u0275fac=(()=>{let o;return function(n){return(o||(o=k(e)))(n||e)}})(),e.\u0275cmp=g({type:e,selectors:[["sk-wave"]],features:[m],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(t,n){t&1&&(d(0,"div",0),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),p()),t&2&&(b("colored",!n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor),i(1),s("background-color",n.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),e})(),Ne={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};var z=(()=>{class e{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new B(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(t){this._filteredMethods=t}set filteredHeaders(t){this._filteredHeaders=t}set forceByPass(t){this._forceByPass=t}shouldBypassUrl(t){return this._filteredUrlPatterns.some(n=>n.test(t))}shouldBypassMethod(t){return this._filteredMethods.some(n=>n.toUpperCase()===t.method.toUpperCase())}shouldBypassHeader(t){return this._filteredHeaders.some(n=>t.headers.has(n))}shouldBypass(t){return this._forceByPass||this.shouldBypassUrl(t.urlWithParams)||this.shouldBypassMethod(t)||this.shouldBypassHeader(t)}intercept(t,n){let r=this.shouldBypass(t);return r||(this._pendingRequests++,this._pendingRequests===1&&this._pendingRequestsStatus$.next(!0)),n.handle(t).pipe(Q(()=>{r||(this._pendingRequests--,this._pendingRequests===0&&this._pendingRequestsStatus$.next(!1))}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),gt=[{provide:w,useExisting:z,multi:!0}],mt=(()=>{class e{constructor(t){this.pendingRequestsInterceptor=t,this._visibility$=new B(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return e.\u0275fac=function(t){return new(t||e)(S(z))},e.\u0275prov=P({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ee=(()=>{class e{constructor(t,n){this.pendingRequestsInterceptor=t,this.spinnerVisibility=n,this.spinkit=Ne,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=Ne.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){let[t,n]=Z(this.pendingRequestsInterceptor.pendingRequestsStatus$,r=>r);this.isVisible$=J(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe(L(()=>t.pipe(E(()=>H(this.debounceDelay))))),t.pipe(L(()=>n.pipe(E(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(K(),ee(r=>this.updateExpirationDelay(r)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(t=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(t)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(t){t&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return H(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return e.\u0275fac=function(t){return new(t||e)(f(z),f(mt))},e.\u0275cmp=g({type:e,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(t,n){t&1&&(y(0,it,10,16,"div",0),se(1,"async")),t&2&&a("ngIf",ae(1,1,n.isVisible$))},dependencies:[de,I,pe,st,rt,at,ct,lt,dt,pt,ut,ue],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),e})(),Le=(()=>{class e{static forRoot(){return{ngModule:e,providers:[gt]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=v({type:e}),e.\u0275inj=_({imports:[ge]}),e})();var kt=[{path:"",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-IZ3HV6DV.js").then(e=>e.LoginModule)},{path:"menu",loadChildren:()=>import("https://cdn.jsdelivr.net/npm/marketplacepos@3.7.4/Marketplace/chunk-UGTOBS2B.js").then(e=>e.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}],je=(()=>{let o=class o{};o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=v({type:o}),o.\u0275inj=_({imports:[Y.forRoot(kt,{}),Y]});let e=o;return e})();var Ue=(()=>{let o=class o{constructor(n,r,u){this._router=n,this.titleService=r,this.activatedRoute=u}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe(N(n=>n instanceof Oe)).pipe(R(()=>this.activatedRoute),R(n=>{for(;n.firstChild;)n=n.firstChild;return n}),N(n=>n.outlet==="primary"),X(n=>n.data)).subscribe(n=>{let r=" | Marketplace";n.title=="Dealpos x Marketplace"&&(r=""),this.titleService.setTitle(n.title+r)})}overrideDateToJsonFunction(){Date.prototype.toJSON=function(){return this.getFullYear()+"-"+n(this.getMonth()+1)+"-"+n(this.getDate())+"T"+n(this.getHours())+":"+n(this.getMinutes())+":"+n(this.getSeconds())+".000"};function n(r){return r<10?"0"+r:r}}};o.\u0275fac=function(r){return new(r||o)(f(T),f(be),f(Se))},o.\u0275cmp=g({type:o,selectors:[["app-root"]],decls:2,vars:0,template:function(r,u){r&1&&c(0,"ng-http-loader")(1,"router-outlet")},dependencies:[De,Ee]});let e=o;return e})();var $e=(()=>{let o=class o{constructor(n){this._router=n}intercept(n,r){let u=JSON.parse(window.localStorage.getItem("user")),We=new Date;if(u!=null){let Ge=new Date(u.Token.expiredAt);We<Ge?n=n.clone({setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${u.Token.access_token}`}}):n=n.clone({setHeaders:{"Content-Type":"application/json"}})}else n=n.clone({setHeaders:{"Content-Type":"application/json"}});return r.handle(n)}};o.\u0275fac=function(r){return new(r||o)(S(T))},o.\u0275prov=P({token:o,factory:o.\u0275fac});let e=o;return e})();var ht=["custom-toast-component",""];function _t(e,o){if(e&1){let t=q();d(0,"a",10),A("click",function(){j(t);let r=l(2);return U(r.remove())}),M(1," x "),p()}}function vt(e,o){if(e&1&&(d(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),M(4),p()()(),d(5,"div",8),y(6,_t,2,0,"a",9),p()()),e&2){let t=l();s("display",t.state.value==="inactive"?"none":""),i(2),D(t.options.titleClass),$("aria-label",t.title),i(2),ie(t.title),i(2),a("ngIf",t.options.closeButton)}}var qe=e=>({notitle:e});function yt(e,o){if(e&1&&c(0,"div",11),e&2){let t=l();D(t.options.messageClass),a("ngClass",x(4,qe,t.title==null))("innerHTML",t.message,ne)}}function Pt(e,o){if(e&1&&(d(0,"div",12),M(1),p()),e&2){let t=l();D(t.options.messageClass),a("ngClass",x(5,qe,t.title==null)),$("aria-label",t.message),i(1),re(" ",t.message," ")}}function Mt(e,o){if(e&1){let t=q();d(0,"a",10),A("click",function(){j(t);let r=l();return U(r.remove())}),M(1," x "),p()}}function xt(e,o){if(e&1&&(d(0,"div"),c(1,"div",13),p()),e&2){let t=l();i(1),s("width",t.width+"%")}}var Ae=(()=>{let o=class o extends ye{constructor(n,r){super(n,r),this.toastrService=n,this.toastPackage=r}ngOnInit(){}action(n){return n.stopPropagation(),this.toastPackage.triggerAction(),!1}};o.\u0275fac=function(r){return new(r||o)(f(ve),f(_e))},o.\u0275cmp=g({type:o,selectors:[["","custom-toast-component",""]],features:[m],attrs:ht,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","g-0"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body",3,"ngClass"],[1,"toast-progress"]],template:function(r,u){r&1&&(d(0,"div",0),y(1,vt,7,7,"div",1)(2,yt,1,6,"div",2)(3,Pt,2,7,"div",3)(4,Mt,2,0,"a",4)(5,xt,2,2,"div",5),p()),r&2&&(i(1),a("ngIf",u.title),i(1),a("ngIf",u.message&&u.options.enableHtml),i(1),a("ngIf",u.message&&!u.options.enableHtml),i(1),a("ngIf",u.options.closeButton&&u.title==null),i(1),a("ngIf",u.options.progressBar))},dependencies:[le,I],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:0}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0;margin-left:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[Ce("flyInOut",[he("inactive",C({opacity:0})),G("inactive => active",V("400ms ease-out",W([C({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),C({transform:"skewX(20deg)",opacity:1}),C({transform:"skewX(-5deg)",opacity:1}),C({transform:"none",opacity:1})]))),G("active => removed",V("400ms ease-out",W([C({opacity:1}),C({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let e=o;return e})();var Ot={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]},Ve=(()=>{let o=class o{};o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=v({type:o,bootstrap:[Ue]}),o.\u0275inj=_({providers:[{provide:w,useClass:$e,multi:!0},{provide:He,useValue:{subscriptSizing:"dynamic"}},Me,xe,{provide:ce,useFactory:n=>function(){n.loadPermissions()},deps:[Be],multi:!0}],imports:[ke,je,Re,Pe.forRoot({toastComponent:Ae,positionClass:"toast-bottom-right",closeButton:!0}),me,Fe.forRoot(Ot),Le.forRoot(),Ie.initializeApp(F.firebaseConfig),we,Te.forRoot()]});let e=o;return e})();F.production&&void 0;fe().bootstrapModule(Ve).catch(e=>console.error(e));