marketplacepos 3.11.4 → 3.11.5
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.
- package/Marketplace/3rdpartylicenses.txt +27 -27
- package/Marketplace/chunk-26HLZRDA.js +1 -0
- package/Marketplace/chunk-2LVSLYBV.js +1 -0
- package/Marketplace/chunk-3G7XK5MI.js +4 -0
- package/Marketplace/chunk-4AXZQMAS.js +1 -0
- package/Marketplace/chunk-4BQPB4PL.js +1 -0
- package/Marketplace/chunk-5KH5BCQM.js +1 -0
- package/Marketplace/chunk-5RM66OVB.js +1 -0
- package/Marketplace/chunk-5ZM4XSQW.js +1 -0
- package/Marketplace/chunk-6HHZHN7P.js +8 -0
- package/Marketplace/chunk-7KGXTHIW.js +1 -0
- package/Marketplace/chunk-7NTKQFO6.js +1 -0
- package/Marketplace/chunk-A5TR5UHL.js +3 -0
- package/Marketplace/chunk-AALPQPNV.js +1 -0
- package/Marketplace/chunk-AI73JQCY.js +1 -0
- package/Marketplace/chunk-AOTR45SX.js +1 -0
- package/Marketplace/chunk-AS72XOBR.js +5 -0
- package/Marketplace/chunk-BIUR6K3C.js +2 -0
- package/Marketplace/chunk-BOSI3BJF.js +1 -0
- package/Marketplace/chunk-C2Z57PHM.js +1 -0
- package/Marketplace/chunk-CARHAIPY.js +1 -0
- package/Marketplace/chunk-CQZLPKQI.js +7 -0
- package/Marketplace/chunk-CRMU6PMW.js +1 -0
- package/Marketplace/chunk-EIZQWSOG.js +3 -0
- package/Marketplace/chunk-F4HOVOTI.js +1 -0
- package/Marketplace/chunk-FCNR3DL5.js +1 -0
- package/Marketplace/chunk-FTHF27YK.js +1 -0
- package/Marketplace/chunk-FY4ZBLX6.js +1 -0
- package/Marketplace/chunk-G4FCMEKS.js +5 -0
- package/Marketplace/chunk-GN6CGQMS.js +4 -0
- package/Marketplace/chunk-GS5L5VKE.js +39 -0
- package/Marketplace/chunk-GUPLRXO2.js +1 -0
- package/Marketplace/chunk-HL4F7T5B.js +1 -0
- package/Marketplace/{chunk-MSAVOLLA.js → chunk-HZ3YSVLS.js} +2 -2
- package/Marketplace/chunk-I5I7UHHM.js +2 -0
- package/Marketplace/chunk-I7XIC4MV.js +1 -0
- package/Marketplace/chunk-IGEQKV42.js +1 -0
- package/Marketplace/chunk-J7NK7BJJ.js +2 -0
- package/Marketplace/chunk-JQQV3EN5.js +1 -0
- package/Marketplace/chunk-L2NFIVJZ.js +1 -0
- package/Marketplace/chunk-MAW5LNHT.js +1 -0
- package/Marketplace/chunk-MSVBBUIV.js +1 -0
- package/Marketplace/chunk-MZTR7GGF.js +1 -0
- package/Marketplace/chunk-O7LVIN5K.js +1 -0
- package/Marketplace/chunk-OCT7STGJ.js +2 -0
- package/Marketplace/chunk-ODO3ELDR.js +1 -0
- package/Marketplace/chunk-Q2XGZGLR.js +1 -0
- package/Marketplace/chunk-Q4BXCRYS.js +1 -0
- package/Marketplace/chunk-QD5AAOCO.js +1 -0
- package/Marketplace/chunk-QGF4YW5W.js +6 -0
- package/Marketplace/chunk-RJJQKBQ5.js +1 -0
- package/Marketplace/chunk-RQUHSBJQ.js +1 -0
- package/Marketplace/chunk-SQJ3P2ZT.js +1 -0
- package/Marketplace/chunk-SWXSUMBG.js +1 -0
- package/Marketplace/chunk-TCCG4TE3.js +1 -0
- package/Marketplace/{chunk-GSSZWMCP.js → chunk-TH6EVOI3.js} +4 -4
- package/Marketplace/chunk-V437EVZ3.js +1 -0
- package/Marketplace/chunk-VFKZICIZ.js +5 -0
- package/Marketplace/chunk-W4KXSHWG.js +1 -0
- package/Marketplace/chunk-WOQ45EJA.js +1 -0
- package/Marketplace/chunk-Y3YRRYBU.js +1 -0
- package/Marketplace/chunk-YDMBBOTQ.js +1 -0
- package/Marketplace/index.html +2 -3
- package/Marketplace/main-AEZ74UFT.js +1 -0
- package/Marketplace/polyfills-FDR4O7DA.js +2 -0
- package/Marketplace/scripts-M46NWPTC.js +5 -0
- package/Marketplace/styles-3TBI7YP7.css +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-3LQ5TKLD.js +0 -1
- package/Marketplace/chunk-3PX6SSDC.js +0 -1
- package/Marketplace/chunk-5LCXVQBT.js +0 -1
- package/Marketplace/chunk-5SE72MGC.js +0 -2
- package/Marketplace/chunk-5ZUWMFL5.js +0 -1
- package/Marketplace/chunk-6B64VOO7.js +0 -1
- package/Marketplace/chunk-6DRNAUKE.js +0 -8
- package/Marketplace/chunk-6F6NSBIF.js +0 -1
- package/Marketplace/chunk-6HBK3C7G.js +0 -1
- package/Marketplace/chunk-6WGRXHNE.js +0 -47
- package/Marketplace/chunk-AL67KXJV.js +0 -2
- package/Marketplace/chunk-BD2QQPDK.js +0 -1
- package/Marketplace/chunk-BMZAGAK3.js +0 -1
- package/Marketplace/chunk-C45X4NQK.js +0 -5
- package/Marketplace/chunk-D72PMDHY.js +0 -1
- package/Marketplace/chunk-DEH6NGKQ.js +0 -1
- package/Marketplace/chunk-DT3B54LD.js +0 -4
- package/Marketplace/chunk-G5LCLRIW.js +0 -1
- package/Marketplace/chunk-GRMIXZTT.js +0 -1
- package/Marketplace/chunk-INNTQ5YN.js +0 -1
- package/Marketplace/chunk-IPGAIBF6.js +0 -5
- package/Marketplace/chunk-JM3LERUP.js +0 -7
- package/Marketplace/chunk-JPAJ6YR6.js +0 -1
- package/Marketplace/chunk-K3G6FMDF.js +0 -1
- package/Marketplace/chunk-KBYAFLE5.js +0 -1
- package/Marketplace/chunk-KUVW5SH2.js +0 -1
- package/Marketplace/chunk-KYJA5TD4.js +0 -1
- package/Marketplace/chunk-L4DP3Q4W.js +0 -1
- package/Marketplace/chunk-MK34PW5S.js +0 -1
- package/Marketplace/chunk-MSGMWJHN.js +0 -1
- package/Marketplace/chunk-MYMGWQRE.js +0 -6
- package/Marketplace/chunk-N4S3Q3EC.js +0 -1
- package/Marketplace/chunk-NRVXDIHY.js +0 -1
- package/Marketplace/chunk-NSM4JDXS.js +0 -1
- package/Marketplace/chunk-OHTJCLX7.js +0 -4
- package/Marketplace/chunk-PRYDCJG5.js +0 -1
- package/Marketplace/chunk-PZJCL4YS.js +0 -1
- package/Marketplace/chunk-PZOGC5DT.js +0 -1
- package/Marketplace/chunk-QK22WK2Q.js +0 -1
- package/Marketplace/chunk-SP6QPE3M.js +0 -1
- package/Marketplace/chunk-SQDLJ6C7.js +0 -3
- package/Marketplace/chunk-SRYGE2HW.js +0 -1
- package/Marketplace/chunk-TCC7PQV3.js +0 -1
- package/Marketplace/chunk-TDHJ34QP.js +0 -1
- package/Marketplace/chunk-TDK2QBFI.js +0 -1
- package/Marketplace/chunk-U5YOE633.js +0 -5
- package/Marketplace/chunk-UILE7H6I.js +0 -1
- package/Marketplace/chunk-VK32VX4W.js +0 -2
- package/Marketplace/chunk-VO5VAOZH.js +0 -1
- package/Marketplace/chunk-W3EAYQL3.js +0 -1
- package/Marketplace/chunk-WQ7LUTQ2.js +0 -1
- package/Marketplace/chunk-XDNW2F3I.js +0 -3
- package/Marketplace/chunk-XOYXFFE6.js +0 -1
- package/Marketplace/chunk-YZ67XPSX.js +0 -1
- package/Marketplace/chunk-ZIW2YTBP.js +0 -1
- package/Marketplace/chunk-ZKBLXGXT.js +0 -2
- package/Marketplace/main-RSHB3ATI.js +0 -1
- package/Marketplace/polyfills-Y3W47ZLP.js +0 -2
- package/Marketplace/scripts-TB7H6DN4.js +0 -5
- package/Marketplace/styles-D4MZYFH2.css +0 -1
- /package/Marketplace/{chunk-662E5VTA.js → chunk-6BSG6YUX.js} +0 -0
- /package/Marketplace/{chunk-IWVYX6KY.js → chunk-KB6IM3NP.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as Zn}from"./chunk-DT3B54LD.js";import{a as Vn,b as $e,c as Gn,d as Yn,e as Jn,g as je}from"./chunk-OHTJCLX7.js";import{a as Kn,b as qe,c as $n,d as jn,e as Hn}from"./chunk-K3G6FMDF.js";import"./chunk-JM3LERUP.js";import"./chunk-6B64VOO7.js";import{f as Xn}from"./chunk-6F6NSBIF.js";import{$ as V,$a as Le,A as un,Ab as Te,Ac as Fn,B as dt,Bb as En,Bc as Ln,C as dn,Cb as Cn,Cc as Be,Da as gt,Dc as xn,E as hn,Fc as v,G as ht,Ga as _n,Gc as Z,Hc as Bn,Ia as y,Ic as vt,Ja as J,K as pn,Kb as we,Kc as zn,Lc as W,M as fn,Ma as bn,Mc as qn,Nc as St,Oa as vn,Oc as kt,Qa as Sn,Rb as Tn,Rc as Se,Sb as wn,Sc as Et,T as pt,Tc as ze,Ua as U,Uc as Qn,Vc as Un,Wa as ve,Wc as Wn,X as mn,Xa as yt,Xc as Ke,Ya as C,Yb as Pn,Z as k,Za as E,_a as oe,_c as Ct,aa as se,ca as Q,da as gn,e as lt,fb as R,gb as F,gc as Mn,ha as z,hb as P,ia as re,ic as An,ja as yn,jc as Dn,kb as kn,lb as _t,lc as xe,mc as Nn,o as ln,ob as bt,oc as On,pa as ft,q as ct,qa as mt,qb as O,s as cn,sc as In,ta as te,y as ut,yc as Pe,zc as Rn}from"./chunk-6DRNAUKE.js";import{a as Fe,d as an}from"./chunk-GRMIXZTT.js";var $i=i=>({"background-color":i});function ji(i,e){i&1&&kn(0)}function Hi(i,e){if(i&1&&P(0,"sk-cube-grid",4),i&2){let t=O(2);C("backgroundColor",t.backgroundColor)}}function Vi(i,e){if(i&1&&P(0,"sk-chasing-dots",4),i&2){let t=O(2);C("backgroundColor",t.backgroundColor)}}function Qi(i,e){if(i&1&&P(0,"sk-double-bounce",4),i&2){let t=O(2);C("backgroundColor",t.backgroundColor)}}function Ui(i,e){if(i&1&&P(0,"sk-rotating-plane",4),i&2){let t=O(2);C("backgroundColor",t.backgroundColor)}}function Wi(i,e){if(i&1&&P(0,"sk-spinner-pulse",4),i&2){let t=O(2);C("backgroundColor",t.backgroundColor)}}function Gi(i,e){if(i&1&&P(0,"sk-three-bounce",4),i&2){let t=O(2);C("backgroundColor",t.backgroundColor)}}function Yi(i,e){if(i&1&&P(0,"sk-wandering-cubes",4),i&2){let t=O(2);C("backgroundColor",t.backgroundColor)}}function Xi(i,e){if(i&1&&P(0,"sk-wave",4),i&2){let t=O(2);C("backgroundColor",t.backgroundColor)}}function Ji(i,e){if(i&1&&(R(0,"div",1),ve(1,ji,1,0,"ng-container",2)(2,Hi,1,1,"sk-cube-grid",3)(3,Vi,1,1,"sk-chasing-dots",3)(4,Qi,1,1,"sk-double-bounce",3)(5,Ui,1,1,"sk-rotating-plane",3)(6,Wi,1,1,"sk-spinner-pulse",3)(7,Gi,1,1,"sk-three-bounce",3)(8,Yi,1,1,"sk-wandering-cubes",3)(9,Xi,1,1,"sk-wave",3),F()),i&2){let t=O();E("opacity",t.opacity),oe("backdrop",t.backdrop),C("ngStyle",we(14,$i,t.backdrop?t.backdropBackgroundColor:"transparent")),y(),C("ngComponentOutlet",t.entryComponent),y(),C("ngIf",t.spinner===t.spinkit.skCubeGrid),y(),C("ngIf",t.spinner===t.spinkit.skChasingDots),y(),C("ngIf",t.spinner===t.spinkit.skDoubleBounce),y(),C("ngIf",t.spinner===t.spinkit.skRotatingPlane),y(),C("ngIf",t.spinner===t.spinkit.skSpinnerPulse),y(),C("ngIf",t.spinner===t.spinkit.skThreeBounce),y(),C("ngIf",t.spinner===t.spinkit.skWanderingCubes),y(),C("ngIf",t.spinner===t.spinkit.skWave)}}var le=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=yn({type:i,inputs:{backgroundColor:"backgroundColor"}}),i})(),Zi=(()=>{class i extends le{}return i.\u0275fac=(()=>{let e;return function(n){return(e||(e=te(i)))(n||i)}})(),i.\u0275cmp=z({type:i,selectors:[["sk-chasing-dots"]],features:[U],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&&(R(0,"div",0),P(1,"div",1)(2,"div",2),F()),t&2&&(oe("colored",!n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("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)}}"]}),i})(),es=(()=>{class i extends le{}return i.\u0275fac=(()=>{let e;return function(n){return(e||(e=te(i)))(n||i)}})(),i.\u0275cmp=z({type:i,selectors:[["sk-cube-grid"]],features:[U],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&&(R(0,"div",0),P(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),F()),t&2&&(oe("colored",!n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("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)}}"]}),i})(),ts=(()=>{class i extends le{}return i.\u0275fac=(()=>{let e;return function(n){return(e||(e=te(i)))(n||i)}})(),i.\u0275cmp=z({type:i,selectors:[["sk-double-bounce"]],features:[U],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&&(R(0,"div",0),P(1,"div",1)(2,"div",2),F()),t&2&&(oe("colored",!n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("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)}}"]}),i})(),ns=(()=>{class i extends le{}return i.\u0275fac=(()=>{let e;return function(n){return(e||(e=te(i)))(n||i)}})(),i.\u0275cmp=z({type:i,selectors:[["sk-rotating-plane"]],features:[U],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(t,n){t&1&&P(0,"div",0),t&2&&E("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)}}"]}),i})(),is=(()=>{class i extends le{}return i.\u0275fac=(()=>{let e;return function(n){return(e||(e=te(i)))(n||i)}})(),i.\u0275cmp=z({type:i,selectors:[["sk-spinner-pulse"]],features:[U],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(t,n){t&1&&P(0,"div",0),t&2&&E("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}}"]}),i})(),ss=(()=>{class i extends le{}return i.\u0275fac=(()=>{let e;return function(n){return(e||(e=te(i)))(n||i)}})(),i.\u0275cmp=z({type:i,selectors:[["sk-three-bounce"]],features:[U],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&&(R(0,"div",0),P(1,"div",1)(2,"div",2)(3,"div",3),F()),t&2&&(oe("colored",!n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("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)}}"]}),i})(),rs=(()=>{class i extends le{}return i.\u0275fac=(()=>{let e;return function(n){return(e||(e=te(i)))(n||i)}})(),i.\u0275cmp=z({type:i,selectors:[["sk-wandering-cubes"]],features:[U],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&&(R(0,"div",0),P(1,"div",1)(2,"div",2),F()),t&2&&(oe("colored",!n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("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)}}"]}),i})(),os=(()=>{class i extends le{}return i.\u0275fac=(()=>{let e;return function(n){return(e||(e=te(i)))(n||i)}})(),i.\u0275cmp=z({type:i,selectors:[["sk-wave"]],features:[U],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&&(R(0,"div",0),P(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),F()),t&2&&(oe("colored",!n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("background-color",n.backgroundColor),y(),E("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)}}"]}),i})(),ei={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 Tt=(()=>{class i{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new lt(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 s=this.shouldBypass(t);return s||(this._pendingRequests++,this._pendingRequests===1&&this._pendingRequestsStatus$.next(!0)),n.handle(t).pipe(fn(()=>{s||(this._pendingRequests--,this._pendingRequests===0&&this._pendingRequestsStatus$.next(!1))}))}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=V({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),as=[{provide:Pe,useExisting:Tt,multi:!0}],ls=(()=>{class i{constructor(t){this.pendingRequestsInterceptor=t,this._visibility$=new lt(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 i.\u0275fac=function(t){return new(t||i)(Q(Tt))},i.\u0275prov=V({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),ti=(()=>{class i{constructor(t,n){this.pendingRequestsInterceptor=t,this.spinnerVisibility=n,this.spinkit=ei,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=ei.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){let[t,n]=dn(this.pendingRequestsInterceptor.pendingRequestsStatus$,s=>s);this.isVisible$=un(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe(pt(()=>t.pipe(ht(()=>ut(this.debounceDelay))))),t.pipe(pt(()=>n.pipe(ht(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(pn(),mn(s=>this.updateExpirationDelay(s)))}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 ut(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return i.\u0275fac=function(t){return new(t||i)(J(Tt),J(ls))},i.\u0275cmp=z({type:i,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&&(ve(0,Ji,10,16,"div",0),Tn(1,"async")),t&2&&C("ngIf",wn(1,1,n.isVisible$))},dependencies:[Dn,xe,Nn,es,Zi,ts,ns,is,ss,rs,os,On],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}"]}),i})(),ni=(()=>{class i{static forRoot(){return{ngModule:i,providers:[as]}}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=re({type:i}),i.\u0275inj=se({imports:[In]}),i})();var us=[{path:"",loadChildren:()=>import("./chunk-JPAJ6YR6.js").then(i=>i.LoginModule)},{path:"menu",loadChildren:()=>import("./chunk-ZIW2YTBP.js").then(i=>i.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}],ii=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=re({type:e}),e.\u0275inj=se({imports:[Ct.forRoot(us),Ct]});let i=e;return i})();var si=(()=>{let e=class e{constructor(n,s,r){this._router=n,this.titleService=s,this.activatedRoute=r}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe(dt(n=>n instanceof Qn)).pipe(ct(()=>this.activatedRoute),ct(n=>{for(;n.firstChild;)n=n.firstChild;return n}),dt(n=>n.outlet==="primary"),cn(n=>n.data)).subscribe(n=>{let s=" | Marketplace";n.title=="Dealpos x Marketplace"&&(s=""),this.titleService.setTitle(n.title+s)})}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(s){return s<10?"0"+s:s}}};e.\u0275fac=function(s){return new(s||e)(J(Ke),J(xn),J(Un))},e.\u0275cmp=z({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(s,r){s&1&&P(0,"ng-http-loader")(1,"router-outlet")},dependencies:[Wn,ti]});let i=e;return i})();function ri(i){return new k(3e3,!1)}function ps(){return new k(3100,!1)}function fs(){return new k(3101,!1)}function ms(i){return new k(3001,!1)}function gs(i){return new k(3003,!1)}function ys(i){return new k(3004,!1)}function _s(i,e){return new k(3005,!1)}function bs(){return new k(3006,!1)}function vs(){return new k(3007,!1)}function Ss(i,e){return new k(3008,!1)}function ks(i){return new k(3002,!1)}function Es(i,e,t,n,s){return new k(3010,!1)}function Cs(){return new k(3011,!1)}function Ts(){return new k(3012,!1)}function ws(){return new k(3200,!1)}function Ps(){return new k(3202,!1)}function Ms(){return new k(3013,!1)}function As(i){return new k(3014,!1)}function Ds(i){return new k(3015,!1)}function Ns(i){return new k(3016,!1)}function Os(i,e){return new k(3404,!1)}function Is(i){return new k(3502,!1)}function Rs(i){return new k(3503,!1)}function Fs(){return new k(3300,!1)}function Ls(i){return new k(3504,!1)}function xs(i){return new k(3301,!1)}function Bs(i,e){return new k(3302,!1)}function zs(i){return new k(3303,!1)}function qs(i,e){return new k(3400,!1)}function Ks(i){return new k(3401,!1)}function $s(i){return new k(3402,!1)}function js(i,e){return new k(3505,!1)}function ce(i){switch(i.length){case 0:return new Se;case 1:return i[0];default:return new Et(i)}}function bi(i,e,t=new Map,n=new Map){let s=[],r=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==o,u=d&&a||new Map;l.forEach((b,_)=>{let p=_,g=b;if(_!=="offset")switch(p=i.normalizePropertyName(p,s),g){case ze:g=t.get(_);break;case Z:g=n.get(_);break;default:g=i.normalizeStyleValue(_,p,g,s);break}u.set(p,g)}),d||r.push(u),a=u,o=c}),s.length)throw Is(s);return r}function Wt(i,e,t,n){switch(e){case"start":i.onStart(()=>n(t&&wt(t,"start",i)));break;case"done":i.onDone(()=>n(t&&wt(t,"done",i)));break;case"destroy":i.onDestroy(()=>n(t&&wt(t,"destroy",i)));break}}function wt(i,e,t){let n=t.totalTime,s=!!t.disabled,r=Gt(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,n??i.totalTime,s),o=i._data;return o!=null&&(r._data=o),r}function Gt(i,e,t,n,s="",r=0,o){return{element:i,triggerName:e,fromState:t,toState:n,phaseName:s,totalTime:r,disabled:!!o}}function $(i,e,t){let n=i.get(e);return n||i.set(e,n=t),n}function oi(i){let e=i.indexOf(":"),t=i.substring(1,e),n=i.slice(e+1);return[t,n]}var Hs=typeof document>"u"?null:document.documentElement;function Yt(i){let e=i.parentNode||i.host||null;return e===Hs?null:e}function Vs(i){return i.substring(1,6)=="ebkit"}var pe=null,ai=!1;function Qs(i){pe||(pe=Us()||{},ai=pe.style?"WebkitAppearance"in pe.style:!1);let e=!0;return pe.style&&!Vs(i)&&(e=i in pe.style,!e&&ai&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in pe.style)),e}function Us(){return typeof document<"u"?document.body:null}function vi(i,e){for(;e;){if(e===i)return!0;e=Yt(e)}return!1}function Si(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let n=i.querySelector(e);return n?[n]:[]}var Xt=(()=>{let e=class e{validateStyleProperty(n){return Qs(n)}matchesElement(n,s){return!1}containsElement(n,s){return vi(n,s)}getParentElement(n){return Yt(n)}query(n,s,r){return Si(n,s,r)}computeStyle(n,s,r){return r||""}animate(n,s,r,o,a,l=[],c){return new Se(r,o)}};e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})(),tn=class tn{};tn.NOOP=new Xt;var ge=tn,ye=class{};var Ws=1e3,ki="{{",Gs="}}",Ei="ng-enter",Ot="ng-leave",He="ng-trigger",Ge=".ng-trigger",li="ng-animating",It=".ng-animating";function ne(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Rt(parseFloat(e[1]),e[2])}function Rt(i,e){switch(e){case"s":return i*Ws;default:return i}}function Ye(i,e,t){return i.hasOwnProperty("duration")?i:Ys(i,e,t)}function Ys(i,e,t){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,s,r=0,o="";if(typeof i=="string"){let a=i.match(n);if(a===null)return e.push(ri(i)),{duration:0,delay:0,easing:""};s=Rt(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(r=Rt(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else s=i;if(!t){let a=!1,l=e.length;s<0&&(e.push(ps()),a=!0),r<0&&(e.push(fs()),a=!0),a&&e.splice(l,0,ri(i))}return{duration:s,delay:r,easing:o}}function Xs(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function ee(i,e,t){e.forEach((n,s)=>{let r=Jt(s);t&&!t.has(s)&&t.set(s,i.style[r]),i.style[r]=n})}function me(i,e){e.forEach((t,n)=>{let s=Jt(n);i.style[s]=""})}function Me(i){return Array.isArray(i)?i.length==1?i[0]:zn(i):i}function Js(i,e,t){let n=e.params||{},s=Ci(i);s.length&&s.forEach(r=>{n.hasOwnProperty(r)||t.push(ms(r))})}var Ft=new RegExp(`${ki}\\s*(.+?)\\s*${Gs}`,"g");function Ci(i){let e=[];if(typeof i=="string"){let t;for(;t=Ft.exec(i);)e.push(t[1]);Ft.lastIndex=0}return e}function De(i,e,t){let n=`${i}`,s=n.replace(Ft,(r,o)=>{let a=e[o];return a==null&&(t.push(gs(o)),a=""),a.toString()});return s==n?i:s}var Zs=/-+([a-z0-9])/g;function Jt(i){return i.replace(Zs,(...e)=>e[1].toUpperCase())}function er(i,e){return i===0||e===0}function tr(i,e,t){if(t.size&&e.length){let n=e[0],s=[];if(t.forEach((r,o)=>{n.has(o)||s.push(o),n.set(o,r)}),s.length)for(let r=1;r<e.length;r++){let o=e[r];s.forEach(a=>o.set(a,Zt(i,a)))}}return e}function K(i,e,t){switch(e.type){case v.Trigger:return i.visitTrigger(e,t);case v.State:return i.visitState(e,t);case v.Transition:return i.visitTransition(e,t);case v.Sequence:return i.visitSequence(e,t);case v.Group:return i.visitGroup(e,t);case v.Animate:return i.visitAnimate(e,t);case v.Keyframes:return i.visitKeyframes(e,t);case v.Style:return i.visitStyle(e,t);case v.Reference:return i.visitReference(e,t);case v.AnimateChild:return i.visitAnimateChild(e,t);case v.AnimateRef:return i.visitAnimateRef(e,t);case v.Query:return i.visitQuery(e,t);case v.Stagger:return i.visitStagger(e,t);default:throw ys(e.type)}}function Zt(i,e){return window.getComputedStyle(i)[e]}var nr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Xe=class extends ye{normalizePropertyName(e,t){return Jt(e)}normalizeStyleValue(e,t,n,s){let r="",o=n.toString().trim();if(nr.has(t)&&n!==0&&n!=="0")if(typeof n=="number")r="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&s.push(_s(e,n))}return o+r}};var Je="*";function ir(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(n=>sr(n,t,e)):t.push(i),t}function sr(i,e,t){if(i[0]==":"){let l=rr(i,t);if(typeof l=="function"){e.push(l);return}i=l}let n=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return t.push(Ds(i)),e;let s=n[1],r=n[2],o=n[3];e.push(ci(s,o));let a=s==Je&&o==Je;r[0]=="<"&&!a&&e.push(ci(o,s))}function rr(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,n)=>parseFloat(n)>parseFloat(t);case":decrement":return(t,n)=>parseFloat(n)<parseFloat(t);default:return e.push(Ns(i)),"* => *"}}var Ve=new Set(["true","1"]),Qe=new Set(["false","0"]);function ci(i,e){let t=Ve.has(i)||Qe.has(i),n=Ve.has(e)||Qe.has(e);return(s,r)=>{let o=i==Je||i==s,a=e==Je||e==r;return!o&&t&&typeof s=="boolean"&&(o=s?Ve.has(i):Qe.has(i)),!a&&n&&typeof r=="boolean"&&(a=r?Ve.has(e):Qe.has(e)),o&&a}}var Ti=":self",or=new RegExp(`s*${Ti}s*,?`,"g");function wi(i,e,t,n){return new Lt(i).build(e,t,n)}var ui="",Lt=class{constructor(e){this._driver=e}build(e,t,n){let s=new xt(t);return this._resetContextStyleTimingState(s),K(this,Me(e),s)}_resetContextStyleTimingState(e){e.currentQuerySelector=ui,e.collectedStyles=new Map,e.collectedStyles.set(ui,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,s=t.depCount=0,r=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(bs()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==v.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,r.push(this.visitState(l,t))}),l.name=c}else if(a.type==v.Transition){let l=this.visitTransition(a,t);n+=l.queryCount,s+=l.depCount,o.push(l)}else t.errors.push(vs())}),{type:v.Trigger,name:e.name,states:r,transitions:o,queryCount:n,depCount:s,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),s=e.options&&e.options.params||null;if(n.containsDynamicStyles){let r=new Set,o=s||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Ci(l).forEach(c=>{o.hasOwnProperty(c)||r.add(c)})})}),r.size&&t.errors.push(Ss(e.name,[...r.values()]))}return{type:v.State,name:e.name,style:n,options:s?{params:s}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=K(this,Me(e.animation),t),s=ir(e.expr,t.errors);return{type:v.Transition,matchers:s,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:fe(e.options)}}visitSequence(e,t){return{type:v.Sequence,steps:e.steps.map(n=>K(this,n,t)),options:fe(e.options)}}visitGroup(e,t){let n=t.currentTime,s=0,r=e.steps.map(o=>{t.currentTime=n;let a=K(this,o,t);return s=Math.max(s,t.currentTime),a});return t.currentTime=s,{type:v.Group,steps:r,options:fe(e.options)}}visitAnimate(e,t){let n=ur(e.timings,t.errors);t.currentAnimateTimings=n;let s,r=e.styles?e.styles:W({});if(r.type==v.Keyframes)s=this.visitKeyframes(r,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};n.easing&&(c.easing=n.easing),o=W(c)}t.currentTime+=n.duration+n.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,s=l}return t.currentAnimateTimings=null,{type:v.Animate,timings:n,style:s,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],s=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of s)typeof a=="string"?a===Z?n.push(a):t.errors.push(ks(a)):n.push(new Map(Object.entries(a)));let r=!1,o=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!r)){for(let l of a.values())if(l.toString().indexOf(ki)>=0){r=!0;break}}}),{type:v.Style,styles:n,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,s=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(r!=s&&r>=d.startTime&&s<=d.endTime&&(t.errors.push(Es(l,d.startTime,d.endTime,r,s)),u=!1),r=d.startTime),u&&c.set(l,{startTime:r,endTime:s}),t.options&&Js(a,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:v.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(Cs()),n;let s=1,r=0,o=[],a=!1,l=!1,c=0,d=e.steps.map(M=>{let A=this._makeStyleAst(M,t),L=A.offset!=null?A.offset:cr(A.styles),N=0;return L!=null&&(r++,N=A.offset=L),l=l||N<0||N>1,a=a||N<c,c=N,o.push(N),A});l&&t.errors.push(Ts()),a&&t.errors.push(ws());let u=e.steps.length,b=0;r>0&&r<u?t.errors.push(Ps()):r==0&&(b=s/(u-1));let _=u-1,p=t.currentTime,g=t.currentAnimateTimings,T=g.duration;return d.forEach((M,A)=>{let L=b>0?A==_?1:b*A:o[A],N=L*T;t.currentTime=p+g.delay+N,g.duration=N,this._validateStyleAst(M,t),M.offset=L,n.styles.push(M)}),n}visitReference(e,t){return{type:v.Reference,animation:K(this,Me(e.animation),t),options:fe(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:v.AnimateChild,options:fe(e.options)}}visitAnimateRef(e,t){return{type:v.AnimateRef,animation:this.visitReference(e.animation,t),options:fe(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,s=e.options||{};t.queryCount++,t.currentQuery=e;let[r,o]=ar(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,$(t.collectedStyles,t.currentQuerySelector,new Map);let a=K(this,Me(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:v.Query,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:fe(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Ms());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ye(e.timings,t.errors,!0);return{type:v.Stagger,animation:K(this,Me(e.animation),t),timings:n,options:null}}};function ar(i){let e=!!i.split(/\s*,\s*/).find(t=>t==Ti);return e&&(i=i.replace(or,"")),i=i.replace(/@\*/g,Ge).replace(/@\w+/g,t=>Ge+"-"+t.slice(1)).replace(/:animating/g,It),[i,e]}function lr(i){return i?Fe({},i):null}var xt=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function cr(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function ur(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let r=Ye(i,e).duration;return Pt(r,0,"")}let t=i;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Pt(0,0,"");return r.dynamic=!0,r.strValue=t,r}let s=Ye(t,e);return Pt(s.duration,s.delay,s.easing)}function fe(i){return i?(i=Fe({},i),i.params&&(i.params=lr(i.params))):i={},i}function Pt(i,e,t){return{duration:i,delay:e,easing:t}}function en(i,e,t,n,s,r,o=null,a=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:n,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}var Ne=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},dr=1,hr=":enter",pr=new RegExp(hr,"g"),fr=":leave",mr=new RegExp(fr,"g");function Pi(i,e,t,n,s,r=new Map,o=new Map,a,l,c=[]){return new Bt().buildKeyframes(i,e,t,n,s,r,o,a,l,c)}var Bt=class{buildKeyframes(e,t,n,s,r,o,a,l,c,d=[]){c=c||new Ne;let u=new zt(e,t,c,s,r,d,[]);u.options=l;let b=l.delay?ne(l.delay):0;u.currentTimeline.delayNextStep(b),u.currentTimeline.setStyles([o],null,u.errors,l),K(this,n,u);let _=u.timelines.filter(p=>p.containsAnimation());if(_.length&&a.size){let p;for(let g=_.length-1;g>=0;g--){let T=_[g];if(T.element===t){p=T;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return _.length?_.map(p=>p.buildKeyframes()):[en(t,[],[],[],0,b,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let s=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,s,s.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let s of e){let r=s?.delay;if(r){let o=typeof r=="number"?r:ne(De(r,s?.params??{},t.errors));n.delayNextStep(o)}}}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime,o=n.duration!=null?ne(n.duration):null,a=n.delay!=null?ne(n.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),K(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,s=t,r=e.options;if(r&&(r.params||r.delay)&&(s=t.createSubContext(r),s.transformIntoNewTimeline(),r.delay!=null)){s.previousNode.type==v.Style&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Ze);let o=ne(r.delay);s.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>K(this,o,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],s=t.currentTimeline.currentTime,r=e.options&&e.options.delay?ne(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);r&&a.delayNextStep(r),K(this,o,a),s=Math.max(s,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(s),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,s=t.params?De(n,t.params,t.errors):n;return Ye(s,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),s=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),s.snapshotCurrentStyles());let r=e.style;r.type==v.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,s=t.currentAnimateTimings;!s&&n.hasCurrentStyleProperties()&&n.forwardFrame();let r=s&&s.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,s=t.currentTimeline.duration,r=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*r),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(s+r),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,s=e.options||{},r=s.delay?ne(s.delay):0;r&&(t.previousNode.type===v.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ze);let o=n,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);r&&u.delayNextStep(r),c===t.element&&(l=u.currentTimeline),K(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let b=u.currentTimeline.currentTime;o=Math.max(o,b)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,s=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break}let d=t.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;K(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=s.currentTime-u+(s.startTime-n.currentTimeline.startTime)}},Ze={},zt=class i{constructor(e,t,n,s,r,o,a,l){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ze,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new et(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let n=e,s=this.options;n.duration!=null&&(s.duration=ne(n.duration)),n.delay!=null&&(s.delay=ne(n.delay));let r=n.params;if(r){let o=s.params;o||(o=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=De(r[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let n=e.params={};Object.keys(t).forEach(s=>{n[s]=t[s]})}}return e}createSubContext(e=null,t,n){let s=t||this.element,r=new i(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Ze,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){let s={duration:t??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},r=new qt(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,s,e.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,s,r,o){let a=[];if(s&&a.push(this.element),e.length>0){e=e.replace(pr,"."+this._enterClassName),e=e.replace(mr,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,e,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!r&&a.length==0&&o.push(As(t)),a}},et=class i{constructor(e,t,n,s){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=s,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=dr,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,n]of this._globalTimelineStyles)this._backFill.set(t,n||Z),this._currentKeyframe.set(t,Z);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,s){t&&this._previousKeyframe.set("easing",t);let r=s&&s.params||{},o=gr(e,this._globalTimelineStyles);for(let[a,l]of o){let c=De(l,r,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Z),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,n)=>{let s=this._styleSummary.get(n);(!s||t.time>s.time)&&this._updateStyle(n,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,n=this._keyframes.size===1&&this.duration===0,s=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===ze?e.add(u):d===Z&&t.add(u)}),n||c.set("offset",l/this.duration),s.push(c)});let r=[...e.values()],o=[...t.values()];if(n){let a=s[0],l=new Map(a);a.set("offset",0),l.set("offset",1),s=[a,l]}return en(this.element,s,r,o,this.duration,this.startTime,this.easing,!1)}},qt=class extends et{constructor(e,t,n,s,r,o,a=!1){super(e,t,o.delay),this.keyframes=n,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],o=n+t,a=t/o,l=new Map(e[0]);l.set("offset",0),r.push(l);let c=new Map(e[0]);c.set("offset",di(a)),r.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let b=new Map(e[u]),_=b.get("offset"),p=t+_*n;b.set("offset",di(p/o)),r.push(b)}n=o,t=0,s="",e=r}return en(this.element,e,this.preStyleProps,this.postStyleProps,n,t,s,!0)}};function di(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function gr(i,e){let t=new Map,n;return i.forEach(s=>{if(s==="*"){n??=e.keys();for(let r of n)t.set(r,Z)}else for(let[r,o]of s)t.set(r,o)}),t}function hi(i,e,t,n,s,r,o,a,l,c,d,u,b){return{type:0,element:i,triggerName:e,isRemovalTransition:s,fromState:t,fromStyles:r,toState:n,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:b}}var Mt={},tt=class{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,s){return yr(this.ast.matchers,e,t,n,s)}buildStyles(e,t,n){let s=this._stateStyles.get("*");return e!==void 0&&(s=this._stateStyles.get(e?.toString())||s),s?s.buildStyles(t,n):new Map}build(e,t,n,s,r,o,a,l,c,d){let u=[],b=this.ast.options&&this.ast.options.params||Mt,_=a&&a.params||Mt,p=this.buildStyles(n,_,u),g=l&&l.params||Mt,T=this.buildStyles(s,g,u),M=new Set,A=new Map,L=new Map,N=s==="void",_e={params:Mi(g,b),delay:this.ast.options?.delay},Y=d?[]:Pi(e,t,this.ast.animation,r,o,p,T,_e,c,u),x=0;return Y.forEach(B=>{x=Math.max(B.duration+B.delay,x)}),u.length?hi(t,this._triggerName,n,s,N,p,T,[],[],A,L,x,u):(Y.forEach(B=>{let ue=B.element,be=$(A,ue,new Set);B.preStyleProps.forEach(de=>be.add(de));let nn=$(L,ue,new Set);B.postStyleProps.forEach(de=>nn.add(de)),ue!==t&&M.add(ue)}),hi(t,this._triggerName,n,s,N,p,T,Y,[...M.values()],A,L,x))}};function yr(i,e,t,n,s){return i.some(r=>r(e,t,n,s))}function Mi(i,e){let t=Fe({},e);return Object.entries(i).forEach(([n,s])=>{s!=null&&(t[n]=s)}),t}var Kt=class{constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,s=Mi(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((o,a)=>{o&&(o=De(o,s,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),n.set(a,o)})}),n}};function _r(i,e,t){return new $t(i,e,t)}var $t=class{constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states=new Map,t.states.forEach(s=>{let r=s.options&&s.options.params||{};this.states.set(s.name,new Kt(s.style,r,n))}),pi(this.states,"true","1"),pi(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new tt(e,s,this.states))}),this.fallbackTransition=br(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,s){return this.transitionFactories.find(o=>o.match(e,t,n,s))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function br(i,e,t){let n=[(o,a)=>!0],s={type:v.Sequence,steps:[],options:null},r={type:v.Transition,animation:s,matchers:n,options:null,queryCount:0,depCount:0};return new tt(i,r,e)}function pi(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var vr=new Ne,jt=class{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let n=[],s=[],r=wi(this._driver,t,n,s);if(n.length)throw Rs(n);s.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,n){let s=e.element,r=bi(this._normalizer,e.keyframes,t,n);return this._driver.animate(s,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let s=[],r=this._animations.get(e),o,a=new Map;if(r?(o=Pi(this._driver,t,r,Ei,Ot,new Map,new Map,n,vr,s),o.forEach(d=>{let u=$(a,d.element,new Map);d.postStyleProps.forEach(b=>u.set(b,null))})):(s.push(Fs()),o=[]),s.length)throw Ls(s);a.forEach((d,u)=>{d.forEach((b,_)=>{d.set(_,this._driver.computeStyle(u,_,Z))})});let l=o.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=ce(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw xs(e);return t}listen(e,t,n,s){let r=Gt(t,"","","");return Wt(this._getPlayer(e),n,r,s),()=>{}}command(e,t,n,s){if(n=="register"){this.register(e,s[0]);return}if(n=="create"){let o=s[0]||{};this.create(e,t,o);return}let r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(e);break}}},fi="ng-animate-queued",Sr=".ng-animate-queued",At="ng-animate-disabled",kr=".ng-animate-disabled",Er="ng-star-inserted",Cr=".ng-star-inserted",Tr=[],Ai={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},G="__ng_removed",Oe=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),s=n?e.value:e;if(this.value=Mr(s),n){let r=e,{value:o}=r,a=an(r,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(s=>{n[s]==null&&(n[s]=t[s])})}}},Ae="void",Dt=new Oe(Ae),Ht=class{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,H(t,this._hostClassName)}listen(e,t,n,s){if(!this._triggers.has(t))throw Bs(n,t);if(n==null||n.length==0)throw zs(t);if(!Ar(n))throw qs(n,t);let r=$(this._elementListeners,e,[]),o={name:t,phase:n,callback:s};r.push(o);let a=$(this._engine.statesByElement,e,new Map);return a.has(t)||(H(e,He),H(e,He+"-"+t),a.set(t,Dt)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(o);l>=0&&r.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Ks(e);return t}trigger(e,t,n,s=!0){let r=this._getTrigger(t),o=new Ie(this.id,t,e),a=this._engine.statesByElement.get(e);a||(H(e,He),H(e,He+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new Oe(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Dt),!(c.value===Ae)&&l.value===c.value){if(!Or(l.params,c.params)){let g=[],T=r.matchStyles(l.value,l.params,g),M=r.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{me(e,T),ee(e,M)})}return}let b=$(this._engine.playersByElement,e,[]);b.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let _=r.matchTransition(l.value,c.value,e,c.params),p=!1;if(!_){if(!s)return;_=r.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:_,fromState:l,toState:c,player:o,isFallbackTransition:p}),p||(H(e,fi),o.onStart(()=>{ke(e,fi)})),o.onDone(()=>{let g=this.players.indexOf(o);g>=0&&this.players.splice(g,1);let T=this._engine.playersByElement.get(e);if(T){let M=T.indexOf(o);M>=0&&T.splice(M,1)}}),this.players.push(o),b.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(s=>s.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,Ge,!0);n.forEach(s=>{if(s[G])return;let r=this._engine.fetchNamespacesByElement(s);r.size?r.forEach(o=>o.triggerLeaveAnimation(s,t,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(e,t,n,s){let r=this._engine.statesByElement.get(e),o=new Map;if(r){let a=[];if(r.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,Ae,s);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),n&&ce(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let s=new Set;t.forEach(r=>{let o=r.name;if(s.has(o))return;s.add(o);let l=this._triggers.get(o).fallbackTransition,c=n.get(o)||Dt,d=new Oe(Ae),u=new Ie(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let s=!1;if(n.totalAnimations){let r=n.players.length?n.playersByQueriedElement.get(e):[];if(r&&r.length)s=!0;else{let o=e;for(;o=o.parentNode;)if(n.statesByElement.get(o)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(e),s)n.markElementAsRemoved(this.id,e,!1,t);else{let r=e[G];(!r||r===Ai)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){H(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let s=n.player;if(s.destroyed)return;let r=n.element,o=this._elementListeners.get(r);o&&o.forEach(a=>{if(a.name==n.triggerName){let l=Gt(r,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Wt(n.player,a.phase,l,a.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(n)}),this._queue=[],t.sort((n,s)=>{let r=n.transition.ast.depCount,o=s.transition.ast.depCount;return r==0||o==0?r-o:this._engine.driver.containsElement(n.element,s.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Vt=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,n,s){this.bodyNode=e,this.driver=t,this._normalizer=n,this.scheduler=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,t){let n=new Ht(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,s=this.namespacesByHostElement;if(n.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=s.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||n.unshift(e)}else n.push(e);return s.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let s=this._namespaceLookup[e];s&&s.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let s=this._namespaceList.indexOf(n);s>=0&&this._namespaceList.splice(s,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let s of n.values())if(s.namespaceId){let r=this._fetchNamespace(s.namespaceId);r&&t.add(r)}}return t}trigger(e,t,n,s){if(Ue(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,n,s),!0}return!1}insertNode(e,t,n,s){if(!Ue(t))return;let r=t[G];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,n)}s&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),H(e,At)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ke(e,At))}removeNode(e,t,n){if(Ue(t)){this.scheduler?.notify();let s=e?this._fetchNamespace(e):null;s?s.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,s,r){this.collectedLeaveElements.push(t),t[G]={namespaceId:e,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,n,s,r){return Ue(t)?this._fetchNamespace(e).listen(t,n,s,r):()=>{}}_buildInstruction(e,t,n,s,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,s,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,Ge,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,It,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ce(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[G];if(t&&t.setForRemoval){if(e[G]=Ai,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(At)&&this.markElementAsDisabled(e,!1),this.driver.query(e,kr,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,s)=>this._balanceNamespaceList(n,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let s=this.collectedEnterElements[n];H(s,Er)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let s=0;s<n.length;s++)n[s]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let s=this.collectedLeaveElements[n];this.processLeaveNode(s)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?ce(t).onDone(()=>{n.forEach(s=>s())}):n.forEach(s=>s())}}reportError(e){throw $s(e)}_flushAnimations(e,t){let n=new Ne,s=[],r=new Map,o=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(h=>{d.add(h);let f=this.driver.query(h,Sr,!0);for(let m=0;m<f.length;m++)d.add(f[m])});let u=this.bodyNode,b=Array.from(this.statesByElement.keys()),_=yi(b,this.collectedEnterElements),p=new Map,g=0;_.forEach((h,f)=>{let m=Ei+g++;p.set(f,m),h.forEach(S=>H(S,m))});let T=[],M=new Set,A=new Set;for(let h=0;h<this.collectedLeaveElements.length;h++){let f=this.collectedLeaveElements[h],m=f[G];m&&m.setForRemoval&&(T.push(f),M.add(f),m.hasAnimation?this.driver.query(f,Cr,!0).forEach(S=>M.add(S)):A.add(f))}let L=new Map,N=yi(b,Array.from(M));N.forEach((h,f)=>{let m=Ot+g++;L.set(f,m),h.forEach(S=>H(S,m))}),e.push(()=>{_.forEach((h,f)=>{let m=p.get(f);h.forEach(S=>ke(S,m))}),N.forEach((h,f)=>{let m=L.get(f);h.forEach(S=>ke(S,m))}),T.forEach(h=>{this.processLeaveNode(h)})});let _e=[],Y=[];for(let h=this._namespaceList.length-1;h>=0;h--)this._namespaceList[h].drainQueuedTransitions(t).forEach(m=>{let S=m.player,D=m.element;if(_e.push(S),this.collectedEnterElements.length){let I=D[G];if(I&&I.setForMove){if(I.previousTriggersValues&&I.previousTriggersValues.has(m.triggerName)){let he=I.previousTriggersValues.get(m.triggerName),j=this.statesByElement.get(m.element);if(j&&j.has(m.triggerName)){let Re=j.get(m.triggerName);Re.value=he,j.set(m.triggerName,Re)}}S.destroy();return}}let X=!u||!this.driver.containsElement(u,D),q=L.get(D),ie=p.get(D),w=this._buildInstruction(m,n,ie,q,X);if(w.errors&&w.errors.length){Y.push(w);return}if(X){S.onStart(()=>me(D,w.fromStyles)),S.onDestroy(()=>ee(D,w.toStyles)),s.push(S);return}if(m.isFallbackTransition){S.onStart(()=>me(D,w.fromStyles)),S.onDestroy(()=>ee(D,w.toStyles)),s.push(S);return}let on=[];w.timelines.forEach(I=>{I.stretchStartingKeyframe=!0,this.disabledNodes.has(I.element)||on.push(I)}),w.timelines=on,n.append(D,w.timelines);let qi={instruction:w,player:S,element:D};o.push(qi),w.queriedElements.forEach(I=>$(a,I,[]).push(S)),w.preStyleProps.forEach((I,he)=>{if(I.size){let j=l.get(he);j||l.set(he,j=new Set),I.forEach((Re,at)=>j.add(at))}}),w.postStyleProps.forEach((I,he)=>{let j=c.get(he);j||c.set(he,j=new Set),I.forEach((Re,at)=>j.add(at))})});if(Y.length){let h=[];Y.forEach(f=>{h.push(js(f.triggerName,f.errors))}),_e.forEach(f=>f.destroy()),this.reportError(h)}let x=new Map,B=new Map;o.forEach(h=>{let f=h.element;n.has(f)&&(B.set(f,f),this._beforeAnimationBuild(h.player.namespaceId,h.instruction,x))}),s.forEach(h=>{let f=h.element;this._getPreviousPlayers(f,!1,h.namespaceId,h.triggerName,null).forEach(S=>{$(x,f,[]).push(S),S.destroy()})});let ue=T.filter(h=>_i(h,l,c)),be=new Map;gi(be,this.driver,A,c,Z).forEach(h=>{_i(h,l,c)&&ue.push(h)});let de=new Map;_.forEach((h,f)=>{gi(de,this.driver,new Set(h),l,ze)}),ue.forEach(h=>{let f=be.get(h),m=de.get(h);be.set(h,new Map([...f?.entries()??[],...m?.entries()??[]]))});let ot=[],sn=[],rn={};o.forEach(h=>{let{element:f,player:m,instruction:S}=h;if(n.has(f)){if(d.has(f)){m.onDestroy(()=>ee(f,S.toStyles)),m.disabled=!0,m.overrideTotalTime(S.totalTime),s.push(m);return}let D=rn;if(B.size>1){let q=f,ie=[];for(;q=q.parentNode;){let w=B.get(q);if(w){D=w;break}ie.push(q)}ie.forEach(w=>B.set(w,D))}let X=this._buildAnimation(m.namespaceId,S,x,r,de,be);if(m.setRealPlayer(X),D===rn)ot.push(m);else{let q=this.playersByElement.get(D);q&&q.length&&(m.parentPlayer=ce(q)),s.push(m)}}else me(f,S.fromStyles),m.onDestroy(()=>ee(f,S.toStyles)),sn.push(m),d.has(f)&&s.push(m)}),sn.forEach(h=>{let f=r.get(h.element);if(f&&f.length){let m=ce(f);h.setRealPlayer(m)}}),s.forEach(h=>{h.parentPlayer?h.syncPlayerEvents(h.parentPlayer):h.destroy()});for(let h=0;h<T.length;h++){let f=T[h],m=f[G];if(ke(f,Ot),m&&m.hasAnimation)continue;let S=[];if(a.size){let X=a.get(f);X&&X.length&&S.push(...X);let q=this.driver.query(f,It,!0);for(let ie=0;ie<q.length;ie++){let w=a.get(q[ie]);w&&w.length&&S.push(...w)}}let D=S.filter(X=>!X.destroyed);D.length?Dr(this,f,D):this.processLeaveNode(f)}return T.length=0,ot.forEach(h=>{this.players.push(h),h.onDone(()=>{h.destroy();let f=this.players.indexOf(h);this.players.splice(f,1)}),h.play()}),ot}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,s,r){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!r||r==Ae;a.forEach(c=>{c.queued||!l&&c.triggerName!=s||o.push(c)})}}return(n||s)&&(o=o.filter(a=>!(n&&n!=a.namespaceId||s&&s!=a.triggerName))),o}_beforeAnimationBuild(e,t,n){let s=t.triggerName,r=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:s;for(let l of t.timelines){let c=l.element,d=c!==r,u=$(n,c,[]);this._getPreviousPlayers(c,d,o,a,t.toState).forEach(_=>{let p=_.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),_.destroy(),u.push(_)})}me(r,t.fromStyles)}_buildAnimation(e,t,n,s,r,o){let a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,b=t.timelines.map(p=>{let g=p.element;d.add(g);let T=g[G];if(T&&T.removedBeforeQueried)return new Se(p.duration,p.delay);let M=g!==l,A=Nr((n.get(g)||Tr).map(x=>x.getRealPlayer())).filter(x=>{let B=x;return B.element?B.element===g:!1}),L=r.get(g),N=o.get(g),_e=bi(this._normalizer,p.keyframes,L,N),Y=this._buildPlayer(p,_e,A);if(p.subTimeline&&s&&u.add(g),M){let x=new Ie(e,a,g);x.setRealPlayer(Y),c.push(x)}return Y});c.forEach(p=>{$(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>Pr(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>H(p,li));let _=ce(b);return _.onDestroy(()=>{d.forEach(p=>ke(p,li)),ee(l,t.toStyles)}),u.forEach(p=>{$(s,p,[]).push(_)}),_}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new Se(e.duration,e.delay)}},Ie=class{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new Se,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(s=>Wt(e,n,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){$(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Pr(i,e,t){let n=i.get(e);if(n){if(n.length){let s=n.indexOf(t);n.splice(s,1)}n.length==0&&i.delete(e)}return n}function Mr(i){return i??null}function Ue(i){return i&&i.nodeType===1}function Ar(i){return i=="start"||i=="done"}function mi(i,e){let t=i.style.display;return i.style.display=e??"none",t}function gi(i,e,t,n,s){let r=[];t.forEach(l=>r.push(mi(l)));let o=[];n.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let b=e.computeStyle(c,u,s);d.set(u,b),(!b||b.length==0)&&(c[G]=wr,o.push(c))}),i.set(c,d)});let a=0;return t.forEach(l=>mi(l,r[a++])),o}function yi(i,e){let t=new Map;if(i.forEach(a=>t.set(a,[])),e.length==0)return t;let n=1,s=new Set(e),r=new Map;function o(a){if(!a)return n;let l=r.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:s.has(c)?l=n:l=o(c),r.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==n&&t.get(l).push(a)}),t}function H(i,e){i.classList?.add(e)}function ke(i,e){i.classList?.remove(e)}function Dr(i,e,t){ce(t).onDone(()=>i.processLeaveNode(e))}function Nr(i){let e=[];return Di(i,e),e}function Di(i,e){for(let t=0;t<i.length;t++){let n=i[t];n instanceof Et?Di(n.players,e):e.push(n)}}function Or(i,e){let t=Object.keys(i),n=Object.keys(e);if(t.length!=n.length)return!1;for(let s=0;s<t.length;s++){let r=t[s];if(!e.hasOwnProperty(r)||i[r]!==e[r])return!1}return!0}function _i(i,e,t){let n=t.get(i);if(!n)return!1;let s=e.get(i);return s?n.forEach(r=>s.add(r)):e.set(i,n),t.delete(i),!0}var Ce=class{constructor(e,t,n,s){this._driver=t,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new Vt(e.body,t,n,s),this._timelineEngine=new jt(e.body,t,n),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,t,n,s,r){let o=e+"-"+s,a=this._triggerCache[o];if(!a){let l=[],c=[],d=wi(this._driver,r,l,c);if(l.length)throw Os(s,l);c.length&&void 0,a=_r(s,d,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,s,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,s){this._transitionEngine.insertNode(e,t,n,s)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,s){if(n.charAt(0)=="@"){let[r,o]=oi(n),a=s;this._timelineEngine.command(r,t,o,a)}else this._transitionEngine.trigger(e,t,n,s)}listen(e,t,n,s,r){if(n.charAt(0)=="@"){let[o,a]=oi(n);return this._timelineEngine.listen(o,t,a,r)}return this._transitionEngine.listen(e,t,n,s,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Ir(i,e){let t=null,n=null;return Array.isArray(e)&&e.length?(t=Nt(e[0]),e.length>1&&(n=Nt(e[e.length-1]))):e instanceof Map&&(t=Nt(e)),t||n?new Qt(i,t,n):null}var Ee=class Ee{constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n,this._state=0;let s=Ee.initialStylesByElement.get(e);s||Ee.initialStylesByElement.set(e,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&ee(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ee(this._element,this._initialStyles),this._endStyles&&(ee(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ee.initialStylesByElement.delete(this._element),this._startStyles&&(me(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(me(this._element,this._endStyles),this._endStyles=null),ee(this._element,this._initialStyles),this._state=3)}};Ee.initialStylesByElement=new WeakMap;var Qt=Ee;function Nt(i){let e=null;return i.forEach((t,n)=>{Rr(n)&&(e=e||new Map,e.set(n,t))}),e}function Rr(i){return i==="display"||i==="position"}var nt=class{constructor(e,t,n,s){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(e,t,n){return e.animate(this._convertKeyframesToObject(t),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,s)=>{s!=="offset"&&e.set(s,this._finished?n:Zt(this.element,s))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},it=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return vi(e,t)}getParentElement(e){return Yt(e)}query(e,t,n){return Si(e,t,n)}computeStyle(e,t,n){return Zt(e,t)}animate(e,t,n,s,r,o=[]){let a=s==0?"both":"forwards",l={duration:n,delay:s,fill:a};r&&(l.easing=r);let c=new Map,d=o.filter(_=>_ instanceof nt);er(n,s)&&d.forEach(_=>{_.currentSnapshot.forEach((p,g)=>c.set(g,p))});let u=Xs(t).map(_=>new Map(_));u=tr(e,u,c);let b=Ir(e,u);return new nt(e,u,l,b)}};var We="@",Ni="@.disabled",st=class{constructor(e,t,n,s){this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=s,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,s=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,s)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,s){this.delegate.setAttribute(e,t,n,s)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,s){this.delegate.setStyle(e,t,n,s)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==We&&t==Ni?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Ut=class extends st{constructor(e,t,n,s,r){super(t,n,s,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==We?t.charAt(1)=="."&&t==Ni?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.slice(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==We){let s=Fr(e),r=t.slice(1),o="";return r.charAt(0)!=We&&([r,o]=Lr(r)),this.engine.listen(this.namespaceId,s,r,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a)})}return this.delegate.listen(e,t,n)}};function Fr(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function Lr(i){let e=i.indexOf("."),t=i.substring(0,e),n=i.slice(e+1);return[t,n]}var rt=class{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(s,r)=>{let o=r?.parentNode(s);o&&r.removeChild(o,s)}}createRenderer(e,t){let n="",s=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,d=c.get(s);if(!d){let u=()=>c.delete(s);d=new st(n,s,this.engine,u),c.set(s,d)}return d}let r=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(r,o,e,c.name,c)};return t.data.animation.forEach(a),new Ut(this,o,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let s=this._animationCallbacksBuffer;s.length==0&&queueMicrotask(()=>{this._zone.run(()=>{s.forEach(r=>{let[o,a]=r;o(a)}),this._animationCallbacksBuffer=[]})}),s.push([t,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Br=(()=>{let e=class e extends Ce{constructor(n,s,r){super(n,s,r,gn(bn,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(s){return new(s||e)(Q(Mn),Q(ge),Q(ye))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();function zr(){return new Xe}function qr(i,e,t){return new rt(i,e,t)}var Ii=[{provide:ye,useFactory:zr},{provide:Ce,useClass:Br},{provide:vn,useFactory:qr,deps:[Fn,Ce,Sn]}],Oi=[{provide:ge,useFactory:()=>new it},{provide:gt,useValue:"BrowserAnimations"},...Ii],Kr=[{provide:ge,useClass:Xt},{provide:gt,useValue:"NoopAnimations"},...Ii],Ri=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?Kr:Oi}}};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=re({type:e}),e.\u0275inj=se({providers:Oi,imports:[Be]});let i=e;return i})();var Fi=(()=>{let e=class e{constructor(n){this._router=n}intercept(n,s){let r=JSON.parse(window.localStorage.getItem("user")),o=new Date;if(r!=null){let a=new Date(r.Token.expiredAt);o<a?n=n.clone({setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${r.Token.access_token}`}}):n=n.clone({setHeaders:{"Content-Type":"application/json"}})}else n=n.clone({setHeaders:{"Content-Type":"application/json"}});return s.handle(n)}};e.\u0275fac=function(s){return new(s||e)(Q(Ke))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let i=e;return i})();var jr=["custom-toast-component",""],Li=i=>({notitle:i});function Hr(i,e){if(i&1){let t=_t();R(0,"a",11),bt("click",function(){ft(t);let s=O(2);return mt(s.remove())}),Te(1," x "),F()}}function Vr(i,e){if(i&1&&(R(0,"div",6)(1,"div",7)(2,"div",8)(3,"h4"),Te(4),F()()(),R(5,"div",9),ve(6,Hr,2,0,"a",10),F()()),i&2){let t=O();E("display",t.state.value==="inactive"?"none":""),y(2),Le(t.options.titleClass),yt("aria-label",t.title),y(2),En(t.title),y(2),C("ngIf",t.options.closeButton)}}function Qr(i,e){if(i&1&&P(0,"div",12),i&2){let t=O();Le(t.options.messageClass),C("ngClass",we(4,Li,t.title==null))("innerHTML",t.message,_n)}}function Ur(i,e){if(i&1&&(R(0,"div",13),Te(1),F()),i&2){let t=O();Le(t.options.messageClass),C("ngClass",we(5,Li,t.title==null)),yt("aria-label",t.message),y(),Cn(" ",t.message," ")}}function Wr(i,e){if(i&1){let t=_t();R(0,"a",11),bt("click",function(){ft(t);let s=O();return mt(s.remove())}),Te(1," x "),F()}}function Gr(i,e){if(i&1&&(R(0,"div"),P(1,"div",14),F()),i&2){let t=O();y(),E("width",t.width+"%")}}var xi=(()=>{let e=class e extends $n{constructor(n,s){super(n,s),this.toastrService=n,this.toastPackage=s}ngOnInit(){}action(n){return n.stopPropagation(),this.toastPackage.triggerAction(),!1}};e.\u0275fac=function(s){return new(s||e)(J(qe),J(Kn))},e.\u0275cmp=z({type:e,selectors:[["","custom-toast-component",""]],features:[U],attrs:jr,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","toast-body ps-1 text-start","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","toast-body ps-1 text-start","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,"text-start","ps-1"],[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","ps-1","text-start",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"toast-body","ps-1","text-start",3,"ngClass"],[1,"toast-progress"]],template:function(s,r){s&1&&(R(0,"div",0),ve(1,Vr,7,7,"div",1)(2,Qr,1,6,"div",2)(3,Ur,2,7,"div",3)(4,Wr,2,0,"a",4)(5,Gr,2,2,"div",5),F()),s&2&&(y(),C("ngIf",r.title),y(),C("ngIf",r.message&&r.options.enableHtml),y(),C("ngIf",r.message&&!r.options.enableHtml),y(),C("ngIf",r.options.closeButton&&r.title==null),y(),C("ngIf",r.options.progressBar))},dependencies:[An,xe],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:[Bn("flyInOut",[qn("inactive",W({opacity:0})),kt("inactive => active",vt("400ms ease-out",St([W({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),W({transform:"skewX(20deg)",opacity:1}),W({transform:"skewX(-5deg)",opacity:1}),W({transform:"none",opacity:1})]))),kt("active => removed",vt("400ms ease-out",St([W({opacity:1}),W({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}});let i=e;return i})();var Bi=(()=>{let e=class e{constructor(n,s){this.authService=n,this.toastr=s}intercept(n,s){return s.handle(n).pipe(hn(r=>(this.handlerError(r),ln(()=>r))))}handlerError(n){if(!this.unauthorizedErrorHandling(n)&&!Array.isArray(n?.error?.Message)){let r=this.errorMessageHandling(n);this.toastr.error(r.message!=""?r.message:"An unknown error has occured!",r.header,{enableHtml:!0})}}unauthorizedErrorHandling(n){let s=!1;if(n.status==401){let r=localStorage.getItem("currentUser");r&&(JSON.parse(r)?.Token?.access_token?this.tokenExpiredErrorHandling(n):this.toastr.error("Your session has expired. Please login again.","Session Expired").onShown.subscribe(()=>this.authService.logout()),s=!0)}return s}tokenExpiredErrorHandling(n){if(this.authService.isActiveToken()){let s=this.errorMessageHandling(n);this.toastr.error(s.message,s.header)}else this.toastr.error("Your session has expired. Please login again.","Session Expired").onShown.subscribe(()=>this.authService.logout())}errorMessageHandling(n){let s="API Error",r="Exception Message";return n.error?(s="API Error - "+n.status,n.error.Message&&(n.error.Message.indexOf("Message")!=-1?r=JSON.parse(n.error.Message).Message:r=n.error.Message)):n.message&&(s="API Error - "+n.name,r=n.message),{header:s,message:r}}};e.\u0275fac=function(s){return new(s||e)(Q(je),Q(qe))},e.\u0275prov=V({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Yr={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]},zi=(()=>{let e=class e{};e.\u0275fac=function(s){return new(s||e)},e.\u0275mod=re({type:e,bootstrap:[si]}),e.\u0275inj=se({providers:[{provide:Pe,useClass:Fi,multi:!0},{provide:Zn,useValue:{subscriptSizing:"dynamic"}},Hn,Vn,{provide:Pn,useFactory:n=>function(){n.loadPermissions()},deps:[je],multi:!0},{provide:Pe,useClass:Bi,multi:!0}],imports:[Be,ii,Ri,jn.forRoot({toastComponent:xi,positionClass:"toast-bottom-right",closeButton:!0}),Rn,Jn.forRoot(Yr),ni.forRoot(),Gn.initializeApp($e.firebaseConfig),Yn,Xn.forRoot()]});let i=e;return i})();$e.production&&void 0;Ln().bootstrapModule(zi).catch(i=>console.error(i));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var ie=globalThis;function ee(t){return(ie.__Zone_symbol_prefix||"__zone_symbol__")+t}function ut(){let t=ie.performance;function r(M){t&&t.mark&&t.mark(M)}function i(M,_){t&&t.measure&&t.measure(M,_)}r("Zone");let n=(()=>{let _=class _{static assertZonePatched(){if(ie.Promise!==L.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=_.current;for(;e.parent;)e=e.parent;return e}static get current(){return k.zone}static get currentTask(){return O}static __load_patch(e,h,N=!1){if(L.hasOwnProperty(e)){let A=ie[ee("forceDuplicateZoneCheck")]===!0;if(!N&&A)throw Error("Already loaded patch: "+e)}else if(!ie["__Zone_disable_"+e]){let A="Zone:"+e;r(A),L[e]=h(ie,_,R),i(A,A)}}get parent(){return this._parent}get name(){return this._name}constructor(e,h){this._parent=e,this._name=h?h.name||"unnamed":"<root>",this._properties=h&&h.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,h)}get(e){let h=this.getZoneWith(e);if(h)return h._properties[e]}getZoneWith(e){let h=this;for(;h;){if(h._properties.hasOwnProperty(e))return h;h=h._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,h){if(typeof e!="function")throw new Error("Expecting function got: "+e);let N=this._zoneDelegate.intercept(this,e,h),A=this;return function(){return A.runGuarded(N,this,arguments,h)}}run(e,h,N,A){k={parent:k,zone:this};try{return this._zoneDelegate.invoke(this,e,h,N,A)}finally{k=k.parent}}runGuarded(e,h=null,N,A){k={parent:k,zone:this};try{try{return this._zoneDelegate.invoke(this,e,h,N,A)}catch(I){if(this._zoneDelegate.handleError(this,I))throw I}}finally{k=k.parent}}runTask(e,h,N){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||ne).name+"; Execution: "+this.name+")");if(e.state===X&&(e.type===B||e.type===y))return;let A=e.state!=V;A&&e._transitionTo(V,d),e.runCount++;let I=O;O=e,k={parent:k,zone:this};try{e.type==y&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,h,N)}catch(fe){if(this._zoneDelegate.handleError(this,fe))throw fe}}finally{e.state!==X&&e.state!==Y&&(e.type==B||e.data&&e.data.isPeriodic?A&&e._transitionTo(d,V):(e.runCount=0,this._updateTaskCount(e,-1),A&&e._transitionTo(X,V,X))),k=k.parent,O=I}}scheduleTask(e){if(e.zone&&e.zone!==this){let N=this;for(;N;){if(N===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);N=N.parent}}e._transitionTo(v,X);let h=[];e._zoneDelegates=h,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(N){throw e._transitionTo(Y,v,X),this._zoneDelegate.handleError(this,N),N}return e._zoneDelegates===h&&this._updateTaskCount(e,1),e.state==v&&e._transitionTo(d,v),e}scheduleMicroTask(e,h,N,A){return this.scheduleTask(new E(F,e,h,N,A,void 0))}scheduleMacroTask(e,h,N,A,I){return this.scheduleTask(new E(y,e,h,N,A,I))}scheduleEventTask(e,h,N,A,I){return this.scheduleTask(new E(B,e,h,N,A,I))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||ne).name+"; Execution: "+this.name+")");if(!(e.state!==d&&e.state!==V)){e._transitionTo(q,d,V);try{this._zoneDelegate.cancelTask(this,e)}catch(h){throw e._transitionTo(Y,q),this._zoneDelegate.handleError(this,h),h}return this._updateTaskCount(e,-1),e._transitionTo(X,q),e.runCount=0,e}}_updateTaskCount(e,h){let N=e._zoneDelegates;h==-1&&(e._zoneDelegates=null);for(let A=0;A<N.length;A++)N[A]._updateTaskCount(e.type,h)}};_.__symbol__=ee;let M=_;return M})(),s={name:"",onHasTask:(M,_,a,e)=>M.hasTask(a,e),onScheduleTask:(M,_,a,e)=>M.scheduleTask(a,e),onInvokeTask:(M,_,a,e,h,N)=>M.invokeTask(a,e,h,N),onCancelTask:(M,_,a,e)=>M.cancelTask(a,e)};class l{get zone(){return this._zone}constructor(_,a,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=a,this._forkZS=e&&(e&&e.onFork?e:a._forkZS),this._forkDlgt=e&&(e.onFork?a:a._forkDlgt),this._forkCurrZone=e&&(e.onFork?this._zone:a._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:a._interceptZS),this._interceptDlgt=e&&(e.onIntercept?a:a._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this._zone:a._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:a._invokeZS),this._invokeDlgt=e&&(e.onInvoke?a:a._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this._zone:a._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:a._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?a:a._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this._zone:a._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:a._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?a:a._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this._zone:a._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:a._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?a:a._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this._zone:a._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:a._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?a:a._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this._zone:a._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let h=e&&e.onHasTask,N=a&&a._hasTaskZS;(h||N)&&(this._hasTaskZS=h?e:s,this._hasTaskDlgt=a,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,e.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=a,this._scheduleTaskCurrZone=this._zone),e.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=a,this._invokeTaskCurrZone=this._zone),e.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=a,this._cancelTaskCurrZone=this._zone))}fork(_,a){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,a):new n(_,a)}intercept(_,a,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,a,e):a}invoke(_,a,e,h,N){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,a,e,h,N):a.apply(e,h)}handleError(_,a){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,a):!0}scheduleTask(_,a){let e=a;if(this._scheduleTaskZS)this._hasTaskZS&&e._zoneDelegates.push(this._hasTaskDlgtOwner),e=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,a),e||(e=a);else if(a.scheduleFn)a.scheduleFn(a);else if(a.type==F)W(a);else throw new Error("Task is missing scheduleFn.");return e}invokeTask(_,a,e,h){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,a,e,h):a.callback.apply(e,h)}cancelTask(_,a){let e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,a);else{if(!a.cancelFn)throw Error("Task is not cancelable");e=a.cancelFn(a)}return e}hasTask(_,a){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,a)}catch(e){this.handleError(_,e)}}_updateTaskCount(_,a){let e=this._taskCounts,h=e[_],N=e[_]=h+a;if(N<0)throw new Error("More tasks executed then were scheduled.");if(h==0||N==0){let A={microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:_};this.hasTask(this._zone,A)}}}class E{constructor(_,a,e,h,N,A){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=a,this.data=h,this.scheduleFn=N,this.cancelFn=A,!e)throw new Error("callback is not defined");this.callback=e;let I=this;_===B&&h&&h.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ie,I,this,arguments)}}static invokeTask(_,a,e){_||(_=this),K++;try{return _.runCount++,_.zone.runTask(_,a,e)}finally{K==1&&x(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,v)}_transitionTo(_,a,e){if(this._state===a||this._state===e)this._state=_,_==X&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${a}'${e?" or '"+e+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=ee("setTimeout"),m=ee("Promise"),C=ee("then"),g=[],Z=!1,w;function H(M){if(w||ie[m]&&(w=ie[m].resolve(0)),w){let _=w[C];_||(_=w.then),_.call(w,M)}else ie[T](M,0)}function W(M){K===0&&g.length===0&&H(x),M&&g.push(M)}function x(){if(!Z){for(Z=!0;g.length;){let M=g;g=[];for(let _=0;_<M.length;_++){let a=M[_];try{a.zone.runTask(a,null,null)}catch(e){R.onUnhandledError(e)}}}R.microtaskDrainDone(),Z=!1}}let ne={name:"NO ZONE"},X="notScheduled",v="scheduling",d="scheduled",V="running",q="canceling",Y="unknown",F="microTask",y="macroTask",B="eventTask",L={},R={symbol:ee,currentZoneFrame:()=>k,onUnhandledError:z,microtaskDrainDone:z,scheduleMicroTask:W,showUncaughtError:()=>!n[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:z,patchMethod:()=>z,bindArguments:()=>[],patchThen:()=>z,patchMacroTask:()=>z,patchEventPrototype:()=>z,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>z,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>z,wrapWithCurrentZone:()=>z,filterProperties:()=>[],attachOriginToPatched:()=>z,_redefineProperty:()=>z,patchCallbacks:()=>z,nativeScheduleMicroTask:H},k={parent:null,zone:new n(null,null)},O=null,K=0;function z(){}return i("Zone","Zone"),n}function ft(){let t=globalThis,r=t[ee("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(r||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ut(),t.Zone}var ke=Object.getOwnPropertyDescriptor,Ze=Object.defineProperty,Ae=Object.getPrototypeOf,ht=Object.create,dt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=ee(je),Ie=ee(He),ce="true",ae="false",ve=ee("");function xe(t,r){return Zone.current.wrap(t,r)}function Ge(t,r,i,n,s){return Zone.current.scheduleMacroTask(t,r,i,n,s)}var G=ee,Ce=typeof window<"u",ye=Ce?window:void 0,J=Ce&&ye||globalThis,_t="removeAttribute";function Ve(t,r){for(let i=t.length-1;i>=0;i--)typeof t[i]=="function"&&(t[i]=xe(t[i],r+"_"+i));return t}function Et(t,r){let i=t.constructor.name;for(let n=0;n<r.length;n++){let s=r[n],l=t[s];if(l){let E=ke(t,s);if(!Ke(E))continue;t[s]=(T=>{let m=function(){return T.apply(this,Ve(arguments,i+"."+s))};return ue(m,T),m})(l)}}}function Ke(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var Qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Se=!("nw"in J)&&typeof J.process<"u"&&J.process.toString()==="[object process]",Fe=!Se&&!Qe&&!!(Ce&&ye.HTMLElement),et=typeof J.process<"u"&&J.process.toString()==="[object process]"&&!Qe&&!!(Ce&&ye.HTMLElement),Re={},Xe=function(t){if(t=t||J.event,!t)return;let r=Re[t.type];r||(r=Re[t.type]=G("ON_PROPERTY"+t.type));let i=this||t.target||J,n=i[r],s;if(Fe&&i===ye&&t.type==="error"){let l=t;s=n&&n.call(this,l.message,l.filename,l.lineno,l.colno,l.error),s===!0&&t.preventDefault()}else s=n&&n.apply(this,arguments),s!=null&&!s&&t.preventDefault();return s};function Ye(t,r,i){let n=ke(t,r);if(!n&&i&&ke(i,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let s=G("on"+r+"patched");if(t.hasOwnProperty(s)&&t[s])return;delete n.writable,delete n.value;let l=n.get,E=n.set,T=r.slice(2),m=Re[T];m||(m=Re[T]=G("ON_PROPERTY"+T)),n.set=function(C){let g=this;if(!g&&t===J&&(g=J),!g)return;typeof g[m]=="function"&&g.removeEventListener(T,Xe),E&&E.call(g,null),g[m]=C,typeof C=="function"&&g.addEventListener(T,Xe,!1)},n.get=function(){let C=this;if(!C&&t===J&&(C=J),!C)return null;let g=C[m];if(g)return g;if(l){let Z=l.call(this);if(Z)return n.set.call(this,Z),typeof C[_t]=="function"&&C.removeAttribute(r),Z}return null},Ze(t,r,n),t[s]=!0}function tt(t,r,i){if(r)for(let n=0;n<r.length;n++)Ye(t,"on"+r[n],i);else{let n=[];for(let s in t)s.slice(0,2)=="on"&&n.push(s);for(let s=0;s<n.length;s++)Ye(t,n[s],i)}}var re=G("originalInstance");function pe(t){let r=J[t];if(!r)return;J[G(t)]=r,J[t]=function(){let s=Ve(arguments,t);switch(s.length){case 0:this[re]=new r;break;case 1:this[re]=new r(s[0]);break;case 2:this[re]=new r(s[0],s[1]);break;case 3:this[re]=new r(s[0],s[1],s[2]);break;case 4:this[re]=new r(s[0],s[1],s[2],s[3]);break;default:throw new Error("Arg list too long.")}},ue(J[t],r);let i=new r(function(){}),n;for(n in i)t==="XMLHttpRequest"&&n==="responseBlob"||function(s){typeof i[s]=="function"?J[t].prototype[s]=function(){return this[re][s].apply(this[re],arguments)}:Ze(J[t].prototype,s,{set:function(l){typeof l=="function"?(this[re][s]=xe(l,t+"."+s),ue(this[re][s],l)):this[re][s]=l},get:function(){return this[re][s]}})}(n);for(n in r)n!=="prototype"&&r.hasOwnProperty(n)&&(J[t][n]=r[n])}function le(t,r,i){let n=t;for(;n&&!n.hasOwnProperty(r);)n=Ae(n);!n&&t[r]&&(n=t);let s=G(r),l=null;if(n&&(!(l=n[s])||!n.hasOwnProperty(s))){l=n[s]=n[r];let E=n&&ke(n,r);if(Ke(E)){let T=i(l,s,r);n[r]=function(){return T(this,arguments)},ue(n[r],l)}}return l}function Tt(t,r,i){let n=null;function s(l){let E=l.data;return E.args[E.cbIdx]=function(){l.invoke.apply(this,arguments)},n.apply(E.target,E.args),l}n=le(t,r,l=>function(E,T){let m=i(E,T);return m.cbIdx>=0&&typeof T[m.cbIdx]=="function"?Ge(m.name,T[m.cbIdx],m,s):l.apply(E,T)})}function ue(t,r){t[G("OriginalDelegate")]=r}var $e=!1,Le=!1;function gt(){try{let t=ye.navigator.userAgent;if(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1)return!0}catch{}return!1}function yt(){if($e)return Le;$e=!0;try{let t=ye.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}var ge=!1;if(typeof window<"u")try{let t=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ge=!1}var mt={useG:!0},te={},nt={},rt=new RegExp("^"+ve+"(\\w+)(true|false)$"),ot=G("propagationStopped");function st(t,r){let i=(r?r(t):t)+ae,n=(r?r(t):t)+ce,s=ve+i,l=ve+n;te[t]={},te[t][ae]=s,te[t][ce]=l}function pt(t,r,i,n){let s=n&&n.add||je,l=n&&n.rm||He,E=n&&n.listeners||"eventListeners",T=n&&n.rmAll||"removeAllListeners",m=G(s),C="."+s+":",g="prependListener",Z="."+g+":",w=function(v,d,V){if(v.isRemoved)return;let q=v.callback;typeof q=="object"&&q.handleEvent&&(v.callback=y=>q.handleEvent(y),v.originalDelegate=q);let Y;try{v.invoke(v,d,[V])}catch(y){Y=y}let F=v.options;if(F&&typeof F=="object"&&F.once){let y=v.originalDelegate?v.originalDelegate:v.callback;d[l].call(d,V.type,y,F)}return Y};function H(v,d,V){if(d=d||t.event,!d)return;let q=v||d.target||t,Y=q[te[d.type][V?ce:ae]];if(Y){let F=[];if(Y.length===1){let y=w(Y[0],q,d);y&&F.push(y)}else{let y=Y.slice();for(let B=0;B<y.length&&!(d&&d[ot]===!0);B++){let L=w(y[B],q,d);L&&F.push(L)}}if(F.length===1)throw F[0];for(let y=0;y<F.length;y++){let B=F[y];r.nativeScheduleMicroTask(()=>{throw B})}}}let W=function(v){return H(this,v,!1)},x=function(v){return H(this,v,!0)};function ne(v,d){if(!v)return!1;let V=!0;d&&d.useG!==void 0&&(V=d.useG);let q=d&&d.vh,Y=!0;d&&d.chkDup!==void 0&&(Y=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let y=v;for(;y&&!y.hasOwnProperty(s);)y=Ae(y);if(!y&&v[s]&&(y=v),!y||y[m])return!1;let B=d&&d.eventNameToString,L={},R=y[m]=y[s],k=y[G(l)]=y[l],O=y[G(E)]=y[E],K=y[G(T)]=y[T],z;d&&d.prepend&&(z=y[G(d.prepend)]=y[d.prepend]);function M(o,c){return!ge&&typeof o=="object"&&o?!!o.capture:!ge||!c?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let _=function(o){if(!L.isExisting)return R.call(L.target,L.eventName,L.capture?x:W,L.options)},a=function(o){if(!o.isRemoved){let c=te[o.eventName],f;c&&(f=c[o.capture?ce:ae]);let b=f&&o.target[f];if(b){for(let S=0;S<b.length;S++)if(b[S]===o){b.splice(S,1),o.isRemoved=!0,b.length===0&&(o.allRemoved=!0,o.target[f]=null);break}}}if(o.allRemoved)return k.call(o.target,o.eventName,o.capture?x:W,o.options)},e=function(o){return R.call(L.target,L.eventName,o.invoke,L.options)},h=function(o){return z.call(L.target,L.eventName,o.invoke,L.options)},N=function(o){return k.call(o.target,o.eventName,o.invoke,o.options)},A=V?_:e,I=V?a:N,fe=function(o,c){let f=typeof c;return f==="function"&&o.callback===c||f==="object"&&o.originalDelegate===c},me=d&&d.diff?d.diff:fe,he=Zone[G("UNPATCHED_EVENTS")],be=t[G("PASSIVE_EVENTS")],u=function(o,c,f,b,S=!1,p=!1){return function(){let P=this||t,D=arguments[0];d&&d.transferEventName&&(D=d.transferEventName(D));let j=arguments[1];if(!j)return o.apply(this,arguments);if(Se&&D==="uncaughtException")return o.apply(this,arguments);let U=!1;if(typeof j!="function"){if(!j.handleEvent)return o.apply(this,arguments);U=!0}if(q&&!q(o,j,P,arguments))return;let $=ge&&!!be&&be.indexOf(D)!==-1,Q=M(arguments[2],$),_e=Q?.signal;if(_e?.aborted)return;if(he){for(let se=0;se<he.length;se++)if(D===he[se])return $?o.call(P,D,j,Q):o.apply(this,arguments)}let De=Q?typeof Q=="boolean"?!0:Q.capture:!1,Be=Q&&typeof Q=="object"?Q.once:!1,lt=Zone.current,Oe=te[D];Oe||(st(D,B),Oe=te[D]);let Ue=Oe[De?ce:ae],Ee=P[Ue],We=!1;if(Ee){if(We=!0,Y){for(let se=0;se<Ee.length;se++)if(me(Ee[se],j))return}}else Ee=P[Ue]=[];let Pe,qe=P.constructor.name,ze=nt[qe];ze&&(Pe=ze[D]),Pe||(Pe=qe+c+(B?B(D):D)),L.options=Q,Be&&(L.options.once=!1),L.target=P,L.capture=De,L.eventName=D,L.isExisting=We;let de=V?mt:void 0;de&&(de.taskData=L),_e&&(L.options.signal=void 0);let oe=lt.scheduleEventTask(Pe,j,de,f,b);if(_e){L.options.signal=_e;let se=()=>oe.zone.cancelTask(oe);o.call(_e,"abort",se,{once:!0}),de&&(de.removeAbortListener=()=>_e.removeEventListener("abort",se))}if(L.target=null,de&&(de.taskData=null),Be&&(Q.once=!0),!ge&&typeof oe.options=="boolean"||(oe.options=Q),oe.target=P,oe.capture=De,oe.eventName=D,U&&(oe.originalDelegate=j),p?Ee.unshift(oe):Ee.push(oe),S)return P}};return y[s]=u(R,C,A,I,F),z&&(y[g]=u(z,Z,h,I,F,!0)),y[l]=function(){let o=this||t,c=arguments[0];d&&d.transferEventName&&(c=d.transferEventName(c));let f=arguments[2],b=f?typeof f=="boolean"?!0:f.capture:!1,S=arguments[1];if(!S)return k.apply(this,arguments);if(q&&!q(k,S,o,arguments))return;let p=te[c],P;p&&(P=p[b?ce:ae]);let D=P&&o[P];if(D)for(let j=0;j<D.length;j++){let U=D[j];if(me(U,S)){if(D.splice(j,1),U.isRemoved=!0,D.length===0&&(U.allRemoved=!0,o[P]=null,!b&&typeof c=="string")){let Q=ve+"ON_PROPERTY"+c;o[Q]=null}let $=U.data;return $?.removeAbortListener&&($.removeAbortListener(),$.removeAbortListener=null),U.zone.cancelTask(U),F?o:void 0}}return k.apply(this,arguments)},y[E]=function(){let o=this||t,c=arguments[0];d&&d.transferEventName&&(c=d.transferEventName(c));let f=[],b=it(o,B?B(c):c);for(let S=0;S<b.length;S++){let p=b[S],P=p.originalDelegate?p.originalDelegate:p.callback;f.push(P)}return f},y[T]=function(){let o=this||t,c=arguments[0];if(c){d&&d.transferEventName&&(c=d.transferEventName(c));let f=te[c];if(f){let b=f[ae],S=f[ce],p=o[b],P=o[S];if(p){let D=p.slice();for(let j=0;j<D.length;j++){let U=D[j],$=U.originalDelegate?U.originalDelegate:U.callback;this[l].call(this,c,$,U.options)}}if(P){let D=P.slice();for(let j=0;j<D.length;j++){let U=D[j],$=U.originalDelegate?U.originalDelegate:U.callback;this[l].call(this,c,$,U.options)}}}}else{let f=Object.keys(o);for(let b=0;b<f.length;b++){let S=f[b],p=rt.exec(S),P=p&&p[1];P&&P!=="removeListener"&&this[T].call(this,P)}this[T].call(this,"removeListener")}if(F)return this},ue(y[s],R),ue(y[l],k),K&&ue(y[T],K),O&&ue(y[E],O),!0}let X=[];for(let v=0;v<i.length;v++)X[v]=ne(i[v],n);return X}function it(t,r){if(!r){let l=[];for(let E in t){let T=rt.exec(E),m=T&&T[1];if(m&&(!r||m===r)){let C=t[E];if(C)for(let g=0;g<C.length;g++)l.push(C[g])}}return l}let i=te[r];i||(st(r),i=te[r]);let n=t[i[ae]],s=t[i[ce]];return n?s?n.concat(s):n.slice():s?s.slice():[]}function kt(t,r){let i=t.Event;i&&i.prototype&&r.patchMethod(i.prototype,"stopImmediatePropagation",n=>function(s,l){s[ot]=!0,n&&n.apply(s,l)})}function vt(t,r){r.patchMethod(t,"queueMicrotask",i=>function(n,s){Zone.current.scheduleMicroTask("queueMicrotask",s[0])})}var we=G("zoneTask");function Te(t,r,i,n){let s=null,l=null;r+=n,i+=n;let E={};function T(C){let g=C.data;return g.args[0]=function(){return C.invoke.apply(this,arguments)},g.handleId=s.apply(t,g.args),C}function m(C){return l.call(t,C.data.handleId)}s=le(t,r,C=>function(g,Z){if(typeof Z[0]=="function"){let w={isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?Z[1]||0:void 0,args:Z},H=Z[0];Z[0]=function(){try{return H.apply(this,arguments)}finally{w.isPeriodic||(typeof w.handleId=="number"?delete E[w.handleId]:w.handleId&&(w.handleId[we]=null))}};let W=Ge(r,Z[0],w,T,m);if(!W)return W;let x=W.data.handleId;return typeof x=="number"?E[x]=W:x&&(x[we]=W),x&&x.ref&&x.unref&&typeof x.ref=="function"&&typeof x.unref=="function"&&(W.ref=x.ref.bind(x),W.unref=x.unref.bind(x)),typeof x=="number"||x?x:W}else return C.apply(t,Z)}),l=le(t,i,C=>function(g,Z){let w=Z[0],H;typeof w=="number"?H=E[w]:(H=w&&w[we],H||(H=w)),H&&typeof H.type=="string"?H.state!=="notScheduled"&&(H.cancelFn&&H.data.isPeriodic||H.runCount===0)&&(typeof w=="number"?delete E[w]:w&&(w[we]=null),H.zone.cancelTask(H)):C.apply(t,Z)})}function bt(t,r){let{isBrowser:i,isMix:n}=r.getGlobalObjects();if(!i&&!n||!t.customElements||!("customElements"in t))return;let s=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,t.customElements,"customElements","define",s)}function Pt(t,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:i,zoneSymbolEventNames:n,TRUE_STR:s,FALSE_STR:l,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let m=0;m<i.length;m++){let C=i[m],g=C+l,Z=C+s,w=E+g,H=E+Z;n[C]={},n[C][l]=w,n[C][s]=H}let T=t.EventTarget;if(!(!T||!T.prototype))return r.patchEventTarget(t,r,[T&&T.prototype]),!0}function wt(t,r){r.patchEventPrototype(t,r)}function ct(t,r,i){if(!i||i.length===0)return r;let n=i.filter(l=>l.target===t);if(!n||n.length===0)return r;let s=n[0].ignoreProperties;return r.filter(l=>s.indexOf(l)===-1)}function Je(t,r,i,n){if(!t)return;let s=ct(t,r,i);tt(t,s,n)}function Me(t){return Object.getOwnPropertyNames(t).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Rt(t,r){if(Se&&!et||Zone[t.symbol("patchEvents")])return;let i=r.__Zone_ignore_on_properties,n=[];if(Fe){let s=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=gt()?[{target:s,ignoreProperties:["error"]}]:[];Je(s,Me(s),i&&i.concat(l),Ae(s))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let s=0;s<n.length;s++){let l=r[n[s]];l&&l.prototype&&Je(l.prototype,Me(l.prototype),i)}}function Ct(t){t.__load_patch("legacy",r=>{let i=r[t.__symbol__("legacyPatch")];i&&i()}),t.__load_patch("timers",r=>{let i="set",n="clear";Te(r,i,n,"Timeout"),Te(r,i,n,"Interval"),Te(r,i,n,"Immediate")}),t.__load_patch("requestAnimationFrame",r=>{Te(r,"request","cancel","AnimationFrame"),Te(r,"mozRequest","mozCancel","AnimationFrame"),Te(r,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(r,i)=>{let n=["alert","prompt","confirm"];for(let s=0;s<n.length;s++){let l=n[s];le(r,l,(E,T,m)=>function(C,g){return i.current.run(E,r,g,m)})}}),t.__load_patch("EventTarget",(r,i,n)=>{wt(r,n),Pt(r,n);let s=r.XMLHttpRequestEventTarget;s&&s.prototype&&n.patchEventTarget(r,n,[s.prototype])}),t.__load_patch("MutationObserver",(r,i,n)=>{pe("MutationObserver"),pe("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(r,i,n)=>{pe("IntersectionObserver")}),t.__load_patch("FileReader",(r,i,n)=>{pe("FileReader")}),t.__load_patch("on_property",(r,i,n)=>{Rt(n,r)}),t.__load_patch("customElements",(r,i,n)=>{bt(r,n)}),t.__load_patch("XHR",(r,i)=>{C(r);let n=G("xhrTask"),s=G("xhrSync"),l=G("xhrListener"),E=G("xhrScheduled"),T=G("xhrURL"),m=G("xhrErrorBeforeScheduled");function C(g){let Z=g.XMLHttpRequest;if(!Z)return;let w=Z.prototype;function H(R){return R[n]}let W=w[Ne],x=w[Ie];if(!W){let R=g.XMLHttpRequestEventTarget;if(R){let k=R.prototype;W=k[Ne],x=k[Ie]}}let ne="readystatechange",X="scheduled";function v(R){let k=R.data,O=k.target;O[E]=!1,O[m]=!1;let K=O[l];W||(W=O[Ne],x=O[Ie]),K&&x.call(O,ne,K);let z=O[l]=()=>{if(O.readyState===O.DONE)if(!k.aborted&&O[E]&&R.state===X){let _=O[i.__symbol__("loadfalse")];if(O.status!==0&&_&&_.length>0){let a=R.invoke;R.invoke=function(){let e=O[i.__symbol__("loadfalse")];for(let h=0;h<e.length;h++)e[h]===R&&e.splice(h,1);!k.aborted&&R.state===X&&a.call(R)},_.push(R)}else R.invoke()}else!k.aborted&&O[E]===!1&&(O[m]=!0)};return W.call(O,ne,z),O[n]||(O[n]=R),B.apply(O,k.args),O[E]=!0,R}function d(){}function V(R){let k=R.data;return k.aborted=!0,L.apply(k.target,k.args)}let q=le(w,"open",()=>function(R,k){return R[s]=k[2]==!1,R[T]=k[1],q.apply(R,k)}),Y="XMLHttpRequest.send",F=G("fetchTaskAborting"),y=G("fetchTaskScheduling"),B=le(w,"send",()=>function(R,k){if(i.current[y]===!0||R[s])return B.apply(R,k);{let O={target:R,url:R[T],isPeriodic:!1,args:k,aborted:!1},K=Ge(Y,d,O,v,V);R&&R[m]===!0&&!O.aborted&&K.state===X&&K.invoke()}}),L=le(w,"abort",()=>function(R,k){let O=H(R);if(O&&typeof O.type=="string"){if(O.cancelFn==null||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(i.current[F]===!0)return L.apply(R,k)})}}),t.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&Et(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(r,i)=>{function n(s){return function(l){it(r,s).forEach(T=>{let m=r.PromiseRejectionEvent;if(m){let C=new m(s,{promise:l.promise,reason:l.rejection});T.invoke(C)}})}}r.PromiseRejectionEvent&&(i[G("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),i[G("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(r,i,n)=>{vt(r,n)})}function St(t){t.__load_patch("ZoneAwarePromise",(r,i,n)=>{let s=Object.getOwnPropertyDescriptor,l=Object.defineProperty;function E(u){if(u&&u.toString===Object.prototype.toString){let o=u.constructor&&u.constructor.name;return(o||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let T=n.symbol,m=[],C=r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,g=T("Promise"),Z=T("then"),w="__creationTrace__";n.onUnhandledError=u=>{if(n.showUncaughtError()){let o=u&&u.rejection;o?console.error("Unhandled Promise rejection:",o instanceof Error?o.message:o,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",o,o instanceof Error?o.stack:void 0):console.error(u)}},n.microtaskDrainDone=()=>{for(;m.length;){let u=m.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(o){W(o)}}};let H=T("unhandledPromiseRejectionHandler");function W(u){n.onUnhandledError(u);try{let o=i[H];typeof o=="function"&&o.call(this,u)}catch{}}function x(u){return u&&u.then}function ne(u){return u}function X(u){return I.reject(u)}let v=T("state"),d=T("value"),V=T("finally"),q=T("parentPromiseValue"),Y=T("parentPromiseState"),F="Promise.then",y=null,B=!0,L=!1,R=0;function k(u,o){return c=>{try{M(u,o,c)}catch(f){M(u,!1,f)}}}let O=function(){let u=!1;return function(c){return function(){u||(u=!0,c.apply(null,arguments))}}},K="Promise resolved with itself",z=T("currentTaskTrace");function M(u,o,c){let f=O();if(u===c)throw new TypeError(K);if(u[v]===y){let b=null;try{(typeof c=="object"||typeof c=="function")&&(b=c&&c.then)}catch(S){return f(()=>{M(u,!1,S)})(),u}if(o!==L&&c instanceof I&&c.hasOwnProperty(v)&&c.hasOwnProperty(d)&&c[v]!==y)a(c),M(u,c[v],c[d]);else if(o!==L&&typeof b=="function")try{b.call(c,f(k(u,o)),f(k(u,!1)))}catch(S){f(()=>{M(u,!1,S)})()}else{u[v]=o;let S=u[d];if(u[d]=c,u[V]===V&&o===B&&(u[v]=u[Y],u[d]=u[q]),o===L&&c instanceof Error){let p=i.currentTask&&i.currentTask.data&&i.currentTask.data[w];p&&l(c,z,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p<S.length;)e(u,S[p++],S[p++],S[p++],S[p++]);if(S.length==0&&o==L){u[v]=R;let p=c;try{throw new Error("Uncaught (in promise): "+E(c)+(c&&c.stack?`
|
|
2
|
-
`+c.stack:""))}catch(P){p=P}C&&(p.throwOriginal=!0),p.rejection=c,p.promise=u,p.zone=i.current,p.task=i.currentTask,m.push(p),n.scheduleMicroTask()}}}return u}let _=T("rejectionHandledHandler");function a(u){if(u[v]===R){try{let o=i[_];o&&typeof o=="function"&&o.call(this,{rejection:u[d],promise:u})}catch{}u[v]=L;for(let o=0;o<m.length;o++)u===m[o].promise&&m.splice(o,1)}}function e(u,o,c,f,b){a(u);let S=u[v],p=S?typeof f=="function"?f:ne:typeof b=="function"?b:X;o.scheduleMicroTask(F,()=>{try{let P=u[d],D=!!c&&V===c[V];D&&(c[q]=P,c[Y]=S);let j=o.run(p,void 0,D&&p!==X&&p!==ne?[]:[P]);M(c,!0,j)}catch(P){M(c,!1,P)}},c)}let h="function ZoneAwarePromise() { [native code] }",N=function(){},A=r.AggregateError;class I{static toString(){return h}static resolve(o){return o instanceof I?o:M(new this(null),B,o)}static reject(o){return M(new this(null),L,o)}static withResolvers(){let o={};return o.promise=new I((c,f)=>{o.resolve=c,o.reject=f}),o}static any(o){if(!o||typeof o[Symbol.iterator]!="function")return Promise.reject(new A([],"All promises were rejected"));let c=[],f=0;try{for(let p of o)f++,c.push(I.resolve(p))}catch{return Promise.reject(new A([],"All promises were rejected"))}if(f===0)return Promise.reject(new A([],"All promises were rejected"));let b=!1,S=[];return new I((p,P)=>{for(let D=0;D<c.length;D++)c[D].then(j=>{b||(b=!0,p(j))},j=>{S.push(j),f--,f===0&&(b=!0,P(new A(S,"All promises were rejected")))})})}static race(o){let c,f,b=new this((P,D)=>{c=P,f=D});function S(P){c(P)}function p(P){f(P)}for(let P of o)x(P)||(P=this.resolve(P)),P.then(S,p);return b}static all(o){return I.allWithCallback(o)}static allSettled(o){return(this&&this.prototype instanceof I?this:I).allWithCallback(o,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(o,c){let f,b,S=new this((j,U)=>{f=j,b=U}),p=2,P=0,D=[];for(let j of o){x(j)||(j=this.resolve(j));let U=P;try{j.then($=>{D[U]=c?c.thenCallback($):$,p--,p===0&&f(D)},$=>{c?(D[U]=c.errorCallback($),p--,p===0&&f(D)):b($)})}catch($){b($)}p++,P++}return p-=2,p===0&&f(D),S}constructor(o){let c=this;if(!(c instanceof I))throw new Error("Must be an instanceof Promise.");c[v]=y,c[d]=[];try{let f=O();o&&o(f(k(c,B)),f(k(c,L)))}catch(f){M(c,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return I}then(o,c){let f=this.constructor?.[Symbol.species];(!f||typeof f!="function")&&(f=this.constructor||I);let b=new f(N),S=i.current;return this[v]==y?this[d].push(S,b,o,c):e(this,S,b,o,c),b}catch(o){return this.then(null,o)}finally(o){let c=this.constructor?.[Symbol.species];(!c||typeof c!="function")&&(c=I);let f=new c(N);f[V]=V;let b=i.current;return this[v]==y?this[d].push(b,f,o,o):e(this,b,f,o,o),f}}I.resolve=I.resolve,I.reject=I.reject,I.race=I.race,I.all=I.all;let fe=r[g]=r.Promise;r.Promise=I;let me=T("thenPatched");function he(u){let o=u.prototype,c=s(o,"then");if(c&&(c.writable===!1||!c.configurable))return;let f=o.then;o[Z]=f,u.prototype.then=function(b,S){return new I((P,D)=>{f.call(this,P,D)}).then(b,S)},u[me]=!0}n.patchThen=he;function be(u){return function(o,c){let f=u.apply(o,c);if(f instanceof I)return f;let b=f.constructor;return b[me]||he(b),f}}return fe&&(he(fe),le(r,"fetch",u=>be(u))),Promise[i.__symbol__("uncaughtPromiseErrors")]=m,I})}function Dt(t){t.__load_patch("toString",r=>{let i=Function.prototype.toString,n=G("OriginalDelegate"),s=G("Promise"),l=G("Error"),E=function(){if(typeof this=="function"){let g=this[n];if(g)return typeof g=="function"?i.call(g):Object.prototype.toString.call(g);if(this===Promise){let Z=r[s];if(Z)return i.call(Z)}if(this===Error){let Z=r[l];if(Z)return i.call(Z)}}return i.call(this)};E[n]=i,Function.prototype.toString=E;let T=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:T.call(this)}})}function Ot(t,r,i,n,s){let l=Zone.__symbol__(n);if(r[l])return;let E=r[l]=r[n];r[n]=function(T,m,C){return m&&m.prototype&&s.forEach(function(g){let Z=`${i}.${n}::`+g,w=m.prototype;try{if(w.hasOwnProperty(g)){let H=t.ObjectGetOwnPropertyDescriptor(w,g);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,Z),t._redefineProperty(m.prototype,g,H)):w[g]&&(w[g]=t.wrapWithCurrentZone(w[g],Z))}else w[g]&&(w[g]=t.wrapWithCurrentZone(w[g],Z))}catch{}}),E.call(r,T,m,C)},t.attachOriginToPatched(r[n],E)}function Nt(t){t.__load_patch("util",(r,i,n)=>{let s=Me(r);n.patchOnProperties=tt,n.patchMethod=le,n.bindArguments=Ve,n.patchMacroTask=Tt;let l=i.__symbol__("BLACK_LISTED_EVENTS"),E=i.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[l]=r[E]),r[l]&&(i[l]=i[E]=r[l]),n.patchEventPrototype=kt,n.patchEventTarget=pt,n.isIEOrEdge=yt,n.ObjectDefineProperty=Ze,n.ObjectGetOwnPropertyDescriptor=ke,n.ObjectCreate=ht,n.ArraySlice=dt,n.patchClass=pe,n.wrapWithCurrentZone=xe,n.filterProperties=ct,n.attachOriginToPatched=ue,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Ot,n.getGlobalObjects=()=>({globalSources:nt,zoneSymbolEventNames:te,eventNames:s,isBrowser:Fe,isMix:et,isNode:Se,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){St(t),Dt(t),Nt(t)}var at=ft();It(at);Ct(at);
|